/* ─────────────────────────────────────────────
   GATE FADE
───────────────────────────────────────────── */
#gate-fade {
  height: 100px;
  background: linear-gradient(to bottom, transparent, #f7f9fc);
  margin-top: -100px;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* ─────────────────────────────────────────────
   GATE CARD WRAPPER
───────────────────────────────────────────── */
#gate-card {
  position: relative;
  z-index: 3;
  margin: 0 auto 3rem;
  max-width: 600px;
}

/* ─────────────────────────────────────────────
   CARD INNER
───────────────────────────────────────────── */
.gate-card-inner {
  background: linear-gradient(160deg, #07091c 0%, #0c1230 55%, #07091c 100%);
  border: 1px solid rgba(240, 180, 41, 0.22);
  border-top: none;
  padding: 0 2.8rem 2.6rem;
  box-shadow:
    0 2px 0 0 rgba(240, 180, 41, 0.75),
    0 30px 90px rgba(4, 6, 20, 0.8),
    inset 0 0 80px rgba(51, 88, 196, 0.05);
  position: relative;
  overflow: hidden;
}

/* Gold shimmer bar at top */
.gate-card-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(240,180,41,0.5) 15%,
    #f5c84a 40%,
    #f0b429 55%,
    rgba(240,180,41,0.5) 85%,
    transparent 100%
  );
}

/* Radial glow top-center */
.gate-card-inner::after {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 280px;
  background: radial-gradient(ellipse at center, rgba(240,180,41,0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* ─────────────────────────────────────────────
   BADGE
───────────────────────────────────────────── */
.gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f5c84a;
  background: rgba(240,180,41,0.1);
  border: 1px solid rgba(240,180,41,0.3);
  padding: 0.38rem 0.9rem;
  border-radius: 2px;
  margin-top: 2.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.gate-badge::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #f0b429;
  box-shadow: 0 0 10px rgba(240,180,41,1), 0 0 22px rgba(240,180,41,0.6);
  flex-shrink: 0;
  animation: gate-dot-pulse 2.2s ease-in-out infinite;
}

@keyframes gate-dot-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(240,180,41,1), 0 0 22px rgba(240,180,41,0.6); }
  50%       { box-shadow: 0 0 5px rgba(240,180,41,0.6), 0 0 10px rgba(240,180,41,0.3); }
}

/* ─────────────────────────────────────────────
   HEADLINE
───────────────────────────────────────────── */
.gate-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.95rem, 4.2vw, 2.6rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.13;
  letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
  position: relative;
  z-index: 1;
}

.gate-headline em {
  font-style: italic;
  background: linear-gradient(135deg, #6b8fff 0%, #a8bfff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─────────────────────────────────────────────
   BENEFITS LIST
───────────────────────────────────────────── */
.gate-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.4rem;
  margin-bottom: 1.8rem;
}

.gate-benefits li {
  font-size: 0.88rem;
  font-weight: 500;
  color: #ffffff !important;
  opacity: 1;
  padding-left: 1.8rem;
  position: relative;
  line-height: 1.4;
  text-shadow: 0 0 1px rgba(255,255,255,0.3);
}

.gate-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.05em;
  font-weight: 700;
  font-size: 0.75rem;
  color: #3adc7f;
  text-shadow: 0 0 12px rgba(58, 220, 127, 0.8);
}

/* ─────────────────────────────────────────────
   PRICE WRAP
───────────────────────────────────────────── */
.gate-price-wrap {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.6rem;
  margin-bottom: 1.8rem;
  position: relative;
  z-index: 1;
}

.gate-price-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f5c84a;
  margin-bottom: 0.35rem;
}

.gate-price-block {
  font-family: 'Figtree', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.gate-price-period {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0;
}

.gate-price-sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: #ffffff;
}

/* ─────────────────────────────────────────────
   DISCOUNT ROW & BADGE
───────────────────────────────────────────── */
.gate-discount-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
}

.gate-price-original {
  font-family: 'Figtree', sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  text-decoration: line-through;
  letter-spacing: -0.01em;
}

.gate-discount-badge {
  display: inline-block;
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.22rem 0.7rem;
  border-radius: 3px;
  box-shadow: 0 2px 12px rgba(231, 76, 60, 0.55);
  white-space: nowrap;
}

/* ─────────────────────────────────────────────
   COUNTDOWN
───────────────────────────────────────────── */
.gate-countdown {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: 3px;
  padding: 0.45rem 0.85rem;
  margin-bottom: 0.6rem;
  width: fit-content;
}

.gate-countdown-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.gate-countdown-timer {
  font-family: 'Figtree', 'Courier New', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e74c3c;
  text-shadow: 0 0 14px rgba(231, 76, 60, 0.6);
}

/* ─────────────────────────────────────────────
   CTA BUTTON
───────────────────────────────────────────── */
.gate-pay-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #2a4cb5 0%, #3358c4 50%, #3d68d8 100%);
  border: 1px solid rgba(100, 140, 255, 0.4);
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 1.05rem 1.6rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
  box-sizing: border-box;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow:
    0 4px 24px rgba(51, 88, 196, 0.5),
    0 1px 0 rgba(255,255,255,0.12) inset;
}

/* Shimmer sweep on hover */
.gate-pay-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.14) 50%,
    transparent 100%
  );
  transition: left 0.5s ease;
}

.gate-pay-btn:hover::before { left: 160%; }

.gate-pay-btn:hover {
  background: linear-gradient(135deg, #3358c4 0%, #4069d4 50%, #4a78e8 100%);
  box-shadow:
    0 6px 36px rgba(51, 88, 196, 0.7),
    0 1px 0 rgba(255,255,255,0.18) inset;
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

.gate-pay-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 14px rgba(51, 88, 196, 0.4);
}

/* ─────────────────────────────────────────────
   TRUST LINE
───────────────────────────────────────────── */
.gate-trust {
  font-size: 0.67rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  margin-top: 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* legacy */
.gate-note {
  font-size: 0.67rem;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  margin-top: 0.8rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────
   BLURRED CONTENT
───────────────────────────────────────────── */
#gate-content.gate-blurred {
  filter: blur(7px);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  max-height: 700px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, transparent 85%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, transparent 85%);
}

#gate-content { transition: filter 0.5s ease; }

/* ─────────────────────────────────────────────
   MOBILE
───────────────────────────────────────────── */
/* ─────────────────────────────────────────────
   EXPIRED / CLOSED CARD
───────────────────────────────────────────── */
.gate-card-inner--expired {
  background: linear-gradient(160deg, #07091c 0%, #0c1230 55%, #07091c 100%) !important;
  border: 1px solid rgba(51, 88, 196, 0.25) !important;
  border-top: none !important;
  box-shadow: 0 2px 0 0 rgba(192,57,43,0.8), 0 30px 90px rgba(4,6,20,0.8) !important;
  padding: 0 2.8rem 2.6rem !important;
  overflow: hidden !important;
  color: #ffffff !important;
}

.gate-card-inner--expired * {
  color: #ffffff !important;
}

.gate-card-inner--expired::before,
.gate-card-inner--expired::after { display: none !important; }

/* red top bar */
.gate-expired-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(192, 57, 43, 0.55);
  border-bottom: 1px solid rgba(220, 80, 60, 0.7);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  margin: 0 -2.8rem 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.gate-expired-body {
  padding-top: 2rem;
}

.gate-expired-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.gate-expired-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #3adc7f;
  box-shadow: 0 0 8px rgba(58,220,127,0.7);
  flex-shrink: 0;
}

.gate-expired-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 2.7rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.gate-expired-headline em {
  font-style: italic;
  background: linear-gradient(135deg, #6b8fff 0%, #a8bfff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gate-expired-sub {
  font-size: 0.88rem;
  font-weight: 400;
  color: #ffffff !important;
  line-height: 1.65;
  margin: 0 0 2rem;
}

/* form */
.gate-expired-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.gate-expired-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  padding: 1rem 1.2rem;
  outline: none;
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}

.gate-expired-input::placeholder { color: rgba(255,255,255,0.28); }

.gate-expired-input:focus {
  border-color: rgba(51,88,196,0.7);
  background: rgba(255,255,255,0.1);
}

.gate-expired-btn {
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, #2a4cb5 0%, #3358c4 50%, #3d68d8 100%);
  border: 1px solid rgba(100,140,255,0.4);
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 1rem 1.6rem;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(51,88,196,0.45);
}

.gate-expired-btn:hover {
  background: linear-gradient(135deg, #3358c4 0%, #4069d4 50%, #4a78e8 100%);
  box-shadow: 0 6px 36px rgba(51,88,196,0.65);
  transform: translateY(-2px);
}

.gate-expired-btn:active { transform: translateY(0); }

.gate-expired-error {
  font-size: 0.72rem;
  color: #e05555 !important;
  min-height: 1em;
  margin: 0;
}

.gate-expired-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem 0 0.5rem;
  gap: 0.5rem;
}

.gate-card-inner--expired .gate-expired-success-title { color: #3adc7f !important; }
.gate-card-inner--expired .gate-expired-success-icon  { color: #3adc7f !important; }
.gate-card-inner--expired .gate-expired-error          { color: #e05555 !important; }

.gate-expired-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(58, 220, 127, 0.2);
  border: 2.5px solid #3adc7f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #3adc7f;
  box-shadow: 0 0 32px rgba(58,220,127,0.6), 0 0 64px rgba(58,220,127,0.2);
  margin-bottom: 0.6rem;
}

.gate-expired-success-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: #3adc7f;
  text-shadow: 0 0 30px rgba(58,220,127,0.7);
  letter-spacing: -0.01em;
  margin: 0;
}

.gate-expired-success-sub {
  font-size: 1rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.55;
  max-width: 300px;
  margin: 0;
}

.gate-expired-disclaimer {
  font-size: 0.65rem;
  font-weight: 300;
  color: #ffffff !important;
  text-align: center;
  margin: 0;
}

@media (max-width: 560px) {
  .gate-expired-notice { margin: 0 -1.6rem 0; }
  .gate-card-inner--expired { padding: 0 1.6rem 2.2rem !important; }
}

/* ─────────────────────────────────────────────
   MOBILE
───────────────────────────────────────────── */
@media (max-width: 560px) {
  .gate-card-inner        { padding: 0 1.6rem 2.2rem; }
  .gate-price-block       { font-size: 2.6rem; }
  .gate-badge             { margin-top: 2.2rem; }
  #gate-content.gate-blurred { max-height: 300px; }
  #gate-fade              { height: 100px; margin-top: -100px; }
}
