@import "./base.css";

body.packages .site-bg__image {
  background-position: center 18%;
  transform: scale(1.18);
}

body.packages .site-bg__veil {
  background:
    radial-gradient(circle at 50% 12%, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 38%, rgba(0, 0, 0, 0.35) 100%),
    radial-gradient(circle at 18% 12%, rgba(201, 162, 39, 0.1), transparent 34%),
    radial-gradient(circle at 82% 88%, rgba(201, 162, 39, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.88) 100%);
}

.pkg-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.2rem 0 3.8rem;
}

.pkg-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 2.4rem;
  animation: reveal-up 0.95s var(--ease-lux) both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: min(132px, 34vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.brand-meta {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-muted);
}

.back-link {
  color: var(--gold-bright);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: opacity 0.3s var(--ease-lux);
}

.back-link:hover {
  opacity: 0.75;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 2.2rem;
  animation: reveal-up 0.95s var(--ease-lux) 0.08s both;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.card {
  position: relative;
  padding: 1.45rem 1.3rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--glass-strong);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-elite);
  animation: reveal-up 0.95s var(--ease-lux) both;
  transition:
    transform 0.45s var(--ease-lux),
    border-color 0.45s var(--ease-lux),
    box-shadow 0.45s var(--ease-lux);
}

.card:nth-child(1) {
  animation-delay: 0.14s;
}
.card:nth-child(2) {
  animation-delay: 0.24s;
}
.card:nth-child(3) {
  animation-delay: 0.34s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 42%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(226, 192, 102, 0.48);
  box-shadow: 0 36px 70px rgba(0, 0, 0, 0.45), 0 0 40px rgba(201, 162, 39, 0.1);
}

.card.featured {
  border-color: rgba(226, 192, 102, 0.42);
}

.card-badge {
  display: inline-block;
  margin-bottom: 0.85rem;
}

.card h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 2.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.card .subtitle {
  margin: 0 0 1.05rem;
  color: var(--ivory-muted);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.55;
}

.price {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.55rem);
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
}

.price-alt {
  margin: 0 0 1.05rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-muted);
}

.sports {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  display: grid;
  gap: 0.5rem;
}

.sports li {
  position: relative;
  padding-left: 1.05rem;
  font-size: 0.86rem;
  font-weight: 300;
  color: rgba(244, 240, 232, 0.9);
}

.sports li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-bright);
}

.features-mini {
  margin: 0 0 1.25rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ivory-muted);
}

.buy-btn {
  width: 100%;
}

.checkout-note {
  margin-top: 1.8rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  color: var(--ivory-muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.65;
  animation: reveal-up 0.95s var(--ease-lux) 0.42s both;
}

.checkout-note strong {
  color: var(--gold-bright);
  font-weight: 500;
}

.pkg-footer {
  margin-top: 2.2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-align: center;
  color: var(--ivory-muted);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: reveal-up 0.95s var(--ease-lux) 0.48s both;
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pkg-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— Tier metals (must follow base .card rules) —— */
.card.card--bronze {
  border-color: rgba(205, 127, 50, 0.62);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42), 0 0 32px rgba(205, 127, 50, 0.16);
}

.card.card--bronze:hover {
  border-color: rgba(232, 168, 98, 0.82);
  box-shadow: 0 36px 70px rgba(0, 0, 0, 0.45), 0 0 40px rgba(205, 127, 50, 0.22);
}

.card.card--bronze .card-badge,
.card.card--bronze h2,
.card.card--bronze .price,
.card.card--bronze .sports li {
  color: #e8a862;
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.card.card--bronze h2 {
  font-size: 1.35rem;
}

.card.card--bronze .price {
  font-size: clamp(1.85rem, 3.8vw, 2.25rem);
  color: #cd7f32;
}

.card.card--bronze .sports li {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.card.card--bronze .sports li::before {
  width: 5px;
  height: 5px;
  background: #cd7f32;
  box-shadow: 0 0 8px rgba(205, 127, 50, 0.55);
}

.card.card--silver {
  border-color: rgba(192, 198, 208, 0.55);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42), 0 0 32px rgba(192, 198, 208, 0.12);
}

.card.card--silver:hover {
  border-color: rgba(232, 234, 237, 0.72);
  box-shadow: 0 36px 70px rgba(0, 0, 0, 0.45), 0 0 40px rgba(192, 198, 208, 0.18);
}

.card.card--silver .card-badge,
.card.card--silver h2,
.card.card--silver .subtitle,
.card.card--silver .price,
.card.card--silver .sports li {
  color: #e8eaed;
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.card.card--silver h2 {
  font-size: 1.35rem;
}

.card.card--silver .subtitle {
  font-size: 0.68rem;
  line-height: 1.65;
  letter-spacing: 0.12em;
  color: #c0c6d0;
}

.card.card--silver .price {
  font-size: clamp(1.85rem, 3.8vw, 2.25rem);
  color: #d8dce3;
}

.card.card--silver .sports li {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #c8ccd4;
}

.card.card--silver .sports li::before {
  width: 5px;
  height: 5px;
  background: linear-gradient(145deg, #f0f2f5, #a8adb8);
  box-shadow: 0 0 8px rgba(200, 204, 212, 0.45);
}

.card.card--gold {
  border-color: rgba(255, 184, 12, 0.62);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42), 0 0 36px rgba(255, 184, 12, 0.16);
}

.card.card--gold:hover {
  border-color: rgba(255, 214, 120, 0.85);
  box-shadow: 0 36px 70px rgba(0, 0, 0, 0.45), 0 0 48px rgba(255, 184, 12, 0.24);
}

.card.card--gold .card-badge,
.card.card--gold h2,
.card.card--gold .price,
.card.card--gold .sports li {
  color: var(--gold-bright);
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.card.card--gold h2 {
  font-size: 1.35rem;
}

.card.card--gold .price {
  font-size: clamp(1.85rem, 3.8vw, 2.25rem);
  color: var(--betfair-yellow);
  text-shadow: 0 0 24px rgba(255, 184, 12, 0.3);
}

.card.card--gold .sports--iconic li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding-left: 0;
  font-size: 0.68rem;
  line-height: 1.55;
  letter-spacing: 0.11em;
}

.card.card--gold .sports--iconic li::before {
  display: none;
}

.tier-icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-top: 0.15em;
  border-radius: 2px;
}

.tier-icon--catalog {
  background: linear-gradient(145deg, #ffb80c, #e5a500);
  box-shadow: 0 0 10px rgba(255, 184, 12, 0.55);
}

.tier-icon--verticals {
  background: linear-gradient(145deg, #e2c066, #c9a227);
  box-shadow: 0 0 10px rgba(226, 192, 102, 0.5);
}

.tier-icon--routing {
  background: linear-gradient(145deg, #fff0b3, #ffb80c);
  box-shadow: 0 0 10px rgba(255, 240, 179, 0.45);
  transform: rotate(45deg);
}
