:root {
  --bg: #f4fbff;
  --text: #10233f;
  --muted: #456389;
  --brand-1: #ff5f6d;
  --brand-2: #ffc371;
  --brand-3: #36d1dc;
  --brand-4: #5b86e5;
  --surface: #ffffff;
  --shadow: 0 18px 40px rgba(33, 66, 120, 0.16);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(145deg, #f6fbff 0%, #fff6e8 100%);
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16, 35, 63, 0.08);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand img {
  height: 42px;
  width: auto;
}

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

.nav-links a {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.94rem;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: #ebf5ff;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.65rem;
  color: var(--text);
}

.hero {
  padding: 74px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 38px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 16px;
}

.hero-copy p {
  color: var(--muted);
  margin: 0 0 26px;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand-1), #ff916e);
  box-shadow: var(--shadow);
}

.btn-alt {
  background: #eaf4ff;
  color: var(--text);
}

.hero-art {
  position: relative;
  min-height: 360px;
}

.hero-card {
  position: absolute;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-card.one {
  inset: 22px 90px auto 0;
  background: linear-gradient(160deg, #36d1dc, #5b86e5);
  height: 190px;
}

.hero-card.two {
  inset: auto 0 0 70px;
  background: linear-gradient(160deg, #ff5f6d, #ffc371);
  height: 210px;
}

.hero-card.three {
  width: 180px;
  height: 180px;
  border-radius: 100%;
  background: #fff;
  right: 20px;
  top: 30px;
}

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

.visual-chip {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.visual-chip::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 100%;
  right: -18px;
  top: -28px;
  background: linear-gradient(145deg, rgba(255, 95, 109, 0.2), rgba(91, 134, 229, 0.12));
}

.chip-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  margin-bottom: 10px;
  background: linear-gradient(145deg, rgba(54, 209, 220, 0.2), rgba(91, 134, 229, 0.2));
}

.chip-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--text);
}

.visual-chip-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.2px;
}

.visual-chip h3 {
  margin: 8px 0 12px;
  font-size: 1.8rem;
}

.chip-line {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-3), var(--brand-4));
}

.section {
  padding: 56px 0;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.section-copy {
  margin: 0;
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

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

.game-card {
  overflow: hidden;
  padding: 0;
}

.game-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.game-content {
  padding: 18px;
}

.game-content h3 {
  margin: 0 0 8px;
}

.game-content p {
  margin: 0 0 16px;
  color: var(--muted);
}

.visual-banner {
  border-radius: 22px;
  padding: 26px;
  background: linear-gradient(130deg, #fff 0%, #eef7ff 38%, #fff4ea 100%);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
}

.visual-bars {
  display: grid;
  gap: 10px;
}

.visual-bars span {
  display: block;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #36d1dc, #5b86e5);
}

.visual-bars span:nth-child(2) {
  width: 85%;
  background: linear-gradient(90deg, #ff5f6d, #ffc371);
}

.visual-bars span:nth-child(3) {
  width: 72%;
}

.visual-bars span:nth-child(4) {
  width: 58%;
  background: linear-gradient(90deg, #ff5f6d, #5b86e5);
}

.about-visual-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.timeline-list {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.timeline-item h4 {
  margin: 0 0 6px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 100%;
  background: linear-gradient(130deg, #ff5f6d, #5b86e5);
  margin-top: 5px;
  flex-shrink: 0;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.spotlight-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}

.spotlight-grid img:first-child {
  grid-column: 1 / -1;
  height: 190px;
}

.feature-list,
.disclaimer-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.feature-list li,
.disclaimer-list li {
  margin: 8px 0;
}

#disclaimer-short .disclaimer-list {
  list-style: none;
  padding-left: 0;
}

#disclaimer-short .disclaimer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#disclaimer-short .disclaimer-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #ecf5ff;
  flex-shrink: 0;
  margin-top: 1px;
}

#disclaimer-short .disclaimer-icon svg {
  width: 15px;
  height: 15px;
  fill: #2f588a;
}

.page-hero {
  padding: 58px 0 34px;
}

.page-hero p {
  margin: 8px 0 0;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 14px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d9e7f7;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.legal h3,
.legal h4 {
  margin: 20px 0 10px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  padding-left: 18px;
}

.game-shell {
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0d1f3a;
}

.game-shell iframe {
  width: 100%;
  height: min(78vh, 760px);
  border: 0;
}

.site-footer {
  margin-top: 60px;
  background: #122b4f;
  color: #d4e5ff;
}

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

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .grid-3,
  .about-visual-layout,
  .visual-banner,
  .visual-strip {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 280px;
  }

  .hero-card.one {
    inset: 8px 60px auto 0;
    height: 150px;
  }

  .hero-card.two {
    inset: auto 0 0 30px;
    height: 165px;
  }

  .hero-card.three {
    width: 130px;
    height: 130px;
    right: 8px;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 73px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(16, 35, 63, 0.1);
    padding: 12px 4%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.open {
    display: flex;
  }
}
