:root {
    --bg: #05070a;
    --card-bg: #0c0f14;
    --accent: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.2);
    --accent-deep: #1d4ed8;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(37, 99, 235, 0.4);
    --success: #10b981;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-display);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container-narrow {
    max-width: 800px;
}
/* ─── NAVIGATION ─── */
.nav-glass {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    background: rgba(5, 7, 10, 0.8);
    transition: box-shadow 0.3s;
}
.nav-glass.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}
.logo span {
    color: var(--accent);
}
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 0.3s var(--transition);
}
.nav-links a:hover {
    color: var(--accent);
}
.btn-nav-outline {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem !important;
    transition: background 0.3s !important;
}
.btn-nav-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}
.btn-nav-connect {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--accent);
    color: white !important;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem !important;
    transition: transform 0.2s var(--transition), box-shadow 0.2s !important;
}
.btn-nav-connect:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--accent-glow);
}
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s;
}
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
}
.mobile-menu a {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 0.5rem;
}
/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}
.hero-bg-image {
    position: absolute;
    inset: 0;
    background: url('images/image.png') center/cover no-repeat;
    opacity: 0.3;
}
.hero-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,7,10,0.5) 0%, rgba(5,7,10,0.7) 50%, var(--bg) 100%);
}
.hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--accent-glow) 0%, transparent 70%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 1.5rem;
    max-width: 900px;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s infinite;
}
h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    font-weight: 700;
}
.text-gradient {
    color: var(--accent);
    text-shadow: 0 0 40px var(--accent-glow);
}
.hero-sub {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
/* ─── BUTTONS ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s var(--transition), box-shadow 0.2s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--accent-glow);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border);
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.3s;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}
.btn-step {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-top: 1.5rem;
    transition: transform 0.2s var(--transition), box-shadow 0.2s;
}
.btn-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}
/* ─── SECTIONS ─── */
.section {
    padding: 6rem 0;
}
.section-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
/* ─── FACTIONS GRID ─── */
.factions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.faction-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    cursor: pointer;
    transition: border-color 0.3s, transform 0.3s var(--transition);
}
.faction-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.faction-image {
    position: relative;
    height: 192px;
    overflow: hidden;
}
.faction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--transition);
}
.faction-card:hover .faction-image img {
    transform: scale(1.1);
}
.faction-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--card-bg) 0%, rgba(12, 15, 20, 0.5) 50%, transparent 100%);
}
.faction-info {
    position: relative;
    padding: 1.25rem;
    margin-top: -2rem;
}
.faction-category {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--accent);
    text-transform: uppercase;
}
.faction-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0.25rem;
}
/* ─── STEPS GRID ─── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.step-card {
    position: relative;
    padding: 2rem;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    transition: border-color 0.3s;
}
.step-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
}
.step-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(37, 99, 235, 0.12);
    font-family: var(--font-display);
}
.step-icon {
    color: var(--accent);
    margin: 1rem 0;
}
.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}
/* ─── FAQ ─── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.faq-item {
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border);
    transition: border-color 0.3s;
}
.faq-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
}
.faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    text-align: left;
    font-family: var(--font-display);
}
.faq-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.faq-num {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
}
.faq-toggle span:last-child {
    font-size: 0.9rem;
    font-weight: 600;
}
.faq-chevron {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.3s var(--transition);
}
.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--transition), padding 0.3s;
}
.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 1.25rem 1.25rem 3.5rem;
}
.faq-answer p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}
/* ─── DISCORD CTA ─── */
.discord-cta {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--card-bg), rgba(37, 99, 235, 0.08));
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}
.discord-text {
    flex: 1;
}

.gradient-text {
  background: linear-gradient(45deg, #34a5e6, #142f88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-decoration: none;
}
.discord-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}
.discord-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 440px;
    line-height: 1.6;
}
.discord-visual {
    flex-shrink: 0;
    width: 260px;
    height: 190px;
    border-radius: 12px;
    overflow: hidden;
        background: url('https://pngimg.com/d/discord_PNG6.png') center/cover no-repeat;
    position: relative;
}
.discord-glow {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}
/* ─── FOOTER ─── */
.footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--accent);
}
.copyright {
    color: var(--text-muted);
    font-size: 0.75rem;
}
/* ─── ANIMATIONS ─── */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.8s var(--transition);
}
[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}
/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .factions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .mobile-menu.open {
        display: flex;
    }
    .factions-grid {
        grid-template-columns: 1fr;
    }
    .discord-cta {
        flex-direction: column;
        padding: 2rem;
    }
    .discord-visual {
        width: 100%;
        height: 180px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}