:root { --lavender: rgba(154, 152, 239, 1.0); --white: rgba(255, 255, 255, 1.0); --faded: rgba(255, 255, 255, .8); --card: rgba(255, 255, 255, .2); font-family: "Alimama FangYuanTi VF", "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--white); background: var(--lavender); }
* { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; min-width: 320px; background: var(--lavender); } button { font: inherit; color: inherit; cursor: pointer; } .site-header { position: fixed; z-index: 10; inset: 0 0 auto; height: 86px; padding: 22px max(32px, calc((100vw - 1800px) / 2)); display: flex; align-items: center; gap: 74px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .25s, backdrop-filter .25s; } .site-header.scrolled { background: rgba(116, 120, 215, .5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); } .brand img { display: block; width: 114px; height: 40px; object-fit: contain; } nav { display: flex; gap: 48px; } nav a { padding: 8px 30px; color: var(--faded); font-size: 20px; text-decoration: none; border: 0; background: transparent; white-space: nowrap; } .language { padding: 8px 18px; color: var(--faded); font-size: 20px; text-decoration: none; border: 0; background: transparent; white-space: nowrap; } nav a:hover, nav a.active { color: var(--white); background-color: rgba(255,255,255,.2); border-radius: 40px; } .language { display:flex; align-items:center; gap:8px; margin-left: auto; padding-right: 0; line-height:1; } .language[hidden] { display:none; } .language i { display:block; width:0; height:0; border-left:4px solid transparent; border-right:4px solid transparent; border-top:5px solid currentColor; } .menu-toggle { display: none; border: 0; background: transparent; font-size: 27px; }
.hero { position: relative; min-height: min(59.11vw, 1135px); overflow: hidden; } .hero-slides, .hero-slide { position:absolute; inset:0; } .hero-slide { background:center/cover no-repeat; opacity:0; transform:scale(.72); transform-origin:center; filter:blur(22px) saturate(.8); clip-path:circle(0% at 50% 50%); will-change:transform, opacity, filter, clip-path; transition:transform .86s cubic-bezier(.2,.8,.18,1), opacity .5s ease, filter .72s ease, clip-path .9s cubic-bezier(.2,.78,.2,1); } .hero-slide.active { opacity:1; transform:scale(1); filter:blur(0) saturate(1); clip-path:circle(150% at 50% 50%); } h1, h2, h3, p { margin: 0; } .primary-action { position:absolute; z-index:1; top:59.5%; left:max(7.3vw, calc((100vw - 1640px)/2)); width:240px; height:80px; border:0; border-radius:40px; background:#67A2FF; backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); font-size:32px; font-weight:bold; box-shadow:0 8px 24px rgba(64,118,228,.28); } .primary-action:hover { transform:translateY(-3px); } .pager { position:absolute; z-index:1; right:max(60px, calc((100vw - 1800px)/2)); bottom:220px; display:flex; gap:40px; align-items:center; } .pager button { width:20px; height:20px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.5); transition:transform .35s cubic-bezier(.2,.8,.2,1), width .35s ease, background .3s ease; } .pager .selected { width:60px; border-radius:10px; background:white; transform:scale(1.08); box-shadow:0 0 20px rgba(255,255,255,.72); }
.section-shell { padding: 100px max(60px, calc((100vw - 1800px)/2)); } .heading { display: flex; justify-content: center; align-items: center; gap: 68px; text-align: center; } .heading i { display: block; width: 86px; height: 20px; background: url('assets/slices/box_21.png') center/contain no-repeat; } .heading i:last-child { transform: scaleX(-1); } h2 { font-size: 48px; line-height: 1.22; letter-spacing: 14px; text-shadow: 0 4px 60px rgba(78,149,221,.6); } .section-kicker, .gallery-intro { margin: 28px auto 64px; text-align: center; font-size: 22px; line-height: 32px; }
.intro-section { padding-top: 0; background: linear-gradient(180deg, rgba(154,152,239,1) 0%, rgba(154,152,239,.96) 100%); } .intro-title-image { display:block; width:calc(100% + 120px); max-width:1920px; height:auto; margin:0 -60px 64px; } .intro-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; } .intro-card { height:560px; overflow:hidden; } .intro-card img { display:block; width:560px; height:560px; max-width:100%; object-fit:contain; }
.gallery-section { min-height: 1100px; padding-top: 150px; background: url('assets/slices/group_19.png') center/cover no-repeat; } .gallery-title-image { display:block; width:calc(100% + 120px); max-width:1920px; height:auto; margin:0 -60px 64px; } .gallery-grid { position:relative; height:470px; max-width:1800px; margin:0 auto; } .gallery-item { position:absolute; top:50%; left:50%; width:500px; margin:0; border:0; background:transparent; cursor:pointer; outline:none; transition:transform .8s cubic-bezier(.22,.8,.25,1), opacity .8s ease, filter .8s ease; } .gallery-item img { display:block; width:100%; height:auto; } .gallery-item figcaption { position:absolute; top:22px; left:24px; font-size:24px; font-weight:bold; text-shadow:0 2px 10px rgba(0,0,0,.15); } .gallery-item[data-position="left"] { z-index:1; opacity:.72; filter:blur(1px) brightness(.88); transform:translate(-50%,-50%) translateX(-570px) scale(.86); } .gallery-item[data-position="center"] { z-index:3; opacity:1; filter:none; transform:translate(-50%,-50%) scale(1.08); animation:gallery-float 3s ease-in-out infinite; } .gallery-item[data-position="right"] { z-index:1; opacity:.72; filter:blur(1px) brightness(.88); transform:translate(-50%,-50%) translateX(570px) scale(.86); } .gallery-item:focus-visible { outline:3px solid rgba(255,255,255,.9); outline-offset:10px; } @keyframes gallery-float { 50% { margin-top:-12px; } }
.story-section { padding-top: 145px; background: url('assets/slices/group_23.png') center top/cover no-repeat; } .story-title-image { display:block; width:80%; max-width:880px; height:auto; margin:0 auto; } .story-copy { max-width:1660px; margin:0 auto; font-size:26px; line-height:1.55; text-align:center; } .story-copy + .story-copy { margin-top:34px; } .story-copy-tail { margin-bottom:90px; } .story-tail { max-width:1660px; margin:90px auto 0; font-size:26px; line-height:1.55; text-align:center; } .character-area { display:grid; grid-template-columns: 330px 1fr; gap: 18px; max-width:1800px; margin:0 auto; } .character-tabs { display:flex; flex-direction:column; gap:18px; } .character-tab { position:relative; height:128px; padding:27px 20px; text-align:left; border:0; border-radius:30px; color:rgba(255,255,255,.65); background:rgba(255,255,255,.14); overflow:hidden; } .character-tab.active { color:white; background:rgba(255,255,255,.3); } .character-tab strong, .character-tab span { display:block; } .character-tab strong { font-size:28px; } .character-tab span { margin-top:4px; font-size:18px; } .character-tab img { position:absolute; height:128px; right:10px; bottom:-1px; } .character-card { position:relative; min-height:720px; padding:72px 72px; overflow:hidden; border-radius:30px; background:rgba(255,255,255,.22); } .character-card > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; opacity:1; transition: opacity .25s; } .character-copy { position:relative; z-index:1; max-width:760px; } .character-copy h3 { font-size:34px; } .character-copy p, .character-copy li { font-size:24px; line-height:1.45; } .character-copy p { margin-top:22px; } .character-copy ul { padding:0; margin-top:170px; list-style:none; } .character-copy li { margin-top:18px; } .character-copy li::before { content:'●'; margin-right:12px; } .story-tail { margin:90px auto 0; }
.accessory-section { padding-top:140px; } .accessories { display:grid; grid-template-columns:repeat(5,1fr); gap:55px; margin-top:70px; } .accessories article { text-align:center; } .accessories img { display:block; width:312px; height:400px; max-width:100%; object-fit:contain; margin:0 auto 15px; } .accessories strong,.accessories span { display:block; } .accessories strong { font-size:22px; } .accessories span { margin-top:8px; color:rgba(255,255,255,.6); font-size:18px; }
.features-section { padding:150px max(60px, calc((100vw - 1800px)/2)) 240px; } .feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:60px; margin-top:80px; } .feature-grid article { width:560px; max-width:100%; height:240px; } .feature-grid img { display:block; width:560px; max-width:100%; height:240px; object-fit:contain; }
.site-footer { min-height:929px; padding:180px max(80px, calc((100vw - 1340px)/2)); display:flex; justify-content:space-between; align-items:flex-start; background: url('assets/slices/image_2.png') center/cover no-repeat; } .quote { font-size:52px; line-height:1.45; font-family: "Kaiti SC", "STKaiti", serif; text-align:center; } .presale { margin-top:260px; font-size:40px; line-height:1.2; } .qr-button { position:relative; border:0; background:transparent; } .qr-button img { width:200px; border-radius:20px; } .floating-presale { position:fixed; z-index:20; right:60px; bottom:100px; width:120px; height:140px; padding:0; border:0; border-radius:24px; background:transparent; filter:drop-shadow(0 10px 20px rgba(75,72,183,.24)); transition:transform .2s ease; } .floating-presale:hover { transform:translateY(-6px); } .floating-presale img { display:block; width:100%; height:100%; } .modal[hidden] { display:none; } .modal { position:fixed; z-index:30; inset:0; display:grid; place-items:center; padding:24px; background:rgba(32,36,104,.55); backdrop-filter:blur(8px); } .modal-panel { position:relative; width:min(560px,100%); padding:0; overflow:hidden; border:0; border-radius:32px; background:transparent; box-shadow:0 20px 80px rgba(23,22,92,.35); } .presale-modal-image { display:block; width:100%; height:auto; }
@media (max-width: 1050px) { .site-header { height:70px; gap:24px; padding:15px 24px; } nav { gap:4px; } nav a { padding:8px 10px; font-size:16px; } .language { font-size:15px; } .intro-cards, .feature-grid { gap:24px; } .intro-card { height:470px; padding:28px; } .intro-card h3 { font-size:29px; } .intro-card p,.feature-grid p { font-size:17px; line-height:1.45; } .feature-grid article { gap:20px; padding:30px 24px; } .feature-grid h3 { font-size:28px; } .accessories { gap:18px; } .character-area { grid-template-columns:250px 1fr; } .story-lead,.story-tail,.story-copy { font-size:20px; } .site-footer { padding:150px 70px; } .quote { font-size:38px; }.presale{font-size:30px;} }
@media (max-width: 720px) { .site-header { height:64px; padding:12px 18px; } .brand img { width:91px; height:auto; } .menu-toggle { display:block; margin-left:auto; } nav { position:absolute; top:64px; right:14px; display:none; flex-direction:column; gap:0; min-width:150px; padding:8px; border-radius:16px; background:rgba(113,115,208,.96); box-shadow:0 10px 35px rgba(45,43,140,.25); } nav.open { display:flex; } .language { display:none; } .hero { min-height:640px; } .primary-action { left:30px; top:59.5%; width:160px; height:54px; border-radius:28px; font-size:22px; } .pager { right:28px; bottom:40px; gap:12px; } .pager button{width:11px;height:11px}.pager .selected{width:33px;} .section-shell { padding:75px 22px; } .heading { gap:14px; } .heading i { width:40px; } h2 { font-size:27px; letter-spacing:4px; } .section-kicker,.gallery-intro { font-size:15px; line-height:1.6; margin:20px auto 35px; } .intro-cards,.gallery-grid,.feature-grid { grid-template-columns:1fr; } .intro-card { height:430px; } .intro-card h3 { font-size:26px; line-height:1.2; } .intro-card p { font-size:16px; } .gallery-section { min-height:0; background-position:center; } .gallery-grid { gap:25px; } figcaption { font-size:17px; top:13px; left:15px; } .story-lead,.story-tail,.story-copy { margin:35px auto 40px; text-align:left; font-size:16px; } .character-area { grid-template-columns:1fr; } .character-tabs { display:grid; grid-template-columns:repeat(5,1fr); gap:7px; } .character-tab { height:84px; padding:12px 8px; border-radius:14px; } .character-tab strong { font-size:11px; }.character-tab span{font-size:10px}.character-tab img{height:72px;right:-4px;} .character-card { min-height:520px; padding:35px 25px; border-radius:20px; } .character-copy { max-width:100%; }.character-copy h3{font-size:26px}.character-copy p,.character-copy li{font-size:16px}.character-copy ul{margin-top:130px}.character-copy li{margin-top:8px;} .accessories { grid-template-columns:repeat(2,1fr); gap:15px; margin-top:35px; }.accessories article:last-child{grid-column:span 2; width:calc(50% - 8px); justify-self:center;}.accessories strong{font-size:17px}.accessories span{font-size:14px;} .features-section { padding-bottom:90px; } .feature-grid { gap:18px; margin-top:36px; }.feature-grid article{min-height:145px;padding:24px;gap:25px;border-radius:20px}.feature-grid img{width:54px}.feature-grid h3{font-size:24px}.feature-grid p{font-size:15px;margin-top:8px}.site-footer { min-height:620px; padding:90px 24px 40px; flex-direction:column; background-position:62% center; }.quote{font-size:25px;text-align:left}.presale{margin-top:135px;font-size:23px}.qr-button{align-self:flex-end;margin-top:15px}.qr-button img{width:130px}.qr-button span{font-size:12px;top:-34px;width:82px;padding:5px;} }

/* Brand polish: atmospheric depth, deliberate motion, and tactile feedback. */
body { overflow-x: clip; }
body::before { content:""; position:fixed; inset:0; z-index:0; pointer-events:none; background:radial-gradient(circle at 12% 14%, rgba(196,225,255,.23), transparent 23%), radial-gradient(circle at 88% 42%, rgba(208,185,255,.16), transparent 26%), radial-gradient(circle at 48% 85%, rgba(159,210,255,.15), transparent 28%); }
main, .site-footer { position:relative; z-index:1; }
.site-header { border-bottom:1px solid transparent; }
.site-header.scrolled { border-bottom-color:rgba(255,255,255,.18); box-shadow:0 8px 32px rgba(65,65,166,.16); }
/* Section seams: every CSS background is opaque and starts/ends at the exact
   brand base rgb(154,152,239), and every baked-image background dissolves its
   top/bottom edges into the same color — so no boundary can show two colors. */
.hero::after { content:""; position:absolute; inset:0; z-index:0; pointer-events:none; background:linear-gradient(180deg, rgba(154,152,239,0) 68%, rgb(154,152,239)), linear-gradient(110deg, rgba(110,121,229,.08), transparent 38%, rgba(217,236,255,.14)); }
.hero-slides, .hero-slide { z-index:-1; }
.primary-action { overflow:hidden; isolation:isolate; }
.primary-action::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(105deg, rgba(255,255,255,.24), transparent 42%); transform:translateX(-105%); transition:transform .45s ease; }
.primary-action:hover::before { transform:translateX(105%); }
.pager button { transition:transform .25s ease, background .25s ease; }
.intro-card, .accessories article, .feature-grid article, .character-tab { transition:transform .35s cubic-bezier(.2,.8,.2,1), filter .35s ease; }
.accessories article img { transition:transform .4s cubic-bezier(.2,.8,.2,1), filter .4s ease; }
.feature-grid article img { transition:transform .35s ease; }
/* Hover lifts are pointer-only: on touch screens a tap would leave the
   transform stuck (the tab nudged over its neighbour / off the edge). */
@media (hover: hover) {
  .pager button:hover { transform:scale(1.22); }
  .intro-card:hover { transform:translateY(-12px); filter:drop-shadow(0 22px 26px rgba(72,77,180,.26)); }
  .accessories article:hover { transform:translateY(-14px) scale(1.025); }
  .accessories article:hover img { transform:translateY(-8px) rotate(-1.5deg); filter:drop-shadow(0 16px 18px rgba(65,66,170,.28)); }
  .feature-grid article:hover { transform:translateY(-10px) scale(1.015); filter:drop-shadow(0 18px 22px rgba(68,72,181,.23)); }
  .feature-grid article:hover img { transform:scale(1.035); }
  .character-tab:hover { transform:translateX(9px); }
}
.character-card { box-shadow:0 22px 50px rgba(66,68,172,.14), inset 0 0 60px rgba(255,255,255,.1); }
/* Breathe runs on the img so the button itself stays free for press transforms. */
.floating-presale img { animation:presale-breathe 2.8s ease-in-out infinite; }
@keyframes presale-breathe { 50% { filter:drop-shadow(0 16px 25px rgba(68,76,196,.38)); transform:translateY(-8px) scale(1.025); } }
.reveal { opacity:0; transform:translateY(36px); transition:opacity .7s ease, transform .7s cubic-bezier(.2,.75,.25,1); }
.reveal.is-visible { opacity:1; transform:none; }

/* The closing story copy renders as live text (crisp at every size,
   one source of truth); its styles live in the .story-tail rules above. */

.accessory-title-image {
  display: block;
  width: calc(100% + 120px);
  max-width: 1920px;
  height: auto;
  margin: 0 -60px 70px;
  filter: drop-shadow(0 12px 24px rgba(89, 121, 255, .2));
}

.feature-title-image {
  display: block;
  width: calc(100% + 120px);
  max-width: 1920px;
  height: auto;
  margin: 0 -60px 80px;
  filter: drop-shadow(0 12px 24px rgba(89, 121, 255, .2));
}

/* The closing message has its own line above the pre-sale QR code. */
.site-footer {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 30px;
  padding-top: 20px;
}

.quote {
  width: 100%;
  margin: 0;
  text-align: center;
}

.slogan-image {
  display: block;
  justify-self: center;
  width: min(100%, 1920px);
  height: auto;
  margin: 0;
  filter: drop-shadow(0 14px 28px rgba(67, 76, 177, .16));
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 72px;
  width: 100%;
}

.presale { margin-top: 0; transform: translateY(-40px); }

/* Regulatory record: the ICP number pinned to the footer's bottom edge,
   centered, pure white. Absolutely positioned so the footer's large bottom
   padding cannot lift it off the floor. */
.site-footer .footer-record {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 28px;
  row-gap: 4px;
  margin: 0;
  font-size: 14px;
  letter-spacing: .5px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(47, 50, 140, .35);
}
.site-footer .footer-record a { color: inherit; text-decoration: none; }
.site-footer .footer-record a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .site-footer .footer-record { bottom: 14px; font-size: 12px; }
}

@media (max-width: 720px) {
  .site-footer { gap: 48px; }
  .footer-bottom { display: flex; flex-direction: column; gap: 28px; }
  .quote { text-align: left; }
  .slogan-image { width: 100%; }
  .qr-button { align-self: flex-end; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; } }

/* Full-page composition: one continuous toy-universe rather than isolated blocks. */
:root { --page-glow: rgba(193, 216, 255, .36); --section-shadow: rgba(52, 61, 171, .2); }
.section-shell { position:relative; isolation:isolate; overflow:hidden; }
.intro-section { padding-bottom:150px; background:rgb(154,152,239); }
.intro-title-image, .gallery-title-image, .story-title-image { filter:drop-shadow(0 16px 28px rgba(71,77,183,.16)); }
.intro-cards { position:relative; z-index:1; }
.intro-cards::before { content:""; position:absolute; inset:26% -12% -28%; z-index:-1; border-radius:50%; background:radial-gradient(ellipse, rgba(210,228,255,.17), transparent 69%); }
.gallery-section { min-height:960px; padding-top:120px; background-position:center; }
.gallery-section::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg, rgb(154,152,239), rgba(154,152,239,0) 15%), linear-gradient(0deg, rgb(154,152,239), rgba(154,152,239,0) 15%), radial-gradient(ellipse 45% 28% at 50% 63%, rgba(204,227,255,.25), rgba(204,227,255,0) 72%), linear-gradient(180deg, rgba(139,141,230,.12), rgba(139,141,230,.34)); }
.gallery-title-image { margin-bottom:32px; }
.gallery-grid { height:500px; }
.gallery-grid::before { content:""; position:absolute; left:50%; bottom:12px; width:1040px; height:210px; border-radius:50%; transform:translateX(-50%); background:radial-gradient(ellipse, rgba(237,245,255,.3), transparent 68%); filter:blur(8px); }
.gallery-item[data-position="center"] { filter:drop-shadow(0 24px 32px rgba(70,76,177,.3)); }
.story-section { padding-top:125px; padding-bottom:160px; background-position:center top; }
.story-section::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg, rgb(154,152,239), rgba(154,152,239,0) 13%), linear-gradient(0deg, rgb(154,152,239), rgba(154,152,239,0) 13%), linear-gradient(180deg, rgba(134,136,226,.12), rgba(134,136,226,0) 26%, rgba(119,121,220,.1) 76%, rgba(119,121,220,0)); }
.story-title-image { margin-bottom:56px; }
.character-area { position:relative; }
.character-area::before { content:""; position:absolute; inset:-70px -140px -80px; z-index:-1; border-radius:50%; background:radial-gradient(ellipse, rgba(211,228,255,.17), transparent 67%); }
.accessory-section { padding-top:165px; padding-bottom:170px; background:radial-gradient(ellipse 48% 55% at 50% 49%, rgba(206,224,255,.16), rgba(206,224,255,0) 70%), linear-gradient(180deg, rgb(154,152,239), rgb(150,147,238) 50%, rgb(154,152,239)); }
.accessory-section::before { content:""; position:absolute; width:1200px; height:350px; left:50%; bottom:100px; z-index:-1; transform:translateX(-50%); border-radius:50%; background:radial-gradient(ellipse, rgba(222,234,255,.22), transparent 69%); filter:blur(8px); }
.accessories { position:relative; z-index:1; }
.accessories article { transform-origin:center bottom; }
.features-section { padding-top:165px; padding-bottom:210px; background:radial-gradient(ellipse 55% 36% at 50% 42%, rgba(206,224,255,.14), rgba(206,224,255,0) 72%), linear-gradient(180deg, rgb(154,152,239), rgb(150,147,238) 45%, rgb(154,152,239)); }
.feature-grid { position:relative; z-index:1; gap:48px 60px; }
.feature-grid::before { content:""; position:absolute; inset:7% 11%; z-index:-1; border-radius:50%; background:radial-gradient(ellipse, rgba(213,227,255,.13), transparent 70%); }
.site-footer { position:relative; overflow:hidden; box-shadow:inset 0 36px 90px rgba(88,86,190,.18); }
.site-footer::before { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(180deg, rgb(154,152,239), rgba(154,152,239,0) 14%), linear-gradient(0deg, rgb(154,152,239), rgba(154,152,239,0) 10%), linear-gradient(90deg, rgba(124,123,225,.18), rgba(124,123,225,0) 43%); }
.site-footer > * { position:relative; z-index:1; }

/* Keep the video at its native framing; scaling the slide would crop another
   7% off every edge. */
.hero-slide {
  transform: none;
  filter: none;
  clip-path: none;
  will-change: opacity;
  transition: opacity .8s ease-in-out;
}

.hero-slide.active {
  transform: none;
  filter: none;
  clip-path: none;
}

/* Make the video behave like the former cover background.  `contain` leaves
   side bars whenever a browser calculates a hero aspect ratio that differs
   from the source video, while `cover` keeps the banner edge-to-edge. */
.hero-slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: var(--lavender);
}

/* Fixed hit areas keep the pager still while its dot fluidly grows into a pill. */
.pager { gap: 20px; }
.pager button {
  position: relative;
  width: 60px;
  height: 24px;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.pager button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  transform: translate(-50%, -50%) scale(1);
  transition: width .48s cubic-bezier(.34,1.56,.64,1), border-radius .48s ease, background .32s ease, box-shadow .48s ease, transform .48s cubic-bezier(.34,1.56,.64,1);
}
.pager button.selected {
  width: 60px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.pager button.selected::before {
  width: 60px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 20px rgba(255,255,255,.72);
  transform: translate(-50%, -50%) scale(1.03);
}

@keyframes character-copy-enter {
  from { opacity: 0; transform: translateY(28px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.character-area.is-visible .character-copy h3,
.character-copy.is-changing h3 {
  animation: character-copy-enter .58s cubic-bezier(.2,.8,.25,1) both;
}
.character-area.is-visible .character-copy p,
.character-copy.is-changing p {
  animation: character-copy-enter .64s .12s cubic-bezier(.2,.8,.25,1) both;
}
.character-area.is-visible .character-copy li,
.character-copy.is-changing li {
  animation: character-copy-enter .52s cubic-bezier(.2,.8,.25,1) both;
}
.character-area.is-visible .character-copy li:nth-child(1),
.character-copy.is-changing li:nth-child(1) { animation-delay: .28s; }
.character-area.is-visible .character-copy li:nth-child(2),
.character-copy.is-changing li:nth-child(2) { animation-delay: .38s; }
.character-area.is-visible .character-copy li:nth-child(3),
.character-copy.is-changing li:nth-child(3) { animation-delay: .48s; }

@keyframes character-copy-reenter {
  from { opacity: 0; transform: translateY(28px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.character-copy.is-changing h3,
.character-copy.is-changing p,
.character-copy.is-changing li { animation-name: character-copy-reenter; }

/* White frosted navigation only after the page has scrolled. */
.site-header.scrolled {
  background: rgba(255, 255, 255, .22);
  border-bottom-color: rgba(255, 255, 255, .36);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  box-shadow: 0 8px 32px rgba(70, 76, 160, .12);
}

.story-section { background-image: url('assets/slices/group_23.webp'); }
.site-footer { background-image: url('assets/slices/image_2.webp'); }

/* ── Responsive unlock ──────────────────────────────────────────────
   With the viewport at device-width the page stops shrinking the whole
   1920px composition: banners still scale proportionally (they are baked
   design exports) while the shell and interactive modules reflow. */
@media (max-width: 1050px) {
  .site-header { gap: 18px; padding: 15px 20px; }
  nav { gap: 2px; }
  nav a { padding: 8px 8px; font-size: 15px; }
  .language { padding: 6px 10px; font-size: 14px; }
  /* Baked-image cards: let the artwork define its own height. */
  .intro-card, .feature-grid article { height: auto; }
  .feature-grid article { width: 100%; }
  .intro-card img, .feature-grid img, .accessories img { width: 100%; height: auto; }
  .site-footer { padding: 90px 40px 70px; }
}

@media (max-width: 720px) {
  .section-shell { padding: 56px 22px 64px; }
  .gallery-section, .story-section, .accessory-section, .features-section { padding-top: 48px; }
  .intro-section { padding-bottom: 64px; }

  /* Baked banners, sized by measured content bounds (alpha bbox):
     the four titles keep ~60% empty side margins, so they scale to 215%
     and the section clips only empty canvas; the story paragraphs span
     84% of the canvas, so they stop at 114% before the crop reaches text. */
  .intro-title-image, .gallery-title-image,
  .accessory-title-image, .feature-title-image {
    width: 215%;
    max-width: none;
    margin-left: -57.5%;
    margin-right: -57.5%;
  }
  .intro-title-image { margin-bottom: 40px; }
  .gallery-title-image { margin-bottom: 28px; }
  .story-title-image { margin-bottom: 36px; }
  .accessory-title-image { margin-bottom: 36px; }
  .feature-title-image { margin-bottom: 40px; }

  /* Hero keeps its designed aspect so the baked composition stays intact. */
  .hero { min-height: 59.11vw; }
  .pager { right: 20px; bottom: 16px; gap: 6px; }
  .pager button { width: 34px; height: 20px; }
  .pager button::before { width: 14px; height: 14px; }
  .pager button.selected::before { width: 34px; }

  /* Peek carousel: cards shrink and hug the centre on narrow screens. */
  .gallery-section { min-height: 0; }
  .gallery-grid { height: 300px; }
  .gallery-grid::before { width: 130%; height: 100px; bottom: 6px; }
  .gallery-item { width: 72vw; max-width: 340px; }
  .gallery-item[data-position="left"] { transform: translate(-50%, -50%) translateX(-40vw) scale(.84); }
  .gallery-item[data-position="center"] { transform: translate(-50%, -50%) scale(1); }
  .gallery-item[data-position="right"] { transform: translate(-50%, -50%) translateX(40vw) scale(.84); }
  .gallery-item figcaption { top: 10px; left: 14px; font-size: 15px; }

  /* Square intro cards stack. */
  .intro-cards { grid-template-columns: 1fr; gap: 22px; }
  .intro-card img { width: 100%; }

  /* Character scene becomes a banner above the copy. */
  .character-area { grid-template-columns: 1fr; }
  .character-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .character-tab { height: 74px; padding: 10px 6px; border-radius: 14px; }
  .character-tab strong { font-size: 12px; }
  .character-tab span { margin-top: 2px; font-size: 10px; }
  .character-tab img { height: 60px; right: -6px; bottom: -4px; }
  .character-card { display: flex; flex-direction: column; min-height: 0; padding: 0; border-radius: 20px; }
  .character-card > img { position: static; order: -1; width: 100%; height: auto; }
  .character-copy { padding: 22px 20px 26px; }
  .character-copy p { margin-top: 12px; font-size: 15px; line-height: 1.7; }
  .character-copy ul { margin-top: 18px; }
  .character-copy li { margin-top: 8px; font-size: 15px; }

  /* Accessories go two-up. */
  .accessories { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
  .accessories article:last-child { grid-column: span 2; width: calc(50% - 7px); justify-self: start; }

  /* Feature banners stack. */
  .feature-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
  .feature-grid article { padding: 0; min-height: 0; }
  .features-section { padding-bottom: 80px; }

  /* Footer: slogan banner, then presale copy and QR centred. */
  .site-footer { min-height: 0; padding: 64px 22px 56px; gap: 40px; }
  .slogan-image { width: calc(100% + 44px); margin: 0 -22px; }
  .footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 22px; }
  .presale { margin: 0; transform: none; font-size: 20px; line-height: 1.55; text-align: center; }
  .qr-button { align-self: center; margin: 0; }
  .qr-button img { width: 150px; }

  /* Floating presale tucks into the corner without covering content. */
  .floating-presale { right: 12px; bottom: 14px; width: 72px; height: 84px; }
}

/* ── Interaction polish: motion and feedback only, no content changes. ── */

/* The native grey tap flash and double-tap zoom delay are the cheapest
   tells of a non-native feeling site — remove both on everything tappable. */
button, a, .gallery-item { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* Load choreography: the stage fades in first, then CTA and pager rise in. */
@keyframes stage-fade { from { opacity: 0; } }
.hero-slides { animation: stage-fade 1.1s .05s ease backwards; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(26px); } }
.primary-action { animation: hero-rise .7s .4s cubic-bezier(.2,.8,.25,1) backwards; }
.pager { animation: hero-rise .7s .55s cubic-bezier(.2,.8,.25,1) backwards; }

/* The header ducks away while scrolling down and returns on the way up. */
.site-header { transition: background .25s ease, backdrop-filter .25s ease, transform .35s cubic-bezier(.2,.8,.2,1), -webkit-backdrop-filter .25s ease; }
.site-header.is-hidden { transform: translateY(-100%); }

/* Hero CTA: elastic magnet toward the cursor (vars set in JS) plus a real
   press-down state — hover lifts, active sinks and tightens its shadow. */
.primary-action {
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease;
}
.primary-action:hover { transform: translate(var(--mx, 0px), calc(var(--my, 0px) - 3px)) scale(1.02); }
.primary-action:active { transform: translate(var(--mx, 0px), var(--my, 0px)) scale(.96); box-shadow: 0 4px 12px rgba(64,118,228,.3); }

/* Border light: a comet-tailed beam orbits the pill edge on an endless loop.
   ::before already owns the surface shimmer, so ::after wears the ring —
   a conic gradient masked down to a 2.5px border band. The angle animates
   via a registered custom property (browsers without @property just show a
   static highlight instead of orbiting). */
@property --beam-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.primary-action::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2.5px;
  background: conic-gradient(from var(--beam-angle),
    transparent 0deg,
    transparent 300deg,
    rgba(255, 255, 255, .25) 330deg,
    rgba(255, 255, 255, .95) 352deg,
    #fff 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: beam-orbit 3.6s linear infinite;
  pointer-events: none;
}
@keyframes beam-orbit { to { --beam-angle: 360deg; } }
@media (max-width: 720px) { .primary-action::after { padding: 2px; } }

/* Button copy: an icy sheen sweeps through the glyphs on the same 3.6s
   clock as the border beam, then the text settles back to solid white.
   The base background-position parks the band out of view, so the text
   reads plain white whenever the animation is off (reduced motion) or
   background-clip:text is unavailable (the @supports fallback). */
.cta-label {
  display: inline-block;
  background-color: #fff;
  background-image: linear-gradient(105deg, #fff 38%, #cfe4ff 50%, #fff 62%);
  background-size: 250% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: cta-sheen 3.6s ease-in-out infinite;
}
@keyframes cta-sheen {
  0% { background-position: 100% 0; }
  45%, 100% { background-position: 0% 0; }
}
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .cta-label { background: none; color: #fff; animation: none; }
}

/* Stronger CTA lighting: a visible halo plus a luminous sweep across its face. */
.primary-action {
  border: 1px solid rgba(255, 255, 255, .48);
  background: linear-gradient(135deg, #74b2ff 0%, #5798f5 52%, #68a4ff 100%);
  box-shadow: 0 10px 26px rgba(45, 104, 224, .42), 0 0 24px rgba(172, 218, 255, .78), 0 0 54px rgba(106, 167, 255, .48);
}
.primary-action::before {
  z-index: 0;
  background: linear-gradient(110deg, transparent 29%, rgba(255, 255, 255, .2) 39%, rgba(255, 255, 255, .94) 50%, rgba(255, 255, 255, .2) 61%, transparent 71%);
  transform: translateX(-145%) skewX(-18deg);
  animation: cta-light-sweep 2.8s cubic-bezier(.25,.8,.3,1) infinite;
}
.primary-action::after { z-index: 1; }
.primary-action .cta-label {
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow: 0 0 9px rgba(255, 255, 255, .68), 0 2px 4px rgba(50, 105, 210, .3);
}
@keyframes cta-light-sweep {
  0%, 38% { transform: translateX(-145%) skewX(-18deg); }
  62%, 100% { transform: translateX(145%) skewX(-18deg); }
}

/* Everything clickable answers a press. */
.floating-presale:active { transform: translateY(2px) scale(.96); }
.qr-button { transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.qr-button:active { transform: scale(.94); }
.character-tab:active { transform: scale(.97); }
nav a { transition: transform .15s ease, color .2s ease, background-color .2s ease; }
nav a:active { transform: scale(.94); }
.pager button:active::before { transform: translate(-50%, -50%) scale(.84); transition-duration: .12s; }

/* Pre-sale dialog: scrim fades while the panel springs up. */
.modal { opacity: 0; transition: opacity .24s ease; }
.modal.is-open { opacity: 1; }
.modal-panel { transform: scale(.92) translateY(16px); opacity: 0; transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .22s ease; }
.modal.is-open .modal-panel { transform: none; opacity: 1; }

/* The mobile nav drops in instead of popping. */
@media (max-width: 720px) {
  nav.open { animation: nav-drop .26s cubic-bezier(.2,.8,.25,1); }
}
@keyframes nav-drop { from { opacity: 0; transform: translateY(-10px) scale(.97); } }

/* The slow hero drift and border beam are decorative: hold still frames
   for reduced-motion users, and drop the beam rather than park it. */
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.active { transform: none; }
  .primary-action::after { animation: none; opacity: 0; }
}
