﻿:root {
  --ink: #16181d;
  --mute: #4b5160;
  --line: #e6e8ee;
  --accent: #2aabee;
  --card: #f7f8fb;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
}

img { max-width: 100%; }

a { color: inherit; }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.hero-stage {
  position: absolute;
  inset: 0;
  background: center 42% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0, 0, 0, 0.55) 68%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0, 0, 0, 0.55) 68%, transparent 100%);
}

.hero-art-wide {
  background-image: url("img/hero-multi-poster.jpg");
}

.hero-art-tall {
  display: none;
  background-image: url("img/hero-multi-poster-portrait.jpg");
  background-position: center 36%;
}

.hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  pointer-events: none;
}

@media (max-width: 720px) {
  .hero {
    min-height: 0;
    height: auto;
    padding: 72px 0 36px;
    place-items: center;
  }

  .hero-art-wide { display: none; }
  .hero-art-tall { display: block; }

  .hero-stage {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 28%, rgba(0, 0, 0, 0.5) 58%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 28%, rgba(0, 0, 0, 0.5) 58%, transparent 100%);
  }

  .hero-layer {
    object-position: center 32%;
  }

  .hero-shade {
    background:
      radial-gradient(ellipse 70% 52% at 50% 36%, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.14) 55%, transparent 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.06) 28%, rgba(255, 255, 255, 0.28) 58%, rgba(255, 255, 255, 0.86) 78%, #fff 100%);
  }

  .hero-copy {
    width: min(100%, calc(100% - 32px));
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 0.92rem;
    letter-spacing: 0.12em;
  }

  h1 {
    font-size: clamp(2rem, 8.6vw, 2.55rem);
    max-width: 12em;
  }

  .hero-lead {
    margin-top: 10px;
    max-width: 22rem;
    font-size: 0.98rem;
    line-height: 1.4;
  }

  .hero .btn,
  .btn-hero {
    min-height: 54px;
    min-width: min(100%, 280px);
    margin-top: 16px;
    padding: 0 22px;
    font-size: 1.08rem;
  }

  .btn-hero .game-icon {
    width: 32px;
    height: 32px;
  }

  .hero-channel {
    margin-top: 12px;
    font-size: 0.95rem;
  }

  .panel { padding: 88px 0 28px; }
  .panel:first-child { padding-top: 36px; }
  .panel--follow { padding-top: 72px; }
  .panel-head { margin-bottom: 28px; }
  .ghost { display: none; }
  .close { padding: 96px 0 40px; }
  .lang-shots {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    gap: 18px;
  }
  .pay-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .pay-logos li { padding: 16px 8px; }
  .flow-step { padding-bottom: 32px; }
  .share-label { margin-top: 32px; }
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 58% 48% at 50% 46%, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.16) 58%, transparent 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.08) 40%, rgba(255, 255, 255, 0.2) 62%, rgba(255, 255, 255, 0.72) 82%, #fff 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 48px));
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plane-sm {
  display: block;
  width: 22px;
  height: 22px;
  flex: none;
}

.game-icon {
  display: block;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.eyebrow {
  margin: 0 0 12px;
  color: #fff;
  font-family: Rajdhani, "Noto Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  font-family: Rajdhani, "Noto Sans", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

h1 {
  max-width: 14em;
  color: #fff;
  font-size: clamp(2.8rem, 6.4vw, 5.4rem);
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.hero-lead {
  margin: 14px 0 0;
  max-width: 28rem;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.45;
}

.hero-channel {
  margin-top: 14px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.hero-channel:hover { opacity: 0.88; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  margin-top: 22px;
  padding: 0 26px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

.btn:hover { background: #000; }

.hero .btn,
.btn-hero {
  min-height: 72px;
  min-width: min(100%, 320px);
  padding: 0 36px;
  font-size: 1.28rem;
  background: #fff;
  color: #111;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.hero .btn:hover,
.btn-hero:hover { background: #f3f5f9; }

main { width: min(1180px, calc(100% - 48px)); margin: 0 auto; position: relative; z-index: 3; }

.panel { padding: 112px 0 24px; }

.panel:first-child { padding-top: 56px; }

.panel--follow { padding-top: 96px; }

.panel-head {
  position: relative;
  margin-bottom: 32px;
}

.ghost {
  position: absolute;
  left: 0;
  top: -0.55em;
  color: transparent;
  font-family: Rajdhani, "Noto Sans", system-ui, sans-serif;
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(22, 24, 29, 0.08);
  pointer-events: none;
  user-select: none;
}

.panel-head h2 {
  position: relative;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.panel-head p {
  position: relative;
  margin: 14px 0 0;
  max-width: 40rem;
  color: var(--mute);
  line-height: 1.6;
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 260px);
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: #cfd3dc; border-radius: 999px; }

.poster {
  position: relative;
  display: block;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background: var(--card);
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.poster:hover { transform: translateY(-6px); box-shadow: 0 22px 40px rgba(16, 24, 40, 0.16); }

.poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.poster span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 42px 14px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), transparent);
  color: #fff;
  font-family: Rajdhani, "Noto Sans", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.points article {
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.points h3 { font-size: 1.35rem; margin-bottom: 8px; }

.points p,
.faq p,
.close p,
.foot { margin: 0; color: var(--mute); }

.flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 16px 0 0;
  padding: 0;
}

.flow--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lang-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
  gap: 28px;
  margin: 16px 0 0;
}

.lang-shots figure {
  margin: 0;
  text-align: center;
}

.lang-shots img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
  background: #0b1210;
}

.lang-shots figcaption {
  margin-top: 12px;
  font-weight: 700;
  font-size: 1.05rem;
}

.pay-logos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 0;
  padding: 0;
}

.pay-logos li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.pay-logos img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.pay-logos span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
}

.flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 18px;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px;
  left: calc(50% + 22px);
  width: calc(100% - 44px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #b7e0f7);
}

.flow-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: Rajdhani, "Noto Sans", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px rgba(42, 171, 238, 0.28);
}

.text-link {
  color: #1a8fd0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover { color: #0f6fa8; }

.flow-body h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
}

.flow-body h3 .text-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.flow-body p {
  margin: 0;
  color: var(--mute);
  font-size: 0.98rem;
  line-height: 1.55;
}

.faq { border-top: 1px solid var(--line); }

details { border-bottom: 1px solid var(--line); }

summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 1.15rem;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; font-weight: 400; }
details[open] summary::after { content: "–"; }

.faq p { padding: 0 0 22px; max-width: 42rem; line-height: 1.6; }

.channel-cta {
  margin-top: 8px;
  text-align: center;
}

.close { padding: 120px 0 36px; text-align: center; }
.close h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.close p { margin: 14px auto 0; max-width: 34rem; font-size: 1.12rem; line-height: 1.55; }
.close .btn { margin-top: 28px; }
.close .game-icon,
.dock .game-icon {
  width: 28px;
  height: 28px;
}

.share-label {
  margin: 36px 0 0;
  color: var(--mute);
  font-size: 0.98rem;
  font-weight: 600;
}

.share-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
}

.share-btn:hover { background: var(--card); }
.share-wa { border-color: #25d366; color: #128c7e; }
.share-tg { border-color: #2aabee; color: #229ed9; }
.share-copy { border-color: #111; }

.share-tip {
  margin: 14px 0 0;
  text-align: center;
  color: #128c7e;
  font-weight: 600;
}

.btn:focus-visible,
.poster:focus-visible,
summary:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}

.hero .btn:focus-visible { outline-color: #fff; }

.foot {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 110px;
  font-size: 0.98rem;
  text-align: center;
}

.dock { display: none; pointer-events: none; }

.to-top {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 7;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.14);
  cursor: pointer;
}

.to-top:hover { background: var(--card); }

@media (max-width: 900px) {
  .points { grid-template-columns: 1fr; }
  .pay-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lang-shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .lang-shots img { border-radius: 16px; }
  .flow {
    grid-template-columns: 1fr;
    padding-left: 8px;
  }
  .flow-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    padding: 0 0 36px;
  }
  .flow-step:last-child { padding-bottom: 0; }
  .flow-step:not(:last-child)::after {
    top: 40px;
    left: 19px;
    width: 2px;
    height: calc(100% - 40px);
    background: linear-gradient(180deg, var(--accent), #b7e0f7);
  }
  .flow-node { margin-bottom: 0; flex: none; }
  .flow-body { padding-top: 6px; }
  .hero-copy { width: min(100%, calc(100% - 36px)); }
  h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .rail { grid-auto-columns: minmax(150px, 46vw); }
}

@media (max-width: 720px) {
  h1 { font-size: clamp(1.95rem, 8.2vw, 2.45rem); }
}

@media (max-width: 799px) {
  html { scroll-padding-bottom: 92px; }

  .dock {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    transform: translateY(110%);
  }

  .dock.is-on { transform: none; pointer-events: auto; }
  .dock .btn { width: 100%; margin-top: 0; }
  .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .poster { transition: none; }
  .hero-stage { display: none !important; }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("img/hero-multi-poster.jpg") center 42% / cover no-repeat;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0, 0, 0, 0.55) 68%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0, 0, 0, 0.55) 68%, transparent 100%);
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 720px) {
  .hero::before {
    background-image: url("img/hero-multi-poster-portrait.jpg");
    background-position: center 36%;
  }
}
