:root {
  --ink: #07182b;
  --muted: #526377;
  --line: #dce6ee;
  --paper: #f7fafc;
  --white: #ffffff;
  --navy: #071d36;
  --navy-2: #0b2d4d;
  --teal: #078ba2;
  --teal-dark: #05677a;
  --cyan: #35d3df;
  --soft-cyan: #e8f8fa;
  --gold: #f0c777;
  --success: #0a7559;
  --danger: #b13b47;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(7, 29, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 5%, rgba(53, 211, 223, 0.11), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(220, 230, 238, 0.85);
  background: rgba(247, 250, 252, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--teal), #0b5078);
  box-shadow: 0 10px 28px rgba(7, 139, 162, 0.22);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  letter-spacing: 0.04em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

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

.desktop-nav a {
  color: #31455a;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--teal-dark);
}

.language-switch {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.language-switch a {
  padding: 6px 9px;
  border-radius: 999px;
  color: #31455a;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.language-switch a:hover,
.language-switch a:focus-visible {
  color: var(--teal-dark);
  background: var(--soft-cyan);
}

.language-switch a[aria-current="page"] {
  color: #fff;
  background: var(--teal-dark);
}

.mobile-language-switch {
  display: none;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #fff !important;
  background: var(--teal);
  box-shadow: 0 12px 26px rgba(7, 139, 162, 0.2);
  font-weight: 760 !important;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav-cta:hover,
.button:hover {
  color: #fff;
  background: var(--teal-dark);
  box-shadow: 0 16px 32px rgba(7, 103, 122, 0.25);
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--ink) !important;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
  font-size: 1.35rem;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav nav {
  position: absolute;
  top: 54px;
  right: 0;
  width: min(300px, calc(100vw - 40px));
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mobile-nav nav a {
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 650;
}

.mobile-nav nav a:hover {
  background: var(--soft-cyan);
}

.hero {
  padding: 54px 0 30px;
}

.hero-card {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 42px;
  padding: clamp(34px, 6vw, 78px);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 22%, rgba(53, 211, 223, 0.22), transparent 22rem),
    linear-gradient(135deg, #06182e 0%, #0a2e4c 62%, #075f73 130%);
  box-shadow: 0 34px 90px rgba(7, 29, 54, 0.2);
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(53, 211, 223, 0.22);
  border-radius: 48%;
  pointer-events: none;
}

.hero-card::before {
  width: 520px;
  height: 520px;
  right: -185px;
  bottom: -290px;
}

.hero-card::after {
  width: 340px;
  height: 340px;
  right: -55px;
  bottom: -225px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: #8af0f3;
  font-size: 0.77rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.45rem, 5.4vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: clamp(0.95rem, 1.4vw, 1.18rem);
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: #d6e8f1;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 380px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  width: min(34vw, 390px);
  aspect-ratio: 1;
  border: 1px solid rgba(53, 211, 223, 0.26);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(53, 211, 223, 0.2);
  border-radius: inherit;
}

.orbit::before {
  inset: 15%;
}

.orbit::after {
  inset: 32%;
}

.visual-mark {
  position: relative;
  z-index: 2;
  width: 152px;
  height: 152px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 42px;
  color: #fff;
  background: linear-gradient(145deg, rgba(53, 211, 223, 0.34), rgba(7, 29, 54, 0.84));
  box-shadow: 0 36px 70px rgba(1, 12, 26, 0.34);
  font-size: 3.4rem;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.visual-caption {
  position: absolute;
  right: 0;
  bottom: 10px;
  z-index: 3;
  max-width: 240px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(4, 24, 46, 0.62);
  backdrop-filter: blur(12px);
}

.visual-caption strong,
.visual-caption span {
  display: block;
}

.visual-caption span {
  margin-top: 4px;
  color: #b8d7e3;
  font-size: 0.82rem;
}

.section {
  padding: 82px 0;
}

.section.compact {
  padding-top: 48px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  color: var(--teal-dark);
}

.section-heading h2,
.legal-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
}

.panel,
.feature,
.policy-card,
.contact-card,
.legal-content {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 45px rgba(7, 29, 54, 0.055);
}

.panel {
  padding: clamp(26px, 4vw, 42px);
}

.panel h3 {
  margin: 0 0 14px;
  font-size: 1.38rem;
}

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

.facts {
  display: grid;
  gap: 18px;
}

.fact {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.fact:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fact span,
.game-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
}

.game-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 54px);
  padding: clamp(30px, 5vw, 54px);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 50%, rgba(53, 211, 223, 0.23), transparent 18rem),
    linear-gradient(120deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow);
}

.game-card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -150px;
  border: 1px solid rgba(53, 211, 223, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.game-copy,
.game-media {
  position: relative;
  z-index: 1;
}

.game-copy .button {
  margin-top: 24px;
}

.game-media {
  width: 100%;
  margin: 0;
  justify-self: end;
}

.game-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(1, 12, 26, 0.34));
}

.game-card h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.game-card p {
  max-width: 650px;
  margin: 0;
  color: #bfd3df;
}

.game-meta {
  color: #8af0f3;
}

.game-meta span {
  color: #8af0f3;
}

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

.feature,
.policy-card {
  padding: 28px;
}

.feature-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--teal-dark);
  background: var(--soft-cyan);
  font-size: 0.78rem;
  font-weight: 850;
}

.feature h3,
.policy-card h3 {
  margin: 22px 0 8px;
  font-size: 1.14rem;
}

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

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

.policy-card {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
}

.policy-card span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 840;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-card a {
  margin-top: auto;
  padding-top: 26px;
  color: var(--teal-dark);
  font-weight: 780;
  text-decoration: none;
}

.policy-card a::after {
  content: " →";
}

.contact-section {
  padding: 30px 0 90px;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  padding: clamp(30px, 5vw, 54px);
}

.contact-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.7vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

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

.contact-item {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-item dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-item dd {
  margin: 0;
  font-weight: 670;
  overflow-wrap: anywhere;
}

.contact-item a {
  color: var(--teal-dark);
}

.site-footer {
  color: #bed1dc;
  background: #06192e;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  padding: 54px 0 38px;
}

.footer-brand .brand-copy strong {
  color: #fff;
}

.footer-brand .brand-copy small {
  color: #8faaba;
}

.footer-brand p {
  max-width: 410px;
  margin: 20px 0 0;
  color: #93aebe;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #7896a9;
  font-size: 0.82rem;
}

.legal-hero {
  padding: 70px 0 36px;
}

.legal-hero-inner {
  padding: clamp(30px, 5vw, 58px);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 30%, rgba(53, 211, 223, 0.2), transparent 18rem),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow);
}

.legal-hero .eyebrow {
  color: #8af0f3;
}

.legal-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #c4d8e3;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 32px 0 90px;
}

.legal-index {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(7, 29, 54, 0.05);
}

.legal-index strong {
  padding: 9px 10px;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.legal-index a {
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.legal-index a:hover,
.legal-index a:focus-visible {
  color: var(--teal-dark);
  background: var(--soft-cyan);
}

.legal-content {
  padding: clamp(26px, 5vw, 54px);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.legal-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--soft-cyan);
  font-size: 0.78rem;
  font-weight: 730;
}

.legal-content section {
  scroll-margin-top: 110px;
}

.legal-content section + section {
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.25;
}

.legal-content h3 {
  margin: 24px 0 8px;
  font-size: 1.08rem;
}

.legal-content p {
  margin: 10px 0 0;
  color: #344a5f;
}

.legal-content ul,
.legal-content ol {
  margin: 14px 0 0;
  padding-left: 22px;
  color: #344a5f;
}

.legal-content li + li {
  margin-top: 9px;
}

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  color: #23465a;
  background: var(--soft-cyan);
}

.notice.warning {
  border-left-color: var(--gold);
  background: #fff8e8;
}

.action-box {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid #bddfe4;
  border-radius: 18px;
  background: #f2fbfc;
}

.action-box h3 {
  margin-top: 0;
}

.action-box .button {
  margin-top: 18px;
}

.template-box {
  margin-top: 18px;
  padding: 18px;
  border: 1px dashed #abc5d2;
  border-radius: 12px;
  background: #fff;
  color: #344a5f;
  white-space: pre-line;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.policy-links a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--teal-dark);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 680;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .header-language-switch {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-language-switch {
    display: flex;
    margin-top: 6px;
  }

  .mobile-language-switch a {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 920px) {
  .game-card {
    grid-template-columns: 1fr;
  }

  .game-media {
    max-width: 680px;
    justify-self: center;
  }

  .hero-card {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 260px;
  }

  .orbit {
    width: 260px;
  }

  .about-grid,
  .contact-card,
  .footer-main {
    grid-template-columns: 1fr;
  }

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

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-index {
    position: static;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-card {
    min-height: auto;
    padding: 30px 22px;
    border-radius: 22px;
  }

  .hero-visual {
    min-height: 220px;
  }

  .visual-mark {
    width: 112px;
    height: 112px;
    border-radius: 30px;
    font-size: 2.4rem;
  }

  .visual-caption {
    right: 8px;
    bottom: 0;
  }

  .section {
    padding: 58px 0;
  }

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

  .game-card .button {
    justify-self: start;
  }

  .contact-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .footer-bottom {
    flex-direction: column;
  }

  .legal-hero {
    padding-top: 28px;
  }

  .legal-hero-inner,
  .legal-content {
    border-radius: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
