:root {
  --bg-primary: #0a0a0d;
  --bg-secondary: #141417;
  --card-bg: rgba(255, 255, 255, 0.03);

  --accent-primary: #7dd3fc;
  --accent-secondary: #b8e2f2;

  --text-primary: #f5f5f5;
  --text-secondary: #9ca3af;

  --border-soft: rgba(125, 211, 252, 0.22);
  --border-strong: rgba(125, 211, 252, 0.45);

  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 0 1px rgba(125, 211, 252, 0.18), 0 0 40px rgba(125, 211, 252, 0.12);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;

  --container: 1400px;
  --space-section-desktop: 100px;
  --space-section-tablet: 70px;
  --space-section-mobile: 50px;

  --header-height: 78px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, p,
ul, ol, li,
figure {
  margin: 0;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(1200px 500px at 20% -20%, rgba(125, 211, 252, 0.12), transparent 60%),
    radial-gradient(1000px 500px at 80% 0%, rgba(184, 226, 242, 0.08), transparent 65%),
    linear-gradient(180deg, #0a0a0d 0%, #0d0d11 50%, #0a0a0d 100%);
  min-height: 100vh;
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.section {
  padding: var(--space-section-mobile) 0;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 760px;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.45), transparent);
  margin: 0 auto;
  max-width: var(--container);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  min-height: var(--header-height);
  backdrop-filter: blur(14px);
  background: rgba(20, 20, 23, 0.7);
  border-bottom: 1px solid rgba(125, 211, 252, 0.2);
  box-shadow: 0 2px 20px rgba(125, 211, 252, 0.08);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.brand span {
  color: var(--accent-primary);
}

.nav-toggle {
  appearance: none;
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-menu {
  position: absolute;
  left: 22px;
  right: 22px;
  top: calc(var(--header-height) + 10px);
  background: rgba(20, 20, 23, 0.96);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 12px;
  display: none;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-soft);
}

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

.nav-link {
  display: inline-block;
  padding: 10px 12px;
  color: var(--text-secondary);
  border-radius: 10px;
  position: relative;
  transition: color var(--transition), background var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(125, 211, 252, 0.08);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  border-radius: 14px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #061018;
  box-shadow: 0 10px 26px rgba(125, 211, 252, 0.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(125, 211, 252, 0.35), 0 0 28px rgba(125, 211, 252, 0.25);
}

.btn-pill {
  border-radius: 999px;
  padding: 11px 18px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 10, 13, 0.55), rgba(10, 10, 13, 0.85)),
    radial-gradient(circle at 50% 10%, rgba(125, 211, 252, 0.2), transparent 55%);
}

.hero-content {
  min-height: clamp(520px, 78vh, 760px);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 760px;
}

.legal-inline {
  font-size: 0.95rem;
  color: var(--accent-secondary);
  padding: 10px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.08);
}

.game-wrap {
  margin-top: 10px;
}

.game-frame-shell {
  width: min(90%, 1300px);
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
  overflow: hidden;
}

.game-frame-shell iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 740px;
  border: 0;
  background: #0f1117;
}

.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.grid-2 {
  display: grid;
  gap: 18px;
}

.info-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.info-list li {
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

.info-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  position: absolute;
  left: 0;
  top: 10px;
}

.icon-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.icon-item {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 18px;
}

.icon-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.icon-item p {
  color: var(--text-secondary);
}

.banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  display: grid;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--border-soft);
}

.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 10, 13, 0.88), rgba(10, 10, 13, 0.5));
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

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

.input,
.textarea {
  width: 100%;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  font: inherit;
}

.input:focus,
.textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.15);
}

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

.site-footer {
  padding: 28px 0 34px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(125, 211, 252, 0.2);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeIn 0.7s ease forwards;
}

.fade-in-delay {
  animation-delay: 0.15s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-section-tablet) 0;
  }

  .container {
    padding: 0 28px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex !important;
    flex-direction: row;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    align-items: center;
    gap: 6px;
  }

  .header-inner {
    justify-content: space-between;
  }

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

  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .icon-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .game-frame-shell {
    width: min(95%, 1300px);
  }
}

@media (min-width: 1100px) {
  .section {
    padding: var(--space-section-desktop) 0;
  }

  .game-frame-shell {
    width: min(90%, 1300px);
  }
}

@media (max-width: 767px) {
  .game-frame-shell {
    width: 100%;
  }

  .game-frame-shell iframe {
    min-height: 560px;
    aspect-ratio: auto;
    height: 72vh;
  }
}