:root {
  --bg: #fffaf1;
  --bg-soft: #fdf2dd;
  --surface: #ffffff;
  --text: #2e3442;
  --muted: #667086;
  --brand: #ef6a4b;
  --brand-strong: #d95438;
  --accent: #ffd166;
  --ink: #263247;
  --radius-lg: 24px;
  --radius-md: 14px;
  --shadow-lg: 0 22px 48px rgba(56, 78, 106, 0.15);
  --shadow-md: 0 10px 28px rgba(56, 78, 106, 0.1);
  --maxw: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, rgba(152, 211, 244, 0.26), transparent 36%),
    radial-gradient(circle at 92% 4%, rgba(255, 209, 102, 0.24), transparent 34%),
    radial-gradient(circle at 85% 78%, rgba(172, 227, 189, 0.2), transparent 34%),
    linear-gradient(180deg, var(--bg) 0%, #ffffff 35%, #fff6e7 100%);
  line-height: 1.6;
}

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

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

.container {
  width: min(var(--maxw), 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(106, 176, 222, 0.28);
}

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), #f5a53f 46%, var(--accent));
  box-shadow: var(--shadow-md);
}

.brand-logo {
  display: block;
  object-fit: cover;
  background: none;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-family: "Bebas Neue", "Impact", sans-serif;
  letter-spacing: 0.07em;
  font-size: 1.45rem;
  color: var(--ink);
}

.brand-text span {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.09em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  color: #38455f;
}

.nav a:hover,
.nav a.active {
  background: #fff0ce;
  color: #8b4b19;
}

.menu-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:focus-visible,
a:focus-visible {
  outline: 3px solid #395674;
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #f28d3c);
  color: #fff;
  box-shadow: 0 12px 24px rgba(217, 84, 56, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  background: #fff;
  color: #8b4b19;
  border: 2px solid #ffd9a0;
}

main {
  min-height: 70vh;
}

.hero {
  padding: 42px 0 20px;
}

.hero-head {
  margin-bottom: 18px;
}

.kicker {
  display: inline-block;
  background: #fff0ce;
  color: #8b4b19;
  border: 1px solid #ffd9a0;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.hero h1,
.page-hero h1 {
  margin: 12px 0;
  font-family: "Bebas Neue", "Impact", sans-serif;
  letter-spacing: 0.04em;
  line-height: 0.95;
  font-size: clamp(2.4rem, 6.4vw, 5.4rem);
  color: var(--ink);
}

.hero p,
.page-hero p {
  margin: 0;
  max-width: 760px;
  color: #5d677f;
  font-size: 1.08rem;
}

.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: min(72vh, 660px);
  background: #cdeefe;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.poster {
  width: 100%;
  height: 100%;
  display: grid;
  align-content: end;
  padding: clamp(18px, 4vw, 38px);
  color: #fff;
  background-size: cover;
  background-position: center;
  position: relative;
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 16%, rgba(0, 0, 0, 0.74) 100%);
}

.poster-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.poster h2 {
  margin: 10px 0 8px;
  font-family: "Bebas Neue", "Impact", sans-serif;
  letter-spacing: 0.05em;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
}

.poster p {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: rgba(255, 250, 240, 0.98);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.poster-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.carousel-controls {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.dot.active {
  width: 32px;
  background: #fffdf8;
}

.section {
  padding: 70px 0;
}

.section h2 {
  margin: 0 0 18px;
  font-family: "Bebas Neue", "Impact", sans-serif;
  letter-spacing: 0.04em;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid #e7f1fb;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #86c7ec, #5ea8d8 45%, #ffd166);
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 16px 16px 18px;
}

.card h3 {
  margin: 2px 0 6px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.row-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-block;
  line-height: 0;
}

.store-badge img {
  height: 48px;
  width: auto;
  display: block;
}

.brand-block {
  border-radius: var(--radius-lg);
  padding: 26px;
  background: linear-gradient(120deg, #3f6b8f 0%, #4a98b9 40%, #ef8c4b 135%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.brand-block p {
  max-width: 760px;
}

.cta-block {
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #fff2d8, #ffe7bf 52%, #fff5de);
  padding: 42px 20px;
  border: 1px solid #ffd9a0;
}

.page-hero {
  padding: 36px 0 4px;
}

.list-stack {
  display: grid;
  gap: 18px;
}

.feature-list {
  padding-left: 18px;
}

.feature-list li {
  margin-bottom: 8px;
}

.legal {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid #e7f0fa;
  box-shadow: var(--shadow-md);
  padding: 24px;
}

.legal h2 {
  margin-top: 10px;
  font-size: 1.5rem;
}

.detail-cover {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  max-height: 520px;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  background: #d9e7f5;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid #d8e9f7;
  background: #fefaf1;
}

.footer-inner {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 700;
  color: #8b4b19;
}

.footer-links a:hover {
  text-decoration: underline;
}

.stagger {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.7s ease forwards;
}

.stagger:nth-child(2) { animation-delay: 0.08s; }
.stagger:nth-child(3) { animation-delay: 0.16s; }
.stagger:nth-child(4) { animation-delay: 0.24s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
    border: 1px solid #d8e9f7;
    border-radius: 10px;
    background: #fff;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #d8e9f7;
    padding: 10px 4vw 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav.open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .carousel {
    min-height: 72vh;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 50px 0;
  }

  .store-badge img {
    height: 44px;
  }
}
