/* ===== Dark Ascension Website ===== */
/* Matches the in-game dark fantasy aesthetic */

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

:root {
    --bg-darkest: #0a0a12;
    --bg-dark: #12121f;
    --bg-panel: #1a1a2e;
    --bg-card: #1e1e35;
    --bg-hover: #252545;
    --accent-purple: #7b68ee;
    --accent-violet: #9b30ff;
    --accent-blue: #4a6cf7;
    --accent-gold: #ffd700;
    --accent-green: #3ddc84;
    --accent-cyan: #00d4ff;
    --text-primary: #e0e0f0;
    --text-secondary: #8888aa;
    --text-dim: #666688;
    --border-color: #2a2a4a;
    --glow-purple: rgba(123, 104, 238, 0.3);
    --glow-gold: rgba(255, 215, 0, 0.25);
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --max-width: 1100px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-darkest);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--accent-purple); text-decoration: none; }
a:hover { color: var(--accent-cyan); }

img { max-width: 100%; height: auto; }

/* --- Nav --- */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 18, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0 24px;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.nav-logo span { color: var(--accent-purple); }

.nav-links { display: flex; gap: 28px; list-style: none; }

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 700px; }

.hero-badge {
    display: inline-block;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-violet));
    color: #fff;
    box-shadow: 0 4px 20px var(--glow-purple);
}

.btn-primary:hover { color: #fff; box-shadow: 0 6px 30px var(--glow-purple); }

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover { color: var(--text-primary); border-color: var(--accent-purple); }

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* --- Sections --- */
section { padding: 100px 24px; }

.section-inner { max-width: var(--max-width); margin: 0 auto; }

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.section-desc.centered { margin: 0 auto; text-align: center; }

.section-header-center { text-align: center; margin-bottom: 60px; }

/* --- Features --- */
.features { background: var(--bg-dark); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 32px 28px;
    transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Screenshots --- */
.screenshots { background: var(--bg-darkest); }

.screenshot-gallery {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 40px 0 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-purple) var(--bg-dark);
}

.screenshot-gallery::-webkit-scrollbar { height: 6px; }
.screenshot-gallery::-webkit-scrollbar-track { background: var(--bg-dark); border-radius: 3px; }
.screenshot-gallery::-webkit-scrollbar-thumb { background: var(--accent-purple); border-radius: 3px; }

.screenshot-item {
    flex-shrink: 0;
    scroll-snap-align: center;
    width: 260px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s, transform 0.3s;
}

.screenshot-item:hover {
    border-color: var(--accent-purple);
    transform: scale(1.03);
}

.screenshot-item img {
    display: block;
    width: 100%;
    height: auto;
}

.screenshot-label {
    text-align: center;
    padding: 12px;
    background: var(--bg-panel);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- Journey (stages) --- */
.journey { background: var(--bg-dark); }

.stages-track {
    position: relative;
    margin-top: 60px;
    padding-left: 40px;
}

.stages-track::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-purple), var(--accent-violet), var(--accent-gold));
}

.stage-item {
    position: relative;
    margin-bottom: 28px;
    padding: 16px 20px;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    max-width: 500px;
}

.stage-item::before {
    content: "";
    position: absolute;
    left: -33px;
    top: 22px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-purple);
    border: 2px solid var(--bg-darkest);
    box-shadow: 0 0 8px var(--glow-purple);
}

.stage-item:last-child::before { background: var(--accent-gold); box-shadow: 0 0 8px var(--glow-gold); }

.stage-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stage-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-style: italic;
}

/* --- Privacy Banner --- */
.privacy-banner {
    background: var(--bg-darkest);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.privacy-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.privacy-text { flex: 1; }

.privacy-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    flex-shrink: 0;
}

.privacy-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-green);
}

.privacy-badge .icon { font-size: 1.3rem; }

/* --- FAQ --- */
.faq { background: var(--bg-dark); }

.faq-list {
    max-width: 700px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    transition: color 0.2s;
}

.faq-question:hover { color: var(--accent-purple); }

.faq-question .arrow {
    transition: transform 0.3s;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.faq-item.open .faq-question .arrow { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- CTA --- */
.cta {
    background: var(--bg-darkest);
    text-align: center;
    padding: 80px 24px;
}

.cta .section-title {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Footer --- */
.site-footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 40px 24px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-links { display: flex; gap: 24px; list-style: none; }

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent-purple); }

/* --- Responsive --- */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .privacy-inner { flex-direction: column; gap: 32px; }
    .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 600px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 18, 0.98);
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-toggle { display: block; }
    .features-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section-title { font-size: 1.7rem; }
    section { padding: 60px 16px; }
    .privacy-highlights { grid-template-columns: 1fr; }
    .screenshot-item { width: 220px; }
    .footer-inner { flex-direction: column; text-align: center; }
}
