:root {
  --bg: #f4f4f6;
  --bg-elevated: #ffffff;
  --card: #ffffff;
  --card-hover: #f7f7f9;
  --text: #1a1a1a;
  --muted: #4a4a55;
  --line: rgba(46, 27, 87, 0.14);
  --mint: #2aa37a;
  --cyan: #008fc4;
  --violet: #6b2d91;
  --indigo: #2e1b47;
  --logo-mint: #66c6a3;
  --logo-cyan: #00adef;
  --logo-violet: #8b5cf6;
  --gradient: linear-gradient(90deg, var(--logo-mint) 0%, var(--logo-cyan) 50%, var(--logo-violet) 100%);
  --shadow: 0 16px 40px rgba(46, 27, 87, 0.08);
  --radius: 1.25rem;
  --header-h: 4.5rem;
  --max: 70rem;
}

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

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 8% -8%, rgba(102, 198, 163, 0.18), transparent 52%),
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(139, 92, 246, 0.1), transparent 54%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(0, 173, 239, 0.1), transparent 50%),
    var(--bg);
}

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

a {
  color: var(--cyan);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--mint);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: "Exo 2", Outfit, sans-serif;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--card);
  color: var(--text);
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
  z-index: 100;
}

.skip:focus {
  top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 3rem;
  width: auto;
  display: block;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--card);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.32rem;
}

.nav-burger span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.site-nav ul {
  display: flex;
  gap: 0.35rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--mint);
}

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.eyebrow {
  display: inline-block;
  font-family: "Exo 2", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.7rem;
}

.lead {
  font-size: 1.15rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.btn-primary {
  color: #071014;
  background: var(--gradient);
}

.btn-primary:hover {
  color: #071014;
  filter: brightness(1.08);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  color: var(--mint);
  border-color: var(--mint);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent;
}

.section {
  padding: 3.25rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.gradient-line {
  display: block;
  width: 4.5rem;
  height: 3px;
  border-radius: 99px;
  background: var(--gradient);
  margin-bottom: 0.9rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .card-grid.games {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .card-grid.games {
    grid-template-columns: repeat(4, 1fr);
  }
}

.game-card,
.info-card,
.qr-card,
.legal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.35rem;
  box-shadow: 0 10px 28px rgba(58, 36, 104, 0.06);
}

.game-card {
  min-height: 9.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}

.game-card p {
  margin: 0;
  font-size: 0.92rem;
}

.play-card {
  margin-top: 1rem;
  display: grid;
  gap: 1.25rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

@media (min-width: 800px) {
  .play-card {
    grid-template-columns: 1.2fr 1fr;
    padding: 0 1.25rem 0 1.75rem;
  }
}

.play-card img {
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
  display: block;
  object-fit: cover;
  max-height: 22rem;
}

.hours-box {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .hours-box {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .hours-box .info-card:last-child {
    grid-column: 1 / -1;
  }
}

.info-card strong {
  display: block;
  font-family: "Exo 2", sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.location-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .location-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }

  .location-photo {
    grid-column: 1;
  }

  .map-figure {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.location-photo {
  margin: 0;
}

.location-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(58, 36, 104, 0.06);
  object-fit: cover;
}

address {
  font-style: normal;
  color: var(--text);
  margin: 0 0 1rem;
}

.map-figure {
  margin: 0;
}

.map-embed {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}

.map-mosaic img {
  width: 100%;
  height: auto;
  display: block;
}

.map-pin {
  position: absolute;
  left: 64.8%;
  top: 36.1%;
  width: 1.35rem;
  height: 1.35rem;
  transform: translate(-50%, -100%);
  background: var(--gradient);
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  border: 2px solid #fff;
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #0b0a10;
  border-radius: 50%;
}

.map-caption {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.community-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .community-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.qr-card {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 1rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.qr-card:hover {
  transform: translateY(-4px);
  background: var(--card-hover);
  border-color: var(--cyan);
  color: inherit;
}

.qr-card h3 {
  margin: 0;
  color: var(--text);
}

.qr-card p {
  margin: 0;
  font-size: 0.95rem;
}

.qr-frame {
  border-radius: 1rem;
  overflow: hidden;
  background: #0a0a0a;
  aspect-ratio: 1;
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qr-frame.instagram img {
  object-position: center 42%;
}

.qr-frame.whatsapp {
  background: #1dab61;
}

.qr-frame.whatsapp img {
  object-position: center;
}

.legal-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .legal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-card ul {
  margin: 0.4rem 0 1rem;
  padding-left: 1.1rem;
}

.placeholder {
  color: var(--mint);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--mint);
}

@media (max-width: 859px) {
  .nav-burger {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 0.75rem 1rem 1rem;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.65rem;
  }

  .nav-toggle:checked ~ .site-nav {
    display: block;
  }

  .nav-toggle:checked + .nav-burger span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-burger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-burger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

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

  .qr-card {
    transition: none;
  }
}
