@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --yellow:   #FEC556;
  --cards-bg: #FFF8DC;
  --dark:     #1D1D2E;
  --text:     #1A1A1A;
  --muted:    #5C5C6E;
  --red:      #E03E3E;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
}

/* ── UTILS ───────────────────────────────────────────── */
.btn-order {
  display: inline-block;
  background: var(--yellow);
  /* text-shadow: 0px 0px 8.13px #33CCCC99; */
  color: #010101;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 33px;
  padding: 16px 32px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.2s;
}
.btn-order:hover { filter: brightness(0.92); }

.btn-order-nav-desktop { display: inline-block; font-size: 1.1rem; border-radius: 16px; padding: 8px 24px; }
.btn-order-nav-mobile { display: block; font-size: 1.2rem; border-radius: 16px; padding: 8px 24px; }

/* ── NAV ─────────────────────────────────────────────── */
nav {
  background: #fff;
  height: 64px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-item {
  text-decoration: none;
  color: #5B5B5B;
  font-weight: 600;
  font-size: 1.05rem;
}
.nav-item.nav-active { color: #010101; }

.nav-item:hover { color: var(--yellow); }

.nav-center {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin-left: auto;
  margin-right: 36px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px; 
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* mobile drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 12px 5% 20px;
  gap: 4px;
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 199;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.mobile-nav a:last-child { border-bottom: none; margin-top: 8px; text-align: center; }

/* ── HERO ────────────────────────────────────────────── */
.hero-wrapper { padding: 20px 5%; background: #fff; }

.hero {
  background: linear-gradient(117.64deg, rgba(254, 197, 86, 0.2) 17.75%, rgba(255, 255, 255, 0.2) 50.39%, rgba(254, 197, 86, 0.2) 82.38%);
  /* linear-gradient(117.64deg, rgba(160, 253, 255, 0.2) 17.75%, rgba(255, 255, 255, 0.2) 50.39%, rgba(220, 154, 255, 0.2) 82.38%);; */
  border-radius: 24px;
  padding: 56px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  min-height: 360px;
}

.hero-left { flex: 0 0 42%; }

.hero-left .hero-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
}

.hero-left p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 340px;
  line-height: 1.6;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.price-was {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: line-through;
}
.price-now {
  font-size: 2.85rem;
  font-weight: 800;
}

.hero-right {
  flex: 0 0 54%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-right img {
  max-width: 110%;
  object-fit: contain;
  display: block;
}

/* ── ABOUT ───────────────────────────────────────────── */
.about {
  padding: 72px 5%;
  text-align: center;
}
.about h2 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.about p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ── SAMPLE CARDS ────────────────────────────────────── */
.cards-wrapper { padding: 20px 5%; }

.cards-section {
  background: linear-gradient(117.64deg, rgba(254,197,86,0.2) 17.75%, rgba(255,255,255,0.2) 50.39%, rgba(254,197,86,0.2) 82.38%);
  border-radius: 24px;
  padding: 56px 5%;
}
.cards-section h2 {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 56px;
}
.card-item {
  border-radius: 14px;
}
.card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
}
.product-showcase > div { flex: 0 0 46%; }
.product-showcase img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ── CTA ─────────────────────────────────────────────── */
.cta-section { padding: 56px 5%; }

.cta-card {
  background: #F7F7F7;
  border-radius: 24px;
  padding: 56px 40px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  box-shadow:
    0px 8.45px 25.34px -4.22px #00000014,
    0px 21.12px 63.35px -10.56px #10B77F26;
}
.cta-card h2 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-card > p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
}
.cta-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}
.cta-price-was {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: line-through;
}
.cta-price-now {
  font-size: 3.75rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}
.cta-note {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: #fff;
  padding: 40px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-brand { display: flex; flex-direction: column; gap: 6px; }

.footer-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-tagline { font-size: 0.9rem; color: #aaa; }

.footer-socials { display: flex; gap: 14px; margin-top: 6px; }
.footer-socials a {
  color: #aaa; text-decoration: none;
  font-size: 0.95rem; font-weight: 600;
  transition: color 0.2s;
}
.footer-socials a:hover { color: #fff; }

.footer-middle { text-align: center; }
.footer-middle img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer-copy {
  font-size: 13px;
  color: #aaa;
  text-align: left;
  max-width: 360px;
  line-height: 1.6;
}

/* ── SUBTITLE (shared utility) ───────────────────────── */
.subtitle { font-size: 1.1rem; color: var(--muted); }

/* ── PAGE HERO (shared inner-page header) ────────────── */
.page-hero {
  padding: 56px 5% 40px;
  text-align: center;
  background: #fff;
}
.page-hero h1,
.contact-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-align: center;
}

/* ── HOW TO PLAY ─────────────────────────────────────── */
.htp-cards {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  padding: 32px 5% 48px;
  background: #fff;
  position: relative;
  min-height: 280px;
}
.htp-cards img {
  width: 220px;
  object-fit: contain;
  position: relative;
}
.htp-cards img:nth-child(1) { transform: rotate(-9deg) translateX(20px);  z-index: 1; }
.htp-cards img:nth-child(2) { transform: rotate(0.7deg);                  z-index: 3; }
.htp-cards img:nth-child(3) { transform: rotate(9deg) translateX(-20px);  z-index: 2; }

.steps-wrapper { padding: 20px 5%; }
.steps-section {
  background: linear-gradient(117.64deg, rgba(254,197,86,0.2) 17.75%, rgba(255,255,255,0.2) 50.39%, rgba(254,197,86,0.2) 82.38%);
  border-radius: 24px;
  padding: 48px 5%;
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.step-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0px 2px 10px rgba(0,0,0,0.04);
}
.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: #000;
  margin-top: 2px;
}
.step-text { font-size: 1.05rem; line-height: 1.65; color: var(--text); }
.step-text b { font-weight: 700; }

.corner-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px 28px;
  max-width: 900px;
  margin: 16px auto 0;
  font-size: 1rem;
  color: var(--muted);
  text-align: center;
  box-shadow: 0px 2px 10px rgba(0,0,0,0.04);
}

.htp-cta { padding: 48px 5%; text-align: center; }
.htp-cta .btn-order { font-size: 1.35rem; padding: 16px 60px; }

/* ── CONTACT ─────────────────────────────────────────── */
.contact-section {
  min-height: calc(100vh - 64px - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 5%;
  background: #fff;
}
.contact-section .subtitle { margin-bottom: 32px; }

.contact-card {
  background: #fff;
  border-radius: 20px;
  box-shadow:
    0px 8.45px 25.34px -4.22px #00000014,
    0px 21.12px 63.35px -10.56px #10B77F26;
  padding: 40px;
  width: 100%;
  max-width: 520px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  color: var(--text);
  background: #F7F7F7;
  border: 1.5px solid #EBEBEB;
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #AFAFAF; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--yellow); background: #fff; }
.form-group textarea { resize: vertical; min-height: 60px; }
.form-group input.input-error,
.form-group textarea.input-error { border-color: #e53e3e; background: #fff5f5; }
.field-error {
  font-size: 0.75rem;
  color: #e53e3e;
  margin-top: 4px;
  font-weight: 500;
}

.btn-submit {
  width: 100%;
  margin-top: 8px;
  background: #010101;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 15px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-submit:hover { opacity: 0.82; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 860px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }

  .product-showcase { flex-direction: column; align-items: center; }
  .product-showcase > div { flex: none; width: 72%; }
}

@media (max-width: 640px) {
  .nav-center, nav > .btn-order { display: none; }
  .hamburger { display: flex; }

  .hero { flex-direction: column; padding: 40px 5%; text-align: center; }
  .hero-left { flex: none; }
  .hero-left .hero-logo { margin-left: auto; margin-right: auto; }
  .hero-left p { max-width: 100%; }
  .price-row { justify-content: center; }

  .hero-right { flex: none; width: 100%; }
  .hero-right img { max-height: 320px; margin: 0 auto; }

  .product-showcase > div { width: 90%; }

  .cta-card { padding: 40px 24px; }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-brand { align-items: center; }
  .footer-copy { text-align: center; max-width: 100%; }

  /* how-to-play + contact */
  .page-hero h1,
  .contact-section h1 { font-size: 2.4rem; }
  .htp-cards img { width: 140px; }
  .htp-cards img:nth-child(1) { transform: rotate(-9deg) translateX(12px); }
  .htp-cards img:nth-child(3) { transform: rotate(9deg) translateX(-12px); }
  .step-card { padding: 18px 20px; gap: 14px; }
  .step-number { width: 30px; height: 30px; font-size: 0.95rem; }
  .step-text { font-size: 1rem; }

  /* contact */
  .contact-card { padding: 32px 24px; }
}
