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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #07111f;
  color: #f8fafc;
  line-height: 1.5;
}

a,
button {
  font: inherit;
}

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

button {
  cursor: pointer;
  border: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 7%;
  background: #07111f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo span {
  color: #21f5b5;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #cbd5e1;
  font-weight: 700;
}

.nav a:hover {
  color: #21f5b5;
}

.cart-pill {
  padding: 10px 14px;
  border-radius: 8px;
  background: #21f5b5;
  color: #07111f;
  font-weight: 900;
}

/* Hero */

.hero {
  padding: 26px 4% 18px;
}

.hero-card {
  max-width: 1500px;
  margin: 0 auto;
  overflow: hidden;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.hero-top {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #07111f;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(
      180deg,
      rgba(7, 17, 31, 0.08) 0%,
      rgba(7, 17, 31, 0.18) 58%,
      rgba(7, 17, 31, 0.78) 88%,
      rgba(33, 245, 181, 0.85) 100%
    ),
    linear-gradient(
      90deg,
      rgba(7, 17, 31, 0.82) 0%,
      rgba(7, 17, 31, 0.32) 38%,
      rgba(7, 17, 31, 0.16) 64%,
      rgba(7, 17, 31, 0.38) 100%
    ),
    url("hero-pikachu-squirtle.png");
  background-position: center center;
  background-size: cover;
}

.hero-top::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 90px;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(33, 245, 181, 0) 0%,
    rgba(33, 245, 181, 0.55) 70%,
    #21f5b5 100%
  );
}

.end-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 5;
  padding: 8px 13px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  background: linear-gradient(90deg, #e6007e, #21f5b5);
  border-radius: 5px;
}

/* Hit marker moved onto the statue head */

.hit-marker {
  position: absolute;
  left: 56%;
  top: 24%;
  z-index: 6;
  width: 90px;
  height: 90px;
  border: 4px solid #21f5b5;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 20px #21f5b5,
    0 0 40px rgba(33, 245, 181, 0.5),
    inset 0 0 18px rgba(33, 245, 181, 0.25);
}

.hit-marker::before,
.hit-marker::after {
  position: absolute;
  content: "";
  background: #21f5b5;
  box-shadow: 0 0 12px rgba(33, 245, 181, 0.8);
}

.hit-marker::before {
  top: -15px;
  left: 50%;
  width: 4px;
  height: 120px;
  transform: translateX(-50%);
}

.hit-marker::after {
  top: 50%;
  left: -15px;
  width: 120px;
  height: 4px;
  transform: translateY(-50%);
}

/* Hero steps */

.hero-steps {
  position: absolute;
  right: 58px;
  bottom: 34px;
  left: 58px;
  z-index: 7;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr) 90px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: linear-gradient(
    90deg,
    rgba(7, 17, 31, 0.88),
    rgba(7, 17, 31, 0.52),
    rgba(7, 17, 31, 0.82)
  );
  border-radius: 14px;
  backdrop-filter: blur(2px);
}

.hero-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.step-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #07111f;
  font-size: 15px;
  font-weight: 900;
  background: #21f5b5;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.step-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 27px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 9px;
}

.step-copy {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.02;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 62px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 18px rgba(33, 245, 181, 0.25);
  transform: translateY(-2px);
}

.hero-bar {
  position: relative;
  z-index: 8;
  margin-top: -1px;
  padding: 14px;
  color: #07111f;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.5px;
  background: #21f5b5;
}

/* Hero lower section */

.hero-bottom {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 250px;
  background: #111827;
}

.hero-logo-side,
.hero-copy-side {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-side {
  padding: 32px;
}

.hero-copy-side {
  flex-direction: column;
  padding: 34px 60px 34px 20px;
}

.skill-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 255px;
  min-height: 155px;
  color: #fde68a;
  font-weight: 900;
  text-align: center;
  background: #123b76;
  border: 5px solid #21f5b5;
  border-radius: 22px;
  box-shadow: 0 12px 0 #0b2448, 0 20px 30px rgba(0, 0, 0, 0.22);
  transform: rotate(-3deg);
}

.badge-title {
  font-size: 38px;
  line-height: 0.9;
  text-shadow: 2px 2px #07111f;
}

.badge-subtitle {
  z-index: 2;
  padding: 5px 10px;
  margin-top: 7px;
  color: #fff;
  font-size: 15px;
  background: #07111f;
  border-radius: 6px;
}

.badge-arrow {
  position: absolute;
  right: -78px;
  bottom: -38px;
  z-index: 1;
  padding: 12px 28px;
  color: #fff;
  font-size: 18px;
  line-height: 0.95;
  background: #1399e8;
  border: 3px solid #21f5b5;
  border-radius: 10px;
  transform: rotate(5deg);
}

.hero-prize-title {
  margin-bottom: 34px;
  color: #f8fafc;
  font-size: 21px;
  font-weight: 800;
  text-align: center;
}

.starting {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.price-line {
  margin: 3px 0 28px;
  color: #21f5b5;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.price-line small {
  color: #9ca3af;
  font-size: 16px;
  font-weight: 500;
  text-decoration: line-through;
}

.price-line span {
  color: #ef4444;
  font-size: 14px;
  font-weight: 700;
}

.play-now {
  display: block;
  width: 100%;
  max-width: 245px;
  padding: 14px 18px;
  margin: 0 auto;
  color: #07111f;
  font-weight: 900;
  text-align: center;
  background: #21f5b5;
  border-radius: 5px;
}

.play-now:hover {
  background: #14dca4;
}

/* Prize selection */

.section {
  max-width: 1328px;
  padding: 28px 0 38px;
  margin: 0 auto;
}

.section-heading {
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  padding: 10px 12px 16px;
}

.section-heading h2 {
  color: #f8fafc;
  font-size: 30px;
  letter-spacing: -0.5px;
}

.section-heading p {
  color: #94a3b8;
  font-weight: 600;
}

.selection-wrap {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 18px;
  align-items: start;
  padding-bottom: 34px;
}

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

.product-card {
  position: relative;
  min-height: 290px;
  padding: 12px 12px 64px;
  overflow: hidden;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-card.wide {
  grid-column: span 2;
}

.product-title {
  color: #f8fafc;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.1;
}

.product-subtitle {
  min-height: 38px;
  margin-top: 3px;
  color: #94a3b8;
  font-size: 14px;
}

.divider {
  height: 1px;
  margin: 9px 0;
  background: rgba(255, 255, 255, 0.12);
}

.cash-alt {
  margin-bottom: 5px;
  color: #cbd5e1;
  font-size: 12px;
}

.cash-alt strong {
  font-weight: 900;
}

.image-zone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 145px;
}

.product-card.wide .image-zone {
  height: 155px;
}

.flag,
.discount {
  position: absolute;
  z-index: 2;
}

.flag {
  top: 10px;
  left: 54px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 19px;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.discount {
  top: 10px;
  right: 54px;
  padding: 4px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: #e60023;
  border-radius: 4px;
}

.placeholder-product {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 104px;
  padding: 10px;
  color: #fff;
  font-weight: 900;
  text-align: center;
  background:
    radial-gradient(circle at 30% 35%, rgba(33, 245, 181, 0.45), transparent 18%),
    radial-gradient(circle at 70% 60%, rgba(125, 211, 252, 0.28), transparent 18%),
    linear-gradient(135deg, #1f2937, #0f172a);
  border-radius: 10px;
  box-shadow: 0 18px 25px rgba(0, 0, 0, 0.18);
  transform: perspective(600px) rotateX(5deg);
}

.wide .placeholder-product {
  width: 260px;
  height: 115px;
}

.value-hover {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  background: rgba(7, 17, 31, 0.9);
  opacity: 0;
  transition: 0.2s;
}

.image-zone:hover .value-hover {
  opacity: 1;
}

.value-hover small {
  color: #cbd5e1;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.value-hover strong {
  margin-top: 7px;
  color: #21f5b5;
  font-size: 30px;
  line-height: 1;
}

.ticket-bottom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.price {
  color: #f8fafc;
  font-size: 15px;
  font-weight: 800;
}

.old-price {
  margin-left: 4px;
  color: #9ca3af;
  font-weight: 500;
  text-decoration: line-through;
}

.qty {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
}

.qty button {
  width: 25px;
  height: 25px;
  color: #f8fafc;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.08);
}

.qty span {
  width: 28px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.basket-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #07111f;
  font-size: 21px;
  font-weight: 900;
  background: #21f5b5;
  border-radius: 5px;
}

.basket-btn:hover {
  background: #14dca4;
}

/* Cart */

.cart {
  position: sticky;
  top: 84px;
  padding: 18px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart h3 {
  margin-bottom: 8px;
  color: #f8fafc;
  font-size: 24px;
}

.cart-empty {
  padding: 18px 0;
  color: #94a3b8;
}

.cart-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-item strong {
  display: block;
  color: #f8fafc;
  line-height: 1.2;
}

.cart-item small {
  color: #94a3b8;
}

.cart-item button {
  margin-top: 5px;
  color: #ef4444;
  font-size: 12px;
  font-weight: 900;
  background: transparent;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  color: #f8fafc;
  font-size: 22px;
  font-weight: 900;
}

.checkout-btn {
  width: 100%;
  padding: 14px;
  color: #07111f;
  font-weight: 900;
  background: #21f5b5;
  border-radius: 5px;
}

.checkout-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

/* Competition and How it Works */

.competition-page {
  padding: 60px 7%;
  color: #fff;
  background: #07111f;
}

.competition-box {
  max-width: 1040px;
  padding: 28px;
  margin: 0 auto;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.competition-box p {
  margin-top: 6px;
  color: #cbd5e1;
}

.play-area {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
  padding: 30px;
  margin-top: 22px;
  color: #cbd5e1;
  font-weight: 900;
  text-align: center;
  background:
    radial-gradient(circle at 66% 36%, rgba(33, 245, 181, 0.35), transparent 8%),
    radial-gradient(circle at 28% 72%, rgba(125, 211, 252, 0.18), transparent 13%),
    linear-gradient(135deg, #1e293b, #020617);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.how {
  max-width: 1328px;
  padding: 40px 0 70px;
  margin: 0 auto;
}

.how h2 {
  margin-bottom: 24px;
  color: #f8fafc;
  font-size: 34px;
  text-align: center;
}

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

.info-step {
  padding: 24px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-step strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  color: #07111f;
  background: #21f5b5;
  border-radius: 50%;
}

.info-step p {
  margin-top: 6px;
  color: #94a3b8;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding: 30px 7%;
  color: #cbd5e1;
  background: #07111f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive */

@media (min-width: 1400px) {
  .hero-top {
    height: 580px;
  }

  .hit-marker {
    left: 56%;
    top: 24%;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@media (max-width: 1100px) {
  .selection-wrap {
    grid-template-columns: 1fr;
    padding: 0 12px 34px;
  }

  .cart {
    position: static;
  }

  .products {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-bottom {
    grid-template-columns: 1fr;
  }

  .hero-copy-side {
    padding: 28px;
  }

  .hero-steps {
    right: 24px;
    bottom: 22px;
    left: 24px;
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr);
    gap: 10px;
  }

  .arrow {
    font-size: 44px;
  }

  .step-copy {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 14px 5%;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 16px 2%;
  }

  .hero-top {
    height: 430px;
  }

  .hero-image {
    background-position: 38% center;
    background-size: auto 100%;
  }

  .hit-marker {
    left: 62%;
    top: 24%;
    transform: translate(-50%, -50%) scale(0.65);
  }

  .hero-steps {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
    margin: 245px 14px 18px;
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.92), rgba(7, 17, 31, 0.72));
  }

  .hero-step {
    justify-content: start;
  }

  .arrow {
    display: none;
  }

  .section-heading {
    display: block;
    padding: 16px 12px;
  }

  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card,
  .product-card.wide {
    grid-column: span 1;
    min-height: 245px;
    padding: 10px 10px 58px;
  }

  .product-title {
    min-height: 32px;
    font-size: 13px;
  }

  .product-subtitle {
    min-height: 32px;
    font-size: 11px;
  }

  .cash-alt {
    font-size: 10px;
  }

  .image-zone,
  .product-card.wide .image-zone {
    height: 92px;
  }

  .placeholder-product,
  .wide .placeholder-product {
    width: 105px;
    height: 72px;
    padding: 7px;
    font-size: 10px;
  }

  .flag {
    top: 5px;
    left: 12px;
    width: 25px;
    height: 25px;
    font-size: 14px;
  }

  .discount {
    top: 5px;
    right: 6px;
    padding: 3px 6px;
    font-size: 9px;
  }

  .price {
    font-size: 13px;
  }

  .old-price {
    display: inline-block;
    font-size: 11px;
  }

  .qty button {
    width: 22px;
    height: 22px;
  }

  .qty span {
    width: 24px;
    font-size: 12px;
  }

  .basket-btn {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .skill-badge {
    transform: scale(0.86) rotate(-3deg);
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}


/* Real prize images */

.product-photo-wrap {
  position: relative;
  width: 150px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
}

.product-card.wide .product-photo-wrap {
  width: 190px;
  height: 142px;
}

.product-photo {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.35));
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: rotateX(4deg);
}

.product-back {
  opacity: 0;
  transform: rotateY(12deg) scale(0.98);
}

.product-card:hover .product-front {
  opacity: 0;
  transform: rotateY(-12deg) scale(0.98);
}

.product-card:hover .product-back {
  opacity: 1;
  transform: rotateY(0deg) scale(1);
}

@media (max-width: 768px) {
  .product-photo-wrap,
  .product-card.wide .product-photo-wrap {
    width: 95px;
    height: 86px;
  }

  .product-photo {
    max-width: 95px;
    max-height: 86px;
  }
}


/* Updated prize image sizing */

.product-photo-wrap {
  width: 185px;
  height: 158px;
}

.product-card.wide .product-photo-wrap {
  width: 230px;
  height: 168px;
}

.product-photo {
  max-width: 100%;
  max-height: 100%;
}

.image-zone {
  height: 172px;
}

.product-card.wide .image-zone {
  height: 182px;
}

.product-card {
  min-height: 330px;
}

.exclusive-card {
  border: 2px solid #21f5b5;
  box-shadow:
    0 0 0 1px rgba(33, 245, 181, 0.15),
    0 0 34px rgba(33, 245, 181, 0.18);
}

.exclusive-card::before {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 8;
  padding: 6px 10px;
  color: #07111f;
  font-size: 11px;
  font-weight: 900;
  content: "EXCLUSIVE";
  background: #21f5b5;
  border-bottom-left-radius: 8px;
}

.exclusive-panel {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  align-items: center;
  justify-content: center;
}

.exclusive-left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.exclusive-prize-img {
  max-width: 180px;
  max-height: 220px;
  object-fit: contain;
  filter:
    drop-shadow(0 22px 24px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 18px rgba(33, 245, 181, 0.18));
}

.exclusive-right {
  width: 100%;
}

.urgent-pill {
  display: inline-block;
  padding: 7px 11px;
  margin: 0 auto 14px;
  color: #07111f;
  font-size: 12px;
  font-weight: 900;
  background: #21f5b5;
  border-radius: 999px;
}

.exclusive-subcopy {
  max-width: 520px;
  margin: -18px auto 22px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

/* Terms */

.terms {
  padding: 56px 7%;
  background: #0b1220;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.terms-inner {
  max-width: 1328px;
  margin: 0 auto;
}

.terms h2 {
  margin-bottom: 10px;
  color: #f8fafc;
  font-size: 34px;
  text-align: center;
}

.terms-intro {
  max-width: 850px;
  margin: 0 auto 28px;
  color: #cbd5e1;
  font-weight: 700;
  text-align: center;
}

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

.term-block {
  padding: 20px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.term-block h3 {
  margin-bottom: 8px;
  color: #21f5b5;
  font-size: 17px;
}

.term-block p {
  color: #cbd5e1;
  font-size: 14px;
}

.term-block a {
  color: #21f5b5;
  font-weight: 900;
}

/* Mobile refinements after larger images */

@media (max-width: 768px) {
  .hero-copy-side.exclusive-panel {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .exclusive-prize-img {
    max-height: 170px;
  }

  .exclusive-subcopy {
    margin-top: -12px;
    font-size: 12px;
  }

  .product-card,
  .product-card.wide {
    min-height: 265px;
  }

  .image-zone,
  .product-card.wide .image-zone {
    height: 112px;
  }

  .product-photo-wrap,
  .product-card.wide .product-photo-wrap {
    width: 112px;
    height: 106px;
  }

  .product-photo {
    max-width: 112px;
    max-height: 106px;
  }

  .terms-grid {
    grid-template-columns: 1fr;
  }

  .terms {
    padding: 42px 5%;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .terms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Final image sizing refinement */

.product-photo-wrap {
  width: 205px;
  height: 168px;
}

.product-card.wide .product-photo-wrap {
  width: 250px;
  height: 176px;
}

.product-photo {
  max-width: 108%;
  max-height: 108%;
}

.image-zone {
  height: 172px;
  overflow: hidden;
}

.product-card.wide .image-zone {
  height: 182px;
  overflow: hidden;
}

.exclusive-prize-img {
  max-width: 215px;
  max-height: 250px;
  transform: scale(1.08);
  transform-origin: center;
}

.exclusive-panel {
  overflow: hidden;
}

@media (max-width: 768px) {
  .product-photo-wrap,
  .product-card.wide .product-photo-wrap {
    width: 122px;
    height: 112px;
  }

  .product-photo {
    max-width: 122px;
    max-height: 112px;
  }

  .image-zone,
  .product-card.wide .image-zone {
    height: 112px;
    overflow: hidden;
  }

  .exclusive-prize-img {
    max-width: 165px;
    max-height: 185px;
    transform: scale(1.08);
  }

  .exclusive-left {
    max-height: 178px;
    overflow: hidden;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .product-photo-wrap,
  .product-card.wide .product-photo-wrap {
    width: 185px;
    height: 154px;
  }

  .product-photo {
    max-width: 108%;
    max-height: 108%;
  }
}


/* Alignment fix for uneven product cards */

.product-card {
  display: flex;
  flex-direction: column;
}

.product-title {
  min-height: 36px;
  display: flex;
  align-items: flex-start;
}

.product-subtitle {
  min-height: 42px;
}

.cash-alt {
  min-height: 18px;
}

.image-zone,
.product-card.wide .image-zone {
  height: 170px;
  min-height: 170px;
  max-height: 170px;
  overflow: hidden;
  margin-top: 4px;
}

.product-photo-wrap,
.product-card.wide .product-photo-wrap {
  width: 205px;
  height: 158px;
  max-height: 158px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Normalise the cards that were visually sitting lower */
.product-mega-charizard-x .product-photo-wrap,
.product-mega-greninja .product-photo-wrap,
.product-151-etb .product-photo-wrap {
  transform: translateY(-8px);
}

.product-mega-charizard-x .image-zone,
.product-mega-greninja .image-zone,
.product-151-etb .image-zone {
  align-items: center;
}

.product-mega-charizard-x .product-photo,
.product-mega-greninja .product-photo,
.product-151-etb .product-photo {
  max-height: 115%;
}

/* ETBs are landscape, so keep them optically balanced */
.product-151-etb .product-photo,
.product-evolving-skies-etb .product-photo {
  max-width: 118%;
  max-height: 100%;
}

/* Keep bottom ticket lines locked evenly */
.ticket-bottom {
  min-height: 48px;
}

/* Mobile alignment fixes */
@media (max-width: 768px) {
  .product-title {
    min-height: 34px;
  }

  .product-subtitle {
    min-height: 34px;
  }

  .image-zone,
  .product-card.wide .image-zone {
    height: 108px;
    min-height: 108px;
    max-height: 108px;
    margin-top: 2px;
  }

  .product-photo-wrap,
  .product-card.wide .product-photo-wrap {
    width: 118px;
    height: 102px;
    max-height: 102px;
  }

  .product-mega-charizard-x .product-photo-wrap,
  .product-mega-greninja .product-photo-wrap,
  .product-151-etb .product-photo-wrap {
    transform: translateY(-5px);
  }

  .product-151-etb .product-photo,
  .product-evolving-skies-etb .product-photo {
    max-width: 124%;
    max-height: 96%;
  }
}


/* V4: badge spacing, bigger images, hover preview bubble */

.flag {
  left: 14px;
  top: 10px;
}

.discount {
  right: 12px;
  top: 10px;
  max-width: calc(100% - 68px);
  white-space: nowrap;
}

/* Slightly bigger product images without increasing card boxes too much */
.product-photo-wrap,
.product-card.wide .product-photo-wrap {
  width: 225px;
  height: 170px;
}

.product-photo {
  max-width: 116%;
  max-height: 116%;
}

.image-zone,
.product-card.wide .image-zone {
  height: 178px;
  min-height: 178px;
  max-height: 178px;
}

/* Cards that previously sat lower stay aligned after image enlargement */
.product-mega-charizard-x .product-photo-wrap,
.product-mega-greninja .product-photo-wrap,
.product-151-etb .product-photo-wrap {
  transform: translateY(-10px);
}

.product-151-etb .product-photo,
.product-evolving-skies-etb .product-photo {
  max-width: 128%;
  max-height: 106%;
}

/* Hover preview bubble */
.value-hover {
  overflow: visible;
  gap: 4px;
}

.hover-preview {
  position: relative;
  width: 92px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  padding: 8px;
  background: rgba(248, 250, 252, 0.96);
  border: 2px solid #21f5b5;
  border-radius: 12px;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(33, 245, 181, 0.22);
}

.hover-preview::after {
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 16px;
  height: 16px;
  content: "";
  background: rgba(248, 250, 252, 0.96);
  border-right: 2px solid #21f5b5;
  border-bottom: 2px solid #21f5b5;
  transform: translateX(-50%) rotate(45deg);
}

.hover-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Keep hover bubble tasteful on wide cards */
.product-card.wide .hover-preview {
  width: 105px;
  height: 118px;
}

/* Mobile: keep 2 cards side-by-side and prevent overlap */
@media (max-width: 768px) {
  .flag {
    left: 7px;
    top: 6px;
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  .discount {
    right: 6px;
    top: 6px;
    max-width: calc(100% - 38px);
    padding: 3px 5px;
    font-size: 8px;
  }

  .product-photo-wrap,
  .product-card.wide .product-photo-wrap {
    width: 126px;
    height: 110px;
  }

  .product-photo {
    max-width: 118%;
    max-height: 118%;
  }

  .image-zone,
  .product-card.wide .image-zone {
    height: 114px;
    min-height: 114px;
    max-height: 114px;
  }

  .product-mega-charizard-x .product-photo-wrap,
  .product-mega-greninja .product-photo-wrap,
  .product-151-etb .product-photo-wrap {
    transform: translateY(-6px);
  }

  .product-151-etb .product-photo,
  .product-evolving-skies-etb .product-photo {
    max-width: 132%;
    max-height: 100%;
  }

  .hover-preview {
    width: 64px;
    height: 74px;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 8px;
  }

  .hover-preview::after {
    width: 10px;
    height: 10px;
    bottom: -6px;
  }

  .value-hover small {
    font-size: 9px;
  }

  .value-hover strong {
    font-size: 20px;
  }
}


/* V5: Side image preview bubble, estimated value stays unchanged */

.hover-preview {
  display: none !important;
}

.image-zone {
  overflow: visible;
}

.product-card {
  overflow: visible;
  z-index: 1;
}

.product-card:hover {
  z-index: 30;
}

.side-preview {
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  z-index: 40;
  width: 150px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  pointer-events: none;
  opacity: 0;
  background: rgba(248, 250, 252, 0.98);
  border: 2px solid #21f5b5;
  border-radius: 14px;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(33, 245, 181, 0.22);
  transform: translateY(-50%) scale(0.92);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.side-preview::before {
  position: absolute;
  left: -9px;
  top: 50%;
  width: 16px;
  height: 16px;
  content: "";
  background: rgba(248, 250, 252, 0.98);
  border-left: 2px solid #21f5b5;
  border-bottom: 2px solid #21f5b5;
  transform: translateY(-50%) rotate(45deg);
}

.side-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-card:hover .side-preview {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* Cards near the right side pop their preview to the left */
.products .product-card:nth-child(4n) .side-preview,
.products .product-card:nth-child(4n - 1) .side-preview {
  right: calc(100% + 12px);
  left: auto;
}

.products .product-card:nth-child(4n) .side-preview::before,
.products .product-card:nth-child(4n - 1) .side-preview::before {
  right: -9px;
  left: auto;
  border-right: 2px solid #21f5b5;
  border-top: 2px solid #21f5b5;
  border-left: 0;
  border-bottom: 0;
}

/* Wide card gets a slightly wider preview */
.product-card.wide .side-preview {
  width: 170px;
  height: 200px;
}

/* Mobile: keep estimated value hover, but disable side popout to avoid breaking the 2-column layout */
@media (max-width: 768px) {
  .side-preview {
    display: none;
  }

  .image-zone {
    overflow: hidden;
  }

  .product-card {
    overflow: hidden;
  }
}


/* V6: Larger showcase preview + mobile tap-to-open */

.side-preview {
  width: 280px;
  height: 360px;
  padding: 16px;
}

.product-card.wide .side-preview {
  width: 300px;
  height: 370px;
}

.side-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Make sure 3rd/4th column previews do not run off-screen */
.products .product-card:nth-child(4n) .side-preview,
.products .product-card:nth-child(4n - 1) .side-preview,
.product-pikachu-surging .side-preview {
  right: calc(100% + 14px);
  left: auto;
}

.products .product-card:nth-child(4n) .side-preview::before,
.products .product-card:nth-child(4n - 1) .side-preview::before,
.product-pikachu-surging .side-preview::before {
  right: -9px;
  left: auto;
  border-right: 2px solid #21f5b5;
  border-top: 2px solid #21f5b5;
  border-left: 0;
  border-bottom: 0;
}

/* Close button hidden on desktop hover */
.preview-close {
  display: none;
}

/* Mobile tap preview */
@media (max-width: 768px) {
  .image-zone {
    cursor: pointer;
    overflow: hidden;
  }

  .product-card {
    overflow: hidden;
  }

  .side-preview {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    z-index: 9999;
    width: min(82vw, 340px);
    height: min(68vh, 440px);
    display: flex;
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.92);
    border-radius: 18px;
  }

  .side-preview::before {
    display: none;
  }

  .product-card.preview-open .side-preview {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
  }

  .product-card.preview-open .side-preview::after {
    content: "Tap × to close";
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
  }

  .preview-close {
    position: absolute;
    top: 8px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #07111f;
    font-size: 22px;
    font-weight: 900;
    background: #21f5b5;
    border-radius: 50%;
    line-height: 1;
  }

  .side-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .product-card.preview-open {
    z-index: 9999;
  }

  .product-card.preview-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(7, 17, 31, 0.72);
  }

  .product-card.preview-open .side-preview {
    z-index: 9999;
  }
}


/* V7: Fixed mobile tap preview + missing image visibility */

.product-pikachu-surging .side-preview {
  right: calc(100% + 14px);
  left: auto;
  width: 300px;
  height: 370px;
}

.product-pikachu-surging .side-preview::before {
  right: -9px;
  left: auto;
  border-right: 2px solid #21f5b5;
  border-top: 2px solid #21f5b5;
  border-left: 0;
  border-bottom: 0;
}

@media (max-width: 768px) {
  .side-preview {
    display: flex !important;
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    z-index: 10000;
    width: min(88vw, 360px);
    height: min(72vh, 470px);
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.92);
  }

  .product-card.preview-open .side-preview {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
  }

  .product-card.preview-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(7, 17, 31, 0.72);
    pointer-events: none;
  }

  .side-preview img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .preview-close {
    display: none;
  }

  .image-zone {
    overflow: hidden;
  }

  .product-card {
    overflow: hidden;
  }

  .product-card.preview-open {
    overflow: visible;
    z-index: 9999;
  }

  .product-photo-wrap,
  .product-card.wide .product-photo-wrap {
    width: 132px;
    height: 116px;
  }

  .product-photo {
    display: block;
    max-width: 124%;
    max-height: 124%;
    object-fit: contain;
  }

  .image-zone,
  .product-card.wide .image-zone {
    height: 118px;
    min-height: 118px;
    max-height: 118px;
  }

  .product-pikachu-surging .side-preview {
    left: 50%;
    right: auto;
    width: min(88vw, 360px);
    height: min(72vh, 470px);
  }

  .product-pikachu-surging .side-preview::before {
    display: none;
  }
}


/* V8: Fixed central mobile preview modal + reliable desktop side hover */

@media (min-width: 769px) {
  .side-preview {
    position: absolute;
    top: 50%;
    left: calc(100% + 14px);
    right: auto;
    z-index: 100;
    width: 310px;
    height: 410px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    background: rgba(248, 250, 252, 0.98);
    border: 2px solid #21f5b5;
    border-radius: 16px;
    box-shadow:
      0 22px 46px rgba(0, 0, 0, 0.5),
      0 0 28px rgba(33, 245, 181, 0.22);
    transform: translateY(-50%) scale(0.94);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .side-preview::before {
    position: absolute;
    left: -9px;
    top: 50%;
    width: 16px;
    height: 16px;
    content: "";
    background: rgba(248, 250, 252, 0.98);
    border-left: 2px solid #21f5b5;
    border-bottom: 2px solid #21f5b5;
    transform: translateY(-50%) rotate(45deg);
  }

  .product-card:hover .side-preview {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }

  .side-preview img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .products .product-card:nth-child(4n) .side-preview,
  .products .product-card:nth-child(4n - 1) .side-preview,
  .product-pikachu-surging .side-preview {
    right: calc(100% + 14px);
    left: auto;
  }

  .products .product-card:nth-child(4n) .side-preview::before,
  .products .product-card:nth-child(4n - 1) .side-preview::before,
  .product-pikachu-surging .side-preview::before {
    right: -9px;
    left: auto;
    border-right: 2px solid #21f5b5;
    border-top: 2px solid #21f5b5;
    border-left: 0;
    border-bottom: 0;
  }

  .product-card.wide .side-preview,
  .product-pikachu-surging .side-preview {
    width: 330px;
    height: 430px;
  }

  .mobile-preview-modal {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .side-preview {
    display: none !important;
  }

  .product-card.preview-open,
  .product-card.preview-open::after {
    all: unset;
  }

  body.preview-lock {
    overflow: hidden;
  }

  .mobile-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(7, 17, 31, 0.84);
  }

  .mobile-preview-modal.active {
    display: flex;
  }

  .mobile-preview-card {
    width: min(88vw, 380px);
    height: min(74vh, 520px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(248, 250, 252, 0.98);
    border: 2px solid #21f5b5;
    border-radius: 20px;
    box-shadow:
      0 24px 70px rgba(0, 0, 0, 0.58),
      0 0 35px rgba(33, 245, 181, 0.24);
  }

  .mobile-preview-card img {
    display: block;
    max-width: 100%;
    max-height: calc(100% - 28px);
    object-fit: contain;
  }

  .mobile-preview-hint {
    margin-top: 10px;
    color: #07111f;
    font-size: 12px;
    font-weight: 900;
    opacity: 0.75;
  }

  .image-zone {
    cursor: pointer;
  }
}

/* Account navigation */
.login-nav-link,
.dashboard-nav-link,
.nav-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px;
  color: #f8fafc;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
}

.login-nav-link:hover,
.dashboard-nav-link:hover {
  color: #07111f !important;
  background: #21f5b5;
  border-color: #21f5b5;
}

.login-nav-link.account-pill {
  color: #07111f;
  background: #21f5b5;
  border-color: #21f5b5;
}

.nav-logout {
  color: #fecaca;
  background: rgba(239,68,68,0.12);
  border-color: rgba(239,68,68,0.28);
}

.nav-logout:hover {
  color: #fff;
  background: #ef4444;
}

@media (max-width: 860px) {
  .site-header {
    gap: 12px;
  }

  .nav {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 12px;
  }

  .login-nav-link,
  .dashboard-nav-link,
  .nav-logout,
  .cart-pill {
    min-height: 34px;
    padding: 7px 9px;
  }
}

@media (max-width: 768px) {
  .site-header .nav {
    display: flex;
  }

  .site-header {
    align-items: flex-start;
  }

  .logo {
    padding-top: 4px;
    font-size: 23px;
  }
}

/* Home account navigation */
.nav-login {
  padding: 9px 13px;
  color: #07111f !important;
  font-weight: 900;
  background: #21f5b5;
  border-radius: 8px;
}

.nav-button {
  display: inline-grid;
  place-items: center;
  padding: 9px 13px;
  color: #f8fafc;
  font-weight: 900;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
}

.nav-button:hover {
  color: #07111f;
  background: #21f5b5;
}

@media (max-width: 768px) {
  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    font-size: 12px;
  }
}

/* Sticky basket banner shown after an item is added */
.sticky-cart-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 9998;
  width: min(720px, calc(100vw - 24px));
  display: none;
  align-items: stretch;
  gap: 10px;
  padding: 10px;
  background: rgba(7, 17, 31, 0.94);
  border: 1px solid rgba(33, 245, 181, 0.36);
  border-radius: 18px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.52), 0 0 26px rgba(33, 245, 181, 0.18);
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.sticky-cart-banner.active {
  display: flex;
}

.sticky-cart-main,
.sticky-cart-action {
  border-radius: 12px;
  font-weight: 900;
}

.sticky-cart-main {
  flex: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  color: #f8fafc;
  text-align: left;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
}

.sticky-cart-label {
  color: #21f5b5;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sticky-cart-main strong {
  font-size: 15px;
}

.sticky-cart-main span:last-child {
  color: #fff;
  font-weight: 900;
}

.sticky-cart-action {
  min-width: 190px;
  padding: 10px 16px;
  color: #07111f;
  background: #21f5b5;
}

.sticky-cart-action:hover {
  background: #14dca4;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 78px;
  }

  .sticky-cart-banner {
    bottom: 10px;
    width: calc(100vw - 18px);
    gap: 8px;
    padding: 8px;
    border-radius: 15px;
  }

  .sticky-cart-main {
    grid-template-columns: 1fr;
    gap: 1px;
    padding: 8px 10px;
  }

  .sticky-cart-label {
    font-size: 10px;
  }

  .sticky-cart-main strong,
  .sticky-cart-main span:last-child {
    font-size: 13px;
  }

  .sticky-cart-action {
    min-width: 132px;
    padding: 9px 10px;
    font-size: 12px;
  }
}


/* Monthly urgency/countdown update */
.monthly-countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 12px 18px;
  padding: 16px 18px;
  background: linear-gradient(90deg, rgba(33,245,181,0.16), rgba(14,165,233,0.10));
  border: 1px solid rgba(33,245,181,0.35);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}
.monthly-countdown strong { display:block; font-size: 18px; color:#f8fafc; }
.monthly-countdown span { color:#cbd5e1; font-weight:800; }
.countdown-boxes { display:flex; gap:10px; }
.countdown-boxes span {
  display:grid;
  place-items:center;
  min-width:68px;
  padding:9px 10px;
  background:#07111f;
  border:1px solid rgba(255,255,255,0.10);
  border-radius:10px;
}
.countdown-boxes b { color:#21f5b5; font-size:24px; line-height:1; }
.countdown-boxes small { color:#94a3b8; font-size:11px; font-weight:900; text-transform:uppercase; }
.product-img, .exclusive-prize-img, .mobile-preview-card img { content-visibility:auto; }
@media (max-width:768px) {
  .monthly-countdown { align-items:stretch; flex-direction:column; margin:0 12px 14px; padding:14px; }
  .countdown-boxes { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; }
  .countdown-boxes span { min-width:0; padding:8px 4px; }
  .countdown-boxes b { font-size:18px; }
}
