:root {
  --bg: #070f1f;
  --bg-soft: #0c1b33;
  --surface: #0f213d;
  --surface-2: #132745;
  --text: #f5f7ff;
  --muted: #aec1df;
  --accent: #ff6130;
  --accent-2: #ffc84a;
  --line: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 14%, rgba(255, 98, 48, 0.2), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(255, 200, 74, 0.15), transparent 36%),
    radial-gradient(circle at 50% 100%, rgba(28, 88, 170, 0.22), transparent 42%),
    var(--bg);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background: url(../img/background.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  filter: blur(3px);
}

a {
  color: inherit;
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.age-strip {
  position: relative;
  z-index: 5;
  background: linear-gradient(90deg, #eb5a3f, #ff7a36, #ef6a40);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.age-strip-inner {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  padding: 0.55rem 0.4rem;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  background: rgba(8, 17, 34, 0.84);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-text {
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo-accent {
  color: var(--accent-2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  transition: color 0.25s ease;
}

.main-nav a:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  width: 46px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 6px 0;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: 5.5rem 0 4rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 12% 5% auto auto;
  width: min(38vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 200, 74, 0.7), rgba(255, 97, 48, 0.2) 45%, transparent 65%);
  filter: blur(24px);
  opacity: 0.7;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Chakra Petch", sans-serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
}

.hero-text {
  margin: 0;
  max-width: 68ch;
  color: #d3e0f4;
}

.hero-actions {
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  padding: 0.8rem 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #121212;
  background: linear-gradient(95deg, var(--accent-2), var(--accent));
  box-shadow: 0 12px 25px rgba(255, 108, 56, 0.3);
}

.btn-ghost {
  border-color: var(--line);
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.btn-small {
  min-width: 104px;
  font-size: 0.88rem;
  color: #111;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  padding: 0.62rem 0.95rem;
}

.hero-badges {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.badge-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  font-weight: 700;
  text-align: center;
}

.section {
  padding: 4.8rem 0;
}

.section.alt {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    var(--bg-soft);
}

.section-head {
  max-width: 790px;
}

.section-head p {
  color: var(--muted);
}

.notice {
  margin-top: 1rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(255, 200, 74, 0.45);
  border-radius: 12px;
  background: rgba(255, 200, 74, 0.09);
  color: #ffe8a8;
  font-size: 0.95rem;
}

.platform-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.platform-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(20, 42, 74, 0.95), rgba(10, 24, 45, 0.97));
  padding: 1.05rem;
  box-shadow: var(--shadow);
}

.platform-rank {
  height: 40px;
  border-radius: 10px;
  display: inline-block;
  place-items: center;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  color: #131313;
  background: #fff1;
  border: 1px solid #fff1;
  padding: 7px 10px;
  margin-bottom: 10px;
}

.platform-rank img {
  height: 100%;
}

.platform-main h3 {
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
}

.fill-\[\#00265A\] {
    fill: #00265A;
}

.platform-main p {
  margin: 0;
  color: #cfdbef;
}

.platform-meta {
  margin-top: 0.65rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.platform-meta span {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  color: #dfebff;
  font-size: 0.86rem;
  border-radius: 999px;
  padding: 0.36rem 0.72rem;
}

.platform-bonuses {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.platform-bonuses span {
  border: 1px solid rgba(255, 200, 74, 0.35);
  background: rgba(255, 200, 74, 0.1);
  color: #ffe7ab;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.28rem 0.64rem;
}

.platform-score {
  min-width: 132px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.28rem;
}

.score-value {
  font-family: "Chakra Petch", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-2);
}

.score-reviews {
  margin-top: -0.04rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #c3d6f3;
}

.stars {
  --score: 0;
  --percent: calc((var(--score) / 10) * 100%);
  margin: 0;
  position: relative;
  display: inline-block;
  font-size: 0.96rem;
  letter-spacing: 0.11em;
  line-height: 1;
}

.stars::before {
  content: "★★★★★";
  color: rgba(255, 255, 255, 0.24);
}

.stars::after {
  content: "★★★★★";
  color: #ffcc4d;
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--percent);
  overflow: hidden;
  white-space: nowrap;
}

.feature-grid {
  margin-top: 1.45rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 120, 56, 0.08), rgba(255, 255, 255, 0.02));
  padding: 1.2rem;
}

.feature-card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.4rem;
}

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

.responsible-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.responsible-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 97, 48, 0.12), rgba(255, 255, 255, 0.02));
  border-radius: var(--radius);
  padding: 1.2rem;
}

.responsible-card h3 {
  margin-bottom: 0.6rem;
}

.responsible-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #d0ddf0;
}

.responsible-card a {
  color: #ffd68a;
}

.faq-list {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.78rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.05rem;
  font-weight: 800;
  position: relative;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  color: var(--accent-2);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  margin: 0;
  padding: 0 1.05rem 1rem;
  color: var(--muted);
}

.page-hero {
  padding: 6rem 0 2rem;
}

.page-hero h1 {
  margin-bottom: 0.8rem;
}

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

.legal-content {
  display: grid;
  gap: 0.95rem;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.04);
}

.legal-card h2 {
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
}

.legal-card p {
  margin: 0.28rem 0;
  color: #d5e3f7;
}

.legal-card ul {
  margin: 0.35rem 0;
  padding-left: 1.1rem;
  color: #d5e3f7;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0;
  background: #070e1d;
}

.support-links {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #080c15, #070b13);
  padding: 1.1rem 0;
}

.support-links-inner {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.support-links a {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #f1f4fc;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.support-links a:hover {
  border-color: rgba(255, 200, 74, 0.6);
  background: rgba(255, 200, 74, 0.08);
  transform: translateY(-2px);
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.3fr 1fr 1fr;
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
  color: #fff;
}

.footer-logo-mark {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.footer-grid p {
  margin: 0;
  color: var(--muted);
}

.footer-contact {
  margin-top: 0.4rem;
  font-weight: 700;
}

.footer-contact a {
  color: #ffe2ac;
  text-decoration: none;
}

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

.footer-main-nav {
  display: grid;
  gap: 0.45rem;
}

.footer-main-nav a {
  color: #f3f7ff;
  text-decoration: none;
  font-weight: 700;
}

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

.footer-nav {
  display: grid;
  gap: 0.45rem;
}

.footer-nav a {
  color: #dce8fb;
  text-decoration: none;
}

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

.footer-alert {
  border: 1px solid rgba(255, 122, 89, 0.45);
  border-radius: 12px;
  padding: 0.85rem;
  background: rgba(255, 122, 89, 0.1);
}

.footer-alert-wide {
  margin-top: 1rem;
}

.footer-alert p {
  margin: 0;
  color: #f3decc;
  font-size: 0.9rem;
  line-height: 1.45;
}

.footer-alert p + p {
  margin-top: 0.5rem;
}

.footer-alert-title {
  color: #ffd2a7;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer-alert a {
  color: #ffeabf;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.support-links-inner {
  padding: 40px 0;
}

.support-links-inner a {
  padding: 10px;
  height: 80px;
  background: #fff1;
}

.support-links-inner a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 980px) {
  .support-links-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-badges,
  .feature-grid,
  .responsible-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .platform-rank {
    height: 48px;
  }

  .platform-score {
    align-items: flex-start;
  }

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

@media (max-width: 860px) {
  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .logo-text {
    font-size: 1.45rem;
  }

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

  .age-strip-inner {
    gap: 0.6rem;
    font-size: 0.72rem;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 4%;
    border-top: 1px solid var(--line);
    background: rgba(7, 16, 32, 0.96);
  }

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

@media (max-width: 520px) {
  .support-links-inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
