/* Superheroes — NEON CARTOON 03. No visible button frames; live travelling light around photos. */
:root{--c-ink:#061228;--c-cyan:#52f8ff;--c-pink:#ff57d5;--c-lemon:#f9f67e;--c-mint:#98ffe5;--c-violet:#9978ff}
body{background:#060e22!important;color:#eaffff!important;font-family:Rubik,'Trebuchet MS',sans-serif!important}
:root{--hero-pattern:radial-gradient(ellipse at 85% 5%,rgba(255,84,205,.22),transparent 30%),radial-gradient(ellipse at 10% 78%,rgba(71,231,255,.2),transparent 32%),linear-gradient(130deg,#070d25,#081333 50%,#100c2e)!important;--hero-back:#06102b!important;--hero-text:#f7ffff!important;--hero-span:#fcff9b!important;--hero-body:#efffff!important;--hero-kicker:#acffec!important;--brand-first:#91faff!important;--brand-second:#ff71db!important;--game-outer:radial-gradient(ellipse at 5% 5%,#3c14505e,transparent 40%),linear-gradient(130deg,#06172d,#111036 55%,#0b1a32)!important}
/* Colorful hand-drawn tube world */
body::after{opacity:.56!important;filter:drop-shadow(0 0 7px var(--c-cyan)) drop-shadow(0 0 13px var(--c-pink))!important}
.neon-tube{position:absolute;left:-5%;width:110%;height:6px;z-index:0;pointer-events:none;opacity:.8;border-radius:300px;background:linear-gradient(90deg,transparent 0%,#59f6ff 16%,#ff6adc 49%,#fff8a5 77%,transparent 100%);box-shadow:0 0 9px #55ecff,0 0 20px #f864ff83;transform:rotate(-6deg);animation:tube-shimmer 9s ease-in-out infinite alternate}
.neon-tube:nth-child(2){top:83%;height:4px;transform:rotate(5deg);background:linear-gradient(90deg,transparent,#fb6bdb 31%,#67f0fc 70%,transparent);animation-delay:-4s}
.neon-tube:first-child{top:15%}
@keyframes tube-shimmer{0%{filter:hue-rotate(0deg);opacity:.52;translate:0 0}100%{filter:hue-rotate(45deg);opacity:.95;translate:0 13px}}
.section,.sub-hero,.programs-outro,.game-section,.cta-strip{overflow:hidden}
/* Actual buttons glow with NO outlined frame. Cartoon candy-tube gradients. */
:is(.site-header .menu>a,.site-header .nav-cta.cloud-order,.site-header .social-link,.button,.nav-cta,.game-play,.game-screenshot,.game-controls button,.menu-toggle,.socials a,.backtop,.slider-arrow,.lb-prev,.lb-next,.lightbox button.close){
 border:none!important;outline:0!important;outline-offset:3px;
 background:linear-gradient(120deg,#123c69,#43175e 65%,#823076)!important;
 border-radius:999px!important;color:#fff!important;
 box-shadow:0 0 11px #36edffa3,0 0 22px #f34df477,0 0 33px #fc7df43b,inset 0 0 12px #ffffff21!important;
 text-shadow:0 0 9px #78f8ff70!important;
 transition:transform .24s cubic-bezier(.19,1.5,.28,1),box-shadow .22s ease,filter .22s ease!important;
}
:is(.site-header .menu>a,.site-header .nav-cta.cloud-order,.site-header .social-link,.button,.nav-cta,.game-play,.game-screenshot,.game-controls button,.menu-toggle,.socials a,.backtop,.slider-arrow,.lb-prev,.lb-next,.lightbox button.close):is(:hover,:focus-visible){
 transform:translateY(-4px) scale(1.055)!important;
 background:linear-gradient(120deg,#135888,#84288a 65%,#a73879)!important;
 box-shadow:0 0 15px #48f6ff,0 0 32px #3de8ffcf,0 0 58px #ff59e6d4,0 0 88px #ff66df55,inset 0 0 22px #ffffff55!important;
 filter:brightness(1.23)!important;
}
:is(.site-header .menu>a,.site-header .nav-cta.cloud-order,.site-header .social-link,.button,.nav-cta,.game-play,.game-screenshot,.game-controls button,.menu-toggle,.socials a,.backtop,.slider-arrow,.lb-prev,.lb-next,.lightbox button.close):focus-visible{outline:2px solid #ffeb9d!important}
:is(.site-header .menu>a,.site-header .nav-cta.cloud-order,.site-header .social-link,.button,.nav-cta,.game-play,.game-screenshot,.game-controls button,.menu-toggle,.socials a,.backtop,.slider-arrow,.lb-prev,.lb-next,.lightbox button.close):active{
 transform:scale(.91)!important;filter:brightness(1.38)!important;
 box-shadow:0 0 20px #48f6ff,0 0 54px #ff51e5,inset 0 0 27px #ffffff66!important;
}
/* Override original keyframe sheen shape, keep readable text */
.site-header .menu>a{padding:8px 12px!important;font-size:clamp(11px,.93vw,15px)!important;background:rgba(19,30,67,.62)!important}
.site-header .menu>a .gum-letter{color:#d9feff!important;-webkit-text-stroke:0!important;text-shadow:0 0 9px #83f9ff!important}
.site-header .menu>a:is(:hover,:focus-visible) .gum-letter{color:#fffec8!important;text-shadow:0 0 11px #f8ff8d,0 0 19px #fc72e6!important}
.site-header .menu>a::before,.button::before,.game-play::before,.game-screenshot::before{background:linear-gradient(180deg,transparent,#ffffffaa,transparent)!important;opacity:.26!important}
.site-header .nav-cta.cloud-order{min-width:146px!important;min-height:40px!important;background:linear-gradient(120deg,#164c67,#692774)!important;font-size:10.5px!important;padding:8px 11px!important;text-align:center!important;display:inline-flex!important;justify-content:center!important;align-items:center!important}
.site-header{background:rgba(6,13,35,.92)!important}
/* Fullscreen original scroll video. Keep it visible; left-side gradient only. */
.hero-frame,.hero-video-canvas{filter:saturate(1.18) contrast(1.07) brightness(.97)!important}
.hero-sticky:after{background:linear-gradient(90deg,rgba(4,10,24,.82),rgba(4,10,24,.48) 29%,rgba(4,10,24,.06) 65%,rgba(4,10,24,.10))!important}
.hero-copy h1{font-family:Rubik,'Trebuchet MS',sans-serif!important;text-shadow:0 0 8px #56f6ff,0 0 25px #ff7add77!important;-webkit-text-stroke:0!important;font-size:clamp(42px,5.3vw,80px)!important;line-height:1.03!important}
.hero-copy h1 span{color:#f3ff95!important;text-shadow:0 0 12px #f8ff96,0 0 34px #f16afb90!important;-webkit-text-stroke:0!important}
.hero-portrait{border:0!important;border-radius:28px!important;box-shadow:0 0 18px #5dfaff,0 0 38px #fd52e7a8!important}
/* colorful neon-cartoon section hierarchy */
:is(.catalog-section,.other-heroes,.programs-page,.hero-description,.about-preview,.about-story,.gallery-section,.about-why,.program-preview,.offer-section){background:radial-gradient(circle at 8% 12%,#21c6ff0c,transparent 29%),radial-gradient(circle at 88% 20%,#ff55e10f,transparent 30%),linear-gradient(135deg,#07112b,#111035 55%,#071631)!important;color:#eefbff!important}
.section-intro h2,.programs-head h2,.about-story h2,.about-why h2{letter-spacing:-.035em!important;text-shadow:0 0 14px #52eeff8a!important}
.program-tile,.benefit,.hero-story,.story-aside,.offer-content,.photo-offer{border:0!important;border-radius:28px!important;background:rgba(13,24,58,.81)!important;box-shadow:0 0 17px #36eafa31,inset 0 0 16px #ffffff09!important}
.hero-story{padding:clamp(26px,4vw,54px)!important;line-height:1.82!important}
.hero-story h2{font-size:clamp(22px,2.4vw,36px)!important;line-height:1.29!important}
.hero-story p,.hero-story li{font-size:clamp(15px,1.1vw,19px)!important;line-height:1.78!important}
.hero-story p strong{color:#fbffa9!important;text-shadow:0 0 9px #ffef8975!important}
.hero-story p:not(:last-child){border-bottom:1px solid #43e5ff1e;padding-bottom:15px;margin-bottom:17px}
.offer-duration{background:rgba(13,29,66,.74)!important;border:0!important;border-radius:20px!important;box-shadow:0 0 12px #39eafa2d!important}
/* a moving bright segment visibly TRAVELS along the perimeter, instead of flashing the entire frame */
@property --edge-angle{syntax:'<angle>';inherits:false;initial-value:0deg}
.neon-lined{isolation:isolate;}
.benefit.neon-lined,.hero-story.neon-lined,.offer-content.neon-lined{position:relative!important}
.neon-lined>.neon-edge{
 position:absolute;inset:0;display:block;pointer-events:none;z-index:15;
 border-radius:inherit;padding:3px;
 background:conic-gradient(from var(--edge-angle),#53eeff 0deg,#51f0ff 20deg,transparent 52deg,transparent 195deg,#ff5be1 223deg,#fffdb0 254deg,transparent 300deg,#53eeff 360deg);
 -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
 -webkit-mask-composite:xor;mask-composite:exclude;
 animation:neon-run-border 3.4s linear infinite;
 filter:drop-shadow(0 0 7px #45efff);
}
.neon-lined::before{border-radius:inherit}
.neon-lined{box-shadow:0 0 8px #48f2ff9c,0 0 19px #52e2ff59,0 0 24px #ff65e13a!important;border:1px solid #55deff47!important}
.neon-lined:hover{box-shadow:0 0 14px #52efffd7,0 0 27px #53ecff94,0 0 37px #ff60e57c!important}
.neon-lined:hover>.neon-edge{animation-duration:1.9s;filter:drop-shadow(0 0 12px #50f3ff) drop-shadow(0 0 14px #ff6ce8)}
@keyframes neon-run-border{to{--edge-angle:360deg}}
.card-photo,.gallery-item,.comic-frame,.detail-slider .slide,.story-aside,.photo-offer,.program-tile,.benefit,.hero-story,.offer-content{border-radius:23px!important}
.gallery-item{overflow:hidden!important}
.gallery-item::after{z-index:5}
.character-card .card-photo::before{z-index:1!important} /* Preserve dark gradient behind character labels */
.card-photo>.neon-edge,.gallery-item>.neon-edge{z-index:6}
.detail-slider .slide>.neon-edge{z-index:8}
.detail-slider{overflow:hidden}
.detail-slider .slide{border-radius:0!important}
.story-aside img{border-radius:18px!important;box-shadow:0 0 13px #2de9ff6d!important}
.program-tile .program-photo{border:0!important}
/* Decorative line across program photo's perimeter, not only surrounding text card. */
.program-tile.has-program-photo>.neon-edge{inset:0!important}
.game-shell{border:0!important;box-shadow:none!important;filter:none!important}
.game-section{background:var(--game-outer)!important}
@media(max-width:820px){.site-header .menu>a{font-size:20px!important;padding:10px 18px!important}.hero-copy{padding-top:92px!important;width:100%!important}.hero-copy h1{font-size:clamp(36px,7vw,62px)!important}}
@media(max-width:600px){.hero-copy h1{font-size:clamp(31px,8.9vw,46px)!important}.hero-copy{padding-top:89px!important}.site-header .nav-cta.cloud-order{display:none!important}.neon-lined>.neon-edge{padding:2px}.neon-tube{height:4px;opacity:.5}}
@media(prefers-reduced-motion:reduce){.neon-tube,.neon-lined>.neon-edge{animation:none!important}.neon-lined>.neon-edge{background:linear-gradient(90deg,#5afcff,#f457dd)!important}}

/* Restore photo readability from base theme; edge animation is a child overlay. */
.card-photo::before{content:''!important;position:absolute!important;inset:0!important;padding:0!important;background:linear-gradient(to top,#081226f5 0%,#081226c2 24%,transparent 58%)!important;-webkit-mask:none!important;mask:none!important;animation:none!important;z-index:1!important}
.photo-offer::before{content:''!important;inset:0!important;padding:0!important;background:linear-gradient(90deg,#0b1028ee,#0b1028dd 47%,#0b10282b)!important;-webkit-mask:none!important;mask:none!important;animation:none!important;z-index:-1!important}
:is(.gallery-item,.story-aside,.program-tile,.detail-slider .slide,.offer-content,.benefit,.hero-story)::before{animation:none!important;-webkit-mask:none!important;mask:none!important;background:none!important;padding:0!important}
.neon-mosaic-photo{border:3px solid #5ceeff!important;box-shadow:0 0 14px #40e9ff,0 0 28px #ff5cdf6f!important;animation:neonPhotoFloat 8s ease-in-out infinite,neonMosaicPulse 2.8s linear infinite!important}
@keyframes neonMosaicPulse{50%{border-color:#ff7de2;box-shadow:0 0 20px #f85de4,0 0 32px #4ceaff9f}}
/* Base site positions these as layered photographs; keep layering intact. */
.card-photo.neon-lined{position:absolute!important;inset:0!important}
.detail-slider .slide.neon-lined{position:absolute!important;inset:0!important}
.detail-slider .slide .neon-edge{border-radius:0!important}
.neon-photo-floating{position:absolute;pointer-events:none;z-index:19;border-radius:inherit;padding:3px;box-sizing:border-box;overflow:hidden}
.neon-photo-floating>.neon-edge{position:absolute;inset:0;border-radius:inherit;padding:3px;background:conic-gradient(from var(--edge-angle),#50f9ff 0deg,#50f9ff 19deg,transparent 50deg,transparent 190deg,#f762df 232deg,#fff4af 254deg,transparent 295deg,#50f9ff 360deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:neon-run-border 3.4s linear infinite;filter:drop-shadow(0 0 8px #55f6ff)}
@media(prefers-reduced-motion:reduce){.neon-photo-floating>.neon-edge{animation:none!important}}
/* Always show the first scroll-video frame before the canvas preloader is ready. */
.hero-sticky:before{z-index:-1!important}
.hero-frame{z-index:0!important}
.hero-video-canvas{z-index:1!important}
.hero-sticky:after{z-index:2!important;pointer-events:none!important}
.hero-core{z-index:4!important}
.theme-scene,.hero-portrait{z-index:3!important}
/* Graceful fallback: first frame remains visible even if canvas rendering is unavailable. */
.hero-sticky{background:linear-gradient(90deg,rgba(5,9,22,.50),rgba(5,9,22,.05) 58%,rgba(5,9,22,.12)),url('../frames/frame_001.webp') center center / cover no-repeat!important}
.hero-sticky:before{opacity:.12!important}
