/* ========================= RESET & BASE ========================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    width: 100%;
    background: #080808;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #fff;
    overflow-x: hidden;
}
.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 200;
    background: #fff;
    color: #000;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 12px;
}

/* ========================= BACKGROUND ========================= */
.universe { position: fixed; width: 100%; height: 100vh; top: 0; left: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.universe::before {
    content: "";
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at 18% 25%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 42%),
        radial-gradient(circle at 82% 18%, rgba(90, 120, 255, 0.14) 0%, rgba(90, 120, 255, 0) 46%),
        radial-gradient(circle at 70% 72%, rgba(255, 70, 70, 0.12) 0%, rgba(255, 70, 70, 0) 45%);
    filter: blur(26px);
    animation: nebulaDrift 22s ease-in-out infinite alternate;
    opacity: 0.85;
}
.universe::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 44px 44px, 72px 72px;
    background-position: 0 0, 22px 18px;
    opacity: 0.24;
}
.particles-container { position: fixed; inset: 0; pointer-events: none; z-index: 2; }
.snow-container { position: fixed; inset: 0; pointer-events: none; z-index: 3; }
.star { position: absolute; background: white; border-radius: 50%; box-shadow: 0 0 6px rgba(255,255,255,0.5); animation: twinkle 4s infinite ease-in-out; }
@keyframes twinkle { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.7; } }
.particle { position: absolute; pointer-events: none; border-radius: 50%; }
.particle.small  { width: 3px; height: 3px; background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%); box-shadow: 0 0 6px rgba(255,255,255,0.6); }
.particle.medium { width: 6px; height: 6px; background: radial-gradient(circle, rgba(220,220,220,0.7) 0%, transparent 70%); box-shadow: 0 0 12px rgba(220,220,220,0.5); }
.particle.large  { width: 10px; height: 10px; background: radial-gradient(circle, rgba(190,190,190,0.6) 0%, transparent 70%); box-shadow: 0 0 20px rgba(190,190,190,0.4); }
.particle.red    { width: 5px; height: 5px; background: radial-gradient(circle, #ff3b3b 0%, transparent 70%); box-shadow: 0 0 10px rgba(255,0,0,0.35); }
.particle.green  { width: 5px; height: 5px; background: radial-gradient(circle, #53ff53 0%, transparent 70%); box-shadow: 0 0 10px rgba(0,255,0,0.35); }
.snowflake { position: absolute; top: -10px; border-radius: 50%; background: rgba(255,255,255,0.85); box-shadow: 0 0 5px rgba(255,255,255,0.3); animation: snowfall linear infinite; }
.shooting-star {
    position: absolute;
    width: 120px;
    height: 1.5px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95));
    transform: rotate(-32deg);
    opacity: 0;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
    animation: shooting-star linear infinite;
}
@keyframes snowfall { 0% { transform: translateY(-10px) translateX(0); opacity: 0; } 10% { opacity: 0.8; } 90% { opacity: 0.5; } 100% { transform: translateY(105vh) translateX(var(--drift, 30px)); opacity: 0; } }
@keyframes float-particle { 0% { transform: translateY(0) rotate(0deg); opacity: 0; } 20% { opacity: 0.9; } 80% { opacity: 0.7; } 100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; } }
@keyframes nebulaDrift {
    0% { transform: translate3d(-1.5%, -1.5%, 0) scale(1); }
    100% { transform: translate3d(1.5%, 1.5%, 0) scale(1.07); }
}
@keyframes shooting-star {
    0% { transform: translate3d(0, 0, 0) rotate(-32deg); opacity: 0; }
    8% { opacity: 1; }
    100% { transform: translate3d(-420px, 230px, 0) rotate(-32deg); opacity: 0; }
}

/* ========================= NAVBAR ========================= */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 60px;
    background: rgba(4,4,4,0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-logo { display: inline-block; font-size: 1rem; font-weight: 900; letter-spacing: 3px; color: #fff; text-transform: uppercase; text-decoration: none; transition: text-shadow 0.2s ease, color 0.2s ease; }
.nav-logo span { color: #666; }
.nav-logo:hover { color: #fff; text-shadow: 0 0 16px rgba(255,255,255,0.45); }
.nav-links { display: flex; list-style: none; gap: 40px; }
.nav-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; transition: color 0.2s ease; }
.nav-links a:hover { color: #fff; }
.nav-discord { display: flex; align-items: center; gap: 8px; padding: 9px 22px; border-radius: 50px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); color: #fff; text-decoration: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; transition: all 0.25s ease; }
.nav-discord:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.45); box-shadow: 0 0 24px rgba(255,255,255,0.28); }
.discord-icon-nav { width: 17px; height: 17px; object-fit: contain; filter: brightness(1.2); }

/* ========================= HERO ========================= */
.hero-section { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; z-index: 5; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: brightness(0.2) grayscale(68%) contrast(1.06); opacity: 0.62; transform: scale(1.05); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 28%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 38%),
        radial-gradient(circle at 76% 20%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(to bottom, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.16) 35%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.9) 100%);
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255,255,255,0.32) 1px, transparent 1px),
        radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1px);
    background-size: 70px 70px, 110px 110px;
    background-position: 0 0, 24px 36px;
    opacity: 0.16;
    pointer-events: none;
    z-index: 1;
}
.hero-content { position: relative; z-index: 10; text-align: center; padding: 0 24px; max-width: 820px; margin-top: -80px; }
.hero-tagline { font-size: 0.68rem; font-weight: 700; letter-spacing: 5px; color: rgba(255,255,255,0.4); margin-bottom: 16px; text-transform: uppercase; }
.hero-title { font-size: clamp(2.8rem, 6vw, 5.2rem); font-weight: 900; letter-spacing: 2px; color: #fff; line-height: 1.05; margin-bottom: 20px; text-shadow: 0 2px 80px rgba(0,0,0,0.8), 0 0 36px rgba(255,255,255,0.4), 0 0 90px rgba(255,255,255,0.22); }
.hero-title span { color: #888; }
.hero-desc { font-size: 0.96rem; color: rgba(255,255,255,0.55); line-height: 1.78; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary,
.btn-secondary {
    position: relative;
    overflow: visible;
}
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; background: #fff; color: #0a0a0a; border: none; border-radius: 8px; font-size: 0.82rem; font-weight: 700; letter-spacing: 1px; cursor: pointer; text-decoration: none; font-family: 'Inter', sans-serif; transition: all 0.22s ease; box-shadow: 0 0 24px rgba(255,255,255,0.45), 0 0 60px rgba(255,255,255,0.2), 0 12px 30px rgba(0,0,0,0.36); }
.btn-primary:hover { background: #ffffff; color: #000000; transform: translateY(-2px); box-shadow: 0 0 42px rgba(255,255,255,0.78), 0 0 95px rgba(255,255,255,0.34), 0 14px 34px rgba(0,0,0,0.45); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; background: rgba(255,255,255,0.08); color: #fff; border: 1.5px solid rgba(255,255,255,0.45); border-radius: 8px; font-size: 0.82rem; font-weight: 700; letter-spacing: 1px; cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.22s ease; box-shadow: inset 0 0 20px rgba(255,255,255,0.12), 0 0 24px rgba(255,255,255,0.2); }
.btn-secondary:hover { border-color: #ffffff; background: #ffffff; color: #000000; transform: translateY(-2px); box-shadow: 0 0 42px rgba(255,255,255,0.74), 0 0 95px rgba(255,255,255,0.3); }
.btn-secondary.copied { border-color: #ffffff; color: #000000; background: #ffffff; }

.btn-primary::before,
.btn-primary::after,
.btn-secondary::before,
.btn-secondary::after {
    content: "✦";
    position: absolute;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
    opacity: 0;
    transition: all 0.22s ease;
    pointer-events: none;
}
.btn-primary::before,
.btn-secondary::before {
    top: -12px;
    left: -10px;
    transform: scale(0.8) translateY(3px);
}
.btn-primary::after,
.btn-secondary::after {
    bottom: -12px;
    right: -10px;
    transform: scale(0.8) translateY(-3px);
}
.btn-primary:hover::before,
.btn-primary:hover::after,
.btn-secondary:hover::before,
.btn-secondary:hover::after {
    opacity: 1;
    transform: scale(1.1) translateY(0);
}

.live-status-strip {
    margin: 18px auto 0;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: fit-content;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: 0 0 22px rgba(255,255,255,0.18);
}
.live-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.82);
    font-size: 0.66rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}
.live-label {
    color: rgba(255,255,255,0.48);
}
.live-value {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255,255,255,0.38);
}
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 14px rgba(255,255,255,0.9);
    animation: pulseLiveDot 1.2s ease-in-out infinite;
}
@keyframes pulseLiveDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.65; }
}

.launch-mini-banner {
    margin: 16px auto 0;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.24);
    background: rgba(0,0,0,0.5);
    box-shadow: 0 0 20px rgba(255,255,255,0.14);
}
.launch-mini-label {
    font-size: 0.64rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.62);
    font-weight: 700;
}
.launch-mini-text {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.88);
    letter-spacing: 0.2px;
}
.launch-mini-close {
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    border-radius: 999px;
    width: 24px;
    height: 24px;
    line-height: 1;
    cursor: pointer;
    font-size: 0.66rem;
    text-transform: uppercase;
}
.launch-mini-close:hover {
    background: rgba(255,255,255,0.2);
}

.staff-sidebar {
    position: fixed;
    right: 18px;
    top: 90px;
    z-index: 112;
    width: min(332px, calc(100vw - 34px));
    max-height: calc(100vh - 118px);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 16px;
    background: linear-gradient(165deg, rgba(8,8,8,0.95), rgba(22,22,22,0.9));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 42px rgba(0,0,0,0.56), 0 0 26px rgba(255,255,255,0.1);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.staff-sidebar:hover {
    box-shadow: 0 20px 48px rgba(0,0,0,0.6), 0 0 32px rgba(255,255,255,0.16);
}
.staff-sidebar[data-collapsed="true"] {
    transform: translateX(294px);
}
.staff-sidebar-toggle {
    position: absolute;
    right: 12px;
    top: 12px;
    border: 1px solid rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.92);
    border-radius: 999px;
    font-size: 0.63rem;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 6px 10px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.staff-sidebar-toggle:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.42);
    transform: translateY(-1px);
}
.staff-sidebar-toggle::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid rgba(255,255,255,0.9);
    border-bottom: 2px solid rgba(255,255,255,0.9);
    transform: rotate(-45deg) translateY(0);
    transition: transform 0.24s ease, opacity 0.24s ease, filter 0.24s ease;
    opacity: 0.92;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.45));
    animation: staffToggleArrowNudge 1.4s ease-in-out infinite;
}
.staff-sidebar[data-collapsed="true"] .staff-sidebar-toggle::after {
    transform: rotate(135deg) translateY(0);
}
@keyframes staffToggleArrowNudge {
    0%, 100% { transform: rotate(-45deg) translateX(0); }
    50% { transform: rotate(-45deg) translateX(2px); }
}
.staff-sidebar[data-collapsed="true"] .staff-sidebar-toggle::after {
    animation: staffToggleArrowNudgeCollapsed 1.4s ease-in-out infinite;
}
@keyframes staffToggleArrowNudgeCollapsed {
    0%, 100% { transform: rotate(135deg) translateX(0); }
    50% { transform: rotate(135deg) translateX(-2px); }
}
.staff-sidebar-head {
    padding: 15px 88px 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.staff-sidebar-kicker {
    color: rgba(255,255,255,0.58);
    font-size: 0.62rem;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.staff-sidebar-title {
    font-size: 1.04rem;
    letter-spacing: 0.2px;
    margin-bottom: 5px;
}
.staff-sidebar-note {
    color: rgba(255,255,255,0.6);
    font-size: 0.72rem;
    line-height: 1.45;
    max-width: none;
}
.staff-sidebar-meta {
    padding: 9px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.66rem;
    letter-spacing: 0.3px;
    color: rgba(255,255,255,0.62);
}
.staff-list {
    list-style: none;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.staff-item {
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    background: rgba(255,255,255,0.045);
    padding: 9px 10px;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    align-items: center;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.staff-item:hover {
    border-color: rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.07);
    transform: translateY(-1px);
}
.staff-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.24);
}
.staff-avatar-fallback {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
}
.staff-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.staff-name-row {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}
.staff-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2eff7e;
    box-shadow: 0 0 10px rgba(46,255,126,0.65);
    flex-shrink: 0;
}
.staff-name {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 1.25;
}
.staff-role {
    color: rgba(255,255,255,0.66);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.95px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.staff-item-empty {
    color: rgba(255,255,255,0.66);
    font-size: 0.76rem;
    display: block;
    padding: 12px;
}
.staff-sidebar-reopen {
    position: fixed;
    right: 16px;
    top: 138px;
    z-index: 114;
    border: 1px solid rgba(255,255,255,0.26);
    background: rgba(12,12,12,0.86);
    color: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.64rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,0,0,0.44), 0 0 16px rgba(255,255,255,0.08);
    transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
    opacity: 0;
    transform: translateX(14px) scale(0.96);
    pointer-events: none;
}
.staff-sidebar-reopen::before {
    content: "";
    width: 7px;
    height: 7px;
    border-left: 2px solid rgba(255,255,255,0.95);
    border-bottom: 2px solid rgba(255,255,255,0.95);
    transform: rotate(45deg);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.42));
    animation: staffReopenArrowPulse 1.2s ease-in-out infinite;
}
.staff-sidebar-reopen[data-visible="true"] {
    opacity: 1;
    right: 58px;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}
.staff-sidebar-reopen:hover {
    border-color: rgba(255,255,255,0.48);
    background: rgba(255,255,255,0.12);
}
@keyframes staffReopenArrowPulse {
    0%, 100% { transform: rotate(45deg) translateX(0); }
    50% { transform: rotate(45deg) translateX(-2px); }
}

/* Hero Stats */
.hero-stats { position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; align-items: center; white-space: nowrap; }
.stat-item { display: flex; flex-direction: column; align-items: center; padding: 0 44px; }
.stat-num { font-size: 2.4rem; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 5px; text-shadow: 0 0 22px rgba(255,255,255,0.5), 0 0 44px rgba(255,255,255,0.2); }
.stat-label { font-size: 0.63rem; font-weight: 600; letter-spacing: 1.8px; color: rgba(255,255,255,0.38); text-transform: uppercase; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* ========================= SECTIONS (shared) ========================= */
section { position: relative; z-index: 5; }
.section-container { max-width: 1180px; margin: 0 auto; padding: 100px 40px; text-align: center; }
.section-title { font-size: 2rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: #fff; margin-bottom: 56px; display: inline-block; position: relative; text-shadow: 0 0 24px rgba(255,255,255,0.35), 0 0 60px rgba(255,255,255,0.12); }
.section-title:hover {
    color: #ffffff;
    text-shadow: 0 0 34px rgba(255,255,255,0.58), 0 0 90px rgba(255,255,255,0.22);
}
.section-title::after { content: ''; display: block; width: 40px; height: 3px; background: rgba(255,255,255,0.45); margin: 12px auto 0; border-radius: 2px; }

/* ========================= START ========================= */
.start-section {
    background:
        radial-gradient(circle at 18% 20%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 38%),
        radial-gradient(circle at 82% 68%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 44%),
        rgba(8,8,8,0.92);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.start-kicker {
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.start-title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    margin-bottom: 24px;
    letter-spacing: 1.5px;
}
.fivem-spotlight {
    max-width: 980px;
    margin: 0 auto 34px;
    padding: 26px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.24);
    background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
    box-shadow: 0 0 44px rgba(255,255,255,0.16), inset 0 0 26px rgba(255,255,255,0.08);
}
.fivem-spotlight-text {
    color: rgba(255,255,255,0.9);
    font-size: clamp(1rem, 2vw, 1.28rem);
    line-height: 1.62;
    margin-bottom: 16px;
}
.fivem-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 34px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.88rem;
    font-weight: 800;
    color: #050505;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #ffffff;
    box-shadow: 0 0 30px rgba(255,255,255,0.6), 0 12px 28px rgba(0,0,0,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fivem-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 44px rgba(255,255,255,0.76), 0 16px 34px rgba(0,0,0,0.4);
}
.start-lead {
    max-width: 760px;
    margin: 0 auto 34px;
    color: rgba(255,255,255,0.62);
    line-height: 1.75;
    font-size: 1rem;
}
.start-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 18px;
    text-align: left;
}
.start-card {
    background: linear-gradient(165deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    padding: 30px 24px;
    transition: all 0.28s ease;
}
.start-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.22);
    box-shadow: 0 16px 38px rgba(0,0,0,0.52), 0 0 30px rgba(255,255,255,0.16);
}
.start-step {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.52);
    margin-bottom: 10px;
}
.start-card h3 {
    font-size: 1.14rem;
    color: #fff;
    margin-bottom: 10px;
}
.start-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
    line-height: 1.68;
    margin-bottom: 16px;
}
.start-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.06);
    transition: all 0.2s ease;
    cursor: pointer;
}
.start-link:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 22px rgba(255,255,255,0.45);
}
.start-link-button {
    font-family: 'Inter', 'Segoe UI', sans-serif;
}
.start-link-button.copied {
    background: #fff;
    border-color: #fff;
    color: #000;
}

/* ========================= GALLERY ========================= */
.gallery-section { background: rgba(7,7,7,0.88); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,0.07); cursor: pointer; transition: all 0.3s ease; }
.gallery-item:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.7); }
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.4s ease, filter 0.4s ease; filter: brightness(0.65); }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(0.9); }
.image-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.92), transparent); padding: 28px 18px 18px; transform: translateY(100%); transition: transform 0.3s ease; }
.gallery-item:hover .image-overlay { transform: translateY(0); }
.image-overlay h3 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.image-overlay p  { color: #888; font-size: 0.82rem; }

/* ========================= FEATURES ========================= */
.features-section { background: rgba(5,5,5,0.88); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; text-align: left; }
.feature-card { background: rgba(255,255,255,0.023); border: 1px solid rgba(255,255,255,0.06); padding: 32px 24px; border-radius: 12px; transition: all 0.3s ease; }
.feature-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.18); transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,0.5), 0 0 24px rgba(255,255,255,0.14); }
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.feature-card p  { color: rgba(255,255,255,0.46); font-size: 0.87rem; line-height: 1.65; }

/* ========================= ABOUT ========================= */
.content-section { background: rgba(7,7,7,0.88); }
.content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; text-align: left; }
.content-card { background: rgba(255,255,255,0.023); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 32px 24px; transition: all 0.3s ease; }
.content-card:hover { border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.05); transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,0.5), 0 0 24px rgba(255,255,255,0.14); }

/* ========================= WHY ========================= */
.why-section { background: rgba(9,9,9,0.9); }
.why-lead {
    max-width: 760px;
    margin: -20px auto 34px;
    color: rgba(255,255,255,0.62);
    line-height: 1.75;
    font-size: 0.95rem;
    text-shadow: 0 0 10px rgba(255,255,255,0.12);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    text-align: left;
}
.why-card {
    background: linear-gradient(160deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    padding: 30px 24px;
    transition: all 0.28s ease;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.03);
}
.why-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 0 16px rgba(255,255,255,0.16);
}
.why-card p {
    color: rgba(255,255,255,0.5);
    font-size: 0.87rem;
    line-height: 1.68;
}
.why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.22);
    box-shadow: 0 14px 36px rgba(0,0,0,0.48), 0 0 30px rgba(255,255,255,0.18);
    background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
}

.content-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.content-card p  { color: rgba(255,255,255,0.46); font-size: 0.87rem; line-height: 1.65; }

/* ========================= RULES ========================= */
.rules-section { background: rgba(5,5,5,0.88); }
.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; text-align: left; }
.rule-card { background: rgba(255,255,255,0.023); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 28px 24px; transition: all 0.3s ease; }
.rule-card:hover { border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.05); transform: translateY(-4px); }
.rule-num { display: block; font-size: 3rem; font-weight: 900; color: rgba(255,255,255,0.04); line-height: 1; margin-bottom: 8px; }
.rule-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.rule-card p  { color: rgba(255,255,255,0.46); font-size: 0.87rem; line-height: 1.65; }

/* ========================= RULEBOOK PAGE ========================= */
.rules-page-main {
    padding-top: 84px;
}
.rules-page-hero {
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 44%),
        radial-gradient(circle at 80% 65%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 46%),
        rgba(8,8,8,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rules-page-container {
    max-width: 1080px;
}
.rules-page-kicker {
    color: rgba(255,255,255,0.54);
    font-size: 0.78rem;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.rules-page-title {
    margin-bottom: 24px;
}
.rules-page-lead {
    max-width: 78ch;
    margin: 0 auto;
    color: rgba(255,255,255,0.66);
    line-height: 1.75;
    font-size: 0.94rem;
}
.rules-page-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rules-reference-section {
    background: rgba(7,7,7,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rules-subtitle {
    margin-bottom: 20px;
}
.rules-reference-note {
    max-width: 76ch;
    margin: 0 auto 24px;
    color: rgba(255,255,255,0.62);
    font-size: 0.9rem;
    line-height: 1.72;
}
.rules-reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    text-align: left;
}
.rules-reference-card {
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
    padding: 22px 18px;
}
.rules-reference-card h3 {
    font-size: 0.92rem;
    color: #fff;
    margin-bottom: 8px;
}
.rules-reference-card p {
    color: rgba(255,255,255,0.58);
    font-size: 0.84rem;
    line-height: 1.62;
    margin-bottom: 12px;
}
.rules-reference-card a {
    color: rgba(255,255,255,0.86);
    font-size: 0.8rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.26);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.rules-reference-card a:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

.rulebook-section {
    background: rgba(5,5,5,0.9);
}
.rulebook-intro {
    max-width: 80ch;
    margin: 0 auto 24px;
    color: rgba(255,255,255,0.62);
    font-size: 0.9rem;
    line-height: 1.72;
}
.rulebook-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
    gap: 12px;
    text-align: left;
}
.rulebook-item {
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.11);
    background: rgba(255,255,255,0.03);
    padding: 14px 14px 16px;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.rulebook-item:hover {
    border-color: rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.05);
    transform: translateY(-3px);
}
.rulebook-index {
    display: inline-block;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}
.rulebook-item h3 {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 8px;
}
.rulebook-item p {
    color: rgba(255,255,255,0.62);
    font-size: 0.8rem;
    line-height: 1.62;
}
.rulebook-fallback {
    margin-top: 14px;
    color: rgba(255,255,255,0.65);
    font-size: 0.84rem;
    line-height: 1.6;
}

/* Fail-safe: keep rules page content visible even if shared animation JS fails. */
body.rules-book-page section {
    opacity: 1 !important;
    transform: none !important;
}

.feature-card h3,
.content-card h3,
.why-card h3,
.rule-card h3 {
    position: relative;
    display: inline-block;
    transition: text-shadow 0.2s ease, color 0.2s ease;
}
.feature-card h3::after,
.content-card h3::after,
.why-card h3::after,
.rule-card h3::after {
    content: " ✦";
    opacity: 0;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 0 8px rgba(255,255,255,0.8);
    transition: opacity 0.2s ease;
}
.feature-card h3:hover,
.content-card h3:hover,
.why-card h3:hover,
.rule-card h3:hover {
    color: #ffffff;
    text-shadow: 0 0 24px rgba(255,255,255,0.46);
}
.feature-card h3:hover::after,
.content-card h3:hover::after,
.why-card h3:hover::after,
.rule-card h3:hover::after {
    opacity: 1;
}

/* ========================= FOOTER ========================= */
footer { background: rgba(2,2,2,0.95); border-top: 1px solid rgba(255,255,255,0.05); padding: 50px 20px; text-align: center; position: relative; z-index: 5; }
.footer-logo { font-size: 1rem; font-weight: 900; letter-spacing: 3px; color: #fff; margin-bottom: 14px; text-transform: uppercase; }
.footer-logo span { color: #555; }
footer p { color: rgba(255,255,255,0.3); font-size: 0.82rem; margin: 5px 0; }
footer a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: #fff; }

/* ========================= PROMO POPUP ========================= */
.promo-overlay {
    position: fixed;
    inset: 0;
    z-index: 128;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.promo-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}
.promo-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 130;
    width: min(620px, calc(100vw - 34px));
    padding: 30px 64px 24px 24px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.18);
    background: linear-gradient(165deg, rgba(18,18,18,0.98), rgba(30,30,30,0.95));
    box-shadow: 0 16px 58px rgba(0,0,0,0.72), 0 0 0 1px rgba(255,255,255,0.06);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -44%) scale(0.96);
    transition: opacity 0.28s ease, transform 0.28s ease;
    overflow: hidden;
}
.promo-popup::before {
    content: "";
    position: absolute;
    inset: -35% -30% auto;
    height: 220px;
    background: radial-gradient(circle at 50% 50%, rgba(255,210,160,0.22), rgba(255,255,255,0));
    opacity: 0.35;
    animation: promoGlow 6s ease-in-out infinite;
    pointer-events: none;
}
.promo-popup.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}
.promo-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
    color: #fff;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.promo-popup-close:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.36);
}
.promo-popup-kicker {
    position: relative;
    z-index: 1;
    color: rgba(255,227,195,0.9);
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.promo-popup-title {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    letter-spacing: 0.5px;
    line-height: 1.12;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(255,223,185,0.2);
}
.promo-popup-text {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,0.92);
    font-size: 1rem;
    line-height: 1.5;
    max-width: 38ch;
    margin-bottom: 10px;
}
.promo-popup-note {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,0.72);
    font-size: 0.96rem;
    line-height: 1.5;
    margin-bottom: 18px;
}
.promo-code-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 12px 14px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
}
.promo-code-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    position: relative;
}
.copy-notification {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.8);
    background: rgba(100, 255, 100, 0.9);
    color: #000;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(100, 255, 100, 0.4);
    letter-spacing: 0.5px;
}
.copy-notification.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    animation: popupBounce 0.5s ease-out;
}
@keyframes popupBounce {
    0% {
        transform: translateX(-50%) translateY(0) scale(0.8);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(-8px) scale(1.05);
    }
    100% {
        transform: translateX(-50%) translateY(-5px) scale(1);
        opacity: 1;
    }
}
.promo-code-label {
    color: rgba(255,255,255,0.82);
    font-size: 0.82rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.promo-code {
    display: inline-block;
    padding: 8px 14px;
    margin: 0;
    border-radius: 999px;
    border: 1px solid rgba(255,230,196,0.66);
    background: rgba(255,215,167,0.22);
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 1.1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Inter', sans-serif;
    box-shadow: 0 0 0 rgba(255,215,167,0);
}
.promo-code:hover {
    background: rgba(255,215,167,0.45);
    border-color: rgba(255,230,196,1);
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(255,215,167,0.6);
}
.promo-code:active {
    transform: scale(0.96);
    box-shadow: 0 0 10px rgba(255,215,167,0.4);
}
.promo-code.copied {
    background: rgba(100, 255, 100, 0.4);
    border-color: rgba(100, 255, 100,1);
    box-shadow: 0 0 20px rgba(100, 255, 100, 0.6);
}
.promo-code-copy-hint {
    display: block;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    font-style: italic;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
}
.promo-popup-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

body.promo-open .staff-sidebar,
body.promo-open .staff-sidebar-reopen {
    opacity: 0;
    pointer-events: none;
    transform: translateX(14px);
}
.promo-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    min-height: 52px;
    padding: 14px 14px;
    background: rgba(255,255,255,0.09);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 0 rgba(255,255,255,0);
}
.promo-btn:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(255,255,255,0.2);
}
.promo-btn-primary {
    background: #fff;
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 24px rgba(255,255,255,0.5);
}
.promo-btn-primary:hover {
    box-shadow: 0 8px 32px rgba(255,255,255,0.8);
    transform: translateY(-3px);
    background: #fff;
}
@keyframes promoGlow {
    0%, 100% { transform: translateX(-10%); opacity: 0.5; }
    50% { transform: translateX(10%); opacity: 0.85; }
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 20px;
    z-index: 120;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    border: 1px solid rgba(255,255,255,0.38);
    border-radius: 999px;
    background: rgba(8,8,8,0.76);
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 10px 14px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* ========================= MOBILE MENU ========================= */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}
.hamburger-line {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}
.nav-mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 768px) {
    .navbar { 
        padding: 14px 20px; 
        flex-wrap: wrap;
    }
    .nav-mobile-toggle { 
        display: flex; 
        order: 2;
    }
    .nav-logo {
        order: 1;
    }
    .nav-discord {
        order: 3;
        font-size: 0.75rem;
        padding: 7px 14px;
    }
    .discord-icon-nav {
        width: 14px;
        height: 14px;
    }
    .nav-links { 
        display: none;
        flex-direction: column;
        width: 100%;
        order: 4;
        margin-top: 14px;
        padding: 14px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        gap: 8px;
    }
    .nav-links.mobile-active {
        display: flex;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .nav-links a {
        display: block;
        padding: 10px 0;
        font-size: 0.8rem;
    }
    .hero-stats { flex-wrap: wrap; bottom: 14px; padding: 0 14px; gap: 6px; }
    .stat-divider { display: none; }
    .stat-item { padding: 0 10px; }
    .stat-num { font-size: 1.6rem; }
    .section-container { padding: 70px 20px; }
    .hero-title { font-size: 2.4rem; }
    .hero-content { margin-top: -30px; }
    .hero-desc { font-size: 0.88rem; }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    .live-status-strip { padding: 9px 12px; gap: 10px; flex-direction: column; }
    .live-item { font-size: 0.64rem; }
    .launch-mini-banner {
        width: 100%;
        border-radius: 12px;
        justify-content: center;
    }
    .launch-mini-text {
        text-align: center;
    }
    .staff-sidebar {
        right: 12px;
        left: 12px;
        width: auto;
        top: auto;
        bottom: 72px;
        max-height: min(47vh, 370px);
    }
    .staff-sidebar[data-collapsed="true"] {
        transform: translateY(calc(100% - 44px));
    }
    .staff-sidebar-toggle {
        right: 12px;
        top: 12px;
        transform: none;
        border-radius: 999px;
        padding: 6px 10px;
    }
    .staff-sidebar-reopen {
        right: 12px;
        top: auto;
        bottom: 22px;
    }
    .staff-sidebar-reopen[data-visible="true"] {
        right: 12px;
    }
    .start-kicker { font-size: 0.7rem; letter-spacing: 2px; }
    .start-title { font-size: 1.9rem; margin-bottom: 18px; }
    .fivem-spotlight { padding: 20px 16px; margin-bottom: 24px; }
    .fivem-spotlight-text { font-size: 0.96rem; }
    .fivem-cta { width: 100%; padding: 14px 16px; font-size: 0.78rem; }
    .start-grid {
        grid-template-columns: 1fr;
    }
    .rules-page-main {
        padding-top: 74px;
    }
    .rules-page-actions {
        flex-direction: column;
    }
    .rulebook-list {
        grid-template-columns: 1fr;
    }
    .features-grid,
    .content-grid,
    .why-grid,
    .rules-grid {
        grid-template-columns: 1fr;
    }
    .back-to-top { right: 14px; bottom: 14px; }
    .promo-popup {
        top: auto;
        left: 12px;
        right: 12px;
        bottom: 62px;
        width: auto;
        padding: 22px 44px 18px 16px;
        border-radius: 16px;
        transform: translateY(12px) scale(0.98);
    }
    .promo-popup.visible { transform: translateY(0) scale(1); }
    .promo-popup-kicker { font-size: 0.72rem; }
    .promo-popup-title { font-size: 2.1rem; margin-bottom: 12px; }
    .promo-popup-text { font-size: 1rem; line-height: 1.55; max-width: none; }
    .promo-popup-note { font-size: 0.9rem; }
    .promo-code-row {
        grid-template-columns: 1fr;
        justify-items: start;
        padding: 12px;
        border-radius: 12px;
        gap: 8px;
    }
    .promo-code-wrapper { align-items: flex-start; }
    .promo-code-label { font-size: 0.7rem; }
    .promo-code { font-size: 0.9rem; padding: 6px 11px; }
    .promo-btn { font-size: 0.78rem; min-height: 48px; }
    .promo-popup-actions { flex-direction: column; }
}

/* Phone-only reconstructed layout mode (desktop remains unchanged) */
@media (max-width: 900px) {
    body.phone-ui {
        background: radial-gradient(circle at 50% -10%, #202020 0%, #080808 56%, #050505 100%);
    }
    body.phone-ui .universe::after {
        opacity: 0.14;
    }
    body.phone-ui .navbar {
        padding: 12px 14px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        background: rgba(3,3,3,0.9);
    }
    body.phone-ui .nav-logo {
        font-size: 0.84rem;
        letter-spacing: 2px;
    }
    body.phone-ui .hero-section {
        min-height: auto;
        padding: 86px 0 18px;
    }
    body.phone-ui .hero-content {
        margin-top: 0;
        padding: 0 14px;
    }
    body.phone-ui .hero-title {
        font-size: clamp(1.8rem, 8.8vw, 2.45rem);
        margin-bottom: 12px;
    }
    body.phone-ui .hero-desc {
        font-size: 0.84rem;
        line-height: 1.55;
        max-width: 100%;
        margin-bottom: 18px;
    }
    body.phone-ui .hero-buttons {
        gap: 8px;
    }
    body.phone-ui .btn-primary,
    body.phone-ui .btn-secondary {
        min-height: 46px;
        padding: 12px 16px;
        border-radius: 10px;
        font-size: 0.75rem;
    }
    body.phone-ui .live-status-strip {
        width: 100%;
        border-radius: 14px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 10px;
    }
    body.phone-ui .live-item {
        justify-content: flex-start;
        font-size: 0.6rem;
    }
    body.phone-ui .launch-mini-banner {
        margin-top: 10px;
        padding: 10px;
        gap: 8px;
    }
    body.phone-ui .hero-stats {
        position: static;
        transform: none;
        margin-top: 14px;
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 12px;
        background: rgba(0,0,0,0.45);
        padding: 10px 8px;
        width: calc(100% - 24px);
        justify-content: space-between;
    }
    body.phone-ui .stat-item {
        padding: 0 6px;
    }
    body.phone-ui .stat-num {
        font-size: 1.1rem;
    }
    body.phone-ui .stat-label {
        letter-spacing: 0.8px;
        font-size: 0.52rem;
        text-align: center;
    }
    body.phone-ui .section-container {
        padding: 56px 14px;
    }
    body.phone-ui .section-title {
        font-size: clamp(1.45rem, 6.8vw, 1.9rem);
        margin-bottom: 18px;
    }
    body.phone-ui .feature-card,
    body.phone-ui .content-card,
    body.phone-ui .why-card,
    body.phone-ui .rule-card,
    body.phone-ui .start-card {
        border-radius: 12px;
        padding: 16px 14px;
    }
    body.phone-ui .staff-sidebar {
        left: 10px;
        right: 10px;
        bottom: 66px;
        max-height: min(52vh, 360px);
        border-radius: 14px;
    }
    body.phone-ui .staff-sidebar-reopen {
        right: 10px;
        bottom: 14px;
    }
    body.phone-ui .staff-sidebar-reopen[data-visible="true"] {
        right: 10px;
    }
    body.phone-ui .promo-popup {
        left: 10px;
        right: 10px;
        bottom: 58px;
        border-radius: 14px;
        padding: 18px 40px 16px 14px;
    }
    body.phone-ui .back-to-top {
        right: 10px;
        bottom: 10px;
        font-size: 0.64rem;
        padding: 8px 12px;
    }
}

/* Smaller phones */
@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-desc { font-size: 0.82rem; }
    .stat-num { font-size: 1.3rem; }
    .stat-label { font-size: 0.58rem; }
    .section-title { font-size: 1.6rem; }
    .hero-tagline { font-size: 0.62rem; }
    .nav-logo { font-size: 0.9rem; }
}
