/* Base layout */
:root {
  --bg: #050816;
  --bg-elevated: rgba(17, 25, 40, 0.96);
  --bg-elevated-soft: rgba(15, 23, 42, 0.8);
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.18);
  --accent-strong: #fb923c;
  --accent-alt: #22c55e;
  --accent-alt-soft: rgba(34, 197, 94, 0.12);
  --text: #f9fafb;
  --text-soft: #cbd5f5;
  --text-muted: #9ca3af;
  --outline: rgba(148, 163, 184, 0.5);
  --outline-soft: rgba(148, 163, 184, 0.25);
  --danger: #f97373;

  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.85);
  --shadow-inner: 0 0 0 1px rgba(148, 163, 184, 0.2);
  --blur-strong: 22px;

  --shell-width: 1120px;
  --shell-padding: 1.75rem;
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.27), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(236, 72, 153, 0.28), transparent 55%),
    radial-gradient(circle at 70% 100%, rgba(52, 211, 153, 0.23), transparent 50%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.shell {
  width: 100%;
  max-width: var(--shell-width);
  margin: 0 auto;
  padding-inline: var(--shell-padding);
}

.shell-wide {
  max-width: 1240px;
}

.shell-narrow {
  max-width: 800px;
}

/* Header & navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.96), rgba(5, 8, 22, 0.75));
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.brand-mark img {
  width: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-name {
  font-size: 0.96rem;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-soft);
  padding: 0.35rem 0.1rem;
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.23rem;
  height: 2px;
  background: linear-gradient(to right, #f97316, #22c55e);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease-out;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding-inline: 0.9rem;
  padding-block: 0.4rem;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

/* Hero */
.hero {
  position: relative;
  padding-block: 3rem 3.5rem;
}

.hero .shell {
  position: relative;
}

.noise-layer {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.14;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1600 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.8rem;
  align-items: center;
}

.logo-help {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}

.logo-help a {
  height: 50px;
  background: rgba(56, 99, 88, 0.4);
  padding: 7px;
  border-radius: 10px;
}

.logo-help img {
  height: 100%;
}

.age18 {
  background: rgba(56, 99, 88, 0.4);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 3px solid #f00;
  user-select: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle at center, #34d399 0, #22c55e 35%, transparent 70%);
}

.hero h1 {
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  line-height: 1.12;
  margin: 0 0 1rem;
}

.lead {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn.primary {
  background: radial-gradient(circle at top left, #fbbf24, #f97316 40%, #ec4899 90%);
  color: #0b1020;
  box-shadow:
    0 14px 45px rgba(15, 23, 42, 0.95),
    0 0 24px rgba(249, 115, 22, 0.65);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 17px 55px rgba(15, 23, 42, 0.98),
    0 0 30px rgba(249, 115, 22, 0.8);
}

.btn.ghost {
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-soft);
}

.btn.ghost:hover {
  border-color: rgba(249, 115, 22, 0.7);
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.18), rgba(15, 23, 42, 0.95));
  color: var(--text);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-tags li {
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-panel {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(12, 10, 30, 0.98)),
    radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.15), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(34, 197, 94, 0.15), transparent 55%);
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.55);
  backdrop-filter: blur(var(--blur-strong));
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(249, 115, 22, 0.18);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.15rem;
}

.hero-pill {
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  color: var(--text-muted);
}

.hero-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ball {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  background: radial-gradient(circle at 30% 15%, #f9fafb, #e5e7eb 45%, #94a3b8 95%);
  color: #020617;
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(15, 23, 42, 0.8);
}

.ball.big {
  width: 46px;
  height: 46px;
}

.ball.highlight {
  background: radial-gradient(circle at 30% 15%, #fefce8, #facc15 45%, #ea580c 95%);
  color: #1f2937;
}

.hero-card-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

.hero-stats dt {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-stats dd {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
}

/* Sections */
.section {
  padding-block: 3.1rem 3.3rem;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: radial-gradient(circle at center, rgba(148, 163, 184, 0.55), transparent 70%);
  opacity: 0.7;
}

.section-alt {
  background: radial-gradient(circle at top center, rgba(15, 23, 42, 0.96), rgba(5, 8, 22, 0.96));
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.section-heading p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

/* Info cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-bottom: 1.9rem;
}

.info-card {
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.25rem;
  background: linear-gradient(140deg, rgba(15, 23, 42, 0.95), rgba(12, 10, 30, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: var(--shadow-soft);
}

.info-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.02rem;
}

.info-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.disclaimer-box {
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px dashed rgba(148, 163, 184, 0.8);
  color: var(--text-soft);
  font-size: 0.88rem;
}

.disclaimer-box strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent-strong);
}

/* Games */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
}

.game-card {
  border-radius: var(--radius-xl);
  background: linear-gradient(315deg, rgba(15, 23, 42, 0.97), rgba(8, 47, 73, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 1.4rem 1.35rem 1.3rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.game-img {
  margin-bottom: 10px;
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.game-header h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}

.game-tagline {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  border: 1px solid rgba(249, 115, 22, 0.7);
  background: var(--accent-soft);
  color: var(--accent-strong);
  white-space: nowrap;
}

.chip-soft {
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-soft);
}

.chip-green {
  border-color: rgba(34, 197, 94, 0.7);
  background: var(--accent-alt-soft);
  color: #86efac;
}

.chip-cyan {
  border-color: rgba(56, 189, 248, 0.7);
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
}

.game-body h4 {
  margin: 0.7rem 0 0.3rem;
  font-size: 0.9rem;
}

.game-body p {
  margin: 0 0 0.5rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.list-dot {
  margin: 0 0 0.5rem;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.list-dot li + li {
  margin-top: 0.25rem;
}

.example-box {
  border-radius: 0.9rem;
  padding: 0.65rem 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.8rem;
  color: var(--text-soft);
}

.example-box + .example-box {
  margin-top: 0.5rem;
}

/* Responsible play */
.responsible-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 1.5rem;
}

.responsible-card {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.3rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.98));
  box-shadow: var(--shadow-soft);
}

.responsible-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.list-check {
  margin: 0;
  padding-left: 1.3rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.list-check li + li {
  margin-top: 0.35rem;
}

.responsible-card-accent {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.22), rgba(15, 23, 42, 0.98));
}

.small-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  border-radius: 0.9rem;
  padding: 0.65rem 0.85rem;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "▾";
  float: right;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-body {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* Contact form */
.section-contact {
  padding-bottom: 3.8rem;
}

.contact-form {
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.3rem;
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.96), rgba(24, 24, 37, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
}

.field {
  margin-bottom: 0.9rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
  color: var(--text-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  padding: 0.5rem 0.75rem;
  font-size: 0.86rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.17s ease, box-shadow 0.17s ease, background 0.17s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(249, 115, 22, 0.85);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.6);
  background: rgba(15, 23, 42, 0.98);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #9ca3af 50%), linear-gradient(135deg, #9ca3af 50%, transparent 50%);
  background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field textarea {
  resize: vertical;
}

.form-footer {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.btn-full {
  width: 100%;
}

.checkbox-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.checkbox-label input {
  margin-top: 0.18rem;
  width: auto;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  background: url('../img/bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(3, 7, 18, 0.98);
  padding-block: 1.9rem 1.4rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr) minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 1.4rem;
  font-size: 0.82rem;
}

footer .brand {
  display: flex;
  margin-bottom: 15px;
}

.footer-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.footer-grid p {
  margin: 0.5rem 0 0;
  color: var(--text-soft);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
}

.footer-links li + li {
  margin-top: 0.2rem;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.82rem;
}

.footer-links a:hover {
  color: var(--accent-strong);
}

.footer-disclaimer {
  font-size: 0.8rem;
}

.footer-bottom {
  margin-top: 1.3rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(31, 41, 55, 1);
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Auth pages */
.auth-body {
  background:
    radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.25), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.25), transparent 60%),
    #020617;
}

.auth-header {
  position: static;
  background: transparent;
  border-bottom: none;
  padding-top: 0.7rem;
}

.auth-main {
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 1.8rem;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  border-radius: 26px;
  padding: 1.8rem 1.6rem 1.5rem;
  background:
    radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.18), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.15), transparent 60%),
    rgba(15, 23, 42, 0.98);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.auth-card h1 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.auth-intro {
  margin: 0 0 1.1rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.auth-form .field {
  margin-bottom: 0.85rem;
}

.field.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.field-inline {
  margin-top: 0.4rem;
}

.auth-note {
  margin-top: 0.8rem;
}

.auth-switch {
  margin-top: 1rem;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.auth-switch a {
  color: var(--accent-strong);
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-footer {
  padding-bottom: 1rem;
}

#age-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#age-overlay.hidden {
  display: none !important;
}
.age-popup {
  max-width: 420px;
  width: 90%;
  background: #111827;
  color: #f9fafb;
  padding: 24px 22px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  text-align: center;
  border: 1px solid rgba(249,115,22,0.6);
}
.age-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}
.age-text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.age-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
#age-accept {
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(135deg,#f97316,#facc15);
  color: #111827;
}
.age-exit {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #6b7280;
  text-decoration: none;
  font-size: 14px;
  color: #e5e7eb;
  background: #111827;
}

.legal-page {
  position: relative;
  padding-block: 2.8rem 3.4rem;
  color: #e5e7eb;
}

.legal-page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.legal-page-hero {
  margin-bottom: 2.2rem;
  padding: 1.6rem 1.5rem;
  border-radius: 24px;
  background:
          radial-gradient(circle at 0 0, rgba(67, 45, 30, 0.8), transparent 15%),
          radial-gradient(circle at 100% 100%, rgba(27, 52, 64, 0.8), transparent 15%),
          rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
}

.legal-page-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
}

.legal-page-title {
  margin: 0 0 0.4rem;
  font-size: 1.7rem;
}

.legal-page-subtitle {
  margin: 0;
  font-size: 0.92rem;
  color: #cbd5f5;
}

.legal-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 1.8rem;
}

.legal-page-nav {
  align-self: flex-start;
  position: sticky;
  top: 84px;
  border-radius: 18px;
  padding: 1.1rem 1rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  font-size: 0.82rem;
}

.legal-page-nav-title {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.legal-page-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.7rem;
}

.legal-page-nav-list li + li {
  margin-top: 0.25rem;
}

.legal-page-nav-list a {
  color: #e5e7eb;
  text-decoration: none;
  opacity: 0.9;
}

.legal-page-nav-list a:hover {
  color: #f97316;
}

.legal-page-badge {
  margin-top: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.98);
  font-size: 0.72rem;
  color: #9ca3af;
}

.legal-page-content {
  border-radius: 22px;
  padding: 1.6rem 1.5rem 1.7rem;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.65);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.95);
  font-size: 0.92rem;
  line-height: 1.6;
}

.legal-section + .legal-section {
  margin-top: 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
}

.legal-page-content h2 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.legal-page-content h3 {
  font-size: 0.95rem;
  margin: 0.7rem 0 0.3rem;
}

.legal-page-content p {
  margin: 0 0 0.6rem;
  color: #e5e7eb;
}

.legal-page-content ul {
  margin: 0 0 0.7rem 1.2rem;
  padding: 0;
}

.legal-page-content li + li {
  margin-top: 0.25rem;
}

.legal-page-content strong {
  color: #facc15;
}

@media (max-width: 900px) {
  .legal-page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-page-nav {
    position: static;
    order: -1;
  }
}

@media (max-width: 640px) {
  .legal-page-shell {
    padding-inline: 1.1rem;
  }

  .legal-page-hero {
    padding: 1.3rem 1.2rem;
  }

  .legal-page-content {
    padding: 1.3rem 1.1rem 1.4rem;
  }
}


/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

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

  .header-inner {
    padding-block: 0.6rem;
  }
}

@media (max-width: 720px) {
  :root {
    --shell-padding: 1.1rem;
  }

  .main-nav {
    position: fixed;
    inset-inline: 1rem;
    top: 4rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.98);
    padding: 0.85rem 0.75rem;
    flex-direction: column;
    gap: 0.4rem;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.7);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  }

  .main-nav a {
    padding: 0.4rem 0.3rem;
  }

  .main-nav.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-block: 2.4rem 2.8rem;
  }

  .section {
    padding-block: 2.4rem 2.7rem;
  }

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

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

  .responsible-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .auth-card {
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-tags li {
    font-size: 0.76rem;
  }
}
