:root {
  --bg-deep: #14060a;
  --bg-mid: #2a0b12;
  --crimson: #9e1224;
  --crimson-bright: #e11d2e;
  --gold: #d4a84b;
  --gold-soft: #f0d78c;
  --cream: #f7efe3;
  --ink: #1a0a0d;
  --glass: rgba(28, 8, 12, 0.72);
  --line: rgba(212, 168, 75, 0.28);
  --font-display: "Bebas Neue", "Impact", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  font-family: var(--font-body);
  background: var(--bg-deep);
  overflow-x: hidden;
}

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

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

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(158, 18, 36, 0.55), transparent 60%),
    linear-gradient(165deg, #1c070c 0%, #0d0406 45%, #18080c 100%);
}

.mesh {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(30deg, rgba(212, 168, 75, 0.15) 1px, transparent 1px),
    linear-gradient(150deg, rgba(225, 29, 46, 0.12) 1px, transparent 1px);
  background-size: 42px 72px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 85%);
  animation: mesh-drift 28s linear infinite;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.glow-a {
  width: 42vw;
  height: 42vw;
  top: -8%;
  right: -10%;
  background: rgba(225, 29, 46, 0.28);
  animation: pulse 7s ease-in-out infinite;
}

.glow-b {
  width: 36vw;
  height: 36vw;
  bottom: 5%;
  left: -12%;
  background: rgba(212, 168, 75, 0.16);
  animation: pulse 9s ease-in-out infinite reverse;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  animation: fade-down 0.8s ease both;
}

.brand img {
  width: clamp(150px, 22vw, 220px);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s ease;
}

.brand:hover img {
  transform: scale(1.03);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem 0.4rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 6, 10, 0.65);
  backdrop-filter: blur(10px);
}

.age-badge__mark {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.age-badge__text {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 239, 227, 0.72);
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 5vh, 3.5rem) 0 clamp(3rem, 8vh, 5rem);
  min-height: calc(100vh - 7rem);
}

.hero-copy {
  animation: fade-up 0.9s ease 0.12s both;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 8vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold) 45%, #9a6f28 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 1.35rem 0 0;
  max-width: 34ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(247, 239, 227, 0.72);
  font-weight: 300;
}

.register {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.15rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(62, 14, 22, 0.9), rgba(20, 6, 10, 0.88)),
    var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: fade-up 1s ease 0.22s both;
}

.register::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(240, 215, 140, 0.45), transparent 35%, transparent 65%, rgba(225, 29, 46, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.register__head {
  margin-bottom: 1.35rem;
}

.register__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
  font-weight: 400;
}

.register__head p {
  margin: 0.35rem 0 0;
  color: rgba(247, 239, 227, 0.6);
  font-size: 0.92rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.95rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 215, 140, 0.85);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(247, 239, 227, 0.12);
  background: rgba(8, 2, 4, 0.55);
  color: var(--cream);
  font: inherit;
  font-size: 0.98rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

input::placeholder {
  color: rgba(247, 239, 227, 0.32);
}

input:focus {
  border-color: rgba(212, 168, 75, 0.65);
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.15);
  background: rgba(8, 2, 4, 0.75);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0.4rem 0 1.2rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(247, 239, 227, 0.78);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.check input {
  margin-top: 0.2rem;
  accent-color: var(--crimson-bright);
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.cta {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 0.95rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  color: #1a0a0d;
  cursor: pointer;
  background: linear-gradient(180deg, #f2d889 0%, var(--gold) 48%, #a87528 100%);
  box-shadow: 0 12px 30px rgba(158, 18, 36, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 36px rgba(158, 18, 36, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cta:active {
  transform: translateY(0);
}

.demo-note {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gold-soft);
  animation: fade-up 0.4s ease both;
}

.games {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 3.5rem;
  animation: fade-up 1s ease 0.3s both;
}

.games__intro {
  max-width: 40rem;
  margin-bottom: 1.6rem;
}

.games__intro .eyebrow {
  margin-bottom: 0.45rem;
}

.games__intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: 0.06em;
  font-weight: 400;
}

.games__intro p {
  margin: 0.7rem 0 0;
  color: rgba(247, 239, 227, 0.68);
  line-height: 1.6;
  max-width: 46ch;
}

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

.game-shot {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(212, 168, 75, 0.22);
  background: #0a0305;
  isolation: isolate;
}

.game-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.55s ease, filter 0.55s ease;
  filter: saturate(1.05) contrast(1.04);
}

.game-shot::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(to top, rgba(8, 2, 4, 0.92), transparent);
  pointer-events: none;
}

.game-shot figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.9rem;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.game-shot figcaption span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}

.game-shot figcaption small {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 215, 140, 0.82);
}

.game-shot:hover img {
  transform: scale(1.07);
  filter: saturate(1.12) contrast(1.08) brightness(1.05);
}

.site-footer {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247, 239, 227, 0.08);
  animation: fade-up 1s ease 0.35s both;
}

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

.contact__item {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(247, 239, 227, 0.08);
  background: rgba(20, 6, 10, 0.45);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.contact__item:hover {
  border-color: rgba(212, 168, 75, 0.4);
  background: rgba(40, 10, 16, 0.65);
}

.contact__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 215, 140, 0.7);
}

.contact__value {
  font-size: 1.05rem;
  font-weight: 500;
}

.compliance {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(158, 18, 36, 0.16);
  border: 1px solid rgba(225, 29, 46, 0.25);
}

.age-icon {
  flex-shrink: 0;
  width: 3.4rem;
  height: 3.4rem;
  color: var(--gold-soft);
}

.age-icon svg {
  width: 100%;
  height: 100%;
}

.compliance p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(247, 239, 227, 0.78);
}

.legal {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(247, 239, 227, 0.38);
  letter-spacing: 0.04em;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes mesh-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 84px 144px, -84px 144px;
  }
}

@media (max-width: 900px) {
  .stage {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-copy {
    text-align: center;
  }

  .lede {
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .games__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .field-row,
  .contact {
    grid-template-columns: 1fr;
  }

  .age-badge__text {
    display: none;
  }

  .compliance {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
