/* =========================
   Font
========================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* =========================
   Base
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-primary: #12121c;
    --bg-secondary: #1e1e2f;
    --text-primary: #ffffff;
    --accent: #ffcc00;
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-hover: rgba(255, 255, 255, 0.15);
}

/* =========================
   Basic Page Layout
========================= */
header {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.site-title {
    font-size: 3.3rem;
    font-weight: 600;
    font-family: 'Lucida Console', monospace;
    color: rgb(177, 4, 125);
    text-shadow:
        -1px -1px 0 purple,
        1px -1px 0 purple,
        -1px 1px 0 purple,
        1px 1px 0 purple;
    margin: 0;
    padding-bottom: 15px;
}

.header-top {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.plex-sign-in {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--accent);
    color: #12121c;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.plex-sign-in:hover {
    background: #e6b800;
}

.navbar {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 80%;
    max-width: none;
    padding: 16px 0;
    margin: 0 auto 20px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.navbtn {
    background: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    padding: 9px 40px;
    margin: auto;
}

.navbtn:hover {
    background: var(--card-hover);
}

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top, var(--bg-secondary), var(--bg-primary));
    color: var(--text-primary);
    min-height: 100vh;
    padding-top: 40px;
    overflow-x: hidden;
}

/* =========================
   Support Page Layout
========================= */
.support-content {
    max-width: 640px;
    margin: 2rem auto 0;
    padding: 0 20px 2rem;
}

.support-content h2 {
    margin-bottom: 1rem;
}

.support-content fieldset {
    border: 0;
    margin-bottom: 1rem;
}

.support-content label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.support-content input,
.support-content textarea,
.support-content select {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.9rem;
    border-radius: 6px;
    border: 1px solid #555;
    background: var(--bg-primary);
    color: white;
}

.support-content button {
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--accent);
    color: #12121c;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.support-content button:hover {
    background: #e6b800;
}

.dynamic-group {
    margin-top: 0.75rem;
    padding: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.field-label {
    margin-top: 0.25rem;
}

.dynamic-bullet-list {
    margin: 0.5rem 0 1rem 1rem;
}

.dynamic-bullet-list label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    font-weight: 400;
}

.support-content input[type="radio"],
.support-content input[type="checkbox"] {
    width: auto;
    margin: 0;
}

#formStatus {
    min-height: 1.2rem;
    margin-top: 0.75rem;
    font-weight: 600;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================
   Discord Invite Button
========================= */
.discord-button-container {
    text-align: center;
    margin: 10px 0;
}

.discord-button {
    display: inline-block;
    padding: 8px 14px;
    font-size: 0.9rem;

    background-color: #5865F2;
    color: white;
    text-decoration: none;

    border-radius: 6px;
    font-weight: bold;
}

.discord-button:hover {
    opacity: 0.85;
}