/* ============================================================
   PUMPS CHINA — Vanilla CSS (no frameworks)
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: #111827;
  background: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul { list-style: none; }

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

/* ---------- Typography ---------- */
h1 { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { color: #4b5563; }

/* ---------- Container ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}
.btn-primary:hover { background: #b91c1c; border-color: #b91c1c; }

.btn-outline {
  background: #fff;
  color: #dc2626;
  border-color: #dc2626;
}
.btn-outline:hover { background: #fef2f2; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #dc2626;
}

.logo-leaf { font-size: 1.75rem; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}
.nav-desktop a:hover { color: #dc2626; }
.nav-desktop a.active { color: #dc2626; }

.nav-games-link {
  background: #dc2626;
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 600 !important;
}
.nav-games-link:hover { background: #b91c1c !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #374151;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.75rem;
}

.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: #374151;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}
.nav-mobile a:hover { color: #dc2626; }
.nav-mobile.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fef2f2 0%, #fff 50%, #fef2f2 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1503614472-8c93d56e92ce?w=1600&fm=webp&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  max-width: 42rem;
  padding: 4rem 0;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #dc2626;
  margin-bottom: 1.25rem;
}

.hero h1 { color: #111827; margin-bottom: 1.25rem; }
.hero p { font-size: 1.125rem; margin-bottom: 2rem; color: #4b5563; }

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: #f9fafb; }
.section-red { background: linear-gradient(135deg, #dc2626, #b91c1c); color: #fff; }
.section-red h2 { color: #fff; }
.section-red p { color: #fecaca; }

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3.5rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.125rem; }

/* ---------- Feature Cards (3-col) ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feat-card {
  background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}
.feat-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.12); }

.feat-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.feat-icon svg { color: #fff; }

.feat-card h3 { color: #111827; margin-bottom: 0.75rem; }

/* ---------- Museum Cards (3-col grid) ---------- */
.museums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.museum-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s, transform 0.25s;
}
.museum-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  transform: translateY(-3px);
}

.museum-img {
  height: 14rem;
  background-size: cover;
  background-position: center;
}

.museum-body { padding: 1.5rem; }
.museum-body h3 { color: #111827; margin-bottom: 0.5rem; }
.museum-body h3:hover { color: #dc2626; }

.museum-location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.pin-icon { color: #dc2626; flex-shrink: 0; }

/* ---------- CTA ---------- */
.cta-center { text-align: center; }
.section-red .btn { background: #fff; color: #dc2626; }
.section-red .btn:hover { background: #f3f4f6; }

/* ---------- About Hero ---------- */
.page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  overflow: hidden;
  color: #fff;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.page-hero-content { position: relative; padding: 4rem 0; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: #fecaca; font-size: 1.25rem; }

/* ---------- Cards 2-col ---------- */
.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* ---------- Story box ---------- */
.story-box {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding: 3rem;
  border: 1px solid #f3f4f6;
}

.story-box h2 { margin-bottom: 2rem; }
.story-body { display: flex; flex-direction: column; gap: 1.25rem; }
.story-body p { font-size: 1.1rem; color: #374151; }

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.value-icon {
  width: 4rem;
  height: 4rem;
  background: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.value-icon svg { color: #fff; }

/* ---------- Team ---------- */
.team-intro {
  background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
  border-radius: 1.5rem;
  padding: 3rem;
}

.team-intro-text {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 1.5rem;
  text-align: center;
}

.team-avatar {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.team-card h3 { font-size: 1rem; color: #111827; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 2rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background: #fef2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { color: #dc2626; }

.contact-form {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: #111827;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: #dc2626; }
.form-group textarea { min-height: 7rem; resize: vertical; }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border-top: 4px solid #dc2626;
}

.stars {
  color: #f59e0b;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.review-text {
  font-style: italic;
  color: #374151;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-name { font-weight: 600; color: #111827; font-size: 0.9rem; }
.review-date { font-size: 0.8rem; color: #9ca3af; }

/* ---------- Countries / Canada ---------- */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.country-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  height: 16rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}
.country-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.country-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s;
}
.country-card:hover .country-img { transform: scale(1.05); }

.country-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.country-overlay h3 { color: #fff; font-size: 1.25rem; }

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: 52rem;
  margin: 0 auto;
  padding: 4rem 0;
}

.legal-content h2 { margin: 2.5rem 0 1rem; font-size: 1.5rem; color: #111827; }
.legal-content p { margin-bottom: 1.25rem; color: #374151; line-height: 1.8; }
.legal-content ul { margin: 1rem 0 1.5rem 1.5rem; }
.legal-content ul li { margin-bottom: 0.5rem; list-style: disc; color: #374151; }
.legal-content .effective { font-size: 0.875rem; color: #6b7280; margin-bottom: 2rem; }

/* ---------- Games Page ---------- */
.games-hero {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
}

.games-hero h1 { color: #fff; margin-bottom: 1rem; }
.games-hero p { color: #9ca3af; font-size: 1.125rem; max-width: 36rem; margin: 0 auto; }

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.game-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}

.game-img-wrap {
  position: relative;
  overflow: hidden;
  padding-bottom: 65%;
}

.game-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.game-card:hover .game-img { transform: scale(1.04); }

.game-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #dc2626;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
}

.game-body { padding: 1.5rem; }
.game-body h3 { color: #111827; margin-bottom: 0.5rem; }
.game-body p { font-size: 0.875rem; color: #6b7280; margin-bottom: 1rem; }

.game-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.game-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.meta-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: #9ca3af; font-weight: 600; }
.meta-val { font-size: 0.875rem; font-weight: 600; color: #111827; }

.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Disclaimer ---------- */
.disclaimer-box {
  background: #1f2937;
  color: #9ca3af;
  border-radius: 1rem;
  padding: 2rem;
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 3rem;
}

.disclaimer-box strong { color: #f3f4f6; }

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid #6b7280;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-left: 0.75rem;
  vertical-align: middle;
}

/* ---------- Iframe embed ---------- */
.iframe-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.iframe-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 3rem 0 2rem;
  margin-top: 5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo-link {
  margin-bottom: 0.75rem;
  display: inline-flex;
}

.footer-brand p { font-size: 0.875rem; color: #6b7280; max-width: 18rem; }

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-col a {
  font-size: 0.875rem;
  color: #6b7280;
}
.footer-col a:hover { color: #dc2626; }

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-3, .museums-grid, .reviews-grid, .games-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .countries-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .cards-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cards-3, .museums-grid, .reviews-grid, .games-grid, .countries-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}


/* Popup styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: #fff;
  border-radius: 16px;
  padding: 3rem 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.popup-overlay.active .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.2s;
}

.popup-close:hover {
  color: #1f2937;
}

.popup-icon {
  width: 80px;
  height: 80px;
  background: #10b981; /* Emerald green */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.popup-content h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

.popup-content p {
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.5;
}


/* Responsible Gaming Badges */
.rg-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  color: #1f2937;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
  border: 1px solid #e5e7eb;
}
.rg-badge:hover { background: #e5e7eb; color: #111827; }
.gamcare-badge { color: #0284c7; border-color: #bae6fd; background: #f0f9ff; }
.gamcare-badge:hover { background: #e0f2fe; }

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111827;
  color: #fff;
  padding: 1rem;
  z-index: 99999;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}
.cookie-content p { margin: 0; font-size: 0.9rem; color: #d1d5db; }
.cookie-content a { color: #60a5fa; text-decoration: underline; }
.cookie-content .btn-sm { padding: 0.4rem 1.2rem; font-size: 0.9rem; white-space: nowrap; cursor: pointer; }
@media(max-width: 600px) {
  .cookie-content { flex-direction: column; text-align: center; }
}


.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
}
