/* ========================================
   HonchoC64 - Retro Computing Website
   Black background, white menu, slick UI
   ======================================== */

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

:root {
    --bg: #000000;
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --text: #ffffff;
    --text-muted: #999999;
    --text-dim: #666666;
    --accent: #00ccff;
    --accent-glow: rgba(0, 204, 255, 0.3);
    --accent-2: #ff6600;
    --accent-3: #00ff88;
    --border: #222222;
    --border-light: #333333;
    --font-display: 'Press Start 2P', monospace;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --nav-height: 70px;
    --container-max: 1200px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: #fff;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.95);
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 16px;
    color: #fff;
    letter-spacing: 2px;
    white-space: nowrap;
}

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

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

.nav-link {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: #000000;
}

.hero-scanlines {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
}

.hero-logo-container {
    margin-bottom: 32px;
}

.hero-logo {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    display: block;
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-tagline {
    font-size: 16px;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-tagline .separator {
    color: var(--accent);
    margin: 0 4px;
}

/* badges removed */

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

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
}

.scroll-arrow {
    width: 2px;
    height: 24px;
    background: linear-gradient(to bottom, var(--text-dim), transparent);
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 204, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-muted);
    color: #fff;
    transform: translateY(-2px);
}

/* ========================================
   About Banner
   ======================================== */
.about-banner {
    padding: 80px 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-label {
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.8;
}

.about-text strong {
    color: #fff;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stat {
    text-align: center;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   Sections Common
   ======================================== */
.section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 4px 12px;
    border: 1px solid rgba(0, 204, 255, 0.3);
    border-radius: 4px;
    background: rgba(0, 204, 255, 0.05);
}

.section-title {
    font-family: var(--font-display);
    font-size: 28px;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.subsection-title {
    font-family: var(--font-display);
    font-size: 16px;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.subsection-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 32px;
}

.subsection-desc a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ========================================
   Public Enemies Section
   ======================================== */
.section-pe {
    background: var(--bg);
    position: relative;
}

.section-pe::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/bg-pe.jpg') center center / cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.section-pe > .container {
    position: relative;
    z-index: 1;
}

.pe-hero {
    text-align: center;
    margin-bottom: 64px;
}

.pe-hero-img {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 0;
    border: none;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 80px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-light);
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.timeline-marker {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    position: relative;
}

.timeline-year {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    position: relative;
    z-index: 1;
    background: var(--bg);
    padding: 4px 0;
}

.timeline-marker::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateX(-50%);
    box-shadow: 0 0 12px var(--accent-glow);
    z-index: 2;
}

.timeline-content {
    flex: 1;
    padding-top: 2px;
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* Demos Grid */
.demos-section {
    margin-bottom: 80px;
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.demo-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition);
}

.demo-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.demo-card-img {
    overflow: hidden;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-card-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition);
}

.demo-card:hover .demo-card-img img {
    transform: scale(1.05);
}

.demo-card-info {
    padding: 16px;
}

.demo-card-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.demo-card-info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.demo-platform {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    padding: 2px 8px;
    border: 1px solid rgba(0, 204, 255, 0.3);
    border-radius: 3px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Retro Intro */
.retro-intro-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 64px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.retro-intro-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.retro-intro-content strong {
    color: #fff;
}

.retro-intro-img img {
    border-radius: 0;
    border: none;
}

/* ========================================
   C64 Scene Section
   ======================================== */
.section-c64 {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.c64-bio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 80px;
}

.c64-bio-text p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.c64-bio-text strong {
    color: #fff;
}

.c64-groups h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.group-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.group-card {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color var(--transition);
}

.group-card:hover {
    border-color: var(--accent);
}

.group-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.group-role {
    display: inline-block;
    font-size: 12px;
    color: var(--accent);
    margin-right: 12px;
}

.group-period {
    font-size: 12px;
    color: var(--text-dim);
}

/* Productions */
.productions-section {
    margin-bottom: 48px;
}

.productions-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 32px;
}

.production-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    transition: background var(--transition);
}

.production-card:hover {
    background: var(--bg-card);
}

.prod-year {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-dim);
    width: 50px;
    padding-top: 2px;
}

.prod-info {
    flex: 1;
}

.prod-info h4 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.prod-info h4 a {
    color: #fff;
}

.prod-info h4 a:hover {
    color: var(--accent);
}

.prod-group {
    font-size: 13px;
    color: var(--text-muted);
    margin-right: 12px;
}

.prod-role {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    opacity: 0.8;
}

.productions-more {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   Arcades Section
   ======================================== */
.section-arcades {
    background: var(--bg);
    border-top: 1px solid var(--border);
    position: relative;
}

.section-arcades::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/bg-arcades.jpg') center center / cover no-repeat;
    opacity: 0.20;
    pointer-events: none;
    z-index: 0;
}

.section-arcades > .container {
    position: relative;
    z-index: 1;
}

.arcade-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.arcade-feature-reverse {
    direction: rtl;
}

.arcade-feature-reverse > * {
    direction: ltr;
}

.arcade-feature-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.arcade-feature-text p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.arcade-feature-img img {
    border-radius: 0;
    border: none;
}

/* Commando Gallery */
.commando-gallery {
    margin-bottom: 48px;
}

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

.gallery-boards {
    margin-top: 32px;
}

.gallery-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    border: none;
    background: var(--bg-card);
    transition: all var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    display: block;
    padding: 10px 14px;
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-card);
}

.commando-detail {
    max-width: 800px;
    margin: 0 auto 32px;
}

.commando-detail p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.commando-video {
    text-align: center;
    margin-top: 48px;
}

.commando-video h4 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.commando-video video {
    width: 100%;
    max-width: 800px;
    border-radius: 0;
    border: none;
}

/* ========================================
   Contact Section
   ======================================== */
.section-contact {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all var(--transition);
    color: var(--text-muted);
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    color: #fff;
}

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

.contact-card span {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.contact-card small {
    font-size: 12px;
    color: var(--text-dim);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 12px;
    color: #fff;
    letter-spacing: 2px;
}

.footer-inner p {
    font-size: 13px;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: #fff;
}

/* ========================================
   Lightbox
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        flex-direction: row;
        justify-content: center;
    }

    .c64-bio {
        grid-template-columns: 1fr;
    }

    .retro-intro-section {
        grid-template-columns: 1fr;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--border);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        font-size: 16px;
        padding: 12px 16px;
    }

    .hero-logo {
        max-width: 320px;
    }

    .hero-tagline {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 20px;
    }

    .section {
        padding: 64px 0;
    }

    .arcade-feature,
    .arcade-feature-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .arcade-feature-reverse > * {
        direction: ltr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        width: 40px;
    }

    .timeline-marker::after {
        left: 20px;
    }

    .timeline-year {
        font-size: 11px;
    }

    .timeline-item {
        gap: 16px;
    }

    .demos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats {
        flex-direction: column;
    }

    .contact-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .retro-intro-section {
        padding: 32px 24px;
    }

    .commando-video video {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-logo {
        max-width: 260px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

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

    .contact-links {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 18px;
    }

    .subsection-title {
        font-size: 14px;
    }

    .production-card {
        flex-direction: column;
        gap: 4px;
        padding: 12px 16px;
    }

    .prod-year {
        width: auto;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Page Header (subpages)
   ======================================== */
.page-header {
    padding: 200px 0 60px;
    text-align: center;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
}

.page-title {
    font-family: var(--font-display);
    font-size: 32px;
    color: #fff;
    margin: 16px 0 12px;
    letter-spacing: 1px;
}

.page-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Section Cards (Home page)
   ======================================== */
.section-cards {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

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

.card-link {
    text-decoration: none;
    color: inherit;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition);
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.card-img {
    overflow: hidden;
    background: #0a0a0a;
}

.card-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition);
}

.card:hover .card-img img {
    transform: scale(1.03);
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

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

.card-action {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
}

/* ========================================
   C64 Bio Sidebar
   ======================================== */
.c64-bio-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.group-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.group-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.group-item:last-child {
    border-bottom: none;
}

.group-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-right: 12px;
}

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

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* ========================================
   Production Type & Count
   ======================================== */
.prod-type {
    font-size: 12px;
    color: var(--text-dim);
    margin-right: 12px;
}

.prod-count {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

/* ========================================
   Responsive: cards grid
   ======================================== */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 24px;
    }

    .page-header {
        padding: 140px 0 40px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 20px;
    }
}
