/* ==========================================================================
   VIRA AGENCY - PREMIUM LOTTERY TICKET CARDS SYSTEM
   Authentic Ticket Pass Aesthetic • Perforated Dividers • High Contrast
   ========================================================================== */

.levels-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
}

/* Category Header Row */
.level-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 12px;
}

.level-tag {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 6px 16px;
  border-radius: 999px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.level-1-tag {
  background: linear-gradient(135deg, #b45309 0%, #ea580c 50%, #dc2626 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.level-2-tag {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.level-3-tag {
  background: linear-gradient(135deg, #047857 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.level-header-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.level-header-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin-left: auto;
  font-weight: 500;
}

/* -------------------------------------------------------------
   MEGA BUMPER SPOTLIGHT CARD (Grand Gold Edition)
   ------------------------------------------------------------- */
.mega-bumper-ticket {
  background: #ffffff;
  border: 2px solid #f59e0b;
  border-radius: 20px;
  box-shadow: 0 16px 36px -10px rgba(245, 158, 11, 0.25), 0 0 0 1px rgba(245, 158, 11, 0.1);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mega-bumper-ticket:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -12px rgba(245, 158, 11, 0.35), 0 0 0 2px #f59e0b;
}

/* Left Section: Ticket Info */
.mega-ticket-main {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, #ffffff 0%, #fffdfa 100%);
}

.ticket-authority-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid #fde68a;
  margin-bottom: 12px;
  align-self: flex-start;
}

.mega-ticket-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.mega-ticket-subtitle {
  font-size: 0.92rem;
  color: #475569;
  margin-bottom: 20px;
}

.mega-ticket-subtitle strong {
  color: #0f172a;
}

/* Right Section: Prize Vault & Action */
.mega-ticket-stub {
  background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 60%, #fde68a 100%);
  border-left: 2px dashed #d97706;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Perforation Notches on ticket stub */
.mega-bumper-ticket::before,
.mega-bumper-ticket::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: #f1f5f9;
  border-radius: 50%;
  z-index: 10;
}

.mega-bumper-ticket::before {
  top: -11px;
  left: calc(57.4% - 11px);
}

.mega-bumper-ticket::after {
  bottom: -11px;
  left: calc(57.4% - 11px);
}

.mega-prize-badge {
  background: #ffffff;
  border: 2px solid #f59e0b;
  border-radius: 16px;
  padding: 20px 24px;
  width: 100%;
  box-shadow: 0 10px 25px -5px rgba(217, 119, 6, 0.2);
  margin-bottom: 18px;
}

.mega-prize-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #92400e;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.mega-prize-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #b45309 0%, #ea580c 50%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 6px 0;
  letter-spacing: -1px;
}

.mega-prize-sub {
  font-size: 0.85rem;
  font-weight: 800;
  color: #b45309;
  letter-spacing: 0.5px;
}

/* -------------------------------------------------------------
   STREAMLINED TICKET SPEC LIST (Clean modern table rows)
   ------------------------------------------------------------- */
.ticket-spec-list {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.ticket-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.86rem;
}

.ticket-spec-row:last-child {
  border-bottom: none;
}

.ticket-spec-label {
  color: #64748b;
  font-weight: 600;
  font-size: 0.82rem;
}

.ticket-spec-value {
  font-weight: 700;
  color: #0f172a;
}

.ticket-spec-value.highlight-blue {
  color: #1d4ed8;
  font-weight: 800;
}

.ticket-spec-value.highlight-green {
  color: #047857;
  font-weight: 800;
}

.ticket-spec-value.highlight-orange {
  color: #ea580c;
  font-weight: 800;
}

/* -------------------------------------------------------------
   MULTI-COLUMN TICKET CARDS (Weekly & Daily)
   ------------------------------------------------------------- */
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.modern-ticket-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modern-ticket-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px -8px rgba(15, 23, 42, 0.16);
  border-color: #94a3b8;
}

/* Ticket Top Header Bar with Draw Theme */
.ticket-card-topbar {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
}

.ticket-theme-morning {
  border-top: 4px solid #f59e0b;
}

.ticket-theme-day {
  border-top: 4px solid #0284c7;
}

.ticket-theme-evening {
  border-top: 4px solid #6366f1;
}

.ticket-theme-weekly {
  border-top: 4px solid #2563eb;
}

.ticket-theme-special {
  border-top: 4px solid #059669;
}

.ticket-badge-pill {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.pill-amber {
  background: #fef3c7;
  color: #92400e;
}

.pill-blue {
  background: #e0f2fe;
  color: #0369a1;
}

.pill-indigo {
  background: #e0e7ff;
  color: #4338ca;
}

.pill-green {
  background: #d1fae5;
  color: #065f46;
}

.pill-purple {
  background: #ede9fe;
  color: #6b21a8;
}

.ticket-time-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  display: inline-flex;
  align-items: center;
}

/* Card Body Content */
.ticket-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ticket-headline {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.ticket-state-sub {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

/* Upgraded Prize Plaque (Sensational, Not Ugly Box) */
.ticket-prize-plaque {
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.plaque-green {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #bbf7d0;
}

.plaque-blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #bfdbfe;
}

.plaque-amber {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fde68a;
}

.plaque-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 2px;
}

.plaque-green .plaque-label { color: #166534; }
.plaque-blue .plaque-label { color: #1e40af; }
.plaque-amber .plaque-label { color: #92400e; }

.plaque-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.plaque-green .plaque-amount {
  color: #15803d;
}

.plaque-blue .plaque-amount {
  color: #1d4ed8;
}

.plaque-amber .plaque-amount {
  color: #d97706;
}

.plaque-highlight {
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plaque-green .plaque-highlight { color: #166534; }
.plaque-blue .plaque-highlight { color: #1e40af; }
.plaque-amber .plaque-highlight { color: #b45309; }

/* Perforated Tear Line with Notches */
.ticket-tear-line {
  position: relative;
  border-top: 2px dashed #e2e8f0;
  margin: 18px -20px;
}

.ticket-tear-notch-left,
.ticket-tear-notch-right {
  position: absolute;
  top: -8px;
  width: 16px;
  height: 16px;
  background: #f1f5f9;
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.ticket-tear-notch-left {
  left: -8px;
}

.ticket-tear-notch-right {
  right: -8px;
}

/* High-Impact CTA Button */
.ticket-cta-btn {
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.btn-diwali {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
  font-size: 1.05rem;
  padding: 15px 22px;
}

.btn-diwali:hover {
  background: linear-gradient(135deg, #c2410c 0%, #b91c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.45);
}

.btn-weekly {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-weekly:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn-daily {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.btn-daily:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

/* Responsive */
@media (max-width: 960px) {
  .mega-bumper-ticket {
    grid-template-columns: 1fr;
  }
  .mega-ticket-stub {
    border-left: none;
    border-top: 2px dashed #d97706;
  }
  .mega-bumper-ticket::before {
    top: calc(52% - 11px);
    left: -11px;
  }
  .mega-bumper-ticket::after {
    top: calc(52% - 11px);
    right: -11px;
    left: auto;
  }
  .ticket-grid,
  .ticket-grid.two-col {
    grid-template-columns: 1fr;
  }
  .level-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .level-header-desc {
    margin-left: 0;
  }
}
