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

:root {
    --accent: #913de2;
    --accent-secondary: #cb3de2;
    --text-primary: #111111;
    --text-secondary: #222222;
    --discord: #7388da;
    --paypal: #026fba;
    --github: #242a2e;
    --youtube: #ff0201;
    --bg-dark: #ffffff;
    --bg-card: rgba(255,255,255,0.04);
    --border: rgba(145,61,226,0.25);
    font-family: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-secondary);
    min-height: 100vh;
}

/* ── NAV ── */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(13,13,20,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .icon-link img.icon { width: 2.5rem; height: 2.5rem; }

nav .nav-links { display: flex; gap: 2rem; align-items: center; }
nav .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}
nav .nav-links a:hover { color: var(--accent); text-decoration: none; }

nav .login-btn button {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

/* ── BUTTONS ── */
button, .button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(145,61,226,0.4);
    transition: box-shadow 0.25s, transform 0.2s;
    border-radius: 0.5rem;
    border: none;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    text-decoration: none;
}
button:hover, .button:hover {
    box-shadow: 0 6px 25px rgba(145,61,226,0.65);
    transform: translateY(-2px);
    text-decoration: none;
}
button img, .button img { width: 1.1rem; filter: brightness(10); }

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../background.webp');
    background-size: cover;
    background-position: center;
    filter: brightness(0.35) saturate(1.2);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13,13,20,0.3) 0%, rgba(13,13,20,0.9) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}
.hero-content svg.meteor-logo { width: min(500px, 90vw); margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── CONTAINER / SECTIONS ── */
.container {
    display: flex;
    justify-content: center;
    padding: 3rem 2rem;
}
.container > div { max-width: 1000px; width: 100%; }

.section-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
}
.section-card h2 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
}

/* ── STATS ── */
.stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.stat-item { text-align: left; }
.stat-value { font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-label { font-size: 0.8rem; color: #888; text-transform: uppercase; letter-spacing: 0.05em; }

/* ── DOWNLOAD BTN ── */
.buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }

/* ── TEAM ── */
.team-grid { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.card {
    background: rgba(145,61,226,0.08);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    min-width: 160px;
}
.card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    margin-bottom: 0.75rem;
}
.card p { color: white; font-weight: 600; margin-bottom: 0.25rem; }
.card span { font-size: 0.8rem; color: #999; }

/* ── FAQ LAYOUT ── */
.faq-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.faq-sidebar {
    width: 200px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
}
.faq-sidebar ul { list-style: none; }
.faq-sidebar ul li { margin-bottom: 0.5rem; }
.faq-sidebar ul li a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: block;
    padding: 0.3rem 0;
    border-left: 2px solid transparent;
    padding-left: 0.75rem;
}
.faq-sidebar ul li a:hover,
.faq-sidebar ul li a.active { color: var(--accent); border-left-color: var(--accent); }

.faq-content { flex: 1; min-width: 0; }
.faq-content h2 { color: white; font-size: 1.5rem; margin: 2rem 0 0.5rem; }
.faq-content h3 { color: #ddd; font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.faq-content h4 { color: #ccc; font-size: 1rem; margin: 1rem 0 0.4rem; }
.faq-content p { line-height: 1.7; color: #bbb; margin-bottom: 0.75rem; }
.faq-content ul, .faq-content ol { padding-left: 1.5rem; color: #bbb; line-height: 1.8; margin-bottom: 0.75rem; }
.faq-content hr { border: none; border-top: 1px solid var(--border); margin: 0.5rem 0 1rem; }
.faq-content a { color: var(--accent); }
.faq-content a:hover { text-decoration: underline; }
.faq-content code {
    background: rgba(145,61,226,0.15);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.1em 0.4em;
    font-size: 0.88em;
    font-family: 'Courier New', monospace;
    color: #d4a0ff;
}
.faq-content pre {
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    margin: 0.75rem 0;
}
.faq-content pre code { background: none; border: none; padding: 0; color: #c9b3ff; }
.faq-content kbd {
    background: #2a2a3a;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 0.1em 0.5em;
    font-size: 0.85em;
    font-family: monospace;
}
.md-img { width: 1em; vertical-align: middle; opacity: 0.5; margin-right: 0.3em; }
.md-h-a { text-decoration: none; }

/* ── ARCHIVE ── */
.warning {
    background: rgba(255,100,0,0.1);
    border: 1px solid rgba(255,100,0,0.4);
    border-radius: 0.5rem;
    padding: 1rem;
    color: #ffaa55;
    margin-bottom: 0.5rem;
}
.warning-small { font-size: 0.85rem; color: #aaa; margin-bottom: 1rem; }
.warning-small a { color: var(--accent); }
.archive-groups { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.archive-group h3 { color: white; margin-bottom: 0.5rem; }
.archive-group ul { list-style: none; }
.archive-group ul li { margin: 0.3rem 0; }
.archive-group ul li a { color: var(--accent); font-size: 0.9rem; }

/* ── FORMS ── */
.form-wrap {
    display: flex;
    justify-content: center;
    padding: 4rem 2rem;
}
.form-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
}
.form-box h1 { color: white; font-size: 1.8rem; margin-bottom: 1.5rem; }
.form-label { display: block; color: #bbb; font-size: 0.85rem; margin-bottom: 0.3rem; }
.form-box input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    outline: none;
    transition: border-color 0.2s;
}
.form-box input:focus { border-color: var(--accent); }
.form-button { width: 100%; margin-top: 0.5rem; font-size: 1rem; }
.form-footer { margin-top: 1.25rem; text-align: center; font-size: 0.85rem; color: #888; }
.form-footer a { color: var(--accent); }
.form-footer p { margin: 0.4rem 0; }

/* ── DONATE ── */
.donate-wrap {
    display: flex;
    justify-content: center;
    padding: 4rem 2rem;
}
.donate-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    text-align: center;
}
.donate-box h1 { color: white; margin-bottom: 0.75rem; }
.donate-box h3 { color: #bbb; margin: 1.5rem 0 0.5rem; }
.donate-box input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    text-align: center;
    outline: none;
}
#paypal-buttons { margin-top: 1.5rem; }

/* ── FOOTER ── */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border);
    color: #555;
    font-size: 0.85rem;
    margin-top: 2rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
    .faq-layout { flex-direction: column; }
    .faq-sidebar { width: 100%; position: static; }
    .stats { gap: 1rem; }
    nav .nav-links { gap: 1rem; }
}
