:root{
  --bg:#02060b;
  --text:#f7f9fc;
  --muted:#91a9bc;
  --yellow:#f5ff00;
  --blue:#00d9ff;
  --line:rgba(151,190,220,.14);
  --ease:cubic-bezier(.16,.86,.2,1);
}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;scroll-behavior:auto}
body{min-width:1180px;color:var(--text);font-family:"Space Grotesk",system-ui,sans-serif;background:#06101a}
/* One fixed, subtle dark-navy pattern for the entire site. */
body > .bg-pattern{position:fixed;inset:0;z-index:-8;pointer-events:none;overflow:hidden;background:#06101a}
.bg-pattern:before{content:"";position:absolute;inset:0;opacity:.32;background-image:radial-gradient(circle,rgba(255,255,255,.16) 0 1px,transparent 1.15px);background-size:30px 30px;background-position:0 0}
.bg-pattern:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 0%,rgba(17,40,58,.16),transparent 58%),linear-gradient(180deg,rgba(4,12,20,.06),rgba(1,7,12,.18));}
.noise{position:fixed;inset:0;z-index:30;pointer-events:none;opacity:.025;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.ambient{display:none;position:fixed;border-radius:50%;filter:blur(110px);pointer-events:none;z-index:-4;opacity:.15}.ambient-yellow{width:420px;height:420px;left:-230px;bottom:-230px;background:var(--yellow)}.ambient-blue{width:460px;height:460px;right:-250px;top:34%;background:var(--blue)}

.site-header{height:82px;padding:0 68px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(2,6,11,.76);backdrop-filter:blur(22px);position:relative;z-index:10}
.brand{display:flex;align-items:center;gap:13px;min-width:300px}.brand-mark{width:38px;height:40px;position:relative;display:grid;place-items:center;filter:drop-shadow(0 0 9px rgba(245,255,0,.3))}.brand-mark:before{content:"";width:0;height:0;border-top:20px solid transparent;border-bottom:20px solid transparent;border-left:30px solid var(--yellow)}.brand-mark span{position:absolute;width:0;height:0;border-top:9px solid transparent;border-bottom:9px solid transparent;border-left:14px solid #03070c;left:12px;top:11px}.brand-copy strong{display:block;font:800 28px/1 "Outfit",sans-serif;letter-spacing:-1.2px}.brand-copy strong span{color:var(--yellow)}.brand-copy small{display:block;color:#73899b;font-size:9.5px;letter-spacing:1.2px;margin-top:5px}
.main-nav{display:flex;align-items:center;gap:4px;margin-left:38px}.nav-link{height:82px;display:flex;align-items:center;gap:9px;padding:0 17px;position:relative;color:#bfcbd6;font-size:14px;text-decoration:none;transition:color .25s ease,filter .25s ease}.nav-link svg,.icon-btn svg,.login-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-link:hover{color:#fff}.nav-link.active{color:var(--yellow)}.nav-link.active:after{content:"";position:absolute;left:16px;right:16px;bottom:5px;height:3px;border-radius:9px;background:var(--yellow);box-shadow:0 0 14px rgba(245,255,0,.65);animation:navActiveIn .28s var(--ease) both}@keyframes navActiveIn{from{transform:scaleX(.25);opacity:.2}to{transform:scaleX(1);opacity:1}}
.header-actions{min-width:300px;display:flex;justify-content:flex-end;align-items:center;gap:8px}.icon-btn{width:39px;height:39px;border:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:#dbe5ec;transition:.22s}.icon-btn:hover{background:rgba(255,255,255,.045);color:var(--yellow)}.login-btn{height:42px;margin-left:10px;padding:0 20px;border:0;border-radius:24px;background:var(--yellow);color:#06090b;font-size:13px;font-weight:800;display:flex;align-items:center;gap:7px;box-shadow:0 0 28px rgba(245,255,0,.2);transition:.22s}.login-btn svg{width:15px;height:15px;stroke:#06090b;stroke-width:2}.login-btn:hover{transform:translateY(-1px);box-shadow:0 0 34px rgba(245,255,0,.35)}

 .hero{height:calc(100vh - 82px);display:grid;grid-template-columns:42.5% 57.5%;position:relative;isolation:isolate;background:transparent;overflow:hidden}
.hero:before,.hero:after{display:none}
.hero-copy{z-index:3}
.hero-carousel{z-index:2}.hero-copy{padding:118px 0 0 140px;position:relative;z-index:3}.eyebrow{display:flex;align-items:center;gap:13px;color:#d1dce4;font-size:10.5px;letter-spacing:2px;font-weight:600}.eyebrow i{display:block;width:52px;height:2px;background:var(--yellow);box-shadow:0 0 10px rgba(245,255,0,.85)}h1{font:800 55px/1.08 "Outfit",sans-serif;letter-spacing:-2.6px;margin:23px 0 17px}h1 em{font-style:normal;color:var(--yellow);text-shadow:0 0 28px rgba(245,255,0,.18)}.hero-description{color:#92a9bc;font-size:14.5px;line-height:1.6;margin:0 0 28px}
.search-box{width:510px;height:59px;padding:5px 6px 5px 20px;display:flex;align-items:center;border:1px solid #304a60;border-radius:31px;background:rgba(3,9,15,.72);box-shadow:inset 0 0 28px rgba(0,210,255,.035),0 15px 50px rgba(0,0,0,.26);transition:.25s}.search-box:focus-within{border-color:#557b98;box-shadow:0 0 0 3px rgba(0,216,255,.045),0 15px 50px rgba(0,0,0,.32)}.search-icon{width:23px;height:23px;fill:none;stroke:#e6eef4;stroke-width:2;stroke-linecap:round}.search-box input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#fff;padding:0 14px;font-size:13px}.search-box input::placeholder{color:#8197a9}.search-box button{width:48px;height:48px;border:0;border-radius:50%;background:var(--yellow);color:#070a0c;display:grid;place-items:center;box-shadow:0 0 22px rgba(245,255,0,.18);transition:.22s}.search-box button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.search-box button:hover{transform:translateX(2px);box-shadow:0 0 32px rgba(245,255,0,.42)}
.chips{display:flex;gap:10px;margin-top:17px}.chip{padding:8px 14px;border-radius:19px;border:1px solid #263b4e;background:rgba(5,11,18,.62);color:#9fb2c2;font-size:10.5px;transition:.22s}.chip:hover,.chip.active{background:var(--yellow);border-color:var(--yellow);color:#05080a;box-shadow:0 0 20px rgba(245,255,0,.14)}.scroll-cue{display:flex;align-items:center;gap:13px;color:#a5b6c2;font-size:11px;margin-top:34px}.scroll-icon{width:17px;height:30px;border:2px solid var(--yellow);border-radius:10px;position:relative}.scroll-icon b{position:absolute;left:5px;top:5px;width:3px;height:7px;border-radius:3px;background:var(--yellow);animation:scrollDot 1.5s infinite}@keyframes scrollDot{0%,100%{transform:translateY(0);opacity:1}50%{transform:translateY(9px);opacity:.25}}

.hero-carousel{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;overflow:visible}.stage-glow{display:none}.carousel-stage{position:relative;width:860px;height:670px;margin-top:2px;perspective:1800px;transform-style:preserve-3d;isolation:isolate}

/* Every state uses transform only: no left/top animation, so cards travel continuously in 3D. */
.anime-card{position:absolute;left:50%;top:55px;width:300px;height:500px;border-radius:21px;overflow:hidden;border:1px solid rgba(184,225,246,.24);background:#050b12;transform-origin:center center;transform-style:preserve-3d;backface-visibility:hidden;will-change:transform,opacity,filter,box-shadow;transition:transform 1100ms var(--ease),opacity 850ms ease,filter 850ms ease,box-shadow 900ms ease}
.card-image{position:absolute;inset:0;overflow:hidden;border-radius:inherit;background:#03070c}.card-image img{width:100%;height:100%;display:block;object-fit:fill;object-position:center}
.card-edge{position:absolute;inset:0;border-radius:inherit;pointer-events:none;border:1px solid rgba(255,255,255,.075);box-shadow:inset 0 0 40px rgba(0,0,0,.13)}
.anime-card:before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(105deg,rgba(255,255,255,.08),transparent 22%,transparent 74%,rgba(0,216,255,.06))}
.anime-card:after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(to bottom,transparent 54%,rgba(0,0,0,.34) 100%)}
.card-reflection{position:absolute;left:8%;right:8%;bottom:-34px;height:78px;z-index:0;transform:rotateX(74deg);transform-origin:top center;background:linear-gradient(to bottom,rgba(255,255,255,.16),transparent);filter:blur(15px);opacity:.22;pointer-events:none}
.card-left{transform:translate3d(calc(-50% - 250px),30px,-235px) rotateY(20deg) rotateZ(-1.2deg) scale(.76);filter:brightness(.68) saturate(.84);opacity:.88;z-index:2;box-shadow:-28px 34px 60px rgba(0,0,0,.68),-16px 0 38px rgba(0,216,255,.06)}
.card-center{transform:translate3d(-50%,0,110px) rotateY(0) rotateZ(0) scale(1);filter:none;opacity:1;z-index:5;box-shadow:0 0 0 1px rgba(245,255,0,.16),0 0 48px rgba(245,255,0,.16),0 42px 78px rgba(0,0,0,.74),24px 28px 46px rgba(0,0,0,.34)}
.card-center .card-edge{box-shadow:inset 0 0 0 1px rgba(245,255,0,.18),inset 0 0 35px rgba(0,0,0,.12)}
.card-right{transform:translate3d(calc(-50% + 250px),30px,-235px) rotateY(-20deg) rotateZ(1.2deg) scale(.76);filter:brightness(.68) saturate(.84);opacity:.88;z-index:2;box-shadow:28px 34px 60px rgba(0,0,0,.68),16px 0 38px rgba(0,216,255,.06)}
.card-badge{position:absolute;top:14px;left:14px;z-index:5;padding:6px 9px;border-radius:14px;background:rgba(2,7,12,.72);border:1px solid rgba(245,255,0,.42);color:var(--yellow);font-size:8px;letter-spacing:1.4px;backdrop-filter:blur(9px)}

/* 3D neon floor: back half sits behind the cards; front half overlays their bottom edge. */
.neon-floor{position:absolute;left:50%;bottom:56px;width:700px;height:180px;transform:translateX(-50%) rotateX(64deg) rotateZ(-3deg);transform-style:preserve-3d;pointer-events:none}.neon-floor-back{z-index:1}.neon-floor-front{z-index:6;clip-path:inset(50% 0 0 0)}
.ring{position:absolute;inset:0;border-radius:50%;border:2px solid transparent}.ring-yellow{display:none}.ring-blue{display:none}.ring-soft{display:none}
.ring-yellow-front{display:none}.ring-blue-front{display:none}.floor-highlight{display:none}
@keyframes ringPulse{0%,100%{opacity:.72}50%{opacity:1}}

.carousel-arrow{position:absolute;top:48%;width:48px;height:48px;border:1px solid rgba(153,191,215,.15);border-radius:50%;background:rgba(2,7,12,.38);backdrop-filter:blur(9px);color:#edf6fb;font-size:38px;font-weight:200;line-height:1;display:grid;place-items:center;z-index:10;transition:.22s}.carousel-arrow:hover{color:var(--yellow);border-color:rgba(245,255,0,.3);background:rgba(245,255,0,.045);box-shadow:0 0 20px rgba(245,255,0,.08)}.arrow-left{left:-2px}.arrow-right{right:-2px}
.carousel-dots{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:7px;align-items:center;z-index:12}.dot{width:6px;height:6px;padding:0;border:0;border-radius:9px;background:#496273;transition:.35s var(--ease)}.dot.active{width:25px;background:var(--yellow);box-shadow:0 0 13px rgba(245,255,0,.55)}

.hero-copy>*{animation:fadeUp .7s var(--ease) both}.hero-copy .eyebrow{animation-delay:.04s}.hero-copy h1{animation-delay:.1s}.hero-copy .hero-description{animation-delay:.17s}.hero-copy .search-box{animation-delay:.24s}.hero-copy .chips{animation-delay:.31s}.hero-copy .scroll-cue{animation-delay:.38s}@keyframes fadeUp{from{opacity:0;transform:translateY(17px)}to{opacity:1;transform:none}}
.toast{position:fixed;left:50%;bottom:25px;z-index:40;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#09131d;border:1px solid #30485b;color:#dce9f2;border-radius:12px;padding:10px 15px;font-size:12px;transition:.25s;box-shadow:0 15px 40px rgba(0,0,0,.45)}.toast.show{opacity:1;transform:translate(-50%,0)}
@media (max-width:1280px){.site-header{padding:0 38px}.hero-copy{padding-left:42px}.main-nav{margin-left:0}.nav-link{padding:0 13px}h1{font-size:50px}.search-box{width:475px}.carousel-stage{transform:scale(.88);transform-origin:center center}}
@media (prefers-reduced-motion:reduce){.anime-card,.ring,.hero-copy>*{animation:none!important;transition:none!important}}


/* ================================================================
   PREMIUM GLASS / WATER FLOOR REFLECTION — v3
   The artwork itself is reflected, not simulated with a generic shadow.
   ================================================================ */
.hero-carousel{perspective:2200px}
.carousel-stage{perspective:2200px;transform-style:preserve-3d}

.anime-card{
  overflow:visible;
  isolation:isolate;
  border-radius:24px;
  border:1px solid rgba(214,244,255,.28);
  box-shadow:0 35px 70px rgba(0,0,0,.72), inset 0 0 0 1px rgba(255,255,255,.04);
}
.card-image{
  overflow:hidden;
  border-radius:23px;
  position:absolute;
  inset:0;
  z-index:1;
  box-shadow:inset 0 0 32px rgba(0,0,0,.28);
}
.card-image img{display:block;width:100%;height:100%;object-fit:cover}
.card-edge{z-index:7;border-radius:24px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08), inset 0 0 35px rgba(0,0,0,.15)}
.anime-card:before{z-index:8;border-radius:24px;background:
  linear-gradient(110deg,rgba(255,255,255,.15),transparent 18%,transparent 65%,rgba(0,217,255,.10)),
  linear-gradient(180deg,rgba(255,255,255,.05),transparent 30%)}
.anime-card:after{z-index:9;border-radius:24px;background:linear-gradient(180deg,transparent 52%,rgba(0,0,0,.38))}

/* Actual mirrored image, positioned on the floor below each poster. */
.card-reflection{
  position:absolute;
  left:3%;
  right:3%;
  top:calc(100% + 2px);
  bottom:auto;
  height:150px;
  z-index:-1;
  transform-origin:top center;
  transform:perspective(900px) rotateX(70deg) scaleY(.92);
  overflow:hidden;
  border-radius:0 0 28px 28px;
  opacity:.44;
  pointer-events:none;
  filter:blur(1.6px) saturate(.9) brightness(.62);
  -webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.82) 0%,rgba(0,0,0,.52) 23%,rgba(0,0,0,.22) 54%,transparent 96%);
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.82) 0%,rgba(0,0,0,.52) 23%,rgba(0,0,0,.22) 54%,transparent 96%);
}
.card-reflection img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center top;
  transform:scaleY(-1) translateY(-1px);
  transform-origin:center center;
  opacity:.92;
  filter:blur(1.4px) saturate(.78) contrast(.95);
  -webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),rgba(0,0,0,.55) 32%,transparent 100%);
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),rgba(0,0,0,.55) 32%,transparent 100%);
}
.card-reflection:before{
  content:"";position:absolute;inset:0;z-index:2;
  background:
    linear-gradient(180deg,rgba(255,255,255,.10),transparent 12%),
    repeating-linear-gradient(177deg,transparent 0 9px,rgba(255,255,255,.025) 10px 11px,transparent 12px 18px);
  mix-blend-mode:screen;
  opacity:.7;
}
.card-reflection:after{
  content:"";position:absolute;left:-10%;right:-10%;top:-3px;height:42px;z-index:3;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.20),rgba(0,217,255,.12),transparent);
  filter:blur(8px);
  transform:skewX(-18deg);
  opacity:.55;
}

/* Central card gets a stronger, cleaner glass reflection. */
.card-center .card-reflection{height:175px;opacity:.56;filter:blur(1.3px) saturate(.92) brightness(.66)}
.card-center .card-reflection img{filter:blur(1.1px) saturate(.82) brightness(.72)}
.card-left .card-reflection,.card-right .card-reflection{height:130px;opacity:.30;filter:blur(1.9px) saturate(.72) brightness(.52)}

/* Rich contact shadow under every card. */
.anime-card .card-image:after{
  content:"";position:absolute;left:10%;right:10%;bottom:-2px;height:26px;
  background:radial-gradient(ellipse,rgba(0,0,0,.72),transparent 72%);
  filter:blur(8px);transform:translateY(18px);opacity:.72;
}

/* Replace simple rings with layered, imperfect energy trails. */
.neon-floor{
  left:50%;bottom:52px;width:780px;height:205px;
  transform:translateX(-50%) rotateX(66deg) rotateZ(-4deg);
  filter:drop-shadow(0 0 7px rgba(245,255,0,.35)) drop-shadow(0 0 13px rgba(0,217,255,.20));
}
.ring{border-width:2px}
.ring-yellow{display:none}
.ring-blue{display:none}
.ring-soft{display:none}

/* Floating light fragments make the floor feel energetic instead of flat. */
.neon-floor:before,.neon-floor:after{
  content:"";position:absolute;z-index:5;pointer-events:none;border-radius:50%;
}
.neon-floor:before{
  width:180px;height:55px;left:18%;top:44%;
  background:radial-gradient(ellipse,rgba(245,255,0,.32),transparent 68%);
  filter:blur(13px);transform:rotate(-8deg);
}
.neon-floor:after{
  width:230px;height:70px;right:13%;top:35%;
  background:radial-gradient(ellipse,rgba(0,217,255,.28),transparent 68%);
  filter:blur(17px);transform:rotate(8deg);
}
.floor-highlight{display:none}

/* A subtle wet-floor sheen below the carousel. */
.carousel-stage:after{
  content:"";position:absolute;left:8%;right:8%;bottom:5px;height:125px;z-index:0;pointer-events:none;
  background:
    radial-gradient(ellipse at 50% 45%,rgba(0,217,255,.12),transparent 54%),
    radial-gradient(ellipse at 48% 45%,rgba(245,255,0,.11),transparent 43%),
    linear-gradient(180deg,transparent,rgba(255,255,255,.025));
  filter:blur(15px);
  transform:perspective(900px) rotateX(70deg);
  opacity:.8;
}

/* Slight edge light on the center poster. */
.card-center{box-shadow:
  0 0 0 1px rgba(245,255,0,.20),
  0 0 14px rgba(245,255,0,.30),
  0 0 40px rgba(0,217,255,.18),
  0 35px 70px rgba(0,0,0,.78),
  22px 30px 50px rgba(0,0,0,.35)}
.card-center .card-edge{box-shadow:
  inset 0 0 0 1px rgba(245,255,0,.28),
  inset 0 0 22px rgba(0,217,255,.10),
  0 0 15px rgba(245,255,0,.16)}

@media (max-width:1280px){
  .neon-floor{width:720px}
  .card-reflection{height:135px}
  .card-center .card-reflection{height:155px}
}

/* ================================================================
   CAROUSEL POLISH v4 — cinematic, restrained, premium
   ================================================================ */
.hero-carousel .stage-glow{
  width:640px;
  height:460px;
  left:53%;
  top:51%;
  background:radial-gradient(ellipse,rgba(0,190,230,.075) 0%,rgba(0,190,230,.035) 32%,transparent 68%);
  filter:blur(42px);
  opacity:.9;
}

/* Keep the posters dominant: no colored halo around the cards. */
.anime-card{
  border-color:rgba(220,240,250,.20);
  box-shadow:0 30px 65px rgba(0,0,0,.74),inset 0 0 0 1px rgba(255,255,255,.035);
}
.card-center{
  box-shadow:
    0 0 0 1px rgba(245,255,0,.12),
    0 26px 68px rgba(0,0,0,.78),
    0 8px 28px rgba(0,0,0,.35);
}
.card-center .card-edge{
  box-shadow:inset 0 0 0 1px rgba(245,255,0,.16),inset 0 0 28px rgba(0,0,0,.13);
}
.card-left,.card-right{
  box-shadow:0 28px 58px rgba(0,0,0,.72);
}

/* Reflection is now a soft optical trace, not a second readable poster. */
.card-reflection{
  left:10%;
  right:10%;
  top:calc(100% + 5px);
  height:96px;
  transform:perspective(1000px) rotateX(72deg) scaleY(.72);
  transform-origin:top center;
  border-radius:0 0 24px 24px;
  opacity:.13;
  filter:blur(5px) saturate(.55) brightness(.48);
  -webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.48) 0%,rgba(0,0,0,.18) 28%,transparent 82%);
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.48) 0%,rgba(0,0,0,.18) 28%,transparent 82%);
}
.card-reflection img{
  transform:scaleY(-1) translateY(-1px);
  opacity:.62;
  filter:blur(4px) saturate(.45) brightness(.45) contrast(.88);
  -webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.62),rgba(0,0,0,.20) 34%,transparent 82%);
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.62),rgba(0,0,0,.20) 34%,transparent 82%);
}
.card-reflection:before{
  background:linear-gradient(180deg,rgba(255,255,255,.035),transparent 24%);
  opacity:.35;
}
.card-reflection:after{display:none}
.card-center .card-reflection{
  height:112px;
  opacity:.17;
  filter:blur(4.5px) saturate(.58) brightness(.50);
}
.card-center .card-reflection img{
  opacity:.65;
  filter:blur(3.8px) saturate(.48) brightness(.48) contrast(.9);
}
.card-left .card-reflection,.card-right .card-reflection{
  height:82px;
  opacity:.075;
  filter:blur(5.5px) saturate(.42) brightness(.42);
}

/* A grounded contact shadow replaces the bright RGB-looking underglow. */
.anime-card .card-image:after{
  left:8%;
  right:8%;
  bottom:-3px;
  height:20px;
  background:radial-gradient(ellipse,rgba(0,0,0,.82) 0%,rgba(0,0,0,.42) 42%,transparent 74%);
  filter:blur(9px);
  transform:translateY(13px);
  opacity:.82;
}

/* One restrained floor plane. Thin lines, low bloom, no segmented RGB trails. */
.neon-floor{
  left:50%;
  bottom:47px;
  width:680px;
  height:150px;
  transform:translateX(-50%) rotateX(68deg) rotateZ(-2.5deg);
  filter:none;
}
.ring{border-width:1px}
.ring-yellow{display:none}
.ring-blue{display:none}
.ring-soft{display:none}
.ring-yellow-front,.ring-blue-front{display:none}
.neon-floor:before,.neon-floor:after{display:none}
.floor-highlight{display:none}

/* Subtle pool of ambient light gives the stage a floor without a visible glow blob. */
.carousel-stage:after{
  left:16%;
  right:16%;
  bottom:13px;
  height:90px;
  background:radial-gradient(ellipse at 50% 42%,rgba(0,190,220,.055),transparent 58%);
  filter:blur(18px);
  opacity:.65;
  transform:perspective(1000px) rotateX(72deg);
}

@keyframes ringPulse{0%,100%{opacity:.52}50%{opacity:.76}}

@media (max-width:1280px){
  .neon-floor{width:620px;height:140px;bottom:48px}
  .card-reflection{height:82px}
  .card-center .card-reflection{height:98px}
}

body{overflow-x:hidden;overflow-y:auto}
.anime-grid-section{padding:40px 72px 100px}
.anime-grid-section h2{font-size:56px;margin:0 0 30px;font-family:Outfit,sans-serif}
.anime-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}
.anime-item{background:#08111a;border:1px solid rgba(255,255,255,.06);border-radius:18px;padding:0 0 14px;overflow:hidden}
.anime-item img{width:100%;aspect-ratio:16/9;display:block;object-fit:cover;border-radius:18px 18px 0 0;
mask-image:linear-gradient(to bottom,black 0%,black 90%,transparent 100%)}
.anime-item .meta{font-size:12px;color:#7d8b99;padding:10px 14px 0}
.anime-item h3{font-size:18px;margin:6px 14px;color:#fff}
.anime-item .status{font-size:13px;color:#9fb0bf;margin:0 14px 12px}
.view-btn{display:inline-block;margin:0 14px;color:#dfe8f0}
.anime-item:hover{transform:translateY(-4px) scale(1.02);transition:.25s}


/* Pixel Perfect Anime Section */
#anime-section{
padding:90px 72px 120px;
max-width:1600px;
margin:auto;
}
#anime-section h2{
font-family:Outfit,sans-serif;
font-size:72px;
line-height:1;
margin:0 0 12px;
font-weight:800;
}
#anime-section h2::after{
content:'';
color:#f5ff00;
}
.anime-grid{
display:grid;
grid-template-columns:repeat(6,minmax(0,1fr));
gap:22px;
}
.anime-item{
background:linear-gradient(180deg,#09131d,#060c14);
border-radius:22px;
overflow:hidden;
border:1px solid rgba(255,255,255,.05);
box-shadow:0 10px 30px rgba(0,0,0,.25);
transition:transform .25s ease, box-shadow .25s ease;
}
.anime-item:hover{
transform:translateY(-8px);
box-shadow:0 18px 40px rgba(0,0,0,.45);
}
.anime-item img{
width:100%;
aspect-ratio:16/9;
object-fit:cover;
border-radius:22px 22px 0 0;
}
.anime-item .meta{
font-size:11px;
letter-spacing:.08em;
text-transform:uppercase;
opacity:.65;
padding:12px 16px 0;
}
.anime-item h3{
font-family:Outfit,sans-serif;
font-size:20px;
font-weight:700;
margin:6px 16px;
}
.anime-item .status{
font-size:13px;
color:#9fb0bf;
margin:0 16px 16px;
}
.view-btn{
display:flex;
align-items:center;
gap:8px;
padding:0 16px 18px;
font-weight:600;
}

html{scroll-behavior:smooth}
#anime-section{padding:90px 32px 120px;max-width:100%}
.anime-grid{grid-template-columns:repeat(6,1fr);gap:20px}
.anime-item img{mask-image:linear-gradient(to bottom,#000 0%,#000 90%,transparent 100%)}
.anime-item:hover{transform:translateY(-8px) scale(1.03);box-shadow:0 0 24px rgba(245,255,0,.18)}

/* ================================================================
   FEATURED ANIME — reference-matched section
   ================================================================ */
#anime-section.anime-grid-section{
  width:100%;
  max-width:none;
  margin:0;
  padding:76px 72px 118px;
  position:relative;
  scroll-margin-top:82px;
}
#anime-section .section-heading{margin:0 0 28px}
#anime-section .section-eyebrow{
  display:flex;
  align-items:center;
  gap:13px;
  margin-bottom:10px;
  color:#b9c8d4;
  font-size:11px;
  font-weight:600;
  letter-spacing:2px;
}
#anime-section .section-eyebrow i{
  display:block;
  width:35px;
  height:2px;
  background:var(--yellow);
  box-shadow:0 0 10px rgba(245,255,0,.7);
}
#anime-section .section-heading-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
}
#anime-section h2{
  margin:0;
  font-family:"Outfit",sans-serif;
  font-size:50px;
  line-height:1;
  letter-spacing:-2px;
  font-weight:800;
}
#anime-section h2 em{
  color:var(--yellow);
  font-style:normal;
  text-shadow:0 0 25px rgba(245,255,0,.14);
}
#anime-section .section-heading p{
  margin:12px 0 0;
  color:#8fa5b7;
  font-size:14px;
  line-height:1.5;
}
#anime-section .section-arrows{display:flex;gap:14px;padding-bottom:2px}
#anime-section .section-arrow{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(151,190,220,.16);
  border-radius:50%;
  background:rgba(3,9,15,.42);
  color:#cbd9e4;
  backdrop-filter:blur(10px);
  transition:transform .25s var(--ease),border-color .25s ease,color .25s ease,background .25s ease,box-shadow .25s ease;
}
#anime-section .section-arrow span{font-size:27px;line-height:1;margin-top:-2px}
#anime-section .section-arrow:hover{
  color:var(--yellow);
  border-color:rgba(245,255,0,.32);
  background:rgba(245,255,0,.045);
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,0,0,.25),0 0 18px rgba(245,255,0,.08);
}
#anime-section .anime-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:18px;
  width:100%;
}
#anime-section .anime-item{
  min-width:0;
  padding:0 0 14px;
  overflow:hidden;
  border:1px solid rgba(151,190,220,.13);
  border-radius:15px;
  background:linear-gradient(180deg,rgba(7,17,27,.96),rgba(4,12,20,.98));
  box-shadow:0 18px 38px rgba(0,0,0,.22),inset 0 0 0 1px rgba(255,255,255,.018);
  transform:translate3d(0,0,0);
  transition:transform .34s var(--ease),border-color .34s ease,box-shadow .34s ease,background .34s ease;
  will-change:transform,opacity,filter;
}
#anime-section .anime-poster{
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
  background-color:#071019;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
#anime-section .anime-poster img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:0;
  mask-image:none;
  transform:scale(1.001);
  transition:transform .65s var(--ease),filter .45s ease;
}
#anime-section .anime-poster:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,0) 42%,rgba(2,7,12,.28) 100%);
  pointer-events:none;
}
#anime-section .poster-shine{
  position:absolute;
  inset:-120% -45%;
  z-index:2;
  pointer-events:none;
  background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.14) 49%,transparent 60%);
  transform:translateX(-55%) rotate(8deg);
  opacity:0;
}
#anime-section .anime-info{position:relative;z-index:3;padding:0 14px}
#anime-section .meta{
  padding:10px 0 0;
  color:#70879a;
  font-size:11px;
  line-height:1;
}
#anime-section h3{
  margin:8px 0 9px;
  color:#f3f7fa;
  font-family:"Outfit",sans-serif;
  font-size:15px;
  line-height:1.15;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#anime-section .status{
  display:flex;
  align-items:center;
  gap:7px;
  margin:0 0 12px;
  color:#93a7b7;
  font-size:11px;
  white-space:nowrap;
}
#anime-section .status strong{font-weight:500;color:#aab9c5}
#anime-section .status-dot{
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:50%;
  background:#45e85d;
  box-shadow:0 0 9px rgba(69,232,93,.35);
}
#anime-section .status-separator{color:#566b7b}
#anime-section .view-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0;
  color:#aebfcb;
  font-size:11px;
  transition:color .25s ease,transform .25s ease;
}
#anime-section .view-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#anime-section .anime-item:hover,
#anime-section .anime-item:focus-visible{
  outline:none;
  transform:translateY(-7px);
  border-color:rgba(245,255,0,.22);
  box-shadow:0 24px 48px rgba(0,0,0,.42),0 0 24px rgba(245,255,0,.055),inset 0 0 0 1px rgba(255,255,255,.025);
}
#anime-section .anime-item:hover .anime-poster img,
#anime-section .anime-item:focus-visible .anime-poster img{transform:scale(1.045);filter:saturate(1.06) contrast(1.03)}
#anime-section .anime-item:hover .poster-shine,
#anime-section .anime-item:focus-visible .poster-shine{opacity:1;animation:posterSweep .8s var(--ease) forwards}
#anime-section .anime-item:hover .view-btn,
#anime-section .anime-item:focus-visible .view-btn{color:var(--yellow);transform:translateX(2px)}
@keyframes posterSweep{from{transform:translateX(-55%) rotate(8deg)}to{transform:translateX(55%) rotate(8deg)}}

/* Scroll reveal: cards rise, sharpen and settle in one elegant stagger. */
#anime-section .reveal-on-scroll{
  opacity:0;
  filter:blur(8px);
  transform:translate3d(0,38px,0) scale(.965);
}
#anime-section .reveal-on-scroll.is-visible{
  opacity:1;
  filter:blur(0);
  transform:translate3d(0,0,0) scale(1);
  transition:
    opacity .7s ease calc(var(--card-index,0) * 55ms),
    filter .7s ease calc(var(--card-index,0) * 55ms),
    transform .8s var(--ease) calc(var(--card-index,0) * 55ms),
    border-color .34s ease,
    box-shadow .34s ease,
    background .34s ease;
}
#anime-section .section-heading.reveal-on-scroll{transition:opacity .7s ease,filter .7s ease,transform .8s var(--ease)}
#anime-section .section-heading.reveal-on-scroll.is-visible{opacity:1;filter:none;transform:none}

/* Softer native scrolling and a cleaner scrollbar. */
html{scroll-behavior:auto;scroll-padding-top:82px}
body{scroll-behavior:auto;overscroll-behavior-y:auto}
::-webkit-scrollbar{width:9px}
::-webkit-scrollbar-track{background:#02060b}
::-webkit-scrollbar-thumb{background:rgba(119,148,167,.28);border:2px solid #02060b;border-radius:20px}
::-webkit-scrollbar-thumb:hover{background:rgba(245,255,0,.42)}

@media (max-width:1280px){
  #anime-section.anime-grid-section{padding-left:38px;padding-right:38px}
  #anime-section .anime-grid{gap:16px}
  #anime-section h2{font-size:46px}
}
@media (max-width:1180px){
  #anime-section .anime-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  #anime-section .reveal-on-scroll,
  #anime-section .reveal-on-scroll.is-visible{opacity:1;filter:none;transform:none;transition:none}
  #anime-section .poster-shine{display:none}
}

/* ================================================================
   HEADER + HERO SPACING FINAL PASS
   - Header stays pinned to the viewport.
   - Strong glass treatment appears after the user crosses half of hero.
   - Carousel dots sit directly beneath the three posters.
   - Featured Anime starts closer to the hero.
   ================================================================ */
.site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  width:100%;
  z-index:100;
  background:rgba(2,6,11,.30);
  backdrop-filter:blur(7px) saturate(110%);
  -webkit-backdrop-filter:blur(7px) saturate(110%);
  border-bottom-color:rgba(151,190,220,.08);
  transition:
    background .35s ease,
    backdrop-filter .35s ease,
    -webkit-backdrop-filter .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}
.site-header.is-glass{
  background:rgba(7,16,25,.54);
  backdrop-filter:blur(22px) saturate(135%);
  -webkit-backdrop-filter:blur(22px) saturate(135%);
  border-bottom-color:rgba(151,190,220,.16);
  box-shadow:0 10px 35px rgba(0,0,0,.20), inset 0 -1px 0 rgba(255,255,255,.025);
}
.hero{
  margin-top:82px;
}
.carousel-dots{
  bottom:90px;
}
#anime-section.anime-grid-section{
  padding-top:28px;
}
/* Soft background handoff: the Hero stays untouched; only the boundary fades into the black pattern. */
#anime-section.anime-grid-section::before{display:none}
#anime-section.anime-grid-section > *{position:relative;z-index:1;}

@media (max-width:1280px){
  .carousel-dots{bottom:82px}
  #anime-section.anime-grid-section{padding-top:24px}
}


/* ================================================================
   FEATURED MOVIES
   Full-width 16:9 cinematic carousel placed directly below Anime.
   Replace assets/images/movies/1.jpg ... 5.jpg with your movie art.
   ================================================================ */
#movie-section.movie-feature{
  position:relative;
  width:100%;
  margin-top:10px;
  /* 16:9 artwork minus the 82px site header = roughly 16:8.x visible canvas. */
  height:calc(56.25vw - 82px);
  min-height:560px;
  overflow:hidden;
  isolation:isolate;
  background:transparent;
}
#movie-section .movie-slides,
#movie-section .movie-slide{position:absolute;inset:0}
#movie-section .movie-slide{
  opacity:0;
  visibility:hidden;
  z-index:1;
  transition:opacity .9s ease,visibility .9s ease;
}
#movie-section .movie-slide.is-active{opacity:1;visibility:visible;z-index:2}
#movie-section .movie-slide>img{
  width:100%;height:100%;display:block;object-fit:cover;object-position:center;
  filter:saturate(.96) contrast(1.04) brightness(.78);
  transform:scale(1.025);
  /* Fade the actual artwork itself over the final 5% into the site background. */
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 94.5%,rgba(0,0,0,.72) 97%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 94.5%,rgba(0,0,0,.72) 97%,transparent 100%);
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-size:100% 100%;mask-size:100% 100%;
  transition:transform 5.8s cubic-bezier(.2,.7,.2,1),filter .8s ease;
}
#movie-section .movie-slide.is-active>img{
  transform:scale(1);filter:saturate(1.03) contrast(1.05) brightness(.82);
}
#movie-section .movie-slide-vignette{
  position:absolute;inset:0;z-index:2;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(2,7,13,.94) 0%,rgba(2,7,13,.72) 23%,rgba(2,7,13,.20) 57%,rgba(2,7,13,.06) 100%),
    radial-gradient(circle at 67% 45%,rgba(245,255,0,.055),transparent 32%);
}
#movie-section .movie-slide-content{
  position:absolute;z-index:4;left:clamp(48px,7.2vw,120px);top:50%;
  width:min(560px,39vw);transform:translateY(-43%);color:#fff;
}
#movie-section .movie-eyebrow{
  display:flex;align-items:center;gap:12px;margin-bottom:18px;color:#d7e1e8;
  font-size:11px;line-height:1;letter-spacing:3px;font-weight:700;
}
#movie-section .movie-eyebrow i{
  display:block;width:36px;height:2px;background:var(--yellow);
  box-shadow:0 0 12px rgba(245,255,0,.72);
}
#movie-section .movie-slide-content h2{
  margin:0;font-family:"Outfit",sans-serif;font-size:clamp(42px,5vw,78px);
  line-height:.98;letter-spacing:-2.5px;font-weight:800;text-shadow:0 10px 35px rgba(0,0,0,.42);
}
#movie-section .movie-subtitle{
  margin-top:11px;color:var(--yellow);font-family:"Outfit",sans-serif;
  font-size:clamp(15px,1.35vw,22px);font-weight:800;letter-spacing:4px;line-height:1.2;
  text-transform:uppercase;text-shadow:0 0 22px rgba(245,255,0,.13);
}
#movie-section .movie-slide-content p{
  margin:19px 0 0;color:#e0e8ee;font-size:14.5px;line-height:1.6;max-width:510px;
}
#movie-section .movie-actions{display:flex;align-items:center;gap:16px;margin-top:26px}
#movie-section .movie-watch-btn,
#movie-section .movie-info-btn{
  height:46px;border-radius:25px;display:inline-flex;align-items:center;justify-content:center;
  gap:9px;padding:0 20px;font-size:13px;font-weight:800;transition:.22s ease;
}
#movie-section .movie-watch-btn{
  background:var(--yellow);color:#070a0c;box-shadow:0 0 25px rgba(245,255,0,.22);
}
#movie-section .movie-watch-btn:hover{transform:translateY(-2px);box-shadow:0 0 32px rgba(245,255,0,.4)}
#movie-section .movie-info-btn{
  color:#dce8ef;border:1px solid rgba(159,193,215,.32);background:rgba(3,9,15,.35);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
}
#movie-section .movie-info-btn:hover{transform:translateY(-2px);border-color:rgba(245,255,0,.45);color:var(--yellow)}
#movie-section .movie-actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#movie-section .movie-watch-btn svg{fill:currentColor;stroke:none;width:16px}
/* Fade only the final 5% of the movie artwork downward into the page background. */
/* The old full-width bottom overlay is intentionally removed.
   The artwork itself now fades transparently through its mask. */
#movie-section .movie-bottom-fade{display:none}
#movie-section .movie-progress{
  position:absolute;z-index:8;left:50%;bottom:35px;transform:translateX(-50%);
  display:flex;align-items:center;gap:8px;
}
#movie-section .movie-progress button{
  width:7px;height:7px;padding:0;border:0;border-radius:9px;background:#536675;
  transition:width .35s var(--ease),background .35s ease,box-shadow .35s ease;cursor:pointer;
}
#movie-section .movie-progress button.is-active{
  width:34px;background:var(--yellow);box-shadow:0 0 13px rgba(245,255,0,.65);
}
#movie-section .movie-arrow{
  position:absolute;z-index:9;top:50%;width:48px;height:48px;
  border:1px solid rgba(168,194,211,.22);border-radius:50%;background:rgba(3,9,15,.38);
  color:#e7f0f5;font-size:29px;line-height:1;display:grid;place-items:center;
  transform:translateY(-50%);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  transition:background .25s ease,border-color .25s ease,color .25s ease,transform .25s ease;
}
#movie-section .movie-arrow:hover,#movie-section .movie-arrow:focus-visible{
  outline:none;background:rgba(245,255,0,.92);border-color:var(--yellow);color:#071019;
  transform:translateY(-50%) scale(1.06);
}
#movie-section .movie-arrow-left{left:32px}#movie-section .movie-arrow-right{right:32px}
#movie-section .movie-slide.is-active .movie-slide-content{animation:movieCopyIn .75s var(--ease) both}
@keyframes movieCopyIn{
  from{opacity:0;transform:translateY(-36%);filter:blur(7px)}
  to{opacity:1;transform:translateY(-43%);filter:blur(0)}
}
@media (max-width:900px){
  #movie-section.movie-feature{min-height:500px;height:calc(56.25vw - 60px)}
  #movie-section .movie-slide-content{left:38px;width:min(500px,62vw)}
  #movie-section .movie-slide-content h2{font-size:clamp(38px,7vw,62px)}
  #movie-section .movie-subtitle{font-size:14px;letter-spacing:3px}
  #movie-section .movie-slide-content p{font-size:13px}
  #movie-section .movie-arrow{width:42px;height:42px}
  #movie-section .movie-arrow-left{left:18px}#movie-section .movie-arrow-right{right:18px}
}
@media (max-width:620px){
  #movie-section.movie-feature{height:calc(100svh - 70px);min-height:480px}
  #movie-section .movie-slide>img{object-position:center}
  #movie-section .movie-slide-vignette{
    background:
      linear-gradient(90deg,rgba(2,7,13,.9) 0%,rgba(2,7,13,.4) 68%,rgba(2,7,13,.18) 100%),
      linear-gradient(180deg,rgba(2,7,13,.05) 0%,rgba(2,7,13,0) 42%,rgba(2,7,13,.9) 100%);
  }
  #movie-section .movie-slide-content{left:24px;bottom:88px;top:auto;width:calc(100% - 48px);transform:none}
  #movie-section .movie-eyebrow{margin-bottom:12px;font-size:9px;letter-spacing:2.3px}
  #movie-section .movie-slide-content h2{font-size:39px;letter-spacing:-1.6px}
  #movie-section .movie-subtitle{margin-top:9px;font-size:12px;letter-spacing:2px}
  #movie-section .movie-slide-content p{margin-top:11px;font-size:12px}
  #movie-section .movie-actions{gap:9px;margin-top:17px}
  #movie-section .movie-watch-btn,#movie-section .movie-info-btn{height:40px;padding:0 14px;font-size:11px}
  #movie-section .movie-progress{bottom:27px;gap:6px}
  #movie-section .movie-progress button{width:6px;height:6px}
  #movie-section .movie-progress button.is-active{width:25px}
  #movie-section .movie-arrow{top:auto;bottom:19px;width:34px;height:34px;font-size:23px}
  #movie-section .movie-arrow-left{left:auto;right:92px}#movie-section .movie-arrow-right{right:48px}
  @keyframes movieCopyIn{
    from{opacity:0;transform:translateY(12px);filter:blur(7px)}
    to{opacity:1;transform:none;filter:blur(0)}
  }
}
@media (prefers-reduced-motion:reduce){
  #movie-section .movie-slide,
  #movie-section .movie-slide > img,
  #movie-section .movie-progress span,
  #movie-section .movie-arrow{transition:none!important}
  #movie-section .movie-slide.is-active .movie-slide-content{animation:none!important}
}

/* ================= LOGIN MODAL — REFINED ================= */
.login-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:24px;background:rgba(1,5,9,.70);backdrop-filter:blur(16px) saturate(.68);-webkit-backdrop-filter:blur(16px) saturate(.68);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .28s ease,visibility .28s ease}
.login-modal.is-open{opacity:1;visibility:visible;pointer-events:auto}
.login-modal-backdrop{position:absolute;inset:0}
.login-card{position:relative;width:min(450px,calc(100vw - 36px));padding:30px 32px 24px;border:1px solid rgba(190,215,228,.25);border-radius:24px;background:linear-gradient(145deg,rgba(8,18,27,.975),rgba(3,10,16,.965));box-shadow:0 35px 100px rgba(0,0,0,.72),0 0 0 1px rgba(255,255,255,.025),0 0 55px rgba(245,255,0,.045);transform:translateY(14px) scale(.97);transition:transform .3s cubic-bezier(.2,.8,.2,1);overflow:hidden}
.login-modal.is-open .login-card{transform:translateY(0) scale(1)}
.login-card:before{content:"";position:absolute;inset:-1px;border-radius:25px;padding:1px;background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(245,255,0,.10),transparent 48%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.login-close{position:absolute;right:15px;top:14px;width:36px;height:36px;border:1px solid rgba(255,255,255,.09);border-radius:50%;background:rgba(255,255,255,.025);color:#9aa8b5;font-size:23px;line-height:1;cursor:pointer;display:grid;place-items:center;transition:.2s;z-index:2}
.login-close:hover{color:#fff;border-color:rgba(245,255,0,.35);background:rgba(245,255,0,.06)}
.login-brand{display:flex;flex-direction:column;align-items:center;text-align:center;margin-bottom:21px}
.login-brand .brand-mark{width:40px;height:40px;margin-bottom:7px;transform:scale(.9)}
.login-brand .brand-copy strong{font-size:26px;letter-spacing:-1px}.login-brand .brand-copy small{font-size:10px;letter-spacing:.1px;color:#74818e}
.login-google{width:100%;height:52px;border:1px solid rgba(245,255,0,.34);border-radius:30px;background:linear-gradient(100deg,rgba(245,255,0,.12),rgba(245,255,0,.035));color:#f4f8fb;display:flex;align-items:center;justify-content:center;gap:12px;font:600 14px 'Space Grotesk',sans-serif;cursor:pointer;box-shadow:0 0 22px rgba(245,255,0,.055),inset 0 1px rgba(255,255,255,.06);transition:.22s}
.login-google:hover{transform:translateY(-1px);border-color:rgba(245,255,0,.55);box-shadow:0 0 28px rgba(245,255,0,.12),inset 0 1px rgba(255,255,255,.08)}
.google-icon{width:21px;height:21px;border-radius:50%;background:#fff;display:grid;place-items:center;font:800 14px Arial;color:#4285f4}
.login-divider{display:flex;align-items:center;gap:13px;margin:18px 0;color:#687583;font:500 11px 'Space Grotesk',sans-serif}.login-divider:before,.login-divider:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,transparent,rgba(160,185,200,.2))}.login-divider:after{background:linear-gradient(90deg,rgba(160,185,200,.2),transparent)}
.login-field{position:relative;display:block;margin:0}.login-field + .login-field{margin-top:13px}
.login-field input{display:block;width:100%;height:52px;padding:0 44px 0 48px;border:1px solid rgba(160,185,200,.20);border-radius:28px;outline:none;background:rgba(2,9,15,.68);color:#f5f8fb;font:500 13px 'Space Grotesk',sans-serif;transition:border-color .2s,box-shadow .2s,background .2s;box-sizing:border-box}
.login-field input::placeholder{color:#697785}.login-field input:focus{border-color:rgba(245,255,0,.48);background:rgba(3,11,17,.78);box-shadow:0 0 0 3px rgba(245,255,0,.045),0 0 22px rgba(245,255,0,.045)}
.login-field-icon{position:absolute;left:17px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#8b99a6;pointer-events:none;z-index:1}.login-field-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.login-password-toggle{position:absolute;right:11px;top:50%;transform:translateY(-50%);width:32px;height:32px;border:0;background:transparent;color:#7e8b98;cursor:pointer;border-radius:50%;display:grid;place-items:center}.login-password-toggle:hover{color:#eaf1f5;background:rgba(255,255,255,.04)}.login-password-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.login-error{min-height:0;margin:7px 4px 9px;color:#ff7777;font:500 11px 'Space Grotesk',sans-serif;opacity:0;transition:.2s}.login-error.show{opacity:1}
.login-submit{width:100%;height:54px;margin-top:0;border:0;border-radius:30px;background:var(--yellow,#f5ff00);color:#06090b;font:800 14px 'Space Grotesk',sans-serif;cursor:pointer;box-shadow:0 0 26px rgba(245,255,0,.20);transition:.22s}.login-submit:hover{transform:translateY(-1px);box-shadow:0 0 34px rgba(245,255,0,.32)}.login-submit:active{transform:translateY(0)}
.login-signup{text-align:center;margin:15px 0 0;color:#53616e;font:500 11px 'Space Grotesk',sans-serif}.login-signup button{border:0;background:none;padding:0 2px;color:#75838f;text-decoration:none;font:600 11px inherit;cursor:pointer;transition:.2s}.login-signup button:hover{color:var(--yellow,#f5ff00)}
.auth-view{display:none}.auth-view.is-active{display:block}.auth-signup-view .login-brand{margin-bottom:20px}.auth-signup-view .login-field + .login-field{margin-top:13px}.auth-signup-view .login-submit{margin-top:0}
.login-success{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:30px;background:linear-gradient(145deg,rgba(8,18,27,.985),rgba(3,10,16,.98));opacity:0;visibility:hidden;transform:scale(.98);transition:.25s;z-index:3}.login-success.show{opacity:1;visibility:visible;transform:scale(1)}.login-success-icon{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;background:rgba(245,255,0,.12);border:1px solid rgba(245,255,0,.4);color:var(--yellow,#f5ff00);font-size:29px;box-shadow:0 0 30px rgba(245,255,0,.12)}.login-success h3{margin:0 0 7px;color:#fff;font:800 25px 'Outfit',sans-serif}.login-success p{margin:0;color:#73818d;font:500 12px 'Space Grotesk',sans-serif}
body.login-open{overflow:hidden}
@media(max-width:600px){.login-modal{padding:16px}.login-card{width:min(450px,100%);padding:27px 21px 22px;border-radius:21px}.login-close{right:12px;top:12px;width:34px;height:34px}.login-brand{margin-bottom:19px}.login-google,.login-submit,.login-field input{height:52px}.login-divider{margin:16px 0}.login-field + .login-field{margin-top:12px}.login-signup{margin-top:14px}}

/* ================================================================
   ANIME → MOVIES CINEMATIC TRANSITION
   Bring Movies closer to Anime and blend the two sections with a
   soft aurora/glow instead of a large empty gap.
   ================================================================ */
#anime-section.anime-grid-section{
  padding-bottom:72px;
  position:relative;
  z-index:3;
}
#movie-section.movie-feature{
  margin-top:-86px;
  padding-top:86px;
  height:calc(56.25vw - 82px + 86px);
  min-height:646px;
  z-index:1;
}
#movie-section.movie-feature::before{
  content:"";
  position:absolute;
  left:-6%;
  right:-6%;
  top:-18px;
  height:190px;
  z-index:6;
  pointer-events:none;
  background:
    radial-gradient(ellipse 34% 42% at 50% 22%, rgba(245,255,0,.13), transparent 70%),
    radial-gradient(ellipse 62% 58% at 50% 48%, rgba(30,94,120,.12), transparent 70%),
    linear-gradient(180deg, rgba(2,7,13,.98) 0%, rgba(2,7,13,.92) 24%, rgba(2,7,13,.45) 62%, transparent 100%);
  filter:blur(.2px);
}
#movie-section.movie-feature::after{
  content:"";
  position:absolute;
  left:-8%;
  right:-8%;
  top:34px;
  height:105px;
  z-index:7;
  pointer-events:none;
  background:radial-gradient(ellipse at 50% 0%, rgba(245,255,0,.18) 0%, rgba(245,255,0,.06) 22%, transparent 62%);
  opacity:.72;
  filter:blur(18px);
  transform:scaleY(.7);
}
#movie-section .movie-slides{z-index:1}
#movie-section .movie-slide-content{z-index:8}
#movie-section .movie-bottom-fade{z-index:9}
#movie-section .movie-progress{z-index:10}
#movie-section .movie-arrow{z-index:10}

@media (max-width:900px){
  #anime-section.anime-grid-section{padding-bottom:58px}
  #movie-section.movie-feature{
    margin-top:-64px;
    padding-top:64px;
    height:calc(56.25vw - 60px + 64px);
    min-height:564px;
  }
  #movie-section.movie-feature::before{height:150px}
  #movie-section.movie-feature::after{height:90px}
}
@media (max-width:620px){
  #anime-section.anime-grid-section{padding-bottom:44px}
  #movie-section.movie-feature{
    margin-top:-44px;
    padding-top:44px;
    height:calc(100svh - 70px + 44px);
    min-height:524px;
  }
  #movie-section.movie-feature::before{height:125px}
  #movie-section.movie-feature::after{height:72px}
}

/* ================================================================
   MOVIE TOP EDGE FADE
   Replace the Anime → Movies overlap with a subtle fade across the
   top 5% of the movie artwork.
   ================================================================ */
#anime-section.anime-grid-section{
  padding-bottom:0;
}
#movie-section.movie-feature{
  margin-top:0;
  padding-top:0;
  height:calc(56.25vw - 82px);
  min-height:560px;
}
#movie-section.movie-feature::before,
#movie-section.movie-feature::after{
  display:none;
}
#movie-section .movie-slide-vignette{
  background:
    linear-gradient(180deg,
      #02070d 0%,
      rgba(2,7,13,.88) 1.5%,
      rgba(2,7,13,.58) 3.2%,
      rgba(2,7,13,.18) 5%,
      transparent 7%),
    linear-gradient(90deg,rgba(2,7,13,.94) 0%,rgba(2,7,13,.72) 23%,rgba(2,7,13,.20) 57%,rgba(2,7,13,.06) 100%),
    linear-gradient(180deg,rgba(2,7,13,.10) 0%,rgba(2,7,13,0) 47%,rgba(2,7,13,.62) 100%),
    radial-gradient(circle at 67% 45%,rgba(245,255,0,.055),transparent 32%);
}
@media (max-width:900px){
  #movie-section.movie-feature{
    margin-top:0;
    padding-top:0;
    height:calc(56.25vw - 60px);
    min-height:500px;
  }
}
@media (max-width:620px){
  #movie-section.movie-feature{
    margin-top:0;
    padding-top:0;
    height:calc(100svh - 70px);
    min-height:480px;
  }
  #movie-section .movie-slide-vignette{
    background:
      linear-gradient(180deg,
        #02070d 0%,
        rgba(2,7,13,.86) 1.5%,
        rgba(2,7,13,.52) 3.2%,
        rgba(2,7,13,.12) 5%,
        transparent 7%),
      linear-gradient(90deg,rgba(2,7,13,.9) 0%,rgba(2,7,13,.4) 68%,rgba(2,7,13,.18) 100%),
      linear-gradient(180deg,rgba(2,7,13,.05) 0%,rgba(2,7,13,0) 42%,rgba(2,7,13,.9) 100%);
  }
}

/* ================================================================
   FINAL MOVIE TOP FADE — transparent into the page background
   The top 5% of the artwork fades to transparent instead of a
   dark overlay, and the Movies section starts 50px lower.
   ================================================================ */
#movie-section.movie-feature{
  margin-top:50px;
  padding-top:0;
  background:transparent;
}
#movie-section .movie-slide::before{
  display:none;
}
#movie-section .movie-slide>img{
  -webkit-mask-image:linear-gradient(to bottom,
    transparent 0%,
    rgba(0,0,0,.18) 1.5%,
    rgba(0,0,0,.55) 3%,
    #000 5%,
    #000 95%,
    rgba(0,0,0,.55) 97%,
    rgba(0,0,0,.18) 98.5%,
    transparent 100%);
  mask-image:linear-gradient(to bottom,
    transparent 0%,
    rgba(0,0,0,.18) 1.5%,
    rgba(0,0,0,.55) 3%,
    #000 5%,
    #000 95%,
    rgba(0,0,0,.55) 97%,
    rgba(0,0,0,.18) 98.5%,
    transparent 100%);
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-size:100% 100%;
  mask-size:100% 100%;
}
#movie-section .movie-slide-vignette{
  background:
    linear-gradient(90deg,rgba(2,7,13,.94) 0%,rgba(2,7,13,.72) 23%,rgba(2,7,13,.20) 57%,rgba(2,7,13,.06) 100%),
    linear-gradient(180deg,rgba(2,7,13,0) 0%,rgba(2,7,13,0) 47%,rgba(2,7,13,.62) 100%),
    radial-gradient(circle at 67% 45%,rgba(245,255,0,.055),transparent 32%);
}
@media (max-width:620px){
  #movie-section .movie-slide-vignette{
    background:
      linear-gradient(90deg,rgba(2,7,13,.9) 0%,rgba(2,7,13,.4) 68%,rgba(2,7,13,.18) 100%),
      linear-gradient(180deg,rgba(2,7,13,0) 0%,rgba(2,7,13,0) 42%,rgba(2,7,13,.9) 100%);
  }
}

/* ================================================================
   SECTION MORE BUTTONS
   Animated cinematic CTA for the full anime catalogue.
   ================================================================ */
.section-more-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:28px 24px 54px;
  position:relative;
  z-index:8;
  opacity:0;
  filter:blur(7px);
  transform:translate3d(0,34px,0) scale(.96);
  transition:opacity .75s ease,filter .75s ease,transform .85s var(--ease);
}
.section-more-wrap.is-visible{
  opacity:1;
  filter:blur(0);
  transform:none;
}
.section-more-btn{
  --cta-yellow:var(--yellow);
  position:relative;
  isolation:isolate;
  min-width:218px;
  height:58px;
  padding:0 23px 0 13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  overflow:hidden;
  border:1px solid rgba(245,255,0,.28);
  border-radius:32px;
  color:#f4f8fb;
  background:linear-gradient(135deg,rgba(10,22,32,.94),rgba(4,11,18,.9));
  box-shadow:0 14px 38px rgba(0,0,0,.28),inset 0 0 22px rgba(255,255,255,.018),0 0 0 rgba(245,255,0,0);
  text-decoration:none;
  font:700 13px/1 "Outfit",sans-serif;
  letter-spacing:.2px;
  transform:translateZ(0);
  transition:transform .35s var(--ease),border-color .35s ease,box-shadow .35s ease,color .35s ease;
}
.section-more-btn::before{
  content:"";
  position:absolute;
  inset:-80% -25%;
  z-index:-2;
  background:linear-gradient(105deg,transparent 40%,rgba(245,255,0,.24) 50%,transparent 60%);
  transform:translateX(-70%) rotate(8deg);
  transition:transform .8s var(--ease);
}
.section-more-btn::after{
  content:"";
  position:absolute;
  inset:1px;
  z-index:-1;
  border-radius:inherit;
  background:radial-gradient(circle at 18% 50%,rgba(245,255,0,.11),transparent 30%),linear-gradient(180deg,rgba(255,255,255,.035),transparent 48%);
  opacity:.7;
}
.section-more-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#070b0d;
  background:var(--cta-yellow);
  box-shadow:0 0 0 0 rgba(245,255,0,.2),0 0 22px rgba(245,255,0,.16);
  transition:transform .4s var(--ease),box-shadow .4s ease;
}
.section-more-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.section-more-text{position:relative;z-index:2}
.section-more-glow{
  position:absolute;
  width:8px;height:8px;
  left:30px;top:8px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 13px 3px rgba(245,255,0,.85);
  opacity:0;
  transform:scale(.5);
  transition:opacity .3s ease,transform .3s ease;
}
.section-more-btn:hover,
.section-more-btn:focus-visible{
  outline:none;
  color:#fff;
  transform:translateY(-4px) scale(1.015);
  border-color:rgba(245,255,0,.7);
  box-shadow:0 22px 48px rgba(0,0,0,.38),0 0 34px rgba(245,255,0,.12),inset 0 0 26px rgba(245,255,0,.035);
}
.section-more-btn:hover::before,
.section-more-btn:focus-visible::before{transform:translateX(70%) rotate(8deg)}
.section-more-btn:hover .section-more-icon,
.section-more-btn:focus-visible .section-more-icon{
  transform:translateX(3px) rotate(-5deg) scale(1.06);
  box-shadow:0 0 0 7px rgba(245,255,0,.055),0 0 28px rgba(245,255,0,.42);
}
.section-more-btn:hover .section-more-glow,
.section-more-btn:focus-visible .section-more-glow{opacity:1;transform:scale(1)}
.section-more-btn:active{transform:translateY(-1px) scale(.985)}

.movie-more-wrap{
  margin-top:15px;
  padding-top:0;
  padding-bottom:58px;
  background:transparent;
}

@media (max-width:700px){
  .section-more-wrap{padding:24px 18px 42px}
  .section-more-btn{min-width:198px;height:54px;font-size:12px}
  .movie-more-wrap{padding-top:14px;padding-bottom:44px}
}

@media (prefers-reduced-motion:reduce){
  .section-more-wrap{opacity:1;filter:none;transform:none;transition:none}
  .section-more-btn,.section-more-btn::before,.section-more-icon,.section-more-glow{transition:none}
}

/* ================================================================
   GENRES — full-capsule artwork + right-to-left transparent fade
   ================================================================ */
#genres-section.genres-section{
  position:relative;width:100%;padding:42px clamp(44px,7.2vw,112px) 108px;
  overflow:hidden;scroll-margin-top:82px;background:transparent;
}
#genres-section .genres-inner{position:relative;max-width:1440px;margin:0 auto;z-index:2}
#genres-section .genres-heading{margin-bottom:38px}
#genres-section .section-eyebrow{display:flex;align-items:center;gap:13px;margin-bottom:16px;color:#d6e0e7;font-size:11px;line-height:1;letter-spacing:3.2px;font-weight:700}
#genres-section .section-eyebrow i{display:block;width:36px;height:2px;background:var(--yellow);box-shadow:0 0 13px rgba(245,255,0,.7)}
#genres-section .genres-heading h2{margin:0;font-family:"Outfit",sans-serif;font-size:clamp(44px,4.2vw,68px);line-height:.98;letter-spacing:-2.5px;font-weight:800;color:#f8fafc}
#genres-section .genres-heading h2 em{font-style:normal;color:var(--yellow);text-shadow:0 0 25px rgba(245,255,0,.14)}
#genres-section .genres-heading p{margin:15px 0 0;color:#91a9bc;font-size:15px;line-height:1.5}
#genres-section .genres-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
#genres-section .genre-card{
  position:relative;isolation:isolate;display:block;height:184px;overflow:hidden;
  border:1px solid rgba(151,190,220,.18);border-radius:92px;
  background:#071321;box-shadow:0 16px 42px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.035);
  transition:transform .45s var(--ease),border-color .45s ease,box-shadow .45s ease;
  text-decoration:none;color:#fff;
}
#genres-section .genre-image{
  position:absolute;inset:0;width:100%;height:100%;z-index:1;overflow:hidden;border-radius:inherit;
  /* The artwork fills the entire capsule. The 16:9 source is cropped with cover. */
  -webkit-mask-image:linear-gradient(to left,#000 0%,#000 60%,rgba(0,0,0,.88) 68%,rgba(0,0,0,.48) 82%,transparent 100%);
  mask-image:linear-gradient(to left,#000 0%,#000 60%,rgba(0,0,0,.88) 68%,rgba(0,0,0,.48) 82%,transparent 100%);
}
#genres-section .genre-image img{
  width:100%;height:100%;display:block;object-fit:cover;object-position:center;
  filter:saturate(.98) contrast(1.04) brightness(.82);
  transform:scale(1.025);transition:transform .8s var(--ease),filter .6s ease;
}
#genres-section .genre-name{
  position:absolute;left:42px;top:50%;transform:translateY(-50%);z-index:4;
  font-family:"Outfit",sans-serif;font-size:clamp(30px,2.35vw,38px);line-height:1;font-weight:800;
  letter-spacing:-1.1px;text-shadow:0 5px 22px rgba(0,0,0,.68);
}
/* The reference calls for only the genre name and artwork inside the capsule. */
#genres-section .genre-icon,#genres-section .genre-arrow{display:none}
#genres-section .genre-shine{position:absolute;z-index:5;top:-30%;left:-20%;width:18%;height:160%;pointer-events:none;background:linear-gradient(100deg,transparent,rgba(255,255,255,.13),transparent);transform:translateX(-180%) rotate(12deg);transition:transform .9s var(--ease)}
#genres-section .genre-card:hover,#genres-section .genre-card:focus-visible{outline:none;transform:translateY(-6px);border-color:rgba(245,255,0,.46);box-shadow:0 25px 55px rgba(0,0,0,.38),0 0 30px rgba(245,255,0,.07)}
#genres-section .genre-card:hover .genre-image img,#genres-section .genre-card:focus-visible .genre-image img{transform:scale(1.08);filter:saturate(1.08) contrast(1.05) brightness(.9)}
#genres-section .genre-card:hover .genre-shine,#genres-section .genre-card:focus-visible .genre-shine{transform:translateX(760%) rotate(12deg)}
#genres-section .genres-heading.reveal-on-scroll{opacity:0;filter:blur(8px);transform:translateY(30px)}
#genres-section .genre-card.reveal-on-scroll{opacity:0;filter:blur(8px);transform:translateY(34px) scale(.97)}
#genres-section .genres-heading.reveal-on-scroll.is-visible{opacity:1;filter:none;transform:none;transition:opacity .7s ease,filter .7s ease,transform .8s var(--ease)}
#genres-section .genre-card.reveal-on-scroll.is-visible{opacity:1;filter:none;transform:none;transition:opacity .7s ease calc(var(--genre-index,0)*70ms),filter .7s ease calc(var(--genre-index,0)*70ms),transform .8s var(--ease) calc(var(--genre-index,0)*70ms),border-color .45s ease,box-shadow .45s ease}
@media(max-width:1050px){
  #genres-section.genres-section{padding-top:36px;padding-left:38px;padding-right:38px}
  #genres-section .genres-grid{gap:18px}
  #genres-section .genre-card{height:170px}
  #genres-section .genre-name{font-size:30px}
}
@media(max-width:820px){
  #genres-section .genres-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  #genres-section.genres-section{padding:42px 22px 78px}
  #genres-section .genres-heading{margin-bottom:28px}
  #genres-section .genres-heading h2{font-size:43px;letter-spacing:-1.8px}
  #genres-section .genres-grid{grid-template-columns:1fr;gap:15px}
  #genres-section .genre-card{height:154px;border-radius:78px}
  #genres-section .genre-image{border-radius:inherit}
  #genres-section .genre-name{left:28px;font-size:27px}
}
@media(prefers-reduced-motion:reduce){
  #genres-section .genre-card,#genres-section .genre-image img,#genres-section .genre-shine{transition:none!important}
  #genres-section .genres-heading.reveal-on-scroll,#genres-section .genre-card.reveal-on-scroll,#genres-section .genres-heading.reveal-on-scroll.is-visible,#genres-section .genre-card.reveal-on-scroll.is-visible{opacity:1;filter:none;transform:none;transition:none}
}

/* FINAL VISUAL CLEANUP — brand + movie artwork edges + darker page pattern */
.brand,
.brand:hover,
.brand:focus,
.brand:active{
  color:inherit;
  text-decoration:none;
}
.brand-copy strong{color:#f7f9fc;text-decoration:none}
.brand-copy strong span{color:var(--yellow);text-decoration:none}
.brand-copy small{text-decoration:none}

/* Keep the movie artwork clean at its top and bottom edges. */
#movie-section .movie-slide>img{
  -webkit-mask-image:none;
  mask-image:none;
}
#movie-section .movie-slide-vignette{
  background:linear-gradient(90deg,rgba(2,7,13,.82) 0%,rgba(2,7,13,.56) 23%,rgba(2,7,13,.12) 57%,rgba(2,7,13,0) 100%);
}

/* Darker, restrained navy dotted pattern. */
body{background:#030a12}
body > .bg-pattern{background:#030a12}
.bg-pattern:before{
  opacity:.25;
  background-image:radial-gradient(circle,rgba(255,255,255,.11) 0 1px,transparent 1.15px);
}
.bg-pattern:after{
  background:linear-gradient(180deg,rgba(1,5,9,.08),rgba(0,4,8,.24));
}

@media(max-width:620px){
  #movie-section .movie-slide-vignette{
    background:linear-gradient(90deg,rgba(2,7,13,.72) 0%,rgba(2,7,13,.34) 48%,rgba(2,7,13,.04) 78%,rgba(2,7,13,0) 100%);
  }
}

/* FINAL HEADER NAV — only the currently visible section gets the neon state. */
.nav-link,.nav-link:hover,.nav-link:focus,.nav-link:active{ text-decoration:none; }
.nav-link:not(.active)::after{ content:none !important; }
.nav-link.active{ color:var(--yellow) !important; text-shadow:0 0 14px rgba(245,255,0,.14); }
#anime-section.anime-grid-section{ scroll-margin-top:118px; }
#movie-section.movie-feature{ scroll-margin-top:82px; }
#genres-section.genres-section{ scroll-margin-top:82px; }

/* ================================================================
   MOBILE EXPERIENCE — premium touch-first responsive layout
   Desktop styles remain untouched above this block.
   ================================================================ */
.mobile-menu-toggle{display:none}
.mobile-nav-panel{display:none}

@media (max-width:820px){
  :root{--mobile-pad:18px;--mobile-header:68px}
  html,body{width:100%;min-width:0;overflow-x:hidden}
  html{scroll-padding-top:78px}
  body{min-width:0;background:#030a12}
  body.mobile-menu-open{overflow:hidden}

  .site-header{
    height:68px;padding:0 16px;gap:10px;
    background:rgba(3,8,14,.76);
    backdrop-filter:blur(18px) saturate(125%);
    -webkit-backdrop-filter:blur(18px) saturate(125%);
  }
  .brand{min-width:0;gap:9px;flex:1;overflow:hidden}
  .brand-mark{width:29px;height:31px;flex:0 0 29px}
  .brand-mark:before{border-top-width:15.5px;border-bottom-width:15.5px;border-left-width:23px}
  .brand-mark span{border-top-width:7px;border-bottom-width:7px;border-left-width:11px;left:9px;top:8.5px}
  .brand-copy{min-width:0}
  .brand-copy strong{font-size:22px;letter-spacing:-.9px}
  .brand-copy small{font-size:7px;letter-spacing:.7px;margin-top:3px;white-space:nowrap}
  .main-nav{display:none}
  .header-actions{min-width:0;gap:3px;flex:0 0 auto}
  .header-actions .icon-btn{display:none}
  .header-actions .icon-btn:first-child{display:grid;width:38px;height:38px}
  .login-btn{height:38px;margin-left:2px;padding:0 13px;border-radius:22px;font-size:11px;gap:5px}
  .login-btn svg{width:14px;height:14px}
  .mobile-menu-toggle{
    width:40px;height:40px;display:flex;flex:0 0 40px;flex-direction:column;align-items:center;justify-content:center;gap:5px;
    border:1px solid rgba(151,190,220,.17);border-radius:13px;background:rgba(8,17,27,.68);color:#eaf2f7;
    box-shadow:inset 0 1px rgba(255,255,255,.04);cursor:pointer;transition:.25s ease;
  }
  .mobile-menu-toggle span{width:17px;height:2px;border-radius:2px;background:currentColor;transition:transform .3s var(--ease),opacity .2s ease,width .3s var(--ease)}
  .mobile-menu-toggle:hover,.mobile-menu-toggle.is-open{color:var(--yellow);border-color:rgba(245,255,0,.42);box-shadow:0 0 22px rgba(245,255,0,.08)}
  .mobile-menu-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .mobile-menu-toggle.is-open span:nth-child(2){opacity:0;width:4px}
  .mobile-menu-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

  .mobile-nav-panel{position:fixed;inset:68px 0 0;z-index:98;display:block;visibility:hidden;pointer-events:none}
  .mobile-nav-panel.is-open{visibility:visible;pointer-events:auto}
  .mobile-nav-backdrop{position:absolute;inset:0;background:rgba(1,5,9,.62);backdrop-filter:blur(7px);opacity:0;transition:opacity .3s ease}
  .mobile-nav-panel.is-open .mobile-nav-backdrop{opacity:1}
  .mobile-nav{
    position:absolute;top:12px;left:14px;right:14px;padding:9px;border:1px solid rgba(151,190,220,.16);border-radius:22px;
    background:linear-gradient(145deg,rgba(7,17,27,.98),rgba(3,9,15,.97));box-shadow:0 28px 70px rgba(0,0,0,.55),0 0 35px rgba(0,0,0,.25);
    transform:translateY(-14px) scale(.98);opacity:0;transition:transform .35s var(--ease),opacity .25s ease;
  }
  .mobile-nav-panel.is-open .mobile-nav{transform:none;opacity:1}
  .mobile-nav-link{height:54px;padding:0 16px;display:flex;align-items:center;gap:13px;border-radius:15px;color:#aebdca;text-decoration:none;font:600 14px "Space Grotesk",sans-serif;transition:.22s ease}
  .mobile-nav-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .mobile-nav-link.active{color:var(--yellow);background:rgba(245,255,0,.065);box-shadow:inset 0 0 0 1px rgba(245,255,0,.10)}
  .mobile-nav-link:active{transform:scale(.985)}

  .hero{
    margin-top:68px;height:auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:0;
    background:transparent;
  }
  .hero-copy{order:1;padding:62px var(--mobile-pad) 10px;text-align:left}
  .eyebrow{font-size:8.5px;letter-spacing:1.5px;gap:9px}
  .eyebrow i{width:34px}
  h1{font-size:clamp(37px,11.5vw,54px);line-height:1.03;letter-spacing:-1.8px;margin:18px 0 15px}
  .hero-description{font-size:12.5px;line-height:1.55;margin-bottom:20px;color:#8fa5b6}
  .hero-description br{display:none}
  .search-box{width:100%;height:55px;padding-left:15px;border-radius:29px}
  .search-icon{width:19px;height:19px}
  .search-box input{font-size:12px;padding:0 10px}
  .search-box button{width:43px;height:43px;flex:0 0 43px}
  .search-box button svg{width:19px;height:19px}
  .chips{gap:8px;margin-top:13px;overflow-x:auto;padding-bottom:3px;scrollbar-width:none;mask-image:linear-gradient(90deg,#000 0%,#000 90%,transparent 100%)}
  .chips::-webkit-scrollbar{display:none}
  .chip{flex:0 0 auto;padding:8px 12px;font-size:9.5px}
  .scroll-cue{margin-top:19px;font-size:9.5px;gap:9px}
  .scroll-icon{width:14px;height:24px}.scroll-icon b{left:4px;top:4px;width:3px;height:6px}

  .hero-carousel{order:2;width:100%;height:455px;min-height:455px;display:block;overflow:hidden}
  .carousel-stage{width:100%;height:410px;margin:0;perspective:1000px;transform:none}
  .anime-card{width:205px;height:335px;top:28px;border-radius:17px;transition:transform 850ms var(--ease),opacity 650ms ease,filter 650ms ease,box-shadow 700ms ease}
  .card-center{transform:translate3d(-50%,0,70px) scale(1);box-shadow:0 0 0 1px rgba(245,255,0,.17),0 0 36px rgba(245,255,0,.13),0 25px 55px rgba(0,0,0,.72);z-index:5}
  .card-left{transform:translate3d(calc(-50% - 145px),28px,-130px) rotateY(18deg) rotateZ(-1deg) scale(.72);opacity:.6}
  .card-right{transform:translate3d(calc(-50% + 145px),28px,-130px) rotateY(-18deg) rotateZ(1deg) scale(.72);opacity:.6}
  .card-badge{top:10px;left:10px;padding:5px 7px;font-size:7px}
  .neon-floor{width:470px;height:120px;bottom:28px;transform:translateX(-50%) rotateX(64deg) rotateZ(-3deg)}
  .carousel-arrow{width:36px;height:36px;font-size:25px;top:190px;background:rgba(3,10,16,.62);backdrop-filter:blur(8px);z-index:12}
  .arrow-left{left:10px}.arrow-right{right:10px}
  .carousel-dots{bottom:7px;gap:7px}
  .carousel-dots .dot{height:4px;width:12px}.carousel-dots .dot.active{width:28px}

  #anime-section.anime-grid-section{padding:42px var(--mobile-pad) 52px;scroll-margin-top:74px}
  #anime-section .section-heading{margin-bottom:21px}
  #anime-section .section-eyebrow{font-size:9px;letter-spacing:1.8px;gap:9px;margin-bottom:11px}
  #anime-section .section-eyebrow i{width:29px}
  #anime-section .section-heading-row{display:block}
  #anime-section h2{font-size:38px;letter-spacing:-1.6px}
  #anime-section .section-heading p{font-size:11.5px;margin-top:9px;line-height:1.45;max-width:330px}
  #anime-section .section-arrows{display:none}
  #anime-section .anime-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  #anime-section .anime-item{border-radius:13px;padding-bottom:11px;box-shadow:0 13px 28px rgba(0,0,0,.28)}
  #anime-section .anime-poster{aspect-ratio:16/10}
  #anime-section .anime-info{padding:0 10px}
  #anime-section .meta{padding-top:8px;font-size:8px}
  #anime-section h3{font-size:12px;margin:6px 0 7px}
  #anime-section .status{gap:5px;margin-bottom:9px;font-size:8.5px}
  #anime-section .status-dot{width:5px;height:5px;flex-basis:5px}
  #anime-section .view-btn{gap:5px;font-size:9px}
  #anime-section .view-btn svg{width:16px;height:16px}

  .section-more-wrap{padding:18px var(--mobile-pad) 38px;text-align:center}
  .section-more-btn{min-width:190px;width:min(100%,240px);height:52px;border-radius:28px;padding:0 15px 0 10px;font-size:11px}
  .section-more-icon{width:32px;height:32px;flex-basis:32px}
  .section-more-icon svg{width:16px;height:16px}
  .movie-more-wrap{margin-top:0;padding:14px var(--mobile-pad) 38px}

  #movie-section.movie-feature{margin-top:0;height:calc(100svh - 68px);min-height:520px;max-height:700px;scroll-margin-top:68px;overflow:hidden}
  #movie-section .movie-slide>img{object-position:center center}
  #movie-section .movie-slide-content{left:0;right:0;bottom:80px;width:auto;padding:0 22px;max-width:none}
  #movie-section .movie-eyebrow{font-size:8px;letter-spacing:2px}
  #movie-section .movie-slide-content h2{font-size:clamp(34px,12vw,54px);letter-spacing:-1.8px;margin:10px 0 5px}
  #movie-section .movie-subtitle{font-size:10px;letter-spacing:2px;line-height:1.3}
  #movie-section .movie-slide-content p{font-size:11.5px;line-height:1.5;max-width:320px;margin:10px 0 16px}
  #movie-section .movie-actions{gap:9px}
  #movie-section .movie-watch-btn,#movie-section .movie-info-btn{height:42px;padding:0 15px;border-radius:23px;font-size:10px}
  #movie-section .movie-progress{bottom:24px;gap:6px}
  #movie-section .movie-progress button{width:17px;height:4px}
  #movie-section .movie-progress button.is-active{width:34px}
  #movie-section .movie-arrow{width:36px;height:36px;top:50%;font-size:25px}
  #movie-section .movie-arrow-left{left:10px}.movie-arrow-right{right:10px}
  #movie-section .movie-slide-vignette{background:linear-gradient(90deg,rgba(2,7,13,.82) 0%,rgba(2,7,13,.34) 54%,rgba(2,7,13,.04) 100%),linear-gradient(180deg,transparent 35%,rgba(2,7,13,.76) 100%)}

  #genres-section.genres-section{padding:48px var(--mobile-pad) 72px;scroll-margin-top:70px}
  #genres-section .genres-heading{margin-bottom:24px}
  #genres-section .section-eyebrow{font-size:9px;letter-spacing:2px;gap:9px;margin-bottom:11px}
  #genres-section .section-eyebrow i{width:29px}
  #genres-section .genres-heading h2{font-size:40px;letter-spacing:-1.8px}
  #genres-section .genres-heading p{font-size:11.5px;margin-top:10px}
  #genres-section .genres-grid{grid-template-columns:1fr;gap:12px}
  #genres-section .genre-card{height:138px;border-radius:70px}
  #genres-section .genre-name{left:25px;font-size:25px;letter-spacing:-.8px}
  #genres-section .genre-image{-webkit-mask-image:linear-gradient(to left,#000 0%,#000 60%,rgba(0,0,0,.72) 74%,transparent 100%);mask-image:linear-gradient(to left,#000 0%,#000 60%,rgba(0,0,0,.72) 74%,transparent 100%)}

  .login-modal{padding:12px}
  .login-card{width:min(430px,100%);max-height:calc(100svh - 24px);overflow:auto;padding:24px 18px 20px;border-radius:22px}
  .login-brand .brand-copy strong{font-size:23px}
  .login-google,.login-submit,.login-field input{height:50px}
}

@media (max-width:420px){
  .site-header{padding:0 11px}
  .brand{gap:7px}.brand-mark{width:27px;flex-basis:27px}.brand-copy strong{font-size:20px}.brand-copy small{font-size:6.5px}
  .header-actions .icon-btn:first-child{width:34px}
  .login-btn{padding:0 10px;font-size:10px}
  .mobile-menu-toggle{width:37px;flex-basis:37px}
  .hero-copy{padding-top:50px}
  h1{font-size:36px}
  .hero-carousel{height:420px;min-height:420px}
  .carousel-stage{height:380px}
  .anime-card{width:190px;height:312px}
  .card-left{transform:translate3d(calc(-50% - 128px),30px,-130px) rotateY(18deg) scale(.69)}
  .card-right{transform:translate3d(calc(-50% + 128px),30px,-130px) rotateY(-18deg) scale(.69)}
  #anime-section h2{font-size:35px}
  #anime-section .anime-grid{gap:10px}
  #anime-section .anime-item{border-radius:12px}
  #anime-section h3{font-size:11px}
  #genres-section .genre-card{height:126px}
  #genres-section .genre-name{font-size:23px;left:22px}
}

@media (prefers-reduced-motion:reduce){
  .mobile-nav,.mobile-nav-backdrop,.mobile-menu-toggle span{transition:none!important}
}

/* ================================================================
   ALL ANIME PAGE — same card component as the home Anime section
   ================================================================ */
body.anime-page{min-width:1180px}
body.anime-page .site-header{position:sticky;top:0;z-index:100}
.anime-library{min-height:calc(100vh - 82px);padding-top:72px!important;padding-bottom:90px!important}
.anime-page-top{margin-bottom:34px}
.anime-page-top .section-eyebrow{display:flex;align-items:center;gap:11px;color:#d8e2e8;font-size:10px;letter-spacing:2.4px;font-weight:700;margin-bottom:13px}
.anime-page-top .section-eyebrow i{display:block;width:34px;height:2px;background:var(--yellow);box-shadow:0 0 11px rgba(245,255,0,.65)}
.anime-page-top h1{margin:0;font:800 clamp(42px,4.8vw,68px)/.98 "Outfit",sans-serif;letter-spacing:-2.4px}
.anime-page-top h1 em{font-style:normal;color:var(--yellow);text-shadow:0 0 28px rgba(245,255,0,.16)}
.anime-page-description{margin:13px 0 0;color:#849bad;font-size:13px;line-height:1.5}
.anime-page-tools{display:flex;align-items:center;gap:14px;margin-top:28px}
.anime-page-search{width:min(520px,100%);height:50px;display:flex;align-items:center;padding:0 17px;border:1px solid #304a60;border-radius:27px;background:rgba(3,9,15,.68);box-shadow:inset 0 0 25px rgba(0,210,255,.025),0 13px 35px rgba(0,0,0,.2);transition:.25s ease}
.anime-page-search:focus-within{border-color:#5a7e99;box-shadow:0 0 0 3px rgba(0,216,255,.04),0 13px 35px rgba(0,0,0,.3)}
.anime-page-search svg{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:#e4edf3;stroke-width:2;stroke-linecap:round}
.anime-page-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#fff;padding:0 11px;font:500 12px "Space Grotesk",sans-serif}
.anime-page-search input::placeholder{color:#8195a7}
.anime-filter-btn{height:50px;padding:0 20px;display:inline-flex;align-items:center;gap:9px;border:1px solid rgba(245,255,0,.42);border-radius:27px;background:rgba(7,14,19,.65);color:#f5f8fa;font:700 12px "Space Grotesk",sans-serif;box-shadow:0 0 18px rgba(245,255,0,.05);cursor:pointer;transition:.22s ease}
.anime-filter-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.anime-filter-btn:hover{background:rgba(245,255,0,.09);color:var(--yellow);transform:translateY(-1px);box-shadow:0 0 25px rgba(245,255,0,.1)}
#anime-section .anime-page-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
#anime-section .anime-page-grid .anime-item{border-radius:18px;padding-bottom:16px}
#anime-section .anime-page-grid .anime-poster{aspect-ratio:16/9}
#anime-section .anime-page-grid h3{font-size:17px;margin-top:9px}
#anime-section .anime-page-grid .meta{font-size:11px;padding-top:12px}
#anime-section .anime-page-grid .status{font-size:12px;margin-bottom:13px}
#anime-section .anime-page-grid .view-btn{font-size:12px}
#anime-section .anime-page-grid .view-btn svg{width:20px;height:20px}
.anime-page-empty{padding:70px 20px;text-align:center;color:#8096a8;border:1px dashed rgba(151,190,220,.15);border-radius:20px;background:rgba(4,11,18,.45)}
.anime-pagination{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:40px}
.anime-pagination button{width:42px;height:42px;padding:0;border:1px solid rgba(151,190,220,.18);border-radius:50%;background:rgba(3,9,15,.55);color:#b7c6d1;font:600 13px "Space Grotesk",sans-serif;cursor:pointer;transition:.22s ease}
.anime-pagination button:hover,.anime-pagination button.active{background:var(--yellow);border-color:var(--yellow);color:#06090b;box-shadow:0 0 24px rgba(245,255,0,.18);transform:translateY(-1px)}
.anime-page-toast{position:fixed;left:50%;bottom:28px;z-index:120;transform:translate(-50%,14px);padding:11px 17px;border:1px solid rgba(245,255,0,.2);border-radius:25px;background:rgba(5,12,18,.92);backdrop-filter:blur(14px);color:#dce7ed;font-size:11px;box-shadow:0 18px 45px rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:.25s ease}
.anime-page-toast.show{opacity:1;transform:translate(-50%,0)}
.anime-page #anime-section .reveal-on-scroll{opacity:1;filter:none;transform:translate3d(0,0,0)}
@media (max-width:1280px){#anime-section .anime-page-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.anime-library{padding-left:48px!important;padding-right:48px!important}}
@media (max-width:820px){
  body.anime-page{min-width:0}
  .anime-library{padding:46px var(--mobile-pad) 55px!important;min-height:calc(100vh - 68px)}
  .anime-page-top{margin-bottom:24px}
  .anime-page-top .section-eyebrow{font-size:8.5px;letter-spacing:1.8px}
  .anime-page-top h1{font-size:clamp(38px,11vw,52px);letter-spacing:-1.7px}
  .anime-page-description{font-size:11px;max-width:360px}
  .anime-page-tools{gap:9px;margin-top:20px}
  .anime-page-search{height:48px}
  .anime-filter-btn{height:48px;padding:0 15px}
  #anime-section .anime-page-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  #anime-section .anime-page-grid .anime-item{border-radius:13px;padding-bottom:11px}
  #anime-section .anime-page-grid .anime-poster{aspect-ratio:16/10}
  #anime-section .anime-page-grid .anime-info{padding:0 10px}
  #anime-section .anime-page-grid .meta{padding-top:8px;font-size:8px}
  #anime-section .anime-page-grid h3{font-size:12px;margin:6px 0 7px}
  #anime-section .anime-page-grid .status{gap:5px;margin-bottom:9px;font-size:8.5px}
  #anime-section .anime-page-grid .status-dot{width:5px;height:5px;flex-basis:5px}
  #anime-section .anime-page-grid .view-btn{gap:5px;font-size:9px}
  #anime-section .anime-page-grid .view-btn svg{width:16px;height:16px}
  .anime-pagination{margin-top:28px}
  .anime-pagination button{width:37px;height:37px}
}
@media (max-width:420px){
  .anime-page-tools{align-items:stretch}
  .anime-page-search{flex:1;min-width:0}
  .anime-filter-btn span{display:none}
  .anime-filter-btn{width:48px;flex:0 0 48px;padding:0;justify-content:center}
  #anime-section .anime-page-grid{gap:10px}
}

/* Anime library: five cards per row on desktop, 25 cards per page. */
#anime-section .anime-page-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
#anime-section .anime-page-grid .anime-item{border-radius:15px;padding-bottom:14px}
#anime-section .anime-page-grid .anime-poster{aspect-ratio:16/9}
#anime-section .anime-page-grid .anime-info{padding:0 14px}
#anime-section .anime-page-grid .meta{padding-top:10px;font-size:11px}
#anime-section .anime-page-grid h3{font-size:15px;margin:8px 0 9px}
#anime-section .anime-page-grid .status{font-size:11px;margin-bottom:13px}

/* Upgraded View button — keeps the same View text but gives it a stronger interactive treatment. */
#anime-section .anime-page-grid .view-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:40px;
  min-width:112px;
  padding:0 13px 0 8px;
  overflow:hidden;
  border:1px solid rgba(245,255,0,.32);
  border-radius:999px;
  background:linear-gradient(135deg,rgba(245,255,0,.12),rgba(7,17,27,.94));
  color:#f0f5f7;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  letter-spacing:.15px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.035),0 8px 20px rgba(0,0,0,.24),0 0 18px rgba(245,255,0,.055);
  transition:transform .25s ease,color .25s ease,border-color .25s ease,box-shadow .25s ease,background .25s ease;
}
#anime-section .anime-page-grid .view-btn .view-icon{
  width:27px;height:27px;flex:0 0 27px;display:grid;place-items:center;border-radius:50%;
  background:var(--yellow);color:#071017;
  box-shadow:0 0 15px rgba(245,255,0,.22);
}
#anime-section .anime-page-grid .view-btn .view-icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#anime-section .anime-page-grid .view-btn .view-arrow{margin-left:auto;font-size:16px;line-height:1;color:var(--yellow);transition:transform .25s ease}
#anime-section .anime-page-grid .view-btn:hover .view-arrow,#anime-section .anime-page-grid .view-btn:focus-visible .view-arrow{transform:translateX(3px)}
#anime-section .anime-page-grid .view-btn:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.2) 50%,transparent 75%);
  transform:translateX(-120%);
  transition:transform .55s ease;
  pointer-events:none;
}
#anime-section .anime-page-grid .view-btn:hover,
#anime-section .anime-page-grid .view-btn:focus-visible{
  outline:none;color:#06090b;border-color:var(--yellow);background:var(--yellow);
  transform:translateY(-2px);box-shadow:0 9px 24px rgba(0,0,0,.35),0 0 22px rgba(245,255,0,.18);
}
#anime-section .anime-page-grid .view-btn:hover:after,
#anime-section .anime-page-grid .view-btn:focus-visible:after{transform:translateX(120%)}
#anime-section .anime-page-grid .view-btn:hover .view-icon,
#anime-section .anime-page-grid .view-btn:focus-visible .view-icon{background:rgba(6,9,11,.13);color:#06090b;transform:scale(1.05);box-shadow:none}
#anime-section .anime-page-grid .view-btn:hover .view-arrow,
#anime-section .anime-page-grid .view-btn:focus-visible .view-arrow{color:#06090b;transform:translateX(2px)}

.anime-pagination[hidden]{display:none}
.anime-pagination button:disabled{opacity:.28;cursor:not-allowed;transform:none!important;box-shadow:none!important;background:rgba(3,9,15,.55)!important;color:#80909b!important;border-color:rgba(151,190,220,.12)!important}
.anime-pagination .pagination-arrow{font-size:21px;line-height:1}

@media (max-width:1280px){
  #anime-section .anime-page-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
  .anime-library{padding-left:48px!important;padding-right:48px!important}
}
@media (max-width:1050px){
  #anime-section .anime-page-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
}
@media (max-width:820px){
  #anime-section .anime-page-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  #anime-section .anime-page-grid .anime-item{border-radius:13px;padding-bottom:11px}
  #anime-section .anime-page-grid .anime-poster{aspect-ratio:16/10}
  #anime-section .anime-page-grid .anime-info{padding:0 10px}
  #anime-section .anime-page-grid .meta{padding-top:8px;font-size:8px}
  #anime-section .anime-page-grid h3{font-size:12px;margin:6px 0 7px}
  #anime-section .anime-page-grid .status{gap:5px;margin-bottom:9px;font-size:8.5px}
  #anime-section .anime-page-grid .status-dot{width:5px;height:5px;flex-basis:5px}
  #anime-section .anime-page-grid .view-btn{min-height:29px;gap:5px;padding:0 8px 0 5px;font-size:9px;border-radius:16px}
  #anime-section .anime-page-grid .view-icon{width:20px;height:20px}
  #anime-section .anime-page-grid .view-icon svg{width:13px;height:13px}
  #anime-section .anime-page-grid .view-arrow{font-size:13px}
}
@media (max-width:420px){
  #anime-section .anime-page-grid{gap:10px}
  #anime-section .anime-page-grid .view-label{font-size:8.5px}
}

/* Smart anime filters */
.anime-filter-btn{position:relative}
.anime-filter-btn.has-filter{background:rgba(245,255,0,.10);border-color:rgba(245,255,0,.7);color:var(--yellow)}
.filter-count{display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:var(--yellow);color:#06090b;font-size:9px;font-weight:900}
.anime-filter-panel{margin-top:14px;padding:20px;border:1px solid rgba(245,255,0,.18);border-radius:20px;background:linear-gradient(145deg,rgba(7,17,27,.94),rgba(3,9,15,.9));box-shadow:0 20px 50px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.035);backdrop-filter:blur(18px);animation:filterIn .22s ease both}
@keyframes filterIn{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}
.filter-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}
.filter-kicker{display:block;color:var(--yellow);font:800 9px/1 "Space Grotesk",sans-serif;letter-spacing:2px;margin-bottom:5px}
.filter-panel-head h2{margin:0;color:#eef5f8;font:800 20px/1 "Outfit",sans-serif}
.filter-close{width:32px;height:32px;border:1px solid rgba(151,190,220,.16);border-radius:50%;background:rgba(255,255,255,.03);color:#b9c8d2;font-size:20px;cursor:pointer;transition:.2s ease}
.filter-close:hover{color:var(--yellow);border-color:rgba(245,255,0,.5);transform:rotate(90deg)}
.filter-fields{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.filter-fields label{display:flex;flex-direction:column;gap:7px;min-width:0}
.filter-fields label>span{font:700 9px "Space Grotesk",sans-serif;color:#8298aa;text-transform:uppercase;letter-spacing:1px}
.filter-fields select{width:100%;height:42px;padding:0 12px;border:1px solid rgba(151,190,220,.14);border-radius:11px;background:#07121c;color:#dfe9ee;outline:none;font:600 11px "Space Grotesk",sans-serif;cursor:pointer}
.filter-fields select:focus{border-color:rgba(245,255,0,.55);box-shadow:0 0 0 3px rgba(245,255,0,.05)}
.filter-panel-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.filter-reset,.filter-apply{height:40px;border-radius:20px;padding:0 17px;font:800 11px "Space Grotesk",sans-serif;cursor:pointer;transition:.2s ease}
.filter-reset{border:1px solid rgba(151,190,220,.15);background:transparent;color:#9cafbc}
.filter-reset:hover{color:#fff;border-color:rgba(151,190,220,.35)}
.filter-apply{display:inline-flex;align-items:center;gap:12px;border:1px solid var(--yellow);background:var(--yellow);color:#06090b;box-shadow:0 0 20px rgba(245,255,0,.12)}
.filter-apply b{font-size:16px;transition:transform .2s ease}.filter-apply:hover{transform:translateY(-1px);box-shadow:0 0 28px rgba(245,255,0,.22)}.filter-apply:hover b{transform:translateX(3px)}
@media(max-width:1050px){.filter-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.anime-filter-panel{padding:15px;border-radius:16px}.filter-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.filter-panel-head h2{font-size:17px}.filter-panel-actions{justify-content:stretch}.filter-reset,.filter-apply{flex:1}}
@media(max-width:420px){.filter-fields{grid-template-columns:1fr}.filter-panel-actions{flex-direction:column}.filter-reset,.filter-apply{width:100%;justify-content:center}.filter-count{min-width:16px;height:16px;font-size:8px}}

/* Movie library uses the same card/layout system as Anime, with its own section id. */
#movie-section .anime-page-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
#movie-section .anime-page-grid .anime-item{border-radius:15px;padding-bottom:14px}
#movie-section .anime-page-grid .anime-poster{aspect-ratio:16/9}
#movie-section .anime-page-grid .anime-info{padding:0 14px}
#movie-section .anime-page-grid .meta{padding-top:10px;font-size:11px}
#movie-section .anime-page-grid h3{font-size:15px;margin:8px 0 9px}
#movie-section .anime-page-grid .status{font-size:11px;margin-bottom:13px}
#movie-section .anime-page-grid .view-btn{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 11px 0 7px;overflow:hidden;border:1px solid rgba(245,255,0,.16);border-radius:18px;background:linear-gradient(135deg,rgba(245,255,0,.055),rgba(7,17,27,.8));color:#d7e2e8;text-decoration:none;font-size:11px;font-weight:700;letter-spacing:.1px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),0 7px 18px rgba(0,0,0,.2);transition:transform .25s ease,color .25s ease,border-color .25s ease,box-shadow .25s ease,background .25s ease}
#movie-section .anime-page-grid .view-btn:after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.2) 50%,transparent 75%);transform:translateX(-120%);transition:transform .55s ease;pointer-events:none}
#movie-section .anime-page-grid .view-icon{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:rgba(245,255,0,.11);color:var(--yellow);box-shadow:0 0 13px rgba(245,255,0,.08);transition:transform .25s ease,background .25s ease,box-shadow .25s ease}
#movie-section .anime-page-grid .view-icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#movie-section .anime-page-grid .view-arrow{font-size:15px;line-height:1;color:var(--yellow);transform:translateX(-2px);transition:transform .25s ease}
#movie-section .anime-page-grid .view-btn:hover,#movie-section .anime-page-grid .view-btn:focus-visible{outline:none;color:#06090b;border-color:var(--yellow);background:var(--yellow);transform:translateY(-2px);box-shadow:0 9px 24px rgba(0,0,0,.35),0 0 22px rgba(245,255,0,.18)}
#movie-section .anime-page-grid .view-btn:hover:after,#movie-section .anime-page-grid .view-btn:focus-visible:after{transform:translateX(120%)}
#movie-section .anime-page-grid .view-btn:hover .view-icon,#movie-section .anime-page-grid .view-btn:focus-visible .view-icon{background:rgba(6,9,11,.13);color:#06090b;transform:scale(1.05);box-shadow:none}
#movie-section .anime-page-grid .view-btn:hover .view-arrow,#movie-section .anime-page-grid .view-btn:focus-visible .view-arrow{color:#06090b;transform:translateX(2px)}
@media(max-width:1280px){#movie-section .anime-page-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}}
@media(max-width:1050px){#movie-section .anime-page-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}}
@media(max-width:820px){#movie-section .anime-page-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#movie-section .anime-page-grid .anime-item{border-radius:13px;padding-bottom:11px}#movie-section .anime-page-grid .anime-poster{aspect-ratio:16/10}#movie-section .anime-page-grid .anime-info{padding:0 10px}#movie-section .anime-page-grid .meta{padding-top:8px;font-size:8px}#movie-section .anime-page-grid h3{font-size:12px;margin:6px 0 7px}#movie-section .anime-page-grid .status{gap:5px;margin-bottom:9px;font-size:8.5px}#movie-section .anime-page-grid .view-btn{gap:5px;font-size:9px}#movie-section .anime-page-grid .view-btn svg{width:16px;height:16px}}
@media(max-width:420px){#movie-section .anime-page-grid{gap:10px}}

.search-alert{position:fixed;top:86px;left:50%;transform:translate(-50%,-18px);z-index:9999;display:flex;align-items:center;gap:12px;min-width:min(520px,calc(100vw - 28px));padding:13px 15px;border:1px solid rgba(255,221,54,.42);border-radius:14px;background:rgba(7,13,20,.94);box-shadow:0 16px 45px rgba(0,0,0,.45),0 0 28px rgba(255,221,54,.10);backdrop-filter:blur(16px);opacity:0;pointer-events:none;transition:.24s ease;color:#dce8ef}.search-alert.show{transform:translate(-50%,0);opacity:1;pointer-events:auto}.search-alert-icon{width:28px;height:28px;display:grid;place-items:center;flex:0 0 28px;border-radius:50%;background:rgba(255,221,54,.14);color:var(--yellow);font:800 14px "Space Grotesk",sans-serif}.search-alert div{display:flex;flex-direction:column;gap:2px;min-width:0}.search-alert strong{font:800 11px "Space Grotesk",sans-serif;color:var(--yellow);text-transform:uppercase;letter-spacing:.08em}.search-alert span:not(.search-alert-icon){font:500 11px "Space Grotesk",sans-serif;color:#a9bbc7}.search-alert button{margin-left:auto;border:0;background:none;color:#8da1af;font-size:22px;cursor:pointer;line-height:1}.search-alert[hidden]{display:none}@media(max-width:600px){.search-alert{top:70px;padding:11px 12px}.search-alert span:not(.search-alert-icon){font-size:10px}}

/* ================= HOME — BUTTON POLISH ================= */
/* A single visual language for every primary/secondary control on index.html. */
#anime-section .anime-item .view-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:9px;
  min-width:108px;
  height:38px;
  margin-top:2px;
  padding:0 10px 0 7px;
  overflow:hidden;
  border:1px solid rgba(245,255,0,.24);
  border-radius:21px;
  color:#e8f0f4;
  background:linear-gradient(135deg,rgba(245,255,0,.075),rgba(5,13,21,.92) 72%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),0 7px 20px rgba(0,0,0,.22);
  text-decoration:none;
  font-size:11px;
  font-weight:800;
  letter-spacing:.15px;
  transition:transform .25s var(--ease),border-color .25s ease,color .25s ease,background .25s ease,box-shadow .25s ease;
}
#anime-section .anime-item .view-btn::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.14) 50%,transparent 75%);
  transform:translateX(-125%);
  transition:transform .55s ease;
}
#anime-section .anime-item .view-btn .view-icon,
#anime-section .anime-item .view-btn .view-label,
#anime-section .anime-item .view-btn .view-arrow{
  position:relative;
  z-index:1;
}
#anime-section .anime-item .view-btn .view-icon{
  width:25px;
  height:25px;
  flex:0 0 25px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#070a0c;
  background:var(--yellow);
  box-shadow:0 0 15px rgba(245,255,0,.22);
  transition:transform .25s ease,box-shadow .25s ease,background .25s ease;
}
#anime-section .anime-item .view-btn .view-icon svg{
  width:14px;
  height:14px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.1;
  stroke-linecap:round;
  stroke-linejoin:round;
}
#anime-section .anime-item .view-btn .view-arrow{
  margin-left:auto;
  color:var(--yellow);
  font-size:16px;
  line-height:1;
  transition:transform .25s ease,color .25s ease;
}
#anime-section .anime-item .view-btn:hover,
#anime-section .anime-item .view-btn:focus-visible{
  outline:none;
  color:#06090b;
  border-color:var(--yellow);
  background:var(--yellow);
  transform:translateY(-2px);
  box-shadow:0 11px 26px rgba(0,0,0,.32),0 0 22px rgba(245,255,0,.16);
}
#anime-section .anime-item .view-btn:hover::before,
#anime-section .anime-item .view-btn:focus-visible::before{transform:translateX(125%)}
#anime-section .anime-item .view-btn:hover .view-icon,
#anime-section .anime-item .view-btn:focus-visible .view-icon{
  background:rgba(6,9,11,.12);
  box-shadow:none;
  transform:scale(1.05);
}
#anime-section .anime-item .view-btn:hover .view-arrow,
#anime-section .anime-item .view-btn:focus-visible .view-arrow{
  color:#06090b;
  transform:translateX(3px);
}

/* Featured-section navigation arrows */
#anime-section .section-arrow{
  width:44px;
  height:44px;
  border:1px solid rgba(151,190,220,.20);
  background:linear-gradient(145deg,rgba(12,25,36,.92),rgba(3,9,15,.76));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),0 8px 20px rgba(0,0,0,.22);
}
#anime-section .section-arrow span{font-size:25px;font-weight:500}
#anime-section .section-arrow:hover,
#anime-section .section-arrow:focus-visible{
  outline:none;
  color:#06090b;
  border-color:var(--yellow);
  background:var(--yellow);
  box-shadow:0 10px 25px rgba(0,0,0,.3),0 0 22px rgba(245,255,0,.15);
}

/* Other Anime / Other Movie CTA */
.section-more-btn{
  min-width:226px;
  height:56px;
  padding:0 22px 0 10px;
  gap:11px;
  border-color:rgba(245,255,0,.30);
  background:linear-gradient(135deg,rgba(12,25,36,.96),rgba(4,11,18,.94));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),0 14px 34px rgba(0,0,0,.28);
}
.section-more-icon{
  width:36px;
  height:36px;
  flex:0 0 36px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#070a0c;
  background:var(--yellow);
  box-shadow:0 0 18px rgba(245,255,0,.20);
}
.section-more-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.section-more-text{font-weight:800}
.section-more-btn:hover,
.section-more-btn:focus-visible{
  outline:none;
  transform:translateY(-3px);
  border-color:var(--yellow);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.035),0 18px 40px rgba(0,0,0,.34),0 0 24px rgba(245,255,0,.10);
}
.section-more-btn:hover .section-more-icon,
.section-more-btn:focus-visible .section-more-icon{transform:translateX(2px);box-shadow:0 0 22px rgba(245,255,0,.34)}

/* Movie feature actions */
#movie-section .movie-watch-btn,
#movie-section .movie-info-btn{
  min-width:132px;
  height:48px;
  border-radius:25px;
  padding:0 19px;
  font-weight:800;
  letter-spacing:.1px;
  box-shadow:0 9px 25px rgba(0,0,0,.22);
}
#movie-section .movie-watch-btn{border:1px solid var(--yellow)}
#movie-section .movie-info-btn{border-color:rgba(159,193,215,.28)}
#movie-section .movie-info-btn:hover,
#movie-section .movie-info-btn:focus-visible{outline:none}

@media(max-width:820px){
  #anime-section .anime-item .view-btn{min-width:94px;height:34px;padding:0 8px 0 6px;gap:6px;font-size:10px}
  #anime-section .anime-item .view-btn .view-icon{width:22px;height:22px;flex-basis:22px}
  #anime-section .anime-item .view-btn .view-icon svg{width:12px;height:12px}
  #anime-section .anime-item .view-btn .view-arrow{font-size:14px}
  #anime-section .section-arrow{width:38px;height:38px}
  .section-more-btn{min-width:198px;height:50px}
  .section-more-icon{width:32px;height:32px;flex-basis:32px}
  #movie-section .movie-watch-btn,#movie-section .movie-info-btn{min-width:0;height:42px;padding:0 15px;font-size:10px}
}
