/* ===== PALETTE ===== */
:root {
    --bg:        #0e0906;
    --bg-warm:   #1a110d;
    --wood-dark: #2a1a10;
    --wood:      #4a3020;
    --wood-light:#6b4a32;
    --paper:     #f0e0c8;
    --paper-dim: #d4c4a8;
    --paper-dark:#b8a888;
    --gold:      #e8b830;
    --gold-glow: #f0d060;
    --gold-dim:  #a08028;
    --red:       #c83030;
    --red-dim:   #8b2020;
    --lantern:   #ff8c30;
    --text:      #e8dcc8;
    --text-dim:  #9a8a70;
    --text-bright:#fff;

    --font-title: 'HVD Rowdy', sans-serif;
    --font-jp:    'Hina Mincho', serif;
    --font-body:  'Inter', sans-serif;
}

/* ===== RESET ===== */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 300;
    overflow-x: hidden;
    line-height: 1.7;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--wood); border-radius: 3px; }

a { color: var(--gold); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--gold-glow); }
img { max-width: 100%; display: block; }

/* ===== FILM GRAIN ===== */
.grain {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 10000;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    animation: grain-shift 0.8s steps(6) infinite;
}

@keyframes grain-shift {
    0% { transform: translate(0,0); }
    20% { transform: translate(-2%,1%); }
    40% { transform: translate(1%,-2%); }
    60% { transform: translate(-1%,2%); }
    80% { transform: translate(2%,-1%); }
    100% { transform: translate(0,0); }
}

/* ===== PARTICLES ===== */
.particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

/* ===== STEAM / FOG ===== */
.steam-layer {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 200px;
    z-index: 15;
    pointer-events: none;
    overflow: hidden;
}

.steam-layer-section {
    z-index: 5;
}

.steam {
    position: absolute;
    bottom: -30px;
    width: 200%;
    height: 180px;
    opacity: 0.6;
}

.steam-1 {
    background: radial-gradient(ellipse at 30% 80%, rgba(180,160,130,0.12) 0%, transparent 60%);
    animation: steam-drift 18s ease-in-out infinite;
    left: -50%;
}

.steam-2 {
    background: radial-gradient(ellipse at 70% 70%, rgba(200,180,150,0.08) 0%, transparent 55%);
    animation: steam-drift 24s ease-in-out infinite reverse;
    left: -30%;
}

@keyframes steam-drift {
    0%,100% { transform: translateX(0) scaleY(1); opacity: 0.6; }
    50% { transform: translateX(10%) scaleY(1.3); opacity: 0.4; }
}

/* ===== WOODEN BEAM DIVIDER ===== */
.beam-divider {
    position: relative;
    z-index: 20;
    height: 16px;
}

.beam {
    height: 10px;
    background: linear-gradient(180deg,
        var(--wood-light) 0%,
        var(--wood) 30%,
        var(--wood-dark) 100%
    );
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    position: relative;
}

.beam::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 80px,
        rgba(0,0,0,0.1) 80px,
        rgba(0,0,0,0.1) 82px
    );
}

.beam-shadow {
    height: 6px;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 100%);
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: 0.4s;
    padding: 12px 0;
}

.nav.scrolled {
    background: rgba(14,9,6,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold) !important;
    font-family: var(--font-title);
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(232,184,48,0.3);
}

.nav-logo-img { width: 30px; height: 30px; object-fit: contain; }

.nav-links { display: flex; gap: 28px; }

.nav-links a {
    font-family: var(--font-jp);
    font-size: 1.1rem;
    color: var(--paper-dark) !important;
    letter-spacing: 2px;
    position: relative;
    transition: 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 2px;
    background: var(--lantern);
    transition: width 0.3s;
    border-radius: 1px;
}

.nav-links a:hover { color: var(--lantern) !important; }
.nav-links a:hover::after { width: 100%; }

.nav-socials { display: flex; gap: 8px; }

.btn-social {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    background: rgba(74,48,32,0.4);
    border: 1px solid rgba(74,48,32,0.6);
    color: var(--paper-dark) !important;
    transition: 0.3s;
}

.btn-social:hover {
    background: rgba(232,184,48,0.15);
    border-color: var(--gold-dim);
    color: var(--gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232,184,48,0.15);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-scene {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.35) saturate(0.8);
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(14,9,6,0.5) 0%, rgba(14,9,6,0.1) 35%, rgba(14,9,6,0.6) 75%, var(--bg) 100%),
        radial-gradient(ellipse at 25% 70%, rgba(255,140,48,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 30%, rgba(200,48,48,0.05) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin: 0 auto;
    padding: 140px 30px 60px;
}

.hero-content-center {
    text-align: center;
}

@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--lantern);
    border: 1px solid rgba(255,140,48,0.3);
    padding: 5px 14px;
    border-radius: 3px;
    margin-bottom: 14px;
    background: rgba(255,140,48,0.06);
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 1;
    color: var(--text-bright);
    text-shadow: 0 0 40px rgba(232,184,48,0.3), 0 4px 20px rgba(0,0,0,0.5);
    margin-bottom: 8px;
}

.hero-name {
    font-family: var(--font-jp);
    font-size: 1.3rem;
    color: var(--paper-dark);
    margin-bottom: 12px;
}
.hero-name span { color: var(--text-dim); font-size: 1rem; }

.hero-desc {
    font-size: 1rem;
    color: var(--text-dim);
    max-width: 480px;
    margin: 0 auto 24px;
}

/* CA box */
.ca-row { margin-bottom: 24px; }

.ca-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(42,26,16,0.8);
    border: 1px solid var(--wood);
    border-radius: 6px;
    padding: 10px 16px;
    font-family: monospace;
    font-size: 0.85rem;
}

.ca-label { color: var(--gold); font-weight: bold; font-size: 0.75rem; letter-spacing: 1px; }
.ca-value { color: var(--text-dim); }

.ca-copy {
    background: none; border: none; color: var(--text-dim);
    cursor: pointer; padding: 2px; transition: 0.3s;
}
.ca-copy:hover { color: var(--gold); }
.ca-copy:disabled { opacity: 0.3; cursor: not-allowed; }
.ca-box.copied { border-color: #4caf50; }

/* Buttons */
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.btn-gold, .btn-wood {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
    color: var(--bg) !important;
    box-shadow: 0 4px 20px rgba(232,184,48,0.25);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232,184,48,0.35);
    color: var(--bg) !important;
}

.btn-wood {
    background: rgba(74,48,32,0.6);
    border: 1px solid var(--wood-light);
    color: var(--paper) !important;
}
.btn-wood:hover {
    background: rgba(74,48,32,0.9);
    transform: translateY(-2px);
    color: var(--gold-glow) !important;
}

/* Lantern row */
.lantern-row {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 36px;
    padding: 0 30px;
    margin-top: auto;
    margin-bottom: 30px;
}

.lantern {
    width: 46px; height: 64px;
    background: linear-gradient(180deg, var(--red) 0%, var(--red-dim) 100%);
    border-radius: 6px 6px 10px 10px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    box-shadow: 0 0 30px rgba(255,80,30,0.15), inset 0 0 12px rgba(255,200,100,0.12);
    animation: lantern-swing var(--swing, 4s) ease-in-out infinite;
    transform-origin: top center;
}

.lantern:nth-child(2) { --swing:4.5s; animation-delay:-0.5s; }
.lantern:nth-child(3) { --swing:3.8s; animation-delay:-1s; }
.lantern:nth-child(4) { --swing:4.2s; animation-delay:-1.5s; }
.lantern:nth-child(5) { --swing:3.6s; animation-delay:-2s; }
.lantern:nth-child(6) { --swing:4.8s; animation-delay:-0.3s; }
.lantern:nth-child(7) { --swing:3.9s; animation-delay:-1.2s; }
.lantern:nth-child(8) { --swing:4.3s; animation-delay:-0.8s; }

.lantern::before {
    content: '';
    position: absolute;
    top: -6px;
    width: 18px; height: 6px;
    background: var(--wood-dark);
    border-radius: 2px 2px 0 0;
}

.lantern::after {
    content: '';
    position: absolute;
    inset: -25px;
    background: radial-gradient(circle, rgba(255,140,48,0.12) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.lantern span {
    font-family: var(--font-jp);
    font-size: 1.2rem;
    color: var(--paper);
    text-shadow: 0 0 10px rgba(255,200,100,0.5);
}

@keyframes lantern-swing {
    0%,100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

/* Scroll hint */
.scroll-hint {
    position: relative; z-index: 10;
    display: flex; justify-content: center;
    padding-bottom: 20px;
}

.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(180deg, transparent, var(--gold-dim), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%,100% { opacity:0.3; transform:scaleY(1); }
    50% { opacity:1; transform:scaleY(1.3); }
}

/* ===== GLITCH TEXT ===== */
.glitch-text { position: relative; }

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute; top:0; left:0;
    width: 100%; height: 100%;
    opacity: 0; pointer-events: none;
}

.glitch-text:hover::before {
    animation: g1 0.3s linear;
    color: var(--red); opacity: 0.7;
    clip-path: inset(-10% 0 40% 0);
}
.glitch-text:hover::after {
    animation: g2 0.3s linear;
    color: var(--lantern); opacity: 0.7;
    clip-path: inset(45% 0 -10% 0);
}

/* $GHUBLOO - expanded stripes for tall font */
.hero-title.glitch-text:hover::before {
    clip-path: inset(-10% 0 30% 0);
}
.hero-title.glitch-text:hover::after {
    clip-path: inset(35% 0 -10% 0);
}

@keyframes g1 {
    0%{transform:translate(0)}20%{transform:translate(-3px,3px)}
    40%{transform:translate(3px,-3px)}60%{transform:translate(-2px,1px)}
    80%{transform:translate(2px,-1px)}100%{transform:translate(0)}
}
@keyframes g2 {
    0%{transform:translate(0)}20%{transform:translate(3px,-2px)}
    40%{transform:translate(-3px,2px)}60%{transform:translate(1px,-1px)}
    80%{transform:translate(-1px,2px)}100%{transform:translate(0)}
}

/* ===== DIVIDERS ===== */
.shoji-divider {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; padding: 50px 0 16px;
}

.shoji-line {
    width: 80px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--wood-light), transparent);
}
.shoji-line-light { background: linear-gradient(90deg, transparent, rgba(240,224,200,0.3), transparent); }

.shoji-kanji {
    font-family: var(--font-jp);
    font-size: 1.5rem;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(232,184,48,0.3);
}
.shoji-kanji-light { color: var(--paper); }

/* ===== SECTION COMMON ===== */
.section-title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem,5vw,3.5rem);
    text-align: center;
    color: var(--text-bright);
    letter-spacing: 3px;
    margin-bottom: 8px;
}
.section-title-light { text-shadow: 0 2px 20px rgba(0,0,0,0.5); }

.section-sub {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 36px;
}
.section-sub-light { color: var(--paper-dark); }

/* ===== SPIRIT ===== */
.spirit {
    position: relative;
    z-index: 10;
    padding: 0 30px 60px;
    overflow: hidden;
}

.spirit-bg {
    position: absolute; inset: 0; z-index: 0;
}
.spirit-bg-img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.12) saturate(0.3) blur(2px);
}
.spirit-bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(14,9,6,0.4) 20%, rgba(14,9,6,0.4) 80%, var(--bg) 100%);
}

.spirit > *:not(.spirit-bg):not(.steam-layer) { position: relative; z-index: 2; }

.spirit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-top: 24px;
    max-width: 1100px;
    margin-left: auto; margin-right: auto;
}

/* Paper scroll */
.scroll-paper {
    background: linear-gradient(135deg, var(--paper) 0%, var(--paper-dim) 100%);
    border-radius: 2px;
    padding: 40px 28px;
    text-align: center;
    color: var(--wood-dark);
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 0 60px rgba(180,160,120,0.15);
}

.scroll-rod {
    position: absolute;
    left: 8%; right: 8%;
    height: 10px;
    background: linear-gradient(180deg, var(--wood-light), var(--wood), var(--wood-dark));
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.scroll-rod::before, .scroll-rod::after {
    content: '';
    position: absolute;
    top: -2px;
    width: 14px; height: 14px;
    background: var(--wood);
    border-radius: 50%;
    border: 2px solid var(--wood-dark);
}
.scroll-rod::before { left: -7px; }
.scroll-rod::after { right: -7px; }

.scroll-rod-top { top: -5px; }
.scroll-rod-bottom { bottom: -5px; }

.scroll-avatar {
    width: 150px;
    margin: 16px auto 12px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.scroll-name {
    font-family: var(--font-title);
    font-size: 1.7rem;
    color: var(--wood-dark);
}

.scroll-sub {
    font-family: var(--font-jp);
    color: var(--wood);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.scroll-sep {
    width: 60px; height: 1px;
    background: var(--wood-light);
    margin: 0 auto 14px;
}

.scroll-text p {
    font-size: 0.9rem; line-height: 1.8;
    color: var(--wood); margin-bottom: 8px;
}

.scroll-quote {
    font-family: var(--font-jp); font-size: 1.5rem;
    color: var(--wood-dark); margin-top: 14px;
}
.scroll-quote-attr {
    font-size: 0.75rem; color: var(--wood-light); font-style: italic;
}

/* Spirit cards */
.spirit-cards { display: flex; flex-direction: column; gap: 14px; }

.spirit-card {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 18px;
    background: linear-gradient(135deg, rgba(42,26,16,0.85) 0%, rgba(20,12,8,0.9) 100%);
    border: 1px solid rgba(74,48,32,0.5);
    border-left: 3px solid var(--wood-light);
    border-radius: 4px;
    transition: 0.3s;
    backdrop-filter: blur(4px);
}
.spirit-card:hover {
    border-left-color: var(--gold);
    transform: translateX(4px);
    background: rgba(42,26,16,0.95);
}

.card-kanji {
    font-family: var(--font-jp); font-size: 2.2rem;
    color: var(--gold); line-height: 1; flex-shrink: 0;
    text-shadow: 0 0 15px rgba(232,184,48,0.2);
}
.card-body h4 {
    font-family: var(--font-title); font-size: 1.05rem;
    color: var(--paper); letter-spacing: 1px; margin-bottom: 3px;
}
.card-body p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.6; }

/* ===== BATHHOUSE ===== */
.bathhouse {
    position: relative; padding: 0 0 60px; overflow: hidden;
}

.bathhouse-bg { position: absolute; inset: 0; z-index: 0; }
.bathhouse-bg-img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.15) saturate(0.4) blur(3px);
}
.bathhouse-bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(14,9,6,0.2) 15%, rgba(14,9,6,0.2) 85%, var(--bg) 100%);
}
.bathhouse > *:not(.bathhouse-bg):not(.steam-layer) { position: relative; z-index: 2; }

/* Cinema strip */
.scenes-cinema { overflow: hidden; padding: 8px 0 40px; }

.cinema-strip {
    display: flex; gap: 14px;
    width: max-content;
    animation: cinema-scroll 45s linear infinite;
}
.cinema-strip:hover { animation-play-state: paused; }

.cinema-frame {
    width: 380px; height: 240px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    transition: 0.4s;
    border: 3px solid var(--wood);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.3);
}

.cinema-frame::after {
    content: '';
    position: absolute; inset: 0;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.3);
    pointer-events: none;
}

.cinema-frame:hover {
    border-color: var(--gold-dim);
    transform: scale(1.04);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.4), 0 8px 30px rgba(232,184,48,0.1);
}
.cinema-frame img { width: 100%; height: 100%; object-fit: cover; }

@keyframes cinema-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Video section */
.video-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.video-heading {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--paper);
    text-align: center;
    margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.video-heading-kanji {
    font-family: var(--font-jp); font-size: 1.6rem; color: var(--gold);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.video-placeholder {
    aspect-ratio: 3/2;
    background: rgba(20,12,8,0.9);
    border: 2px solid var(--wood);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.4);
}
.video-placeholder span {
    color: var(--text-dim);
    font-family: monospace; font-size: 0.75rem;
    letter-spacing: 3px; z-index: 2;
    animation: flicker 3s ease-in-out infinite;
}

.vp-noise {
    position: absolute; inset: 0; opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: noise-shift 0.5s steps(8) infinite;
}

@keyframes flicker {
    0%,100%{opacity:1}50%{opacity:0.4}52%{opacity:1}54%{opacity:0.2}56%{opacity:1}
}
@keyframes noise-shift {
    0%{transform:translate(0,0)}25%{transform:translate(-2%,2%)}
    50%{transform:translate(2%,-1%)}75%{transform:translate(-1%,-2%)}100%{transform:translate(0,0)}
}

.load-more-wrap {
    text-align: center;
    margin-top: 24px;
}
.load-more-btn {
    cursor: pointer;
    font-size: 0.95rem;
    padding: 12px 32px;
}

/* Video slot */
.video-slot {
    aspect-ratio: 3/2;
    border-radius: 4px;
    overflow: hidden;
    border: 3px solid var(--wood);
    background: #000;
    position: relative;
    transition: 0.3s;
    cursor: pointer;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.3);
}
.video-slot::after {
    content: '';
    position: absolute; inset: 0;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.3);
    pointer-events: none;
}
.video-slot:hover {
    border-color: var(--gold-dim);
    transform: translateY(-4px);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3), 0 10px 30px rgba(232,184,48,0.1);
}
.video-slot video { width: 100%; height: 100%; object-fit: cover; }

.video-dl {
    position: absolute;
    bottom: 8px; right: 8px;
    width: 28px; height: 28px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 5;
    cursor: pointer;
    text-decoration: none;
}
.video-dl svg { width: 14px; height: 14px; fill: var(--paper-dim); }
.video-dl:hover { background: rgba(0,0,0,0.85); }
.video-dl:hover svg { fill: var(--gold); }
.video-slot:hover .video-dl { opacity: 1; }

/* ===== GUESTS ===== */
.guests {
    position: relative; z-index: 10;
    padding: 0 0 60px; overflow: hidden;
}

.guests-marquee {
    overflow: hidden; padding: 16px 0;
    position: relative;
}
.guests-marquee::before,
.guests-marquee::after {
    content: '';
    position: absolute; top: 0; bottom: 0;
    width: 120px; z-index: 2; pointer-events: none;
}
.guests-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.guests-marquee::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.guests-track {
    display: flex; gap: 28px;
    animation: marquee 25s linear infinite;
    width: max-content;
}
.guests-track:hover { animation-play-state: paused; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 14px)); }
}

.guest {
    flex-shrink: 0; text-align: center;
    cursor: pointer; transition: 0.3s;
}
.guest:hover { transform: scale(1.08) rotate(-2deg); }

.guest-frame {
    width: 150px; height: 150px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid var(--wood);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.3);
    transition: 0.3s;
    background: var(--wood-dark);
}
.guest:hover .guest-frame {
    border-color: var(--gold);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.3), 0 8px 25px rgba(232,184,48,0.15);
}
.guest-frame img { width: 100%; height: 100%; object-fit: cover; }

.guest span {
    display: block; margin-top: 8px;
    font-family: var(--font-title); font-size: 0.95rem;
    color: var(--text-dim); letter-spacing: 1px; transition: 0.3s;
}
.guest:hover span { color: var(--gold); }

/* ===== STREAM ===== */
.stream {
    position: relative; padding: 0 30px 80px; overflow: hidden;
}
.stream-bg { position: absolute; inset: 0; z-index: 0; }
.stream-bg-img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.12) saturate(0.3) blur(4px);
}
.stream-bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(14,9,6,0.2) 25%, rgba(14,9,6,0.2) 75%, var(--bg) 100%);
}
.stream > *:not(.stream-bg):not(.steam-layer) { position: relative; z-index: 2; }

.stream-panel { max-width: 460px; margin: 0 auto; }

.stream-inner {
    text-align: center;
    background: rgba(20,12,8,0.85);
    border: 2px solid var(--wood);
    border-radius: 8px;
    padding: 44px 36px;
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 0 40px rgba(0,0,0,0.2);
}

.live-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(200,48,48,0.12);
    border: 1px solid var(--red);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.7rem; font-weight: 600; letter-spacing: 3px;
    color: var(--red); margin-bottom: 20px;
}
.live-dot {
    width: 7px; height: 7px;
    background: var(--red); border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.3} }

.stream-char {
    width: 120px; margin: 0 auto 16px;
    filter: drop-shadow(0 0 20px rgba(255,140,48,0.15));
    animation: float 5s ease-in-out infinite;
}
.stream-text { color: var(--paper-dark); margin-bottom: 20px; font-size: 0.95rem; }

/* ===== FOOTER ===== */
.footer {
    position: relative; z-index: 10;
    background: linear-gradient(180deg, transparent 0%, rgba(20,12,8,0.5) 30%, var(--bg) 100%);
    padding: 50px 30px 36px;
    text-align: center;
}

.torii { width: 100px; margin: 0 auto 36px; position: relative; }
.torii-top { height: 5px; background: var(--red); border-radius: 2px; margin-bottom: 5px; }
.torii-bar { height: 3px; width: 75%; margin: 0 auto; background: var(--red-dim); border-radius: 1px; }
.torii-legs { display: flex; justify-content: space-between; padding: 0 8px; }
.torii-leg { width: 3px; height: 26px; background: var(--red); border-radius: 0 0 1px 1px; }

.footer-logo {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin-bottom: 20px;
}
.footer-logo img { width: 36px; filter: drop-shadow(0 0 10px rgba(255,140,48,0.15)); }
.footer-logo span {
    font-family: var(--font-title); font-size: 1.6rem;
    color: var(--gold); letter-spacing: 2px;
}

.footer-links {
    display: flex; justify-content: center; gap: 24px;
    margin-bottom: 16px; flex-wrap: wrap;
}
.footer-links a {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--text-dim); font-size: 0.85rem;
    letter-spacing: 1px; text-transform: uppercase; font-weight: 400;
}
.footer-links a:hover { color: var(--gold); }
.footer-links a svg { opacity: 0.7; }
.footer-links a:hover svg { opacity: 1; }

.footer-ca {
    font-family: monospace; font-size: 0.75rem;
    color: var(--text-dim); opacity: 0.4; margin-bottom: 16px;
}
.footer-copy { font-size: 0.7rem; color: var(--text-dim); opacity: 0.25; }

/* ===== REVEAL ===== */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-content { padding-top: 100px; }
    .spirit-layout { grid-template-columns: 1fr; }
    .cinema-frame { width: 300px; height: 190px; }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
    .lantern-row { gap: 18px; }
    .lantern { width: 38px; height: 54px; }
    .lantern span { font-size: 1rem; }
}

@media (max-width: 600px) {
    .hero-title { font-size: 3rem; }
    .hero-content { padding: 90px 20px 40px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-gold, .btn-wood { width: 100%; justify-content: center; }
    .video-grid { grid-template-columns: 1fr; }
    .cinema-frame { width: 260px; height: 160px; }
    .guest-frame { width: 120px; height: 120px; }
    .guest-frame img { width: 120px; height: 120px; }
    .lantern-row { gap: 10px; flex-wrap: wrap; }
    .stream-inner { padding: 28px 20px; }
    .spirit-layout { max-width: 100%; }
}
