:root {
  --bg: #f4f8ff;
  --bg-2: #eefaf6;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --ink: #12223d;
  --muted: #4b5d7c;
  --line: rgba(18, 34, 61, 0.12);
  --brand: #0f76ff;
  --brand-2: #16c2b4;
  --brand-3: #ff8a1e;
  --brand-4: #2246d2;
  --ok: #0f8a60;
  --warn: #b54708;
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-sm: 0 8px 22px rgba(18, 34, 61, 0.08);
  --shadow-lg: 0 22px 40px rgba(18, 34, 61, 0.12);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1000px 500px at -20% -10%, #dbe9ff 0%, transparent 60%),
    radial-gradient(900px 450px at 120% 10%, #d8fff6 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

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

img {
  display: block;
  max-width: 100%;
  border-radius: 14px;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: #111;
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(244, 248, 255, 0.82);
  border-bottom: 1px solid var(--line);
}

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

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

.brand img {
  width: auto;
  height: 44px;
  border-radius: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 1.1rem;
}

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

.site-nav a {
  padding: 0.56rem 0.78rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, var(--brand), var(--brand-4));
  box-shadow: 0 10px 24px rgba(34, 70, 210, 0.28);
}

.btn-secondary {
  color: #083033;
  background: linear-gradient(100deg, #8ef4ea, var(--brand-2));
  box-shadow: 0 10px 24px rgba(22, 194, 180, 0.24);
}

.hero {
  padding: 4.5rem 0 3rem;
}

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

.hero-panel {
  position: relative;
  background: linear-gradient(140deg, #fff, #f4f8ff);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, #9bc3ff 0%, rgba(155, 195, 255, 0) 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  font-weight: 700;
  color: #0f4eb0;
  background: #deebff;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
}

.hero h1 {
  margin: 0;
  line-height: 1.08;
  font-size: clamp(2rem, 4.8vw, 3.5rem);
}

.hero p {
  margin-bottom: 0;
  line-height: 1.72;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.badge-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  background: #eaf2ff;
  border: 1px solid #cadcff;
  color: #23457a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.hero-metrics {
  display: grid;
  gap: 0.8rem;
}

.metric {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.metric h3 {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
}

.metric p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section {
  padding: 2.8rem 0;
}

.section h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
}

.section .lead {
  margin-top: 0;
  color: var(--muted);
  line-height: 1.75;
  max-width: 70ch;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.game-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.game-card h3 {
  margin: 0;
}

.game-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.game-tag {
  display: inline-block;
  width: fit-content;
  padding: 0.25rem 0.56rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #0a4d66;
  background: #d8f3ff;
}

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

.feature-item,
.list-card,
.content-box,
.notice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.05rem;
}

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

.visual-card {
  background: linear-gradient(150deg, #ffffff 0%, #f3f8ff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
}

.icon-shell {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(130deg, #0f76ff, #16c2b4);
  margin-bottom: 0.7rem;
}

.icon-shell svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visual-card h3 {
  margin: 0 0 0.25rem;
}

.visual-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.stat-band {
  margin-top: 1rem;
  background: linear-gradient(120deg, #0f76ff, #2246d2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: #fff;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.stat-band h3 {
  margin: 0;
  font-size: 1.35rem;
}

.stat-band p {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
}

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

.process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
}

.process-step .step-no {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: #dce9ff;
  color: #123a7a;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.media-slab {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background: #fff;
}

.media-slab .media-text {
  padding: 1rem;
}

.media-slab .media-text h3 {
  margin-top: 0;
}

.feature-item h3,
.list-card h3,
.content-box h2,
.content-box h3 {
  margin-top: 0;
}

.feature-item p,
.content-box p,
.content-box li,
.list-card li,
.notice p {
  color: var(--muted);
  line-height: 1.75;
}

.list-card ul,
.content-box ul {
  margin: 0;
  padding-left: 1.1rem;
}

.notice {
  border-left: 5px solid var(--brand-3);
  background: linear-gradient(180deg, #fff 0%, #fff8ef 100%);
}

.notice strong {
  color: #7d3d00;
}

.page-head {
  padding: 2.9rem 0 1rem;
}

.page-head h1 {
  margin: 0 0 0.5rem;
}

.page-head p {
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
  line-height: 1.75;
}

.content-box {
  margin-bottom: 1rem;
}

.form-grid {
  display: grid;
  gap: 0.8rem;
}

label {
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  font: inherit;
  border-radius: 10px;
  border: 1px solid rgba(18, 34, 61, 0.22);
  background: #fff;
  padding: 0.75rem 0.8rem;
}

input:focus,
textarea:focus {
  outline: 2px solid #a2c4ff;
  border-color: #6ba0ff;
}

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

iframe.game-frame {
  width: 100%;
  height: min(72vh, 760px);
  border: 0;
  border-radius: 14px;
  background: #08111f;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #f0f5ff;
}

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

.footer-wrap p {
  margin: 0;
  color: #30496f;
}

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

.footer-links a {
  font-size: 0.92rem;
  color: #2c4a77;
  font-weight: 600;
}

.about-main {
  padding-bottom: 1rem;
}

.about-hero {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.about-hero-copy,
.about-hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.about-hero-copy {
  background: linear-gradient(140deg, #ffffff 0%, #eff5ff 100%);
  padding: 1.35rem;
}

.about-hero-copy h1 {
  margin: 0;
  line-height: 1.15;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.about-hero-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

.about-hero-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.about-hero-tags span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #18437c;
  background: #e4efff;
  border: 1px solid #c6d8fb;
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
}

.about-hero-panel {
  background: linear-gradient(160deg, #0f76ff 0%, #2246d2 100%);
  color: #fff;
  padding: 1.2rem;
}

.about-hero-panel h2 {
  margin: 0 0 0.7rem;
}

.about-hero-panel ul {
  margin: 0;
  padding-left: 1rem;
}

.about-hero-panel li {
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.92);
}

.about-stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.about-stats article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.9rem;
}

.about-stats h3 {
  margin: 0;
  font-size: 1.6rem;
  color: #1641a6;
}

.about-stats p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.about-pillars {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.about-pillar {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  padding: 1rem;
}

.about-pillar h2 {
  margin: 0;
  font-size: 1rem;
  color: #0e63da;
}

.about-pillar h3 {
  margin: 0.35rem 0 0.45rem;
}

.about-pillar p {
  margin: 0;
  color: var(--muted);
  line-height: 1.67;
}

.about-story {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.about-story img {
  border-radius: 0;
  height: 100%;
  object-fit: cover;
}

.about-story-copy {
  padding: 1.1rem;
}

.about-story-copy h2 {
  margin-top: 0;
}

.about-story-copy p {
  color: var(--muted);
  line-height: 1.72;
}

.about-commitments {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.about-commitments article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0.95rem;
}

.about-commitments h3 {
  margin: 0 0 0.45rem;
  font-size: 1.03rem;
}

.about-commitments p {
  margin: 0;
  color: var(--muted);
  line-height: 1.67;
}

@media (max-width: 1000px) {
  .hero-grid,
  .cards,
  .two-col,
  .visual-grid,
  .process-grid,
  .stat-band {
    grid-template-columns: 1fr 1fr;
  }

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

  .about-hero,
  .about-stats,
  .about-pillars,
  .about-story,
  .about-commitments {
    grid-template-columns: 1fr 1fr;
  }

  .about-story img {
    min-height: 260px;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 0.6rem;
  }

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

  .hero,
  .section {
    padding: 2rem 0;
  }

  .hero-grid,
  .cards,
  .two-col,
  .visual-grid,
  .process-grid,
  .stat-band {
    grid-template-columns: 1fr;
  }

  .about-hero,
  .about-stats,
  .about-pillars,
  .about-story,
  .about-commitments {
    grid-template-columns: 1fr;
  }

  iframe.game-frame {
    height: 62vh;
  }
}
