/* Core palette follows the supplied game art: sugar pink, berry rose, night purple and lavender. */
:root {
  --paper: #fff4f8;
  --paper-strong: #ffffff;
  --rose: #ff3377;
  --rose-deep: #c81455;
  --rose-soft: #ffd4e3;
  --night: #3d1e4d;
  --night-2: #26102f;
  --lavender: #c084fc;
  --lavender-soft: #f0ddff;
  --lemon: #ffe64d;
  --ink: #3d1e4d;
  --muted: #755d7f;
  --line: rgba(61, 30, 77, .13);
  --shadow-sm: 0 10px 30px rgba(61, 30, 77, .08);
  --shadow-md: 0 22px 60px rgba(61, 30, 77, .14);
  --shadow-rose: 0 18px 40px rgba(255, 51, 119, .24);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --container: min(1180px, calc(100vw - 40px));
  --header-height: 76px;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { max-width: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); overflow-x: hidden; }
body {
  margin: 0;
  padding-top: var(--header-height);
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
::selection { color: var(--night); background: var(--lemon); }
:focus-visible { outline: 3px solid var(--lemon); outline-offset: 4px; }
.container { width: var(--container); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  color: #fff;
  background: var(--night);
  border-radius: 10px;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  min-height: var(--header-height);
  background: rgba(255, 244, 248, .86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(1.4);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(61, 30, 77, .07); }
.header-inner {
  width: var(--container);
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand img { width: 48px; height: 48px; object-fit: cover; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 5px 18px rgba(255, 51, 119, .2); }
.brand-text { display: grid; line-height: 1.2; }
.brand-text strong { font-size: 16px; letter-spacing: .025em; white-space: nowrap; }
.brand-text small { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.primary-nav { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 23px); }
.primary-nav a { position: relative; padding: 25px 0 23px; color: #654d70; font-size: 14px; font-weight: 650; white-space: nowrap; }
.nav-icon { display: inline-grid; width: 17px; height: 17px; margin-right: 5px; place-items: center; color: var(--rose-deep); line-height: 1; vertical-align: -3px; }
.nav-icon svg, .button svg, .text-link svg, .floating-detail svg, .icon-button svg, .lightbox-arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.nav-icon svg { width: 16px; height: 16px; }
.primary-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--rose);
  border-radius: 99px;
  transform: scaleX(0);
  transition: transform .2s ease;
}
.primary-nav a:hover, .primary-nav a.is-active { color: var(--night); }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  padding: 12px 21px;
  color: #fff;
  background: linear-gradient(120deg, #ff246f 0%, #d5187b 48%, #7137b8 100%);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(200,20,85,.3), 0 0 20px rgba(255,51,119,.2), inset 0 1px 0 rgba(255,255,255,.28);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, filter .2s ease;
}
.primary-nav .nav-cta:hover { color: #fff; filter: saturate(1.12) brightness(1.08); box-shadow: 0 14px 30px rgba(200,20,85,.38), 0 0 28px rgba(255,51,119,.3); transform: translateY(-2px) scale(1.02); }
.primary-nav .nav-cta:active { transform: scale(.97); }
.primary-nav .nav-cta .nav-icon { color: currentColor; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--night); border-radius: 99px; transition: transform .25s ease, opacity .25s ease; }

/* Shared */
.section { position: relative; padding: clamp(78px, 8vw, 124px) 0; }
.section-kicker {
  margin: 0 0 12px;
  color: var(--rose-deep);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .2em;
  line-height: 1.4;
  text-transform: uppercase;
}
.section h2 {
  margin: 0;
  color: var(--rose-deep);
  background: linear-gradient(110deg, var(--night) 0%, var(--rose-deep) 54%, var(--rose) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(25px, 2.7vw, 38px);
  line-height: 1.15;
  letter-spacing: -.045em;
}
.section h3 { line-height: 1.35; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 52px; }
.section-heading > div { max-width: 680px; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); }
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.button > span { display: inline-grid; width: 18px; height: 18px; place-items: center; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #fff; background: var(--night); box-shadow: 0 14px 30px rgba(61, 30, 77, .22); }
.button-primary:hover { color: var(--night); background: var(--lemon); box-shadow: 0 18px 35px rgba(255, 230, 77, .28); }
.button-secondary { color: var(--night); background: rgba(255,255,255,.74); border-color: rgba(61,30,77,.18); }
.button-secondary:hover { background: #fff; box-shadow: var(--shadow-sm); }
.button-light { color: var(--night); background: #fff; box-shadow: 0 16px 34px rgba(38,16,47,.22); }
.button-light:hover { background: var(--lemon); }
.detail-cta {
  min-height: 60px;
  padding: 16px 31px;
  color: #fff;
  background: linear-gradient(120deg, #ff246f 0%, #d5187b 46%, #7137b8 100%);
  border-color: rgba(255,255,255,.3);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(200,20,85,.34), 0 0 26px rgba(255,51,119,.25), inset 0 1px 0 rgba(255,255,255,.3);
  font-size: 16px;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, filter .22s ease;
}
.detail-cta:hover {
  color: #fff;
  background: linear-gradient(120deg, #ff246f 0%, #d5187b 46%, #7137b8 100%);
  filter: saturate(1.12) brightness(1.08);
  box-shadow: 0 20px 42px rgba(200,20,85,.42), 0 0 34px rgba(255,51,119,.32), inset 0 1px 0 rgba(255,255,255,.34);
  transform: translateY(-3px) scale(1.02);
}
.detail-cta:active { transform: scale(.97); }

/* Hero */
.hero { position: relative; min-height: calc(100svh - var(--header-height)); padding: clamp(48px, 6vw, 84px) 0 0; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; filter: blur(2px); }
.hero::before { top: -140px; right: -140px; width: 550px; height: 550px; background: radial-gradient(circle, rgba(192,132,252,.35), rgba(192,132,252,0) 68%); }
.hero::after { bottom: 70px; left: -180px; width: 430px; height: 430px; background: radial-gradient(circle, rgba(255,51,119,.17), rgba(255,51,119,0) 70%); }
.hero-backdrop {
  position: absolute;
  inset: 0;
  opacity: .4;
  background-image: radial-gradient(rgba(255,51,119,.2) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; width: var(--container); margin-inline: auto; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(38px, 5vw, 76px); }
.eyebrow { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; }
.eyebrow span { padding: 7px 11px; color: var(--night); background: #fff; border: 1px solid rgba(255,51,119,.18); border-radius: 999px; box-shadow: 0 5px 15px rgba(61,30,77,.05); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.eyebrow span:first-child { background: var(--lemon); border-color: transparent; }
.hero h1 { max-width: 650px; margin: 0; color: var(--rose-deep); background: linear-gradient(110deg, var(--night) 0%, var(--rose-deep) 54%, var(--rose) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: clamp(36px, 4.35vw, 58px); line-height: 1.02; letter-spacing: -.05em; }
.hero h1 span { display: block; margin-top: 13px; color: inherit; }
.hero-jp { max-width: 620px; margin: 22px 0 0; color: #806489; font-size: 13px; line-height: 1.5; }
.hero-lead { max-width: 620px; margin: 24px 0 0; color: #5e4769; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: flex; gap: 30px; margin: 38px 0 0; padding: 0; list-style: none; }
.hero-facts li { display: grid; padding-right: 30px; border-right: 1px solid var(--line); }
.hero-facts li:last-child { padding-right: 0; border-right: 0; }
.hero-facts strong { color: var(--night); font-size: 24px; line-height: 1.2; letter-spacing: -.04em; }
.hero-facts span { margin-top: 3px; color: var(--muted); font-size: 12px; }
.hero-visual { position: relative; margin: 0; padding: 10px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); transform: rotate(1.25deg); }
.hero-visual::before { content: "♡"; position: absolute; z-index: 2; top: -24px; right: 40px; display: grid; width: 56px; height: 56px; place-items: center; color: var(--night); background: var(--lemon); border: 5px solid var(--paper); border-radius: 50%; font-size: 25px; font-weight: 900; transform: rotate(-9deg); }
.hero-visual img { width: 100%; aspect-ratio: 1770 / 991; object-fit: cover; border-radius: calc(var(--radius-lg) - 8px); }
.hero-visual figcaption { position: absolute; right: 32px; bottom: 28px; left: 32px; display: flex; align-items: center; gap: 10px; padding: 13px 17px; color: #fff; background: rgba(61,30,77,.83); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; backdrop-filter: blur(10px); font-size: 13px; font-weight: 650; }
.hero-visual figcaption span { color: var(--lemon); font-size: 17px; }
.hero-ribbon { position: relative; z-index: 2; width: 100%; max-width: 100vw; margin-top: clamp(50px, 7vw, 90px); padding: 16px 28px; display: flex; justify-content: center; align-items: center; gap: 27px; color: #fff; background: var(--night); font-size: 12px; font-weight: 750; letter-spacing: .06em; white-space: nowrap; overflow: hidden; }
.hero-ribbon i { width: 5px; height: 5px; background: var(--lemon); border-radius: 50%; }

/* Intro */
.intro { background: #fff; }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.section-copy > p:not(.section-kicker) { margin: 24px 0 0; color: #654f70; font-size: 17px; }
.notice-card { display: flex; gap: 16px; margin-top: 32px; padding: 20px; background: var(--paper); border: 1px solid rgba(255,51,119,.15); border-radius: var(--radius-sm); }
.notice-card .notice-icon { display: grid; flex: 0 0 36px; height: 36px; place-items: center; color: var(--night); background: var(--lemon); border-radius: 50%; }
.notice-card strong { font-size: 14px; }
.notice-card p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.intro-media { position: sticky; top: calc(var(--header-height) + 28px); padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.intro-media > img { width: 100%; border-radius: 16px; }
.spec-list { margin: 8px 0 0; }
.spec-list div { display: grid; grid-template-columns: 90px 1fr; gap: 15px; padding: 14px 8px; border-bottom: 1px dashed var(--line); }
.spec-list div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--muted); font-size: 12px; }
.spec-list dd { margin: 0; color: var(--night); font-size: 13px; font-weight: 750; text-align: right; }

/* Character */
.character-section { overflow: hidden; background: linear-gradient(145deg, #f4e6ff 0%, #fff4f8 52%, #ffe5ee 100%); }
.character-section::before { content: "KANON"; position: absolute; right: -20px; bottom: -80px; color: rgba(61,30,77,.04); font-size: min(20vw, 280px); font-weight: 950; line-height: 1; letter-spacing: -.08em; }
.character-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(42px, 7vw, 96px); align-items: center; }
.character-art { position: relative; margin: 0; padding: 10px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); transform: rotate(-1deg); }
.character-art img { border-radius: calc(var(--radius-lg) - 8px); }
.character-art figcaption { position: absolute; right: 22px; bottom: 22px; padding: 8px 14px; color: #fff; background: var(--night); border-radius: 999px; font-size: 12px; font-weight: 750; }
.character-role { margin: 24px 0 0; color: var(--rose-deep); font-size: 18px; font-weight: 800; }
.character-copy > p:not(.section-kicker, .character-role) { margin: 18px 0 0; color: var(--muted); }
.trait-list { display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.trait-list li { display: flex; gap: 15px; padding: 16px; background: rgba(255,255,255,.64); border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius-sm); }
.trait-list li > span { display: grid; flex: 0 0 38px; height: 38px; place-items: center; color: var(--night); background: var(--lemon); border-radius: 12px; font-size: 11px; font-weight: 900; }
.trait-list strong { font-size: 14px; }
.trait-list p { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

/* Game content */
.content-section { background: #fff; }
.content-layout { display: grid; grid-template-columns: .84fr 1.16fr; gap: 42px; align-items: stretch; }
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.feature-card { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(255,51,119,.35); box-shadow: var(--shadow-sm); }
.card-icon { display: grid; width: 40px; height: 40px; place-items: center; color: #fff; background: var(--rose-deep); border-radius: 13px; font-size: 18px; }
.feature-card:nth-child(2) .card-icon, .feature-card:nth-child(3) .card-icon { color: var(--night); background: var(--lemon); }
.feature-card h3 { margin: 20px 0 8px; font-size: 17px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; }
.gameplay-figure { position: relative; min-height: 100%; margin: 0; padding: 10px; background: var(--night); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.gameplay-figure img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; border-radius: calc(var(--radius-lg) - 8px); }
.gameplay-figure figcaption { position: absolute; right: 28px; bottom: 28px; left: 28px; display: grid; padding: 16px 18px; color: #fff; background: rgba(61,30,77,.86); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; backdrop-filter: blur(10px); }
.gameplay-figure figcaption strong { color: var(--lemon); font-size: 13px; }
.gameplay-figure figcaption span { font-size: 12px; }

/* Gallery */
.gallery-section { max-width: 100vw; color: #fff; background: var(--night-2); overflow: hidden; }
.gallery-section .container, .carousel { min-width: 0; overflow: hidden; }
.gallery-section::before { content: ""; position: absolute; top: -150px; right: -80px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(192,132,252,.25), transparent 70%); }
.section-heading.light h2 { color: #fff; }
.section-heading.light > p { color: #cbbbd2; }
.section-heading.light .section-kicker { color: #ff8db4; }
.carousel { position: relative; }
.carousel-track { width: 100%; max-width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px) / 1.35); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { position: relative; margin: 0; padding: 9px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-lg); scroll-snap-align: start; }
.carousel-slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--radius-lg) - 8px); }
.carousel-slide figcaption { display: flex; align-items: center; gap: 18px; padding: 18px 10px 10px; }
.carousel-slide figcaption > span { display: grid; flex: 0 0 38px; height: 38px; place-items: center; color: var(--night); background: var(--lemon); border-radius: 50%; font-size: 11px; font-weight: 900; }
.carousel-slide strong { font-size: 15px; }
.carousel-slide p { margin: 1px 0 0; color: #cbbbd2; font-size: 12px; line-height: 1.5; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 27px; }
.carousel-controls > button { display: grid; width: 44px; height: 44px; place-items: center; color: #fff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); border-radius: 50%; cursor: pointer; transition: background .2s ease, color .2s ease; }
.carousel-controls > button:hover { color: var(--night); background: var(--lemon); }
.carousel-dots { display: flex; gap: 7px; }
.carousel-dots button { width: 8px; height: 8px; padding: 0; background: #76657e; border: 0; border-radius: 999px; cursor: pointer; transition: width .2s ease, background .2s ease; }
.carousel-dots button.is-active { width: 24px; background: var(--rose); }

/* Screenshot gallery and lightbox */
.screenshot-section { color: #fff; background: var(--night-2); }
.screenshot-section .section-heading > p { color: #cbbbd2; }
.screenshot-section .section-kicker { color: #ff8db4; }
.screenshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.screen-card { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; background: #3d1e4d; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; cursor: zoom-in; }
.screen-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.screen-card:hover img, .screen-card:focus-visible img { transform: scale(1.05); }
.screen-card-label { position: absolute; right: 12px; bottom: 12px; display: grid; width: 34px; height: 34px; place-items: center; color: #fff; background: rgba(38,16,47,.82); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-size: 11px; font-weight: 850; }
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 24px; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(19,9,24,.92); backdrop-filter: blur(8px); }
.lightbox-panel { position: relative; z-index: 1; display: grid; width: min(1120px, 100%); grid-template-columns: 56px minmax(0, 1fr) 56px; grid-template-rows: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.lightbox-toolbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; color: #fff; }
.lightbox-toolbar p { margin: 0; font-size: 14px; font-weight: 750; }
.icon-button, .lightbox-arrow { display: grid; width: 46px; height: 46px; padding: 12px; place-items: center; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; cursor: pointer; transition: background .2s ease, color .2s ease; }
.icon-button:hover, .lightbox-arrow:hover { color: var(--night); background: var(--lemon); }
.lightbox-image { grid-column: 2; width: 100%; max-height: calc(100svh - 150px); aspect-ratio: 16 / 9; object-fit: contain; border-radius: 12px; }
.lightbox-prev { grid-column: 1; grid-row: 2; }
.lightbox-next { grid-column: 3; grid-row: 2; }
.lightbox-counter { grid-column: 1 / -1; margin: 0; color: #d7cbdc; font-size: 12px; text-align: center; }
.floating-detail { position: fixed; z-index: 120; right: 24px; bottom: 24px; display: inline-flex; min-height: 60px; align-items: center; gap: 11px; padding: 12px 25px 12px 13px; color: #fff; background: linear-gradient(120deg, #ff246f 0%, #d5187b 48%, #7137b8 100%); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; box-shadow: 0 16px 38px rgba(200,20,85,.38), 0 0 28px rgba(255,51,119,.28), inset 0 1px 0 rgba(255,255,255,.3); font-size: 15px; font-weight: 850; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .22s ease, transform .22s cubic-bezier(.2,.8,.2,1), visibility .22s ease, box-shadow .22s ease, filter .22s ease; }
.floating-detail.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.floating-detail:hover { color: #fff; filter: saturate(1.12) brightness(1.08); box-shadow: 0 20px 46px rgba(200,20,85,.46), 0 0 36px rgba(255,51,119,.34); transform: translateY(-3px) scale(1.02); }
.floating-detail:active { transform: scale(.97); }
.floating-detail-icon { display: grid; width: 34px; height: 34px; padding: 8px; place-items: center; color: var(--night); background: var(--lemon); border-radius: 50%; box-shadow: 0 5px 14px rgba(61,30,77,.18); }
.floating-detail:hover .floating-detail-icon { color: var(--night); background: #fff27a; }

/* Guide */
.guide-section { background: var(--paper); }
.guide-steps { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; padding: 0; list-style: none; }
.guide-steps li { display: flex; gap: 20px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 8px 24px rgba(61,30,77,.045); }
.guide-steps li > span { display: grid; flex: 0 0 48px; height: 48px; place-items: center; color: var(--night); background: var(--lemon); border-radius: 15px; font-size: 12px; font-weight: 900; box-shadow: 4px 4px 0 var(--rose-soft); }
.guide-steps h3 { margin: 0 0 7px; font-size: 18px; }
.guide-steps p { margin: 0; color: var(--muted); font-size: 14px; }
kbd { display: inline-block; min-width: 31px; margin: 0 2px; padding: 1px 6px; color: #fff; background: var(--night); border: 0; border-bottom: 2px solid var(--lavender); border-radius: 5px; font-family: inherit; font-size: 11px; font-weight: 750; text-align: center; }
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.tips-grid article { position: relative; padding: 24px 24px 24px 62px; color: #fff; background: var(--night); border-radius: var(--radius-md); overflow: hidden; }
.tips-grid article > span { position: absolute; top: 25px; left: 23px; color: var(--lemon); }
.tips-grid h3 { margin: 0 0 6px; color: var(--lemon); font-size: 15px; }
.tips-grid p { margin: 0; color: #d7cbdc; font-size: 12px; }

/* Features */
.features-section { background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features-grid article { position: relative; min-height: 230px; padding: 28px; background: linear-gradient(150deg, #fff, var(--paper)); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.features-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.features-grid b { position: absolute; top: 16px; right: 20px; color: rgba(255,51,119,.13); font-size: 58px; line-height: 1; letter-spacing: -.08em; }
.features-grid h3 { position: relative; margin: 80px 0 8px; font-size: 19px; }
.features-grid h3::before { content: ""; position: absolute; top: -22px; left: 0; width: 36px; height: 5px; background: var(--rose); border-radius: 99px; box-shadow: 16px 0 0 var(--lemon); }
.features-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.requirements { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; margin-top: 20px; padding: clamp(28px, 5vw, 56px); color: #fff; background: linear-gradient(135deg, var(--night), #5a296c); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.requirements .section-kicker { color: #ff8db4; }
.requirements h3 { margin: 0 0 12px; font-size: 27px; }
.requirements p:not(.section-kicker) { margin: 0; color: #d7cbdc; font-size: 13px; }
.requirements ul { margin: 0; padding: 0; list-style: none; }
.requirements li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.requirements li:last-child { border-bottom: 0; }
.requirements li span { color: #bfaec7; font-size: 12px; }
.requirements li strong { color: #fff; font-size: 13px; font-weight: 650; }

/* Updates */
.updates-section { background: linear-gradient(180deg, var(--paper), #f9e9f2); }
.update-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.update-list article { display: flex; gap: 18px; padding: 25px; background: rgba(255,255,255,.79); border: 1px solid rgba(61,30,77,.1); border-radius: var(--radius-md); }
.update-list article > span { display: grid; flex: 0 0 44px; height: 44px; place-items: center; color: #fff; background: var(--rose-deep); border-radius: 50%; font-size: 11px; font-weight: 900; }
.update-list article:nth-child(3n) > span { color: var(--night); background: var(--lemon); }
.update-list h3 { margin: 2px 0 7px; font-size: 17px; }
.update-list p { margin: 0; color: var(--muted); font-size: 13px; }

/* FAQ */
.faq-section { background: #fff; }
.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(48px, 8vw, 100px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-height) + 30px); }
.faq-intro p:not(.section-kicker) { margin: 22px 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--rose-deep); font-size: 14px; font-weight: 800; }
.text-link span { display: inline-grid; width: 18px; height: 18px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 54px 24px 0; font-size: 16px; font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; top: 50%; right: 10px; width: 17px; height: 2px; background: var(--rose-deep); transition: transform .2s ease; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details[open] summary { color: var(--rose-deep); }
.faq-list details p { margin: -6px 54px 24px 0; color: var(--muted); font-size: 14px; }

/* Rebuilt content modules */
.centered-section-title { max-width: 900px; margin: 0 auto 56px; text-align: center; }
.centered-section-title h2 { position: relative; padding-bottom: 20px; }
.centered-section-title h2::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; width: 72px; height: 4px; margin: auto; background: linear-gradient(90deg, var(--rose-deep), var(--rose), var(--lemon)); border-radius: 999px; }
.centered-section-title > p:not(.section-kicker) { max-width: 720px; margin: 20px auto 0; color: var(--muted); }

.intro-showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(42px, 6vw, 84px); align-items: center; }
.intro-showcase-media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 26px; box-shadow: 0 28px 70px rgba(61,30,77,.18); }
.intro-showcase-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.intro-showcase-media:hover img { transform: scale(1.05); }
.intro-showcase-copy > p { margin: 0 0 14px; color: #654f70; line-height: 1.8; }
.intro-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 28px; padding: 0; list-style: none; }
.intro-points li { display: flex; gap: 11px; align-items: center; padding: 13px; background: var(--paper); border: 1px solid rgba(255,51,119,.13); border-radius: 12px; }
.intro-points li > span { display: grid; flex: 0 0 34px; height: 34px; place-items: center; color: var(--night); background: var(--lemon); border-radius: 10px; font-size: 13px; font-weight: 900; }
.intro-points strong, .intro-points small { display: block; }
.intro-points strong { font-size: 13px; }
.intro-points small { margin-top: 2px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.intro-more { min-width: 150px; }

.content-stories { display: grid; gap: clamp(64px, 8vw, 108px); }
.content-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(38px, 6vw, 80px); align-items: center; }
.content-story figure { margin: 0; overflow: hidden; border-radius: 12px; box-shadow: var(--shadow-md); }
.content-story figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.content-story figure:hover img { transform: scale(1.035); }
.content-story-reverse figure { order: 2; }
.content-story-reverse > div { order: 1; }
.story-index { color: var(--rose-deep); font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.content-story h3 { margin: 12px 0 16px; color: var(--night); font-size: clamp(24px, 2.5vw, 34px); }
.content-story p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }

.guide-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -20px 0 36px; }
.guide-filter { min-width: 86px; padding: 10px 18px; color: var(--muted); background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 800; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.guide-filter:hover { color: var(--rose-deep); border-color: rgba(200,20,85,.35); transform: translateY(-2px); }
.guide-filter.is-active { color: #fff; background: var(--rose-deep); border-color: var(--rose-deep); box-shadow: 0 10px 26px rgba(200,20,85,.22); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide-card { min-width: 0; padding: 25px; background: rgba(255,255,255,.86); border: 1px solid rgba(61,30,77,.1); border-radius: 12px; box-shadow: 0 8px 24px rgba(61,30,77,.045); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.guide-card:hover { transform: translateY(-7px); border-color: rgba(255,51,119,.38); box-shadow: 0 18px 38px rgba(255,51,119,.16), 0 0 0 1px rgba(255,51,119,.08); }
.guide-card[hidden] { display: none; }
.guide-tag { display: inline-flex; padding: 5px 10px; color: var(--rose-deep); background: var(--rose-soft); border-radius: 999px; font-size: 10px; font-weight: 850; letter-spacing: .04em; }
.guide-card h3 { margin: 18px 0 9px; font-size: 18px; }
.guide-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.features-section { color: #fff; background: radial-gradient(circle at 15% 10%, rgba(192,132,252,.2), transparent 28%), linear-gradient(145deg, var(--night-2), #431d52); }
.feature-heading h2 { background: linear-gradient(105deg, #fff 0%, #ff9dc0 58%, var(--lemon) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.feature-heading > p:not(.section-kicker) { color: #d7cbdc; }
.feature-heading .section-kicker { color: #ff8db4; }
.features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.features-grid article { min-height: 240px; padding: 28px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; backdrop-filter: blur(12px); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.features-grid article:hover { transform: translateY(-7px); background: rgba(255,255,255,.11); border-color: rgba(255,230,77,.42); box-shadow: 0 18px 42px rgba(0,0,0,.24), 0 0 26px rgba(255,51,119,.12); }
.feature-icon { display: grid; width: 48px; height: 48px; padding: 11px; place-items: center; color: var(--lemon); background: rgba(255,230,77,.1); border: 1px solid rgba(255,230,77,.25); border-radius: 12px; transition: transform .25s ease, color .25s ease, background .25s ease; }
.feature-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.features-grid article:hover .feature-icon { color: #fff; background: rgba(255,51,119,.2); transform: translateY(-3px) rotate(-5deg) scale(1.06); }
.features-grid h3 { margin: 54px 0 10px; color: #fff; font-size: 19px; }
.features-grid h3::before, .features-grid b { display: none; }
.features-grid p { color: #cbbbd2; font-size: 13px; line-height: 1.75; }

.update-heading, .faq-intro { max-width: 100%; text-align: left; }
.update-heading h2::after, .faq-intro h2::after { right: auto; margin: 0; }
.update-heading > p:not(.section-kicker), .faq-intro > p:not(.section-kicker) { max-width: 920px; margin-right: 0; margin-left: 0; }
.update-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; width: 100%; }
.update-list article { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 22px; width: 100%; padding: 28px 32px; background: rgba(255,255,255,.86); border: 1px solid rgba(61,30,77,.1); border-radius: 12px; box-shadow: 0 8px 28px rgba(61,30,77,.05); transition: transform .25s cubic-bezier(.2,.7,.2,1), border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.update-list article:hover { background: #fff; border-color: rgba(255,51,119,.32); box-shadow: 0 18px 42px rgba(61,30,77,.12), 0 0 24px rgba(255,51,119,.08); transform: translateY(-6px); }
.update-list article:hover > span { transform: translateY(-2px) rotate(-3deg) scale(1.05); }
.update-list article > span { display: grid; width: 48px; height: 48px; place-items: center; color: #fff; background: var(--rose-deep); border-radius: 12px; font-size: 11px; font-weight: 900; }
.update-list article > span { transition: transform .25s ease, box-shadow .25s ease; }
.update-list article:nth-child(3n) > span { color: var(--night); background: var(--lemon); }
.update-list h3 { margin: 0 0 9px; font-size: 19px; }
.update-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }

.faq-intro { position: static; margin-bottom: 46px; }
.faq-intro .text-link { margin-top: 20px; }
.faq-list { display: grid; gap: 12px; width: 100%; border-top: 0; }
.faq-list details { width: 100%; overflow: hidden; background: var(--paper); border: 1px solid rgba(61,30,77,.1); border-radius: 12px; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-list details:hover, .faq-list details[open] { border-color: rgba(255,51,119,.3); box-shadow: 0 10px 30px rgba(61,30,77,.07); }
.faq-list summary { padding: 22px 64px 22px 24px; }
.faq-list summary span::before, .faq-list summary span::after { right: 24px; }
.faq-list details p { margin: -3px 64px 23px 24px; line-height: 1.8; }

.js.motion-enabled [data-motion] { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.js.motion-enabled [data-motion="left"] { transform: translateX(-38px); }
.js.motion-enabled [data-motion="right"] { transform: translateX(38px); }
.js.motion-enabled [data-motion].is-visible { opacity: 1; transform: translate(0, 0); }
.js.motion-enabled .update-list article[data-motion].is-visible:hover { transform: translateY(-6px); }

body.lightbox-open { overflow: hidden; }

/* Final CTA / footer */
.final-cta { position: relative; padding: clamp(70px, 8vw, 110px) 0; color: #fff; background: linear-gradient(125deg, var(--rose-deep), #7b2f8d); overflow: hidden; }
.final-cta::before { content: "♡"; position: absolute; right: 7vw; color: rgba(255,255,255,.08); font-size: 240px; line-height: .7; transform: rotate(-12deg); }
.final-cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.final-cta .section-kicker { color: var(--lemon); }
.final-cta h2 { max-width: 780px; color: #fff; font-size: clamp(28px, 3.2vw, 42px); }
.final-cta p:not(.section-kicker) { margin: 18px 0 0; color: #ffe5ee; }
.final-cta .button { flex: 0 0 auto; }
.site-footer { color: #d7cbdc; background: var(--night-2); }
.friend-links { color: #fff; background: linear-gradient(110deg, var(--night) 0%, #71376f 48%, var(--rose-deep) 100%); border-bottom: 1px solid rgba(255,255,255,.12); }
.friend-links-inner { padding-block: 42px 46px; text-align: center; }
.friend-links h2 { margin: 0 0 22px; color: #fff; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; }
.site-footer .friend-links-list { display: flex; grid-template-columns: none; flex-wrap: wrap; justify-content: center; gap: 12px; }
.site-footer .friend-links-list a { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 24px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); font-size: 14px; font-weight: 750; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.site-footer .friend-links-list a:hover { color: #fff; background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); box-shadow: 0 10px 24px rgba(38,16,47,.2); transform: translateY(-2px); }
.site-footer .friend-links-list a:active { transform: scale(.97); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .85fr 1fr; gap: 60px; align-items: start; padding-block: 56px; }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand img { width: 54px; height: 54px; object-fit: cover; border: 2px solid rgba(255,255,255,.7); border-radius: 50%; }
.footer-brand strong { color: #fff; font-size: 14px; }
.footer-brand p { margin: 3px 0 0; color: #9f8da8; font-size: 11px; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 22px; }
.site-footer nav a { color: #d7cbdc; font-size: 12px; }
.site-footer nav a:hover { color: var(--lemon); }
.footer-note { margin: 0; color: #9f8da8; font-size: 11px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom .container { display: flex; justify-content: space-between; padding-block: 17px; color: #8d7b96; font-size: 11px; }
.footer-bottom a:hover { color: #fff; }

.error-page {
  width: min(620px, calc(100% - 32px));
  min-height: 100svh;
  margin-inline: auto;
  padding: 70px 0;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}
.error-page img { width: 120px; height: 120px; margin-bottom: 26px; object-fit: cover; border: 6px solid #fff; border-radius: 50%; box-shadow: var(--shadow-md); }
.error-page h1 { margin: 0; color: var(--night); font-size: clamp(38px, 8vw, 64px); line-height: 1.1; letter-spacing: -.05em; }
.error-page > p:not(.section-kicker) { max-width: 520px; margin: 20px 0 28px; color: var(--muted); }

/* Core content is never hidden: reliable for crawlers, printing and reduced-capability browsers. */
.js [data-reveal] { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  :root { --container: min(100% - 32px, 900px); }
  .brand-text strong { font-size: 14px; }
  .brand-text small { display: none; }
  .nav-toggle { display: block; }
  .primary-nav { flex-wrap: wrap; justify-content: flex-end; padding-bottom: 14px; }
  .primary-nav a { padding: 8px 0; }
  .primary-nav a:not(.nav-cta)::after { bottom: 3px; }
  .js .primary-nav { position: absolute; top: calc(100% + 8px); right: 16px; left: 16px; display: grid; justify-content: center; justify-items: center; gap: 3px; padding: 16px; background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s; }
  .js .primary-nav a { display: inline-flex; width: max-content; min-width: 140px; align-items: center; justify-content: center; padding: 10px 12px; text-align: center; }
  .primary-nav .nav-icon { margin-right: 8px; }
  .js .primary-nav .nav-cta { margin-top: 4px; text-align: center; }
  .js.nav-open .primary-nav { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
  .js.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .js.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .js.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero h1 { max-width: 780px; }
  .hero-visual { max-width: 850px; }
  .intro-grid, .character-grid { gap: 50px; }
  .intro-showcase, .content-story { gap: 36px; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gameplay-figure img { min-height: 0; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 28px, 620px); --header-height: 68px; }
  body { font-size: 15px; }
  .brand img { width: 44px; height: 44px; }
  .brand-text strong { font-size: 15px; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 50px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button { padding-inline: 18px; }
  .hero-facts { gap: 14px; }
  .hero-facts li { padding-right: 14px; }
  .hero-facts strong { font-size: 19px; }
  .hero-visual { border-radius: 24px; }
  .hero-visual img { border-radius: 17px; }
  .hero-visual figcaption { right: 20px; bottom: 18px; left: 20px; padding: 10px 12px; font-size: 11px; }
  .hero-ribbon { justify-content: flex-start; overflow: hidden; }
  .section-heading { display: grid; gap: 18px; margin-bottom: 36px; }
  .intro-grid, .character-grid, .faq-layout, .requirements, .intro-showcase, .content-story { grid-template-columns: 1fr; }
  .intro-media, .faq-intro { position: static; }
  .centered-section-title { margin-bottom: 40px; }
  .intro-showcase-media { aspect-ratio: 4 / 3; }
  .intro-points { grid-template-columns: 1fr 1fr; }
  .content-stories { gap: 62px; }
  .content-story figure, .content-story-reverse figure { order: 1; }
  .content-story > div, .content-story-reverse > div { order: 2; }
  .guide-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .character-art { order: 2; }
  .feature-cards, .guide-steps, .update-list { grid-template-columns: 1fr; }
  .tips-grid, .features-grid { grid-template-columns: 1fr; }
  .features-grid article { min-height: 190px; }
  .features-grid h3 { margin-top: 60px; }
  .carousel-track { grid-auto-columns: 92%; gap: 16px; }
  .requirements { gap: 25px; }
  .final-cta-inner { display: grid; gap: 28px; }
  .final-cta .button { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-note { grid-column: auto; }
  body { padding-bottom: 84px; }
  .floating-detail,
  .floating-detail.is-visible { right: 14px; bottom: 12px; left: 14px; width: auto; min-height: 58px; justify-content: center; opacity: 1; visibility: visible; transform: none; }
  .floating-detail:hover { transform: translateY(-2px); }
  .floating-detail:active { transform: scale(.97); }
}

@media (max-width: 470px) {
  :root { --container: calc(100% - 24px); }
  .brand { gap: 8px; }
  .brand-text strong { font-size: 12px; letter-spacing: 0; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-facts { justify-content: space-between; }
  .hero-facts li { flex: 1; }
  .hero-facts span { font-size: 10px; }
  .hero-ribbon { gap: 17px; padding-inline: 18px; font-size: 10px; }
  .section { padding-block: 72px; }
  .section h2 { font-size: 26px; }
  .intro-points { grid-template-columns: 1fr; }
  .intro-showcase-media { border-radius: 20px; }
  .guide-filters { justify-content: flex-start; }
  .guide-filter { min-width: 74px; padding-inline: 14px; }
  .guide-card { padding: 22px; }
  .update-list article { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 22px 18px; }
  .update-list article > span { width: 40px; height: 40px; }
  .faq-list summary { padding: 20px 54px 20px 18px; }
  .faq-list summary span::before, .faq-list summary span::after { right: 20px; }
  .faq-list details p { margin: -2px 46px 20px 18px; }
  .feature-cards { grid-template-columns: 1fr; }
  .feature-card, .guide-steps li, .update-list article { padding: 21px; }
  .guide-steps li, .update-list article { gap: 14px; }
  .guide-steps li > span, .update-list article > span { flex-basis: 40px; height: 40px; }
  .requirements { padding: 24px 20px; }
  .requirements li { grid-template-columns: 1fr; gap: 2px; }
  .faq-list summary { padding-right: 42px; font-size: 15px; }
  .faq-list details p { margin-right: 15px; }
  .footer-bottom .container { gap: 20px; }
  .screenshot-grid { gap: 10px; }
  .lightbox { padding: 14px; }
  .lightbox-panel { grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 8px; }
  .icon-button, .lightbox-arrow { width: 40px; height: 40px; padding: 10px; }
  .lightbox-image { max-height: calc(100svh - 130px); }
  .friend-links-inner { padding-block: 34px 38px; }
  .site-footer .friend-links-list { display: grid; grid-template-columns: 1fr; }
  .site-footer .friend-links-list a { width: 100%; min-height: 46px; padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-actions, .carousel-controls, .final-cta, .site-footer { display: none !important; }
  body { color: #000; background: #fff; }
  .section, .hero { padding: 24px 0; }
  .hero-inner, .intro-grid, .character-grid, .content-layout, .faq-layout { display: block; }
  .hero-visual, .intro-media, .character-art, .gameplay-figure { margin: 20px 0; box-shadow: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
