:root {
  --bg: #f6f1e7;
  --bg-soft: #fff9ef;
  --surface: rgba(255, 252, 246, 0.86);
  --surface-strong: #fffdf8;
  --ink: #17352f;
  --ink-soft: #2c4a43;
  --muted: #5d6f69;
  --accent: #cc7a1a;
  --accent-deep: #a65d09;
  --accent-soft: #f4c98c;
  --secondary: #1f7b66;
  --secondary-soft: #d8f0ea;
  --line: rgba(23, 53, 47, 0.12);
  --line-strong: rgba(23, 53, 47, 0.2);
  --shadow: 0 22px 55px rgba(27, 54, 47, 0.14);
  --shadow-soft: 0 14px 32px rgba(27, 54, 47, 0.1);
  --radius-sm: 18px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --container: min(1180px, calc(100% - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fffaf2 0%, #f6f1e7 44%, #f9f3e8 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 250, 242, 0.78), rgba(246, 241, 231, 0.82)),
    url("images/background.jpg") center / cover no-repeat;
  opacity: 0.72;
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.26), transparent 72%);
  z-index: -2;
}

.rain-scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.rain-drop {
  position: absolute;
  top: -22vh;
  left: var(--left);
  width: var(--thickness);
  height: var(--height);
  opacity: var(--opacity);
  transform: translate3d(0, -18vh, 0) rotate(0deg);
  animation: rain-fall var(--duration) linear var(--delay) infinite;
  filter: blur(var(--blur)) drop-shadow(0 0 14px rgba(193, 239, 255, 0.45));
  will-change: transform, opacity;
}

.rain-drop::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(248, 254, 255, 0.98) 24%,
    rgba(214, 247, 241, 0.92) 58%,
    rgba(145, 223, 214, 0.82) 100%
  );
}

.rain-drop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.5rem;
  width: var(--splash);
  height: var(--splash-height);
  border: 1px solid rgba(177, 230, 223, 0.56);
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-50%) scale(0.2);
  animation: rain-ripple var(--duration) ease-out var(--delay) infinite;
}

@keyframes rain-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -18vh, 0) rotate(0deg);
  }

  12% {
    opacity: var(--opacity);
  }

  78% {
    opacity: var(--opacity);
  }

  100% {
    opacity: 0;
    transform: translate3d(0, 118vh, 0) rotate(0deg);
  }
}

@keyframes rain-ripple {
  0%,
  78% {
    opacity: 0;
    transform: translateX(-50%) scale(0.2);
  }

  88% {
    opacity: var(--ripple-opacity);
    transform: translateX(-50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) scale(2.1);
  }
}

body.gate-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 90;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-heading {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
  max-width: 760px;
}

.eyebrow {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.display,
.headline,
.footer-title,
.legal-content h2,
.age-card h2 {
  margin: 0;
  font-family: "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 0.95;
}

.display {
  font-size: clamp(2.9rem, 7vw, 5.8rem);
}

.headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.lead,
.page-intro p,
.legal-content p,
.feature-card p,
.story-copy p,
.contact-card p,
.policy-link-card p,
.game-card p,
.panel-item p,
.panel-note p,
.footer-brand p,
.footer-links span {
  margin: 0;
  color: var(--muted);
}

.pill-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(23, 53, 47, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 6px 18px rgba(27, 54, 47, 0.06);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fffaf2;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  box-shadow: 0 16px 34px rgba(204, 122, 26, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 20px 38px rgba(204, 122, 26, 0.3);
}

.btn-ghost {
  border-color: rgba(23, 53, 47, 0.18);
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(23, 53, 47, 0.32);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 245, 236, 0.82);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(27, 54, 47, 0.16);
  flex-shrink: 0;
}

.brand-title {
  display: grid;
  gap: 0.1rem;
}

.brand-title strong {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-title span {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav a {
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 3.6rem;
  height: 3.6rem;
  padding: 0;
  border: 1px solid rgba(23, 53, 47, 0.12);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(243, 236, 224, 0.78));
  box-shadow:
    0 16px 28px rgba(23, 53, 47, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  place-items: center;
  align-content: center;
  justify-items: center;
  gap: 0;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease, background 0.26s ease;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

.nav-toggle::before {
  inset: 0.22rem;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.92), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.08));
  opacity: 0.95;
  z-index: 0;
}

.nav-toggle::after {
  inset: auto auto 0.45rem 0.55rem;
  width: 1.2rem;
  height: 1.2rem;
  background: radial-gradient(circle, rgba(204, 122, 26, 0.22), transparent 72%);
  filter: blur(4px);
  z-index: 0;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  transform: translateY(-1px) scale(1.02);
  border-color: rgba(31, 123, 102, 0.28);
  box-shadow:
    0 20px 34px rgba(23, 53, 47, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(31, 123, 102, 0.18);
  outline-offset: 3px;
}

.nav-toggle span {
  display: block;
  position: relative;
  z-index: 1;
  width: 1.45rem;
  height: 0.15rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #17352f, #29584e);
  box-shadow: 0 0 12px rgba(90, 145, 132, 0.16);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, width 0.24s ease, background 0.24s ease;
}

.nav-toggle span:nth-child(1) {
  width: 1.35rem;
  transform: translateY(-0.34rem);
}

.nav-toggle span:nth-child(2) {
  width: 1.05rem;
}

.nav-toggle span:nth-child(3) {
  width: 1.35rem;
  transform: translateY(0.34rem);
}

.nav-toggle:hover span:nth-child(2),
.nav-toggle:focus-visible span:nth-child(2) {
  width: 1.35rem;
}

body.nav-open .nav-toggle {
  border-color: rgba(31, 123, 102, 0.3);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(223, 244, 238, 0.88));
  box-shadow:
    0 22px 36px rgba(23, 53, 47, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.nav-open .nav-toggle span {
  background: linear-gradient(90deg, #1f7b66, #17352f);
}

body.nav-open .nav-toggle span:nth-child(1) {
  width: 1.5rem;
  transform: translateY(0.15rem) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

body.nav-open .nav-toggle span:nth-child(3) {
  width: 1.5rem;
  transform: translateY(-0.15rem) rotate(-45deg);
}

.hero {
  position: relative;
  padding: clamp(4.5rem, 7vw, 6.75rem) 0 4rem;
  overflow: clip;
}

.hero::before {
  width: 22rem;
  height: 22rem;
  right: -5rem;
  top: -4rem;
  background: radial-gradient(circle, rgba(244, 201, 140, 0.42), transparent 65%);
}

.hero::after {
  width: 18rem;
  height: 18rem;
  left: -6rem;
  bottom: -6rem;
  background: radial-gradient(circle, rgba(31, 123, 102, 0.18), transparent 66%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.notice-band,
.feature-card,
.story-card,
.contact-card,
.contact-form,
.policy-link-card,
.game-card,
.page-hero-card,
.legal-content,
.faq-item {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(244, 201, 140, 0.26), transparent 28rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 50%);
  pointer-events: none;
}

.hero-copy > * {
  position: relative;
}

.hero-copy .lead {
  max-width: 58ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.hero-copy .pill-row {
  margin-top: 1.45rem;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(244, 201, 140, 0.18), transparent 30rem),
    linear-gradient(160deg, rgba(23, 71, 60, 0.96), rgba(31, 123, 102, 0.92));
  color: #fff8ef;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 68%);
  pointer-events: none;
}

.panel-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel .headline {
  margin-top: 0.6rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.panel-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.panel-item,
.panel-note {
  position: relative;
  z-index: 1;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.panel-note {
  margin-top: 15px
}

.panel-item strong,
.panel-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #fffaf3;
}

.panel-item p,
.panel-note p {
  color: rgba(255, 248, 239, 0.82);
}

.notice-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  padding: 1.65rem;
  border-radius: var(--radius-lg);
}

.notice-band strong {
  display: block;
  margin-bottom: 0.35rem;
}

.notice-band p {
  margin: 0;
}

.feature-grid,
.story-grid,
.contact-grid,
.policy-grid,
.catalog-grid,
.faq-grid,
.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.story-card,
.contact-card,
.contact-form,
.policy-link-card,
.game-card {
  padding: 1.55rem;
  border-radius: var(--radius-lg);
}

.feature-card strong,
.story-card strong,
.contact-card strong,
.policy-link-card strong,
.game-card strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
}

.story-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: start;
}

.story-copy {
  display: grid;
  gap: 1rem;
}

.story-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.65rem;
}

.story-point {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(23, 53, 47, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.56);
}

.story-point strong {
  display: block;
  margin-bottom: 0.25rem;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-item {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding-right: 2rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -0.2rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent-deep);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.contact-list span,
.contact-list a {
  color: var(--ink-soft);
}

.contact-form form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label {
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(31, 123, 102, 0.18);
  border-color: rgba(31, 123, 102, 0.44);
}

.field textarea {
  min-height: 10rem;
  resize: vertical;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: var(--secondary);
}

.form-status[data-state="error"] {
  color: #b04524;
}

.policy-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.policy-link-card {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.policy-link-card .btn {
  justify-self: start;
}

.page-hero {
  padding: 4rem 0 1.75rem;
}

.page-hero-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.page-intro {
  display: grid;
  gap: 0.9rem;
  max-width: 760px;
}

.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-card {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.game-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.game-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.game-page {
  display: flex;
  flex-direction: column;
}

.game-main {
  flex: 1;
}

.game-stage {
  width: 100%;
  min-height: calc(100dvh - 12.4rem);
  background:
    radial-gradient(circle at 20% 10%, rgba(244, 201, 140, 0.18), transparent 30rem),
    linear-gradient(160deg, #17352f, #0f201d);
}

.game-stage iframe {
  display: block;
  width: 100%;
  height: calc(100dvh - 12.4rem);
  min-height: 42rem;
  border: 0;
  background: transparent;
}

.legal-shell {
  padding: 0 0 1rem;
}

.legal-content {
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.legal-content section + section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.65rem;
}

.legal-content ul {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.legal-content li + li {
  margin-top: 0.55rem;
}

.site-footer {
  background:
    radial-gradient(circle at top right, rgba(244, 201, 140, 0.12), transparent 18rem),
    #17352f;
  color: #fff6ea;
}

.footer-inner {
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.8fr));
  padding: 3rem 0 1.5rem;
}

.footer-brand {
  display: grid;
  gap: 1rem;
}

.footer-brand .brand-title span,
.footer-brand p {
  color: rgba(255, 246, 234, 0.72);
}

.footer-brand .brand-title strong {
  color: #fff9f0;
}

.footer-title {
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
  color: #fff9f0;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255, 246, 234, 0.84);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.footer-links span {
  color: rgba(255, 246, 234, 0.68);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem 0 2rem;
  border-top: 1px solid rgba(255, 246, 234, 0.16);
  color: rgba(255, 246, 234, 0.74);
  font-size: 0.95rem;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 30, 26, 0.76);
  backdrop-filter: blur(14px);
}

.age-card {
  width: min(36rem, 100%);
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(244, 201, 140, 0.18), transparent 16rem),
    linear-gradient(165deg, rgba(255, 250, 242, 0.96), rgba(248, 240, 227, 0.94));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.age-card h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.age-card p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1080px) {
  .feature-grid,
  .catalog-grid,
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: absolute;
    inset: calc(100% + 0.6rem) 1rem auto 1rem;
    display: grid;
    gap: 0.25rem;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    background: rgba(255, 250, 242, 0.98);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-grid,
  .notice-band,
  .story-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .game-stage {
    min-height: calc(100dvh - 11.6rem);
  }

  .game-stage iframe {
    height: calc(100dvh - 11.6rem);
    min-height: 72dvh;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .hero,
  .page-hero {
    padding-top: 3.25rem;
  }

  .feature-grid,
  .catalog-grid,
  .policy-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .page-hero-card,
  .legal-content,
  .feature-card,
  .story-card,
  .contact-card,
  .contact-form,
  .policy-link-card,
  .game-card {
    padding: 1.3rem;
  }

  .brand-title span {
    display: none;
  }

  .footer-bottom {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rain-scene {
    display: none;
  }

  .btn,
  .site-nav,
  .faq-item summary::after {
    transition: none;
  }
}
