/* assets/css/style.css - Millennium India Group Festive Theme (Royal Magenta & Gold) */
:root {
  --primary-magenta: #7a1244;
  --dark-magenta: #3d0720;
  --deep-bg: #1f0411;
  --gold-accent: #f5b722;
  --gold-light: #ffd966;
  --gold-dark: #b8860b;
  --text-light: #fefefe;
  --text-muted: #d4b5c7;
  --text-dark: #23121b;
  --card-bg: rgba(56, 10, 31, 0.85);
  --card-border: rgba(245, 183, 34, 0.35);
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --info: #17a2b8;
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background: var(--deep-bg) radial-gradient(circle at 50% 10%, #4a0d2a 0%, #1a030e 70%);
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(245, 183, 34, 0.6);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navbar */
.navbar {
  background: rgba(30, 4, 17, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-accent);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.brand-badge {
  background: linear-gradient(135deg, var(--gold-accent), var(--gold-dark));
  color: #000;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links li a {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 6px;
  color: #eee;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--gold-accent);
  background: rgba(245, 183, 34, 0.1);
}

.nav-btn {
  background: linear-gradient(135deg, #f5b722, #d89614);
  color: #1f0411 !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
  border-radius: 30px !important;
  box-shadow: 0 3px 12px rgba(245, 183, 34, 0.35);
}

.nav-btn:hover {
  background: linear-gradient(135deg, #ffd966, #f5b722);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 183, 34, 0.5);
  text-shadow: none !important;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold-accent);
  font-size: 1.7rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 70px 0 50px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(74, 14, 46, 0.75) 0%, rgba(31, 4, 17, 0.95) 100%);
  border-bottom: 1px solid rgba(245, 183, 34, 0.2);
}

.hero-badge {
  display: inline-block;
  background: rgba(245, 183, 34, 0.15);
  border: 1px solid var(--gold-accent);
  color: var(--gold-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #fff 20%, #ffd966 60%, #f5b722 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 30px;
}

.hero-meta-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 35px;
}

.hero-meta-card {
  background: rgba(45, 8, 26, 0.7);
  border: 1px solid rgba(245, 183, 34, 0.3);
  padding: 12px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

.hero-meta-card i, .hero-meta-card svg {
  color: var(--gold-accent);
  font-size: 1.3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #f5b722, #d89614);
  color: #1f0411;
  box-shadow: 0 4px 15px rgba(245, 183, 34, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffd966, #f5b722);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 183, 34, 0.5);
  color: #1a030e;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--gold-light);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-accent);
  border: 2px solid var(--gold-accent);
}

.btn-outline-gold:hover {
  background: var(--gold-accent);
  color: #1f0411;
}

.btn-block {
  width: 100%;
}

/* Cards & Glassmorphism */
.festive-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 24px;
}

.card-title {
  color: var(--gold-accent);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Ticket Category Grid */
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.ticket-item {
  background: rgba(40, 7, 23, 0.9);
  border: 1px solid rgba(245, 183, 34, 0.25);
  border-radius: 14px;
  padding: 22px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ticket-item:hover {
  border-color: var(--gold-accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(245, 183, 34, 0.2);
}

.ticket-item.featured {
  border: 2px solid var(--gold-accent);
  background: radial-gradient(circle at 50% 0%, rgba(122, 18, 68, 0.7) 0%, rgba(35, 6, 20, 0.95) 100%);
}

.featured-ribbon {
  position: absolute;
  top: -10px;
  right: 15px;
  background: var(--gold-accent);
  color: #1a030e;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.ticket-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.ticket-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-accent);
  margin-bottom: 12px;
}

.ticket-capacity {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.ticket-qty-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 3, 10, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px;
}

.qty-btn {
  background: rgba(245, 183, 34, 0.2);
  border: none;
  color: var(--gold-accent);
  font-size: 1.3rem;
  font-weight: bold;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: var(--gold-accent);
  color: #1f0411;
}

.qty-input {
  width: 50px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  background: transparent;
  border: none;
  color: #fff;
}

/* Order Summary Box */
.order-summary-box {
  background: rgba(30, 5, 17, 0.95);
  border: 2px solid var(--gold-accent);
  border-radius: 14px;
  padding: 24px;
  margin: 30px 0;
  box-shadow: 0 6px 25px rgba(0,0,0,0.5);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(245, 183, 34, 0.2);
}

.summary-row.total-row {
  border-bottom: none;
  border-top: 2px solid var(--gold-accent);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold-accent);
}

/* Form Styling */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: rgba(25, 4, 14, 0.85);
  border: 1px solid rgba(245, 183, 34, 0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-accent);
  box-shadow: 0 0 10px rgba(245, 183, 34, 0.4);
}

/* Payment Tabs */
.payment-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.payment-tab-btn {
  flex: 1;
  padding: 14px;
  background: rgba(45, 8, 26, 0.8);
  border: 1px solid rgba(245, 183, 34, 0.3);
  border-radius: 10px;
  color: #ccc;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s;
}

.payment-tab-btn.active {
  background: var(--gold-accent);
  color: #1f0411;
  border-color: var(--gold-accent);
  box-shadow: 0 4px 15px rgba(245, 183, 34, 0.3);
}

.payment-tab-pane {
  display: none;
}

.payment-tab-pane.active {
  display: block;
}

/* Direct UPI Card */
.upi-pay-card {
  text-align: center;
  background: #fff;
  color: #222;
  border-radius: 14px;
  padding: 24px;
  margin: 15px 0 25px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.upi-qr-box {
  width: 200px;
  height: 200px;
  margin: 15px auto;
  padding: 10px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upi-vpa {
  font-size: 1.15rem;
  font-weight: 800;
  color: #7a1244;
  margin-top: 8px;
  user-select: all;
  background: #fdf5e6;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
  border: 1px dashed #d4af37;
}

/* Alert notifications */
.alert {
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.alert-success {
  background: rgba(40, 167, 69, 0.2);
  border: 1px solid #28a745;
  color: #98f5b1;
}

.alert-danger {
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid #dc3545;
  color: #fca5a5;
}

.alert-warning {
  background: rgba(255, 193, 7, 0.2);
  border: 1px solid #ffc107;
  color: #ffe69c;
}

.alert-info {
  background: rgba(23, 162, 184, 0.2);
  border: 1px solid #17a2b8;
  color: #a5e8f5;
}

.btn-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: inherit;
  line-height: 1;
}

/* Footer */
footer {
  margin-top: auto;
  background: #14020c;
  border-top: 1px solid rgba(245, 183, 34, 0.25);
  padding: 40px 0 25px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: var(--gold-accent);
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Visitor Counter Badge */
.visitor-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 183, 34, 0.35);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #cbd5e1;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.visitor-counter-badge .count-num {
  color: var(--gold-accent);
  font-weight: 800;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  letter-spacing: 1px;
}


/* Mobile Responsiveness & BookMyShow-style Polish */
@media (max-width: 768px) {
  .nav-container {
    padding: 10px 14px;
  }
  .brand-logo {
    font-size: 1.05rem;
    gap: 6px;
    flex-wrap: wrap;
    line-height: 1.2;
  }
  .brand-logo span:nth-child(2) {
    font-size: 0.95rem !important;
  }
  .brand-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  .hero-title {
    font-size: 1.9rem !important;
    line-height: 1.2 !important;
  }
  .hero-section {
    padding: 25px 0 40px !important;
  }
  .hero-meta-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e0411;
    flex-direction: column;
    padding: 15px 20px;
    border-bottom: 2px solid var(--gold-dark);
    gap: 12px;
  }
  .nav-links.show {
    display: flex;
  }
  .mobile-menu-toggle {
    display: block;
    font-size: 1.6rem;
    background: none;
    border: none;
    color: var(--gold-accent);
    cursor: pointer;
  }
  .payment-tabs {
    flex-direction: column;
  }
  
  /* Ticket Table Mobile Transformation (No side scroll / overlap) */
  .desktop-only-view {
    display: none !important;
  }
  .mobile-only-cards {
    display: block !important;
  }
  .table-responsive {
    overflow-x: visible;
  }
  .ticket-selection-mobile-card {
    background: rgba(26, 3, 14, 0.95);
    border: 1px solid rgba(245, 183, 34, 0.35);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .ticket-selection-mobile-card .head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .ticket-selection-mobile-card .bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed rgba(245, 183, 34, 0.2);
    padding-top: 10px;
  }
  
  /* Booking Steps Indicator on Mobile */
  .booking-steps-bar {
    gap: 6px !important;
    font-size: 0.8rem !important;
  }
  .booking-step-pill {
    padding: 4px 10px !important;
    font-size: 0.75rem !important;
  }
}

/* Floating Sticky Book Pass Pill on Mobile */
.mobile-sticky-book-bar {
  display: none;
}
@media (max-width: 768px) {
  .mobile-sticky-book-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(22, 2, 12, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 2px solid var(--gold-accent);
    padding: 12px 20px;
    z-index: 9999;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.85);
  }
  body {
    padding-bottom: 100px !important;
  }
}

/* ========================================================
   BookMyShow-Style Interactive Seat Layout Engine
   ======================================================== */
.bms-seat-modal-card {
  background: #ffffff;
  color: #12141d;
  border-radius: 20px;
  padding: 30px 24px;
  max-width: 580px;
  margin: 0 auto 30px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.bms-seat-count-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 22px 0;
  flex-wrap: wrap;
}

.bms-seat-num-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: #334155;
  background: #f1f5f9;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.bms-seat-num-circle:hover {
  background: #e2e8f0;
}

.bms-seat-num-circle.active {
  background: #f84464;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(248, 68, 100, 0.4);
  transform: scale(1.1);
}

.bms-tier-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin: 20px 0 24px;
  text-align: center;
}

.bms-tier-preview-item {
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
}

.bms-tier-preview-title {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 2px;
}

.bms-tier-preview-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}

.bms-tier-preview-status {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 3px;
}

/* The Interactive Theater / Arena Seating Matrix */
.bms-arena-wrapper {
  background: #ffffff;
  color: #12141d;
  border-radius: 20px;
  padding: 26px 20px 40px;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  overflow-x: auto;
}

.bms-arena-screen {
  width: 70%;
  margin: 0 auto 30px;
  text-align: center;
}

.bms-stage-curve {
  height: 8px;
  background: linear-gradient(90deg, #f5b722 0%, #d97706 100%);
  border-radius: 50% 50% 0 0;
  box-shadow: 0 3px 12px rgba(245, 183, 34, 0.4);
  margin-bottom: 6px;
}

.bms-stage-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bms-tier-section {
  margin-bottom: 24px;
}

.bms-tier-header {
  font-size: 0.85rem;
  font-weight: 800;
  color: #334155;
  text-transform: uppercase;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 6px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bms-seat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}

.bms-row-letter {
  width: 24px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #64748b;
  text-align: center;
  margin-right: 8px;
}

.bms-seat-block {
  display: flex;
  gap: 6px;
}

.bms-seat-aisle {
  width: 22px;
}

/* Individual Seat Box */
.bms-seat-box {
  width: 34px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

/* Seat States */
.bms-seat-box.available {
  background: #ffffff;
  border: 1.5px solid #10b981;
  color: #10b981;
}

.bms-seat-box.available:hover {
  background: #10b981;
  color: #ffffff;
  transform: scale(1.12);
}

.bms-seat-box.sold {
  background: #e2e8f0;
  border: 1.5px solid #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
  opacity: 0.65;
}

.bms-seat-box.selected {
  background: #10b981;
  border: 1.5px solid #059669;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.45);
  transform: scale(1.1);
  font-weight: 800;
}

/* Seat Legend */
.bms-legend-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
}

.bms-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bms-legend-swatch {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

/* Floating Sticky Book Pass Bar */
.bms-seat-checkout-card {
  background: #151824;
  border: 1px solid rgba(245, 183, 34, 0.4);
  border-radius: 16px;
  padding: 20px 24px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.btn-bms-red {
  background: #f84464;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-bms-red:hover {
  background: #e02f50;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248, 68, 100, 0.4);
}

