:root {
  --ink: #161616;
  --cream: #fff8e6;
  --paper: #ffffff;
  --avocado: #8cc63f;
  --avocado-dark: #2e5b2c;
  --lime: #d7f06a;
  --yellow: #f2c94c;
  --purple: #8b5cf6;
  --orange: #e85f23;
  --muted: #625f57;
  --danger: #b42318;
  --radius: 28px;
  --shadow: 8px 8px 0 var(--ink);
  --font: "Montserrat", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font);
  line-height: 1.5;
}

body.modal-open { overflow: hidden; }

a { color: inherit; }

img { max-width: 100%; }

.container {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 3px solid var(--ink);
  background: rgba(255, 248, 230, .96);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -.05em;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 800;
  font-size: .92rem;
}

.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0 22px;
  background: var(--avocado);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.button.secondary { background: var(--paper); }
.button.yellow { background: var(--yellow); }
.button.dark { background: var(--ink); color: white; box-shadow: 5px 5px 0 var(--avocado-dark); }
.button.full { width: 100%; }

.hero {
  padding: 48px 0 34px;
}

.hero-card {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  display: grid;
  align-items: center;
  grid-template-columns: 1.25fr .75fr;
  gap: 24px;
  padding: clamp(32px, 6vw, 74px);
  border: 4px solid var(--ink);
  border-radius: 38px;
  background: var(--avocado);
  box-shadow: var(--shadow);
}

.eyebrow {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  padding: 8px 14px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  font-weight: 900;
  font-size: .82rem;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 22px 0 18px;
  font-size: clamp(3.5rem, 9vw, 7.6rem);
  line-height: .84;
  letter-spacing: -.08em;
  font-weight: 900;
}

.hero-copy {
  max-width: 670px;
  margin: 0 0 28px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.microcopy {
  margin-top: 20px;
  font-size: .88rem;
  font-weight: 700;
}

.avocado {
  position: relative;
  width: min(320px, 90%);
  aspect-ratio: .76;
  justify-self: center;
  border: 5px solid var(--ink);
  border-radius: 48% 48% 45% 45% / 63% 63% 37% 37%;
  background: var(--avocado-dark);
  transform: rotate(7deg);
  filter: drop-shadow(10px 14px 0 rgba(22,22,22,.18));
}

.avocado::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 4px solid var(--ink);
  border-radius: inherit;
  background: var(--lime);
}

.pit {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 17%;
  width: 42%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: #a86332;
}

.face-eye {
  position: absolute;
  z-index: 3;
  top: 34%;
  width: 16px;
  height: 23px;
  border-radius: 50%;
  background: var(--ink);
}
.face-eye.left { left: 35%; }
.face-eye.right { right: 35%; }

.face-mouth {
  position: absolute;
  z-index: 3;
  top: 43%;
  left: 50%;
  width: 58px;
  height: 28px;
  transform: translateX(-50%);
  border-bottom: 7px solid var(--ink);
  border-radius: 0 0 60px 60px;
}

.section {
  padding: 76px 0;
}

.section-title {
  max-width: 820px;
  margin: 0 0 34px;
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  line-height: .95;
  letter-spacing: -.055em;
  font-weight: 900;
}

.section-intro {
  max-width: 740px;
  margin: -16px 0 34px;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 650;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.panel {
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 28px;
  box-shadow: 6px 6px 0 var(--ink);
}

.panel .number {
  display: grid;
  width: 52px;
  aspect-ratio: 1;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-size: 1.15rem;
  font-weight: 900;
}

.panel h3 {
  margin: 18px 0 8px;
  font-size: 1.32rem;
  line-height: 1.05;
}

.panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.game-preview {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 26px;
  align-items: stretch;
}

.fake-card {
  min-height: 450px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 4px solid var(--ink);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.fake-card .category {
  align-self: flex-start;
  padding: 7px 13px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font-weight: 900;
}

.fake-card blockquote {
  margin: auto 10px;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.04;
  text-align: center;
  font-weight: 900;
}

.fake-card footer {
  padding: 10px;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  text-align: center;
  font-weight: 900;
}

.rules {
  display: grid;
  align-content: center;
  gap: 14px;
}

.rule {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 3px solid var(--ink);
  border-radius: 20px;
  background: var(--paper);
}

.rule b {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
}

.rule p { margin: 3px 0 0; font-weight: 700; }

.pricing {
  background: var(--purple);
  border-block: 4px solid var(--ink);
}

.pricing .section-title,
.pricing .section-intro { color: white; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.product {
  position: relative;
  padding: 34px;
  border: 4px solid var(--ink);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product.recommended::before {
  content: "EL MÁS JALADO";
  position: absolute;
  top: -18px;
  right: 22px;
  padding: 8px 13px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-weight: 900;
  font-size: .78rem;
}

.product h3 {
  margin: 0;
  font-size: 1.65rem;
}

.product .price {
  margin: 12px 0;
  font-size: clamp(2.9rem, 7vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.06em;
  font-weight: 900;
}

.product ul {
  padding-left: 21px;
  margin: 20px 0 26px;
  font-weight: 700;
}

.product small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
}

.cta-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 34px;
  border: 4px solid var(--ink);
  border-radius: 30px;
  background: var(--yellow);
  box-shadow: var(--shadow);
}

.cta-strip h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: .95;
  letter-spacing: -.05em;
}

.footer {
  padding: 48px 0;
  border-top: 4px solid var(--ink);
  background: var(--ink);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.footer .logo { font-size: 2rem; }
.footer a { color: white; }

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(22, 22, 22, .75);
}

.modal.open { display: grid; }

.modal-card {
  width: min(760px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  border: 4px solid var(--ink);
  border-radius: 30px;
  background: var(--cream);
  box-shadow: 12px 12px 0 var(--ink);
}

.modal-head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 3px solid var(--ink);
  background: var(--avocado);
}

.modal-head h2 { margin: 0; }

.close {
  display: grid;
  width: 46px;
  aspect-ratio: 1;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: white;
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
}

.order-form { padding: 26px; }

.order-summary {
  margin-bottom: 24px;
  padding: 18px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: white;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full { grid-column: 1 / -1; }

.field label { font-weight: 850; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: white;
  padding: 11px 13px;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.form-note {
  margin: 18px 0;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 650;
}

.status {
  display: none;
  margin: 16px 0;
  padding: 13px 15px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: white;
  font-weight: 800;
}

.status.show { display: block; }
.status.error { background: #fee4e2; color: var(--danger); }

.payment-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px 16px;
}

.payment-card {
  width: min(680px, 100%);
  padding: 38px;
  border: 4px solid var(--ink);
  border-radius: 32px;
  background: white;
  box-shadow: var(--shadow);
  text-align: center;
}

.payment-card h1 {
  margin: 12px 0;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: .92;
  letter-spacing: -.06em;
}

@media (max-width: 880px) {
  .nav a:not(.button) { display: none; }
  .hero-card { grid-template-columns: 1fr; min-height: auto; }
  .avocado { width: 230px; }
  .features { grid-template-columns: 1fr; }
  .game-preview { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .cta-strip { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 22px, 1160px); }
  .site-header .button { min-height: 44px; padding-inline: 14px; }
  .hero { padding-top: 22px; }
  .hero-card { padding: 28px 20px; border-radius: 26px; box-shadow: 5px 5px 0 var(--ink); }
  .hero-actions .button { width: 100%; }
  .section { padding: 54px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}


.product-grid.single-product {
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
}
