:root {
  --pink: #e8368f;
  --pink-dark: #c21f6f;
  --navy: #0a0a1a;
  --section-bg: #dde1e8;
  --card-bg: #ffffff;
  --text-dark: #1a1a2e;
  --text-muted: #4a4a5a;
  --whatsapp-green: #25d366;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--section-bg);
  overflow-x: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 20;
  padding: 20px 24px 0;
  margin-bottom: 40px;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  background: #ffffff;
  border-radius: 999px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--pink);
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp-green);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: filter 0.2s ease;
}

.whatsapp-btn:hover {
  filter: brightness(1.08);
}

.whatsapp-btn svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  order: -1;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(8, 6, 20, 0.35) 0%, rgba(8, 6, 20, 0.6) 55%, rgba(8, 6, 20, 0.75) 100%),
    url("assets/desktop-hero-background.jpg") center top / cover no-repeat;
  padding: 0 24px 90px;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1 1 480px;
  max-width: 560px;
  min-width: 0;
}

.hero-content h1 {
  color: #ffffff;
  font-size: 2.4rem;
  line-height: 1.25;
  margin: 0 0 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 28px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-buttons a {
  display: inline-block;
  transition: transform 0.2s ease;
}

.hero-buttons a:hover {
  transform: translateY(-2px) scale(1.03);
}

.hero-buttons img {
  height: 56px;
  width: auto;
}

#play-now-btn {
  border-radius: 999px;
  animation: play-now-pulse 1.8s ease-in-out infinite;
}

#play-now-btn:hover {
  animation-play-state: paused;
}

@keyframes play-now-pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(232, 54, 143, 0.55));
  }
  50% {
    transform: scale(1.07);
    filter: drop-shadow(0 0 16px rgba(232, 54, 143, 0.85));
  }
}

@media (prefers-reduced-motion: reduce) {
  #play-now-btn {
    animation: none;
  }
}

.hero-image {
  flex: 1 1 480px;
  max-width: 560px;
  min-width: 0;
}

/* ---------- Content sections ---------- */

.content-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 4px 18px rgba(20, 20, 40, 0.08);
}

.card h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  color: var(--text-dark);
}

.card h3 {
  margin: 24px 0 10px;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.card p {
  margin: 0 0 12px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card a {
  color: var(--pink-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.card a:hover {
  color: var(--pink);
}

.game-list {
  margin: 0 0 12px;
  padding-left: 1.25em;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.game-list li {
  margin-bottom: 4px;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 12px;
}

.info-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
}

.info-table th {
  background: var(--section-bg);
  color: var(--text-dark);
  font-weight: 600;
  white-space: nowrap;
}

.info-table td {
  color: var(--text-muted);
}

.info-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- Tablet ---------- */

@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 2rem;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 768px) {
  .site-header {
    padding: 16px 16px 0;
    margin-bottom: 24px;
  }

  .nav-container {
    padding: 10px 16px;
    gap: 12px;
  }

  .menu-toggle {
    display: flex;
  }

  .logo img {
    height: 52px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: var(--section-bg);
  }

  .whatsapp-btn span {
    display: none;
  }

  .whatsapp-btn {
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    justify-content: center;
  }

  .hero {
    background-image:
      linear-gradient(180deg, rgba(8, 6, 20, 0.3) 0%, rgba(8, 6, 20, 0.55) 45%, rgba(8, 6, 20, 0.8) 100%),
      url("assets/mobile-hero-background.jpg");
    padding: 0 20px 40px;
  }

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

  .hero-content {
    flex: none;
    max-width: 100%;
  }

  .hero-image {
    flex: none;
    max-width: 320px;
    margin: 0 auto;
    order: -1;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-buttons img {
    height: 46px;
  }

  .hero-content.buttons-before-text {
    display: flex;
    flex-direction: column;
  }

  .hero-content.buttons-before-text .hero-buttons {
    order: -1;
    margin-bottom: 24px;
  }

  .hero-content.buttons-before-text p:last-of-type {
    margin-bottom: 0;
  }

  .content-section {
    padding: 32px 16px 56px;
  }

  .card {
    padding: 24px 20px;
  }
}

@media (max-width: 360px) {
  .hero-buttons img {
    height: 38px;
  }
}