/* ══════════════════════════════════════
   Stardew Valley Theme — Seasons & Night
   ══════════════════════════════════════ */

:root {
    --font-heading: 'Press Start 2P', monospace;
    --font-body: 'VT323', monospace;
}

/* ── Season Palettes ── */

.season-spring {
    --bg: #E5F5D8; --bg-alpha: rgba(229,245,216,0.75); --bg-grid: rgba(76,175,80,0.05);
    --panel-bg: #FFF8F0;
    --brown-dark: #5D4E37; --brown-medium: #8B7B55; --brown-light: #C4B496;
    --green: #4CAF50; --green-light: #81C784;
    --sky: #87CEEB; --gold: #FFD700;
    --accent: #E91E7B; --accent-light: #F48FB1;
    --text: #3D352F; --text-light: #6B5F4F; --cream: #FFF0E8;
}
.season-summer {
    --bg: #FFF3D6; --bg-alpha: rgba(255,243,214,0.75); --bg-grid: rgba(255,152,0,0.04);
    --panel-bg: #FFFFF0;
    --brown-dark: #5D3A1A; --brown-medium: #8B6914; --brown-light: #C4A76C;
    --green: #388E3C; --green-light: #66BB6A;
    --sky: #42A5F5; --gold: #FFD54F;
    --accent: #FF9800; --accent-light: #FFB74D;
    --text: #3D2B1F; --text-light: #6B5B4F; --cream: #FFF8E1;
}
.season-fall {
    --bg: #F5E6C8; --bg-alpha: rgba(245,230,200,0.75); --bg-grid: rgba(93,58,26,0.04);
    --panel-bg: #FFF8E7;
    --brown-dark: #5D3A1A; --brown-medium: #8B6914; --brown-light: #C4A76C;
    --green: #E67E22; --green-light: #F0983A;
    --sky: #87CEEB; --gold: #FFD700;
    --accent: #E87E4D; --accent-light: #FFAB76;
    --text: #3D2B1F; --text-light: #6B5B4F; --cream: #FAEBD7;
}
.season-winter {
    --bg: #E4E8F0; --bg-alpha: rgba(228,232,240,0.75); --bg-grid: rgba(69,90,100,0.04);
    --panel-bg: #F5F5FF;
    --brown-dark: #455A64; --brown-medium: #607D8B; --brown-light: #90A4AE;
    --green: #5C6BC0; --green-light: #7986CB;
    --sky: #BBDEFB; --gold: #CFD8DC;
    --accent: #42A5F5; --accent-light: #90CAF9;
    --text: #37474F; --text-light: #546E7A; --cream: #ECEFF1;
}

/* ── Night Mode (overrides surface colors, keeps accents) ── */

body.night {
    --bg: #16192A; --bg-alpha: rgba(22,25,42,0.82); --bg-grid: rgba(100,130,200,0.03);
    --panel-bg: #1E2238;
    --brown-dark: #252842; --brown-medium: #35385A; --brown-light: #45486A;
    --text: #D0C8B8; --text-light: #908878;
    --cream: #252840;
}

/* ── Full-Page Background ── */

.page-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.page-bg-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; image-rendering: pixelated;
    opacity: 0; transition: opacity 0.8s;
}
.page-bg-img.active { opacity: 1; }
.page-bg-night {
    position: absolute; inset: 0;
    background: rgba(10,12,30,0);
    transition: background 0.8s;
    pointer-events: none;
}
body.night .page-bg-night { background: rgba(10,12,30,0.4); }
.page-bg-tint {
    position: absolute; inset: 0;
    background: var(--bg-alpha);
    background-image:
        linear-gradient(var(--bg-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
    background-size: 16px 16px;
    transition: background-color 0.6s;
    pointer-events: none;
}

/* ── Loading Screen ── */

.loading-screen {
    position: fixed; inset: 0; z-index: 99999;
    background: #2C1810;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s;
}
.loading-screen.done { opacity: 0; pointer-events: none; }
.loading-content { text-align: center; }
.loading-title {
    font-family: 'Press Start 2P', monospace; font-size: 24px;
    color: #FFD700; text-shadow: 3px 3px 0 rgba(0,0,0,0.5);
    margin-bottom: 28px;
}
.loading-bar {
    width: 220px; height: 16px; margin: 0 auto;
    background: #1A0E08; border: 3px solid #8B6914;
    box-shadow: inset 0 0 0 2px #C4A76C;
}
.loading-fill {
    height: 100%; width: 0; background: #5C8A4D;
    transition: width 0.3s steps(12);
}
.loading-text {
    font-family: 'Press Start 2P', monospace; font-size: 10px;
    color: #C4A76C; margin-top: 16px;
    animation: loading-dots 1.5s steps(3) infinite;
}
@keyframes loading-dots {
    0% { content: '.'; }
    33% { content: '..'; }
    66% { content: '...'; }
}

/* ── Reset & Base ── */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
    font-family: var(--font-body);
    font-size: 20px;
    line-height: 1.6;
    color: var(--text);
    background: transparent;
    overflow-x: hidden;
    transition: color 0.6s;
}

/* ── Pixel Cursor ── */

body { cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><rect x='6' y='0' width='4' height='4' fill='%235C8A4D'/><rect x='4' y='4' width='4' height='4' fill='%235C8A4D'/><rect x='2' y='8' width='4' height='4' fill='%235C8A4D'/><rect x='0' y='12' width='4' height='4' fill='%235C8A4D'/><rect x='8' y='4' width='4' height='4' fill='%2381C784'/><rect x='6' y='8' width='4' height='4' fill='%2381C784'/><rect x='4' y='12' width='4' height='4' fill='%2381C784'/></svg>") 0 0, auto; }
body.season-summer { cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><rect x='6' y='0' width='4' height='4' fill='%23FF9800'/><rect x='4' y='4' width='4' height='4' fill='%23FF9800'/><rect x='2' y='8' width='4' height='4' fill='%23FF9800'/><rect x='0' y='12' width='4' height='4' fill='%23FF9800'/><rect x='8' y='4' width='4' height='4' fill='%23FFB74D'/><rect x='6' y='8' width='4' height='4' fill='%23FFB74D'/><rect x='4' y='12' width='4' height='4' fill='%23FFB74D'/></svg>") 0 0, auto; }
body.season-fall { cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><rect x='6' y='0' width='4' height='4' fill='%23E67E22'/><rect x='4' y='4' width='4' height='4' fill='%23E67E22'/><rect x='2' y='8' width='4' height='4' fill='%23E67E22'/><rect x='0' y='12' width='4' height='4' fill='%23E67E22'/><rect x='8' y='4' width='4' height='4' fill='%23F0983A'/><rect x='6' y='8' width='4' height='4' fill='%23F0983A'/><rect x='4' y='12' width='4' height='4' fill='%23F0983A'/></svg>") 0 0, auto; }
body.season-winter { cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><rect x='6' y='0' width='4' height='4' fill='%235C6BC0'/><rect x='4' y='4' width='4' height='4' fill='%235C6BC0'/><rect x='2' y='8' width='4' height='4' fill='%235C6BC0'/><rect x='0' y='12' width='4' height='4' fill='%235C6BC0'/><rect x='8' y='4' width='4' height='4' fill='%237986CB'/><rect x='6' y='8' width='4' height='4' fill='%237986CB'/><rect x='4' y='12' width='4' height='4' fill='%237986CB'/></svg>") 0 0, auto; }

/* ── Scroll Progress Bar ── */

.scroll-progress {
    position: fixed; top: 56px; left: 0; right: 0;
    height: 4px; z-index: 99; pointer-events: none;
    background: rgba(0,0,0,0.15);
}
.scroll-progress-fill {
    height: 100%; width: 0;
    background: var(--green);
    box-shadow: 0 0 6px var(--green-light);
    transition: background-color 0.6s;
}

#particles { position: fixed; inset: 0; pointer-events: none; z-index: 1; }

/* ── Overlays ── */

.season-overlay {
    position: fixed; inset: 0;
    background: #2C1810; z-index: 9999;
    opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.season-overlay.active { opacity: 1; pointer-events: all; }

/* ── Navigation ── */

.pixel-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--brown-dark);
    border-bottom: 4px solid var(--brown-medium);
    box-shadow: 0 4px 0 rgba(0,0,0,0.2);
    transition: background-color 0.6s, border-color 0.6s;
}
.nav-inner {
    max-width: 960px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 24px; gap: 12px;
}
.nav-logo {
    font-family: var(--font-heading); font-size: 13px;
    color: var(--gold); text-decoration: none;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
    transition: color 0.6s; flex-shrink: 0;
}
.nav-links { display: flex; gap: 6px; }
.nav-link {
    font-family: var(--font-heading); font-size: 10px;
    color: var(--cream); text-decoration: none;
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    border: 2px solid var(--brown-medium);
    transition: all 0.15s steps(3);
}
.nav-link:hover, .nav-link.active {
    background: var(--green); color: #fff;
    border-color: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 2px 0 rgba(0,0,0,0.3);
}
.nav-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.season-switcher {
    display: flex; gap: 2px;
    background: rgba(0,0,0,0.25); padding: 3px;
    border: 2px solid var(--brown-medium);
    transition: border-color 0.6s;
}
.season-btn {
    font-size: 15px; padding: 3px 6px;
    background: transparent; border: 2px solid transparent;
    cursor: pointer; transition: all 0.15s steps(3); line-height: 1;
}
.season-btn.active {
    background: rgba(255,255,255,0.15);
    border-color: var(--gold);
    box-shadow: 0 0 6px rgba(255,215,0,0.4);
}
.season-btn:hover:not(.active) {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.08);
}

.icon-btn {
    font-size: 15px; padding: 4px 8px; line-height: 1;
    background: var(--brown-medium); border: 2px solid var(--brown-light);
    cursor: pointer; transition: all 0.15s steps(3);
}
.icon-btn:hover {
    transform: translateY(-2px);
    background: var(--accent); border-color: var(--gold);
}
.icon-btn.active {
    box-shadow: 0 0 6px rgba(255,215,0,0.3);
}

.lang-btn {
    font-family: var(--font-heading); font-size: 10px;
    color: var(--gold); background: var(--brown-medium);
    border: 2px solid var(--brown-light);
    padding: 6px 14px; cursor: pointer;
    transition: all 0.15s steps(3);
}
.lang-btn:hover {
    background: var(--accent); border-color: var(--gold);
    transform: translateY(-2px);
}

/* ── Hero ── */

.hero {
    margin-top: 56px; position: relative; z-index: 2;
    min-height: 300px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 60px 24px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, transparent 70%);
}
.hero-title {
    font-family: var(--font-heading); font-size: 36px;
    color: #FFD700; text-shadow: 3px 3px 0 rgba(0,0,0,0.6);
    margin-bottom: 18px;
}
.hero-tagline {
    font-family: var(--font-heading); font-size: 10px;
    color: #FAEBD7; text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

/* ── Game Panels ── */

.game-panel {
    max-width: 900px; margin: 0 auto;
    background: var(--panel-bg);
    border: 4px solid var(--brown-dark);
    box-shadow: inset 0 0 0 4px var(--brown-light), 6px 6px 0 rgba(0,0,0,0.2);
    position: relative; z-index: 2;
    opacity: 0; transform: translateY(20px);
    transition: background-color 0.6s, border-color 0.6s, box-shadow 0.6s;
}
.game-panel.visible {
    opacity: 1; transform: translateY(0);
    transition: opacity 0.5s, transform 0.5s, background-color 0.6s, border-color 0.6s, box-shadow 0.6s;
}
.panel-header {
    background: var(--brown-dark); color: var(--gold);
    padding: 14px 24px; display: flex; align-items: center; gap: 12px;
    border-bottom: 4px solid var(--brown-medium);
    transition: background-color 0.6s, border-color 0.6s, color 0.6s;
}
.panel-header h2 {
    font-family: var(--font-heading); font-size: 13px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.4);
}
.panel-icon { font-size: 20px; }
.panel-body { padding: 32px; }

/* ── Section Dividers ── */

.section-divider {
    text-align: center; padding: 20px 0;
    position: relative; z-index: 2;
}
.section-divider::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translateX(-50%); width: 180px; height: 3px;
    background: var(--brown-light); opacity: 0.35;
    transition: background-color 0.6s;
}
.divider-icon {
    position: relative; background: var(--panel-bg);
    padding: 4px 16px; font-size: 22px;
    border-radius: 4px;
    transition: background-color 0.6s;
}

/* ── About ── */

.about-grid {
    display: grid; grid-template-columns: 180px 1fr;
    gap: 32px; align-items: start;
}
.avatar-frame {
    background: var(--brown-dark); border: 4px solid var(--brown-medium);
    padding: 8px;
    box-shadow: inset 0 0 0 2px var(--brown-light), 4px 4px 0 rgba(0,0,0,0.2);
    transition: border-color 0.6s, background-color 0.6s;
}
.pixel-avatar {
    width: 100%; height: auto; display: block;
    image-rendering: pixelated;
    animation: breathe 3.5s ease-in-out infinite;
}
@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pixel-tag {
    font-family: var(--font-heading); font-size: 9px;
    padding: 6px 12px; background: var(--green); color: #fff;
    border: 2px solid var(--green-light);
    box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
    transition: all 0.15s steps(3);
}
.pixel-tag:hover {
    transform: translateY(-2px);
    box-shadow: 2px 4px 0 rgba(0,0,0,0.2);
    background: var(--green-light);
}
.about-bio {
    font-size: 22px; line-height: 1.5;
    color: var(--text); margin-bottom: 28px;
    transition: color 0.6s; min-height: 180px;
}
.about-bio p { margin-bottom: 14px; }
.about-bio p:last-child { margin-bottom: 0; }

/* Typewriter cursor */
.typewriter-cursor::after {
    content: '▌'; color: var(--green);
    animation: cursor-blink 0.7s steps(2) infinite;
}
@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.about-contact { display: flex; flex-direction: column; gap: 8px; }
.contact-item {
    display: flex; align-items: center; gap: 12px;
    color: var(--text); text-decoration: none; font-size: 20px;
    padding: 10px 14px; background: var(--cream);
    border: 2px solid var(--brown-light);
    transition: all 0.15s steps(3);
}
.contact-item:hover {
    background: var(--accent); color: #fff;
    border-color: var(--brown-dark); transform: translateX(4px);
}
.contact-item i { width: 22px; text-align: center; color: var(--brown-dark); }
.contact-item:hover i { color: #fff; }

/* ── Gallery Wall ── */

.gallery-wall {
    max-width: 900px; margin: 0 auto; padding: 20px 24px 28px;
    position: relative; z-index: 2;
}
.gallery-header {
    display: flex; align-items: center; gap: 12px;
    justify-content: center; margin-bottom: 28px;
}
.gallery-header h2 {
    font-family: var(--font-heading); font-size: 13px;
    color: var(--brown-dark);
    text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
    transition: color 0.6s;
}
body.night .gallery-header h2 { color: var(--gold); }

.gallery-inner { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.picture-frame {
    display: flex; flex-direction: column; align-items: center;
    transform: rotate(var(--tilt, 0deg));
    transition: transform 0.3s;
}
.picture-frame:hover { transform: rotate(0deg) scale(1.06); z-index: 3; }
.frame-nail {
    width: 10px; height: 10px; background: var(--brown-medium);
    border-radius: 50%;
    box-shadow: 0 1px 0 var(--brown-dark), 0 2px 3px rgba(0,0,0,0.3);
    position: relative; z-index: 2; transition: background-color 0.6s;
}
.frame-string { width: 2px; height: 14px; background: var(--brown-light); transition: background-color 0.6s; }
.frame-border {
    background: var(--brown-dark); padding: 10px;
    border: 3px solid var(--brown-medium);
    box-shadow: inset 0 0 0 3px var(--brown-light), 5px 5px 0 rgba(0,0,0,0.2);
    width: 210px;
    transition: box-shadow 0.3s, background-color 0.6s, border-color 0.6s;
}
.picture-frame:hover .frame-border {
    box-shadow: inset 0 0 0 3px var(--brown-light), 8px 8px 0 rgba(0,0,0,0.25);
}
.frame-image { width: 100%; height: auto; display: block; image-rendering: pixelated; }
.frame-label {
    font-family: var(--font-heading); font-size: 8px;
    color: var(--text-light); margin-top: 10px;
    letter-spacing: 0.5px; transition: color 0.6s;
}

/* ── Gallery Lightbox ── */

.gallery-lightbox {
    position: fixed; inset: 0; z-index: 9000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.gallery-lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.75);
}
.lightbox-content {
    position: relative; z-index: 1;
    max-width: 520px; width: 90%;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s;
}
.gallery-lightbox.active .lightbox-content {
    transform: scale(1) translateY(0);
}
.lightbox-frame {
    background: var(--brown-dark); padding: 12px;
    border: 4px solid var(--brown-medium);
    box-shadow: inset 0 0 0 4px var(--brown-light), 8px 8px 0 rgba(0,0,0,0.3);
}
.lightbox-img {
    width: 100%; height: auto; display: block;
    image-rendering: pixelated;
}
.lightbox-caption {
    background: var(--panel-bg); border: 4px solid var(--brown-dark);
    border-top: none; padding: 20px 24px;
    box-shadow: inset 0 0 0 4px var(--brown-light), 8px 8px 0 rgba(0,0,0,0.3);
    min-height: 80px;
}
.lightbox-text {
    font-family: var(--font-body); font-size: 22px;
    color: var(--text); line-height: 1.5;
}
.lightbox-text.typewriter-cursor::after {
    content: '▌'; color: var(--green);
    animation: cursor-blink 0.7s steps(2) infinite;
}
.lightbox-close {
    position: absolute; top: -16px; right: -16px;
    font-family: var(--font-heading); font-size: 12px;
    width: 36px; height: 36px;
    background: var(--brown-dark); color: var(--gold);
    border: 3px solid var(--brown-medium);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
    transition: all 0.15s steps(3);
}
.lightbox-close:hover {
    background: var(--accent); transform: translateY(-2px);
    box-shadow: 3px 5px 0 rgba(0,0,0,0.3);
}
.picture-frame { cursor: pointer; }


/* ── Item Grid ── */

.item-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.item-card {
    background: var(--cream); border: 3px solid var(--brown-medium);
    box-shadow: inset 0 0 0 2px var(--brown-light), 4px 4px 0 rgba(0,0,0,0.15);
    padding: 24px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    transform-style: preserve-3d; perspective: 600px;
}
.item-card:hover {
    border-color: var(--green);
}
.item-card-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 16px; gap: 12px;
}
.item-card-title { font-family: var(--font-heading); font-size: 11px; line-height: 1.8; }
.item-card-title a { color: var(--brown-dark); text-decoration: none; transition: color 0.15s; }
.item-card-title a:hover { color: var(--green); }
body.night .item-card-title a { color: var(--gold); }

.star-badge {
    background: var(--gold); color: #3D2B1F;
    font-family: var(--font-heading); font-size: 9px;
    padding: 4px 10px; border: 2px solid var(--brown-medium);
    white-space: nowrap; display: flex; align-items: center; gap: 4px;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.15); flex-shrink: 0;
    transition: background-color 0.6s, border-color 0.6s;
}
.item-card-desc { font-size: 20px; color: var(--text-light); margin-bottom: 20px; line-height: 1.4; }
.item-card-links { display: flex; gap: 10px; flex-wrap: wrap; }
.pixel-link {
    font-family: var(--font-heading); font-size: 9px;
    color: var(--accent); text-decoration: none;
    padding: 6px 12px; border: 2px solid var(--accent);
    display: flex; align-items: center; gap: 6px;
    transition: all 0.15s steps(3);
}
.pixel-link:hover {
    background: var(--accent); color: #fff;
    transform: translateY(-2px); box-shadow: 0 2px 0 rgba(0,0,0,0.2);
}
.venue-tag {
    background: #7B4FA2; color: #fff;
    font-family: var(--font-heading); font-size: 9px;
    padding: 4px 10px; border: 2px solid #9B6FC2;
    margin-bottom: 16px; display: inline-block;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
}
.item-card.placeholder {
    border-style: dashed; display: flex; align-items: center;
    justify-content: center; min-height: 160px; text-align: center; opacity: 0.5;
}
.placeholder-text { font-family: var(--font-heading); font-size: 10px; color: var(--text-light); }

/* ── Footer ── */

.pixel-footer {
    max-width: 900px; margin: 24px auto 40px;
    background: var(--brown-dark); border: 4px solid var(--brown-medium);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.2);
    padding: 28px; text-align: center;
    position: relative; z-index: 2;
    transition: background-color 0.6s, border-color 0.6s;
}
.footer-links {
    display: flex; justify-content: center; gap: 28px;
    margin-bottom: 16px; flex-wrap: wrap;
}
.footer-links a {
    font-size: 20px; color: var(--cream); text-decoration: none;
    display: flex; align-items: center; gap: 8px; transition: color 0.15s;
}
.footer-links a:hover { color: var(--gold); }
.visitor-counter {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin-bottom: 16px;
}
.counter-label {
    font-family: var(--font-heading); font-size: 9px;
    color: var(--brown-light);
}
.counter-digits {
    font-family: var(--font-heading); font-size: 12px;
    color: var(--gold); letter-spacing: 3px;
    background: rgba(0,0,0,0.3); padding: 5px 12px;
    border: 2px solid var(--brown-medium);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
}
.footer-shortcuts {
    font-family: var(--font-heading); font-size: 8px;
    color: var(--brown-light); letter-spacing: 0.5px;
    margin-bottom: 12px; opacity: 0.7;
}
.footer-text { font-size: 18px; color: var(--brown-light); }

/* ── Scrollbar ── */

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--brown-dark); }
::-webkit-scrollbar-thumb { background: var(--green); border: 2px solid var(--brown-dark); }
::-webkit-scrollbar-thumb:hover { background: var(--green-light); }

/* ── Responsive ── */

@media (max-width: 768px) {
    .nav-inner { flex-wrap: wrap; justify-content: center; gap: 8px; padding: 10px 16px; }
    .nav-logo { order: 0; }
    .nav-controls { order: 1; }
    .nav-links { order: 2; width: 100%; justify-content: center; }
    .hero { margin-top: 96px; min-height: 220px; padding: 40px 16px; }
    .hero-title { font-size: 22px; }
    .hero-tagline { font-size: 8px; }
    .game-panel { margin-left: 12px; margin-right: 12px; }
    .panel-body { padding: 20px; }
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .avatar-frame { max-width: 160px; margin: 0 auto; }
    .about-tags { justify-content: center; }
    .about-contact { align-items: stretch; }
    .gallery-inner { gap: 28px; }
    .frame-border { width: 170px; }
    .item-grid { grid-template-columns: 1fr; }
    .footer-links { flex-direction: column; align-items: center; gap: 12px; }
}
@media (max-width: 480px) {
    .nav-links { gap: 4px; }
    .nav-link { padding: 6px 10px; font-size: 8px; }
    .panel-header h2 { font-size: 11px; }
    .hero-title { font-size: 18px; }
    .hero { min-height: 180px; }
    .item-card-header { flex-direction: column; gap: 8px; }
    .gallery-inner { gap: 20px; }
    .frame-border { width: 140px; padding: 6px; }
    .season-btn { font-size: 13px; padding: 2px 4px; }
    .icon-btn { font-size: 13px; padding: 3px 6px; }
}
