/* ======================================================
   PAGE BACKGROUND
====================================================== */
body {
  background: radial-gradient(circle at top, #0b1220, #020617);
  color: #ffffff;
}

/* ======================================================
   WRAPPER
====================================================== */
.tiers-wrapper {
  max-width: 1100px;
  margin: auto;
  padding: 50px 20px 70px;
}

/* ======================================================
   MATCH HERO (BANNER)
====================================================== */
.match-hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.match-hero img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  filter: brightness(0.55);
  display: block;
}

.match-hero-overlay {
  position: absolute;
  inset: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.match-hero-overlay h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.match-hero-overlay .meta {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 4px;
}

/* ======================================================
   HEADER
====================================================== */
.tiers-header {
  text-align: center;
  margin-bottom: 40px;
}

.subtitle { 
  font-size: 28px; /* bigger */ 
  font-weight: 700; /* bold */ 
  letter-spacing: 0.5px; opacity: 0.75; 
}

/* ======================================================
   GRID
====================================================== */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

/* ======================================================
   TIER CARD
====================================================== */
.tier-card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.14),
    rgba(255,255,255,0.06)
  );
  border-radius: 16px;
  padding: 22px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border .25s ease;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

/* ======================================================
   SELECTED STATE
====================================================== */
.tier-card.selected {
  border-color: #4da3ff;
  background: linear-gradient(
    135deg,
    rgba(77,163,255,0.35),
    rgba(77,163,255,0.15)
  );
  box-shadow:
    0 0 0 1px rgba(77,163,255,0.6),
    0 18px 45px rgba(77,163,255,0.45);
}

/* ======================================================
   SOLD OUT
====================================================== */
.tier-card.sold-out {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.badge {
  background: #ef4444;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* ======================================================
   CARD CONTENT
====================================================== */
.tier-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tier-name {
  font-size: 1.15rem;
  font-weight: 600;
}

.tier-price {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 12px 0;
}

.tier-meta {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ======================================================
   CTA BUTTON
====================================================== */
.cta-wrap {
  text-align: center;
  margin-top: 45px;
}

#continueBtn {
  padding: 14px 60px;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #4da3ff, #2563eb);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(77,163,255,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

#continueBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(77,163,255,0.45);
}

#continueBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

/* ======================================================
   MOBILE UX (IMPORTANT)
====================================================== */
@media (max-width: 768px) {

  .match-hero img {
    height: 220px;
  }

  .match-hero-overlay {
    padding: 20px;
  }

  .match-hero-overlay h1 {
    font-size: 22px;
  }

  .cta-wrap {
    position: sticky;
    bottom: 0;
    background: linear-gradient(
      to top,
      rgba(2,6,23,0.95),
      rgba(2,6,23,0.75),
      transparent
    );
    padding: 18px 0 26px;
    z-index: 10;
  }

  #continueBtn {
    width: 90%;
    max-width: 360px;
  }
}
