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

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

body
{
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #0a0a0a;
    color: #eef0f6;
    line-height: 1.7;
    overflow-x: hidden;
}

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

a
{
    color: #00e5ff;
    text-decoration: none;
    transition: color .2s;
}

a:hover
{
    color: #ff2d55;
}

/* ========== CSS VARIABLES ========== */
:root
{
    --bg: #161616;
    --bg-surface: #1a1a1a;
    --bg-card: #101018;
    --border: rgba(255, 255, 255, .08);
    --accent: #ff2d55;
    --accent2: #00e5ff;
    --accent3: #a855f7;
    --text: #eef0f6;
    --muted: #8892a4;
    --radius: 16px;
    --max-w: 1100px;
    --shadow: 0 8px 32px rgba(0, 0, 0, .4);
}

/* ========== UTILITY ========== */
.container
{
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad
{
    padding: 80px 0;
}

.text-center
{
    text-align: center;
}

.text-accent
{
    color: var(--accent);
}

.text-accent2
{
    color: var(--accent2);
}

.text-muted
{
    color: var(--muted);
}

.sr-only
{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========== NAV ========== */
.nav
{
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, .85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

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

.nav-brand
{
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text);
    letter-spacing: -.02em;
}

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

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

.nav-links a
{
    color: var(--muted);
    font-size: .88rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
    transition: color .2s;
}

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

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

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

.hero-video-bg
{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay
{
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 18, .8);
    z-index: 1;
    pointer-events: none;
}

.hero-content
{
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 1.0), -2px -2px 2px rgba(0, 0, 0, 1.0), 2px -2px 2px rgba(0, 0, 0, 1.0), -2px 2px 2px rgba(0, 0, 0, 1.0);
}

.hero-stat-line
{
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hero-stat-line span
{
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-stat-line .dot
{
    color: rgba(255, 255, 255, .2);
}

.hero h1
{
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -.03em;
}

.hero h1 .highlight
{
    color: var(--accent);
}

.hero h1 .highlight2
{
    color: var(--accent2);
}

.hero-sub
{
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .7);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-dir-link
{
    margin-top: 16px;
    font-size: .88rem;
}

.hero-dir-link a
{
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-dir-link a:hover
{
    color: var(--accent2);
}

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

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

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

.btn-primary
{
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 45, 85, .35);
}

.btn-primary:hover
{
    color: #fff;
    box-shadow: 0 6px 28px rgba(255, 45, 85, .5);
}

.btn-lg
{
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-outline
{
    background: transparent;
    color: var(--accent2);
    border: 2px solid var(--accent2);
}

.btn-outline:hover
{
    background: rgba(0, 229, 255, .08);
    color: var(--accent2);
}

/* ========== SECTION HEADERS ========== */
.section-header
{
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2
{
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 12px;
}

.section-header p
{
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.section-divider
{
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border: none;
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ========== WHAT IS SECTION ========== */
.what-is-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.what-is-visual
{
    position: relative;
    text-align: center;
}

.what-is-content
{
    font-size: 1.05rem;
    color: var(--muted);
}

.what-is-content p
{
    margin-bottom: 20px;
}

.what-is-content strong
{
    color: var(--text);
}

.what-is-cta
{
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.cta-image-link
{
    display: block;
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--accent);
    box-shadow: 0 0 24px rgba(255, 45, 85, .2);
    transition: transform .2s, box-shadow .2s;
}

.cta-image-link:hover
{
    transform: translateY(-3px);
    box-shadow: 0 0 36px rgba(255, 45, 85, .35);
}

.cta-image-link img
{
    width: 100%;
    height: auto;
    display: block;
}

.cta-image-link .cta-img-placeholder
{
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1530 50%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: .85rem;
}

/* ========== SPOTLIGHT ========== */
.spotlight-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.spotlight-visual
{
    position: relative;
    text-align: center;
}

.spotlight-video
{
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1/1;
    margin: 0 auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    object-fit: contain;
    background: var(--bg-card);
}

.spotlight-video.video-portrait
{
    aspect-ratio: 9/16;
    max-width: 300px;
}

.video-wrap
{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}

.video-mute-btn
{
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s;
}

.video-mute-btn:hover
{
    background: rgba(0, 0, 0, .75);
    border-color: var(--accent2);
}

.spotlight-info h3
{
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.spotlight-info .tagline
{
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 16px;
}

.spotlight-info p
{
    color: var(--muted);
    margin-bottom: 16px;
}

.feature-list
{
    list-style: none;
    margin-bottom: 24px;
}

.feature-list li
{
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    color: var(--muted);
}

.feature-list li::before
{
    content: '⚡';
    position: absolute;
    left: 0;
}

.feature-list li strong
{
    color: var(--text);
}

.social-links
{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link
{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: .82rem;
    font-weight: 600;
    border-radius: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--muted);
    transition: border-color .2s, color .2s;
}

.social-link:hover
{
    border-color: var(--accent2);
    color: var(--accent2);
}

/* ========== EMBED ========== */
.embed-wrap
{
    max-width: 100%;
    margin: 48px auto 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .03);
    box-shadow: var(--shadow);
}

.embed-frame
{
    width: 100%;
    border-radius: calc(var(--radius) - 6px);
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9;
}

.embed-frame iframe
{
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ========== DISCORD SHOWCASE ========== */
.discord-showcase
{
    margin-top: 56px;
}

.discord-showcase h3
{
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.discord-layout
{
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items: center;
}

.discord-img
{
    overflow: hidden;
}

.discord-img img
{
    width: 320px;
    height: 320px;
    display: block;
}

.discord-text
{
    text-align: center;
}

.discord-text h3
{
    margin-bottom: 12px;
}

.discord-text p
{
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.screenshot-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.screenshot-slot
{
    aspect-ratio: 16/10;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: linear-gradient(135deg, #1a1a2e, #16162a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: .82rem;
    text-align: center;
    overflow: hidden;
}

.screenshot-slot img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discord-cta
{
    text-align: center;
    margin-top: 32px;
}

.btn-discord
{
    background: #5865F2;
    color: #fff;
    box-shadow: 0 4px 20px rgba(88, 101, 242, .35);
}

.btn-discord:hover
{
    color: #fff;
    box-shadow: 0 6px 28px rgba(88, 101, 242, .5);
}

/* ========== DIRECTORY ========== */
.directory-grid
{
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.vtuber-card
{
    display: flex;
    flex-direction: column;
    width: 324px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s, border-color .2s;
    text-decoration: none;
    color: inherit;
}

.vtuber-card:hover
{
    transform: translateY(-4px);
    border-color: #ff9f1c;
}

.vtuber-card.featured
{
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(255, 45, 85, .15);
    width: 330px;
    margin: 0 auto 32px;
}

.card-img
{
    width: 100%;
    height: 210px;
    background: linear-gradient(135deg, #1a1a2e, #16162a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: .85rem;
    overflow: hidden;
}

.card-img img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body
{
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-name-row
{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.card-name-row h3
{
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.card-name-row .card-dev
{
    font-size: 1.15rem;
    font-weight: 700;
    color: #ff9f1c;
    white-space: nowrap;
}

.card-role-row
{
    display: flex;
    justify-content: space-between;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin-bottom: 10px;
}

.card-body p
{
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 14px;
    line-height: 1.6;
}

.card-tags
{
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.card-tag
{
    font-size: .72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(168, 85, 247, .12);
    color: var(--accent3);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.card-link
{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: auto;
}

.card-link:hover
{
    color: var(--accent2);
}

.card-badge
{
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    padding: 3px 10px;
    background: var(--accent);
    color: #fff;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 8px;
}

.card-placeholder
{
    opacity: .5;
}

.card-placeholder .card-img
{
    background: linear-gradient(135deg, #111122, #0d0d1a);
}

/* ========== HOW IT WORKS ========== */
.how-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.how-card
{
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: border-color .2s;
}

.how-card:hover
{
    border-color: rgba(255, 255, 255, .15);
}

.how-icon
{
    font-size: 2.2rem;
    margin-bottom: 14px;
    display: block;
}

.how-card h3
{
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.how-card p
{
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ========== FAQ ========== */
.faq-list
{
    max-width: 900px;
    margin: 0 auto;
}

.faq-item
{
    border-bottom: 1px solid var(--border);
}

.faq-question
{
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    padding: 20px 40px 20px 0;
    cursor: pointer;
    position: relative;
    font-family: inherit;
    line-height: 1.5;
}

.faq-question::after
{
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--accent2);
    transition: transform .2s;
}

.faq-item.open .faq-question::after
{
    content: '−';
}

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

.faq-item.open .faq-answer
{
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-answer p
{
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.7;
}

/* ========== CONTACT ========== */
.contact-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card
{
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: border-color .2s;
}

.contact-card:hover
{
    border-color: rgba(255, 255, 255, .15);
}

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

.contact-card h3
{
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card p
{
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.6;
}

.contact-card a
{
    color: var(--accent2);
    font-weight: 600;
}

.contact-card a:hover
{
    color: var(--accent);
}

/* ========== DATASET ========== */
.dataset-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.dataset-card
{
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: border-color .2s;
}

.dataset-card:hover
{
    border-color: rgba(255, 255, 255, .15);
}

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

.dataset-card h3
{
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.dataset-card p
{
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.dataset-card a
{
    color: var(--accent2);
    font-weight: 600;
    font-size: .85rem;
    word-break: break-all;
}

.dataset-card a:hover
{
    color: var(--accent);
}

.dataset-license
{
    text-align: center;
    margin-top: 32px;
    color: var(--muted);
    font-size: .85rem;
}

/* ========== FOOTER ========== */
.site-footer
{
    border-top: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
}

.footer-brand
{
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.footer-brand span
{
    color: var(--accent);
}

.footer-links
{
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.footer-links a
{
    color: var(--muted);
    font-size: .85rem;
}

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

.footer-copy
{
    color: var(--muted);
    font-size: .8rem;
}

.footer-updated
{
    color: var(--muted);
    font-size: .75rem;
    margin-top: 6px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px)
{

    .container
    {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 0 0.8rem;
    }

    .discord-img
    {
        display: flex;
        justify-content: center;
    }

    .embed-wrap
    {
        padding: 0;
    }

    .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, .97);
        backdrop-filter: blur(16px);
        padding: 16px 24px;
        gap: 12px;
        border-bottom: 1px solid var(--border);
    }

    .nav-toggle
    {
        display: block;
    }

    .hero
    {
        min-height: 80vh;
        padding: 100px 20px 60px;
    }

    .hero h1
    {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }

    .btn-lg
    {
        padding: 14px 28px;
        font-size: .95rem;
    }

    .spotlight-grid,
    .what-is-grid
    {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .spotlight-visual,
    .what-is-visual
    {
        order: -1;
    }

    .what-is-cta
    {
        align-items: center;
    }

    .feature-list
    {
        text-align: left;
    }

    .social-links
    {
        justify-content: center;
    }

    .screenshot-grid
    {
        grid-template-columns: 1fr;
    }

    .discord-layout
    {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-pad
    {
        padding: 50px 0;
    }
}