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

:root {
    --primary: #ff0022;
    --primary-light: #ff4d62;
    --primary-dark: #cc001a;
    --bg-dark: #0c0c0c;
    --bg-card: #141414;
    --bg-card-hover: #1c1c1c;
    --text: #f7f7f7;
    --text-muted: #999999;
    --text-bright: #f7f7f7;
    --border: rgba(255, 0, 34, 0.12);
    --border-subtle: rgba(255,255,255,0.06);
    --glow: rgba(255, 0, 34, 0.4);
    --discord: #5865F2;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 36px; width: auto; }
.nav-logo-fallback {
    display: none;
    align-items: baseline;
    gap: 4px;
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 800;
}
.logo-unity { color: var(--text-bright); }
.logo-rp { color: var(--primary); font-size: 0.9rem; font-weight: 600; }

.nav-links { display: flex; gap: 24px; }
.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--text-bright); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.btn-staff-zone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-bright);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-staff-zone:hover {
    border-color: rgba(255, 0, 34, 0.35);
    background: rgba(255, 0, 34, 0.1);
    box-shadow: 0 6px 18px rgba(255, 0, 34, 0.18);
    transform: translateY(-1px);
}

.btn-discord {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: var(--discord);
    color: white;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(88,101,242,0.4);
}
.discord-icon { width: 18px; height: 18px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--text);
    transition: all 0.3s;
    border-radius: 2px;
    display: block;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-gradient {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255,0,34,0.1) 0%, transparent 70%),
        linear-gradient(180deg, var(--bg-dark) 0%, transparent 30%, transparent 70%, var(--bg-dark) 100%);
}

.hero-scanlines {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
    pointer-events: none;
}

.hero-particles { position: absolute; inset: 0; }

.particle {
    position: absolute;
    width: 2px; height: 2px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle linear infinite;
}
@keyframes float-particle {
    0%   { opacity: 0; transform: translateY(100vh) scale(0); }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    padding: 0 24px;
    padding-top: 80px;
}

.hero-logo-wrap { margin-bottom: 32px; }
.hero-logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 40px rgba(255,0,34,0.3));
    animation: logo-pulse 3s ease-in-out infinite;
}
@keyframes logo-pulse {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(255,0,34,0.25)); }
    50%       { filter: drop-shadow(0 0 60px rgba(255,0,34,0.45)); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    background: rgba(255,0,34,0.08);
    border: 1px solid rgba(255,0,34,0.25);
    border-radius: 100px;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary-light);
    margin-bottom: 20px;
}
.badge-dot {
    width: 7px; height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

.hero-title {
    font-family: 'Orbitron', monospace;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.title-unity {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    color: var(--text-bright);
    letter-spacing: 10px;
    line-height: 1.05;
    text-shadow: 0 0 80px rgba(255,0,34,0.2);
}
.title-rp {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--primary-light);
    letter-spacing: 18px;
    line-height: 1.8;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

/* Countdown */
.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
}
.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px 20px;
    min-width: 80px;
}
.countdown-num {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-bright);
    line-height: 1;
}
.countdown-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-top: 4px;
    text-transform: uppercase;
}
.countdown-sep {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
    animation: blink 1s step-start infinite;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 16px 32px;
    max-width: 480px;
    margin: 0 auto;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 28px;
}
.hero-stat-num {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}
.hero-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
    white-space: nowrap;
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-subtle);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--discord); color: white; }
.btn-primary:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(88,101,242,0.4);
}
.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.12);
}
.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-2px);
}
.btn-large { padding: 16px 36px; font-size: 1rem; }

/* scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 36px; left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.scroll-arrow {
    width: 22px; height: 36px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 11px;
    position: relative;
}
.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 3px; height: 7px;
    background: var(--primary-light);
    border-radius: 2px;
    animation: scroll-down 1.5s ease-in-out infinite;
}
@keyframes scroll-down {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50%       { opacity: 0.2; transform: translateX(-50%) translateY(9px); }
}

/* ===== SECTIONS ===== */
.section { padding: 120px 0; position: relative; }

.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-tag {
    display: inline-block;
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--primary-light);
    margin-bottom: 14px;
    padding: 5px 14px;
    background: rgba(255,0,34,0.07);
    border-radius: 4px;
}
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}
.highlight { color: var(--primary-light); }

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s;
}
.about-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255,0,34,0.25);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(255,0,34,0.07);
}
.about-icon {
    width: 52px; height: 52px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,0,34,0.08);
    border-radius: 12px;
    color: var(--primary-light);
}
.about-icon svg { width: 26px; height: 26px; }
.about-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 10px;
}
.about-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ===== FEATURES ===== */
.features { background: linear-gradient(180deg, var(--bg-dark) 0%, #111 50%, var(--bg-dark) 100%); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 28px;
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(24px);
}
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card:hover { background: var(--bg-card-hover); border-color: rgba(255,0,34,0.2); }
.feature-card.visible:hover { transform: translateY(-3px); }

.feature-number {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 800;
    color: rgba(255,0,34,0.15);
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
}
.feature-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 7px;
}
.feature-content p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; }

/* ===== FACTIONS ===== */
.factions { background: linear-gradient(180deg, var(--bg-dark) 0%, #111 100%); }

.factions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.faction-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}
.faction-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
}
.faction-card:hover { background: var(--bg-card-hover); transform: translateY(-6px); }
.faction-card:hover::before { opacity: 1; }

.faction-icon {
    width: 52px; height: 52px;
    background: rgba(255,0,34,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    margin-bottom: 16px;
}
.faction-icon svg { width: 26px; height: 26px; }

.faction-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 8px;
    text-transform: uppercase;
}
.faction-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 10px;
}
.faction-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }

.faction-slots { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.slot-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
}
.slot-dot.filled { background: var(--primary); border-color: var(--primary); }
.slot-label { font-size: 0.72rem; color: var(--text-muted); margin-left: 4px; }

/* ===== HOW TO JOIN ===== */
.steps-wrap {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}
.steps-wrap::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), rgba(255,0,34,0.1));
}
.step {
    display: flex;
    gap: 28px;
    padding: 28px 0;
}
.step-num {
    width: 56px; height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 0 20px rgba(255,0,34,0.3);
}
.step-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 24px 28px;
    flex: 1;
    transition: border-color 0.3s;
}
.step-content:hover { border-color: rgba(255,0,34,0.2); }
.step-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 8px;
}
.step-content p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.step-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 600;
    transition: color 0.2s;
}
.step-link:hover { color: var(--primary); }

/* ===== RULES ===== */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}
.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
}
.rule-item:hover {
    border-color: rgba(255,0,34,0.2);
    background: var(--bg-card-hover);
}
.rule-icon {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,0,34,0.07);
    border-radius: 9px;
    color: var(--primary-light);
    flex-shrink: 0;
}
.rule-icon svg { width: 20px; height: 20px; }
.rule-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 5px;
}
.rule-content p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }

/* ===== NEWS ===== */
.news { background: linear-gradient(180deg, var(--bg-dark) 0%, #111 100%); }
.news-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 20px;
}
.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}
.news-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255,0,34,0.2);
    transform: translateY(-4px);
}
.news-featured {
    grid-row: span 1;
    border-color: rgba(255,0,34,0.2);
    background: linear-gradient(135deg, rgba(255,0,34,0.06) 0%, var(--bg-card) 60%);
}
.news-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 12px;
}
.news-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 10px;
    line-height: 1.4;
}
.news-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.news-meta { display: flex; align-items: center; gap: 12px; }
.news-date { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* ===== STAFF ===== */
.staff { background: linear-gradient(180deg, #111 0%, var(--bg-dark) 100%); }
.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.staff-card {
    text-align: center;
    padding: 36px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    transition: all 0.4s;
}
.staff-card:hover {
    border-color: rgba(255,0,34,0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(255,0,34,0.06);
}
.staff-card-join { border-style: dashed; }
.staff-avatar { margin-bottom: 16px; }
.avatar-placeholder {
    width: 68px; height: 68px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}
.avatar-plus { background: rgba(255,0,34,0.08); color: var(--primary); border: 2px dashed rgba(255,0,34,0.3); }
.staff-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 6px;
}
.staff-role {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.role-owner  { background: rgba(255,0,34,0.12); color: var(--primary); }
.role-dev    { background: rgba(88,101,242,0.12); color: #818cf8; }
.role-admin  { background: rgba(34,197,94,0.1); color: #4ade80; }
.role-open   { background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px dashed rgba(255,255,255,0.1); }
.staff-bio   { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ===== FAQ ===== */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item.active { border-color: rgba(255,0,34,0.2); }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text-bright);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--primary-light); }
.faq-arrow {
    width: 18px; height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.3s;
}
.faq-item.active .faq-arrow { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s;
}
.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ===== CTA ===== */
.cta { padding: 60px 0 120px; }
.cta-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(255,0,34,0.07) 0%, rgba(255,0,34,0.02) 100%);
    border: 1px solid rgba(255,0,34,0.18);
    border-radius: 24px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(255,0,34,0.04) 0%, transparent 55%);
    animation: rotate-glow 12s linear infinite;
}
@keyframes rotate-glow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.cta-logo { margin-bottom: 24px; position: relative; }
.cta-logo-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 30px rgba(255,0,34,0.3));
}
.cta-box h2 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 14px;
    position: relative;
    line-height: 1.3;
}
.cta-box p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 32px;
    position: relative;
    line-height: 1.75;
}
.cta-box .btn { position: relative; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border-subtle); padding: 56px 0 32px; }
.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand { }
.footer-logo { height: 40px; width: auto; margin-bottom: 12px; }
.footer-logo-fallback {
    display: none;
    align-items: baseline;
    gap: 4px;
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 260px;
    margin-top: 8px;
}
.footer-links-group h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-bright);
    margin-bottom: 16px;
    text-transform: uppercase;
}
.footer-links-group ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-group a {
    font-size: 0.87rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer-links-group a:hover { color: var(--text-bright); }
.footer-social h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-bright);
    margin-bottom: 16px;
    text-transform: uppercase;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--discord);
    color: white;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(88,101,242,0.4);
}
.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.2); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .about-grid { grid-template-columns: repeat(2, 1fr); }
    .staff-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .factions-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .rules-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }

    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(12,12,12,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 999;
    }
    .nav-links.active { display: flex; }
    .nav-links a { font-size: 1.1rem; }
    .nav-toggle { display: flex; }
    .nav-actions { margin-left: 0; gap: 10px; }
    .btn-discord { display: none; }
    .btn-staff-zone {
        padding: 8px 12px;
        font-size: 0.74rem;
    }

    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

@media (max-width: 640px) {
    .section { padding: 80px 0; }
    .about-grid { grid-template-columns: 1fr; }
    .factions-grid { grid-template-columns: 1fr; }
    .staff-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
    .rules-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .hero-stats { padding: 14px 16px; }
    .hero-stat { padding: 0 14px; }
    .countdown-unit { min-width: 64px; padding: 10px 12px; }
    .countdown-num { font-size: 1.5rem; }
    .cta-box { padding: 48px 20px; }
    .steps-wrap::before { display: none; }
}
