/* =============================================
   SongSlipDB — Credits Page
   Aesthetic: Dark Stage / Neon Rig
   Consistent with full system CSS
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;600;700&family=Barlow+Condensed:wght@300;400;700&display=swap');

:root {
    --neon-cyan:     #02df87;
    --neon-magenta:  #FF2D78;
    --neon-green:    #39FF14;
    --dark-base:     #080B12;
    --dark-mid:      #0E1220;
    --dark-card:     #131929;
    --dark-surface:  rgba(255,255,255,0.04);
    --border-glow:   rgba(2,223,135,0.18);
    --text-bright:   #F0F4FF;
    --text-muted:    #7A8BA8;
    --text-subtle:   #4A5A72;
    --font-display:  'Bebas Neue', sans-serif;
    --font-cond:     'Barlow Condensed', sans-serif;
    --font-body:     'Barlow', sans-serif;
    --radius-card:   16px;
    --transition:    0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    height: 100%;
    font-family: var(--font-body);
    background: var(--dark-base);
    color: var(--text-bright);
}

/* ══════════════════════════════════════
   TWO-COLUMN LAYOUT
══════════════════════════════════════ */
.main {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

/* ══════════════════════════════════════
   LEFT — HERO
══════════════════════════════════════ */
.hero {
    position: relative;
    background: var(--dark-base);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 4rem;
    overflow: hidden;
    border-right: 1px solid var(--border-glow);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(2,223,135,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(255,45,120,0.05) 0%, transparent 55%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(2,223,135,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2,223,135,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.hero-content::before {
    content: '— ACKNOWLEDGEMENTS —';
    display: block;
    font-family: var(--font-cond);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: var(--neon-cyan);
    opacity: 0.7;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 0.95;
    color: var(--text-bright);
    margin-bottom: 1.2rem;
}

.hero-content p {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
}

.hero-content::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), transparent);
    margin-top: 2rem;
    opacity: 0.5;
}

/* ══════════════════════════════════════
   RIGHT — CONTENT PANEL
══════════════════════════════════════ */
.content-section {
    background: var(--dark-mid);
    padding: 2rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 100vh;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%, var(--neon-cyan) 35%,
        var(--neon-magenta) 65%, transparent 100%);
    opacity: 0.55;
}

/* ── Logo ── */
.logo-container {
    text-align: center;
    margin-bottom: 1.75rem;
}

.logo-container img {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(2,223,135,0.18));
}

/* ── Content wrapper ── */
.content {
    flex: 1;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

/* ── Headings ── */
h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--neon-cyan);
    text-align: center;
    margin-bottom: 0.4rem;
}

h3 {
    font-family: var(--font-cond);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-subtle);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ══════════════════════════════════════
   CREDIT CARDS
══════════════════════════════════════ */
.credits-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.credit-item {
    background: var(--dark-card);
    border: 1px solid var(--border-glow);
    border-left: 3px solid rgba(2,223,135,0.28);
    border-radius: var(--radius-card);
    padding: 1.1rem 1.25rem;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    /* Stagger reveal */
    opacity: 0;
    animation: cardReveal 0.4s ease forwards;
}

.credit-item:nth-child(1) { animation-delay: 0.08s; }
.credit-item:nth-child(2) { animation-delay: 0.16s; }
.credit-item:nth-child(3) { animation-delay: 0.24s; }
.credit-item:nth-child(4) { animation-delay: 0.32s; }
.credit-item:nth-child(n+5) { animation-delay: 0.38s; }

@keyframes cardReveal {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.credit-item:hover {
    border-left-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(2,223,135,0.08),
                inset 0 0 0 1px rgba(2,223,135,0.04);
    transform: translateY(-2px);
}

h4 {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted);
    text-align: center;
}

h4 b {
    color: var(--neon-cyan);
    font-weight: 600;
}

/* Links */
a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: color var(--transition), text-shadow var(--transition);
}

a:hover {
    color: var(--text-bright);
    text-shadow: 0 0 12px rgba(2,223,135,0.4);
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#footer {
    margin-top: 2rem;
    padding: 0.85rem 1rem;
    background: var(--dark-surface);
    border: 1px solid var(--border-glow);
    border-radius: 10px;
    text-align: center;
}

#footer p {
    font-family: var(--font-cond);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--text-subtle);
    line-height: 1.6;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
    .main {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .content-section {
        order: 1;
        padding: 2rem 1.25rem;
        flex: 0 0 auto;
    }

    .hero {
        order: 2;
        flex: 1;
        padding: 2.5rem 1.5rem;
        text-align: center;
        border-right: none;
        border-top: 1px solid var(--border-glow);
        min-height: 220px;
    }

    .hero-content { margin: 0 auto; }
    .hero-content::before { text-align: center; }
    .hero-content p { margin: 0 auto; }
    .hero-content::after { margin: 1.5rem auto 0; }

    h2 { font-size: 2rem; }
}

@media (max-width: 640px) {
    .hero { display: none; }

    .content-section {
        min-height: 100vh;
        padding: 1.5rem 1rem;
    }

    .logo-container img { max-width: 170px; }

    h2 { font-size: 1.6rem; }
    h4 { font-size: 0.88rem; }

    .credit-item { padding: 0.9rem 1rem; }
}