/* ============================================
   ABOUT PAGE
   ============================================ */

.ab-page {
    --ab-gold:      #c4963e;
    --ab-gold-dim:  rgba(196, 150, 62, 0.12);
    --ab-gold-glow: rgba(196, 150, 62, 0.25);
}

/* Hero */
.ab-hero {
    position: relative;
    padding: 80px 24px 72px;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 80% at 50% 100%, rgba(196,150,62,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 30%, rgba(30,15,65,0.5) 0%, transparent 100%),
        var(--bg);
}

.ab-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.75) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,0.45) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,0.25) 1px, transparent 1px);
    background-size: 380px 380px, 270px 270px, 530px 530px;
    background-position: 0 0, 110px 55px, 230px 185px;
    pointer-events: none;
    opacity: 0.45;
    z-index: 0;
}

.ab-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
    z-index: 0;
}

[data-theme="light"] .ab-hero::after {
    display: none;
}

.ab-hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

@keyframes ab-fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ab-eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ab-gold);
    margin-bottom: 18px;
    animation: ab-fadeUp 0.5s ease both;
    animation-delay: 0.05s;
}

.ab-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.9rem, 5vw, 3.2rem);
    font-weight: 900;
    color: var(--text);
    line-height: 1.1;
    letter-spacing: 0.03em;
    margin: 0 0 20px;
    animation: ab-fadeUp 0.6s ease both;
    animation-delay: 0.15s;
}

.ab-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    animation: ab-fadeUp 0.5s ease both;
    animation-delay: 0.3s;
}

/* Stats strip */
.ab-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    gap: 0;
}

.ab-stat {
    flex: 1;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.ab-stat-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--ab-gold);
    line-height: 1;
}

.ab-stat-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-align: center;
}

.ab-stat-sep {
    width: 1px;
    height: 44px;
    background: var(--border);
    flex-shrink: 0;
}

/* Sections */
.ab-sections {
    max-width: 780px;
    margin: 0 auto;
    padding: 56px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ab-section {
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
}

.ab-section:last-child {
    border-bottom: none;
}

.ab-section-body {
    border-left: 2px solid rgba(196, 150, 62, 0.35);
    padding-left: 28px;
}

.ab-section-body h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 14px;
    letter-spacing: 0.01em;
}

.ab-section-body p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0 0 12px;
}

.ab-section-body p:last-of-type {
    margin-bottom: 0;
}

.ab-section-body strong {
    color: var(--text);
    font-weight: 600;
}

.ab-section-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* LackeyCCG block */
.ab-lackey {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 16px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.ab-lackey-logo-link {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 120px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.ab-lackey-logo {
    width: 120px;
    display: block;
    border-radius: 4px;
    transition: opacity 0.15s;
}

.ab-lackey-logo-link:hover .ab-lackey-logo {
    opacity: 0.6;
}

.ab-lackey-logo-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
}

.ab-lackey-logo-link:hover .ab-lackey-logo-hint {
    opacity: 1;
}

.ab-lackey-info {
    flex: 1;
    min-width: 0;
}

.ab-lackey-info p {
    margin: 0 0 10px !important;
}

.ab-lackey-url-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ab-lackey-url {
    font-family: monospace;
    font-size: 0.82rem;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 5px 10px;
    word-break: break-all;
    user-select: all;
}

.ab-lackey-copy {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(74, 158, 255, 0.08);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 4px;
    padding: 4px 10px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.ab-lackey-copy:hover {
    background: rgba(74, 158, 255, 0.18);
}

@media (max-width: 640px) {
    .ab-lackey {
        flex-direction: column;
        gap: 14px;
    }

    .ab-lackey-logo {
        width: 100px;
    }
}

/* Legal */
.ab-legal {
    max-width: 780px;
    margin: 0 auto 48px;
    padding: 0 24px;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.65;
    text-align: center;
    opacity: 0.7;
}

/* ============================================
   SITE FOOTER
   ============================================ */

#site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.footer-copy {
    white-space: nowrap;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.15s;
}

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

.footer-sep {
    color: var(--border);
    user-select: none;
}

/* ── Light mode: soften the hero ── */
[data-theme="light"] .ab-hero {
    background: var(--surface);
}
[data-theme="light"] .ab-hero::before {
    display: none;
}
[data-theme="light"] .ab-page {
    background: var(--surface);
}
[data-theme="light"] .ab-stats {
    background: var(--bg);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 640px) {
    .ab-hero {
        padding: 56px 20px 52px;
    }

    .ab-title {
        font-size: 1.7rem;
    }

    .ab-stats {
        flex-wrap: wrap;
        gap: 24px;
        padding: 28px 20px;
    }

    .ab-stat-sep {
        display: none;
    }

    .ab-stat {
        flex: 0 0 calc(50% - 12px);
        max-width: none;
    }

    .ab-sections {
        padding: 36px 16px 24px;
    }

    .ab-section-body {
        padding-left: 16px;
    }

    #site-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 16px;
    }
    .footer-copy {
        white-space: normal;
    }
}
