/* ============================================================
   TANDAMASUK.COM - Main Stylesheet
   Brand: Orange #F7941D | Purple #7B2ABD
   ============================================================ */

/* ─── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  --orange:        #F7941D;
  --orange-dark:   #E07D0A;
  --orange-light:  #FFF3E0;
  --orange-glass:  rgba(247,148,29,.12);
  --purple:        #7B2ABD;
  --purple-dark:   #5E1E94;
  --purple-light:  #F3E8FF;
  --purple-glass:  rgba(123,42,189,.12);
  --dark:          #1A1A2E;
  --dark-2:        #16213E;
  --white:         #FFFFFF;
  --off-white:     #F8F9FA;
  --gray-100:      #F4F6F9;
  --gray-200:      #E9ECEF;
  --gray-400:      #ADB5BD;
  --gray-600:      #6C757D;
  --success:       #10B981;
  --danger:        #EF4444;
  --warning:       #F59E0B;
  --info:          #3B82F6;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --shadow-sm:     0 2px 8px rgba(0,0,0,.06);
  --shadow:        0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 40px rgba(0,0,0,.14);
  --shadow-orange: 0 8px 32px rgba(247,148,29,.25);
  --shadow-purple: 0 8px 32px rgba(123,42,189,.25);
  --transition:    all .2s ease;
  --font-main:     'Plus Jakarta Sans', sans-serif;
  --font-alt:      'Space Grotesk', sans-serif;
}

/* ─── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Sembunyikan scrollbar layar di Firefox & IE/Edge lawas */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Sembunyikan scrollbar layar di Chrome, Safari, Edge, Opera, & browser mobile berbasis WebKit/Blink */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none;
}

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* Sembunyikan scrollbar layar di Firefox & IE/Edge lawas */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* ─── TYPOGRAPHY ───────────────────────────────────────────── */
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }
.text-purple { color: var(--purple) !important; }
.text-orange { color: var(--orange) !important; }

/* ─── BRAND ──────────────────────────────────────────────────── */
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text, .brand-text-lg {
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--dark);
  font-family: var(--font-main);
}
.brand-text { font-size: 1.5rem; }
.brand-text-lg { font-size: 2rem; }
.brand-accent { color: var(--purple); }
.brand-dot { color: var(--orange); font-size: .8em; }

@media (max-width: 575.98px) {
  .brand-logo { width: 32px; height: 32px; }
  .brand-text { font-size: 1.2rem; }
}

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  font-family: var(--font-main);
}
.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  box-shadow: var(--shadow-orange);
  transform: translateY(-1px);
}
.btn-secondary-tm {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}
.btn-secondary-tm:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  box-shadow: var(--shadow-purple);
  transform: translateY(-1px);
}
.btn-outline-primary {
  border-color: var(--orange);
  color: var(--orange);
}
.btn-outline-primary:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.btn-outline-purple {
  border: 2px solid var(--purple);
  color: var(--purple);
  background: transparent;
}
.btn-outline-purple:hover {
  background: var(--purple);
  color: var(--white);
}
.btn-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--dark);
  transition: var(--transition);
  padding: 0;
}
.btn-icon:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-glass); }
.btn-icon-sm { width: 32px; height: 32px; font-size: .8rem; }
.btn-gradient {
  background: linear-gradient(135deg, var(--orange), var(--purple));
  border: none;
  color: var(--white);
  font-weight: 700;
}
.btn-gradient:hover {
  background: linear-gradient(135deg, var(--orange-dark), var(--purple-dark));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247,148,29,.3);
}
.btn-lg { padding: .875rem 2rem; font-size: 1rem; border-radius: var(--radius-lg); }

/* ─── NAVBAR ────────────────────────────────────────────────── */
.navbar-main {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: .75rem 0;
  z-index: 1030;
  transition: var(--transition);
}
.navbar-main.scrolled {
  box-shadow: var(--shadow);
}
.navbar-main .nav-link {
  color: var(--dark) !important;
  font-weight: 600;
  padding: .5rem .875rem !important;
  border-radius: var(--radius);
  transition: var(--transition);
  font-size: .9rem;
}
.navbar-main .nav-link:hover {
  color: var(--orange) !important;
  background: var(--orange-glass);
}
.navbar-toggler { border: none; padding: .25rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler .fa-bars { color: var(--dark); font-size: 1.25rem; }

/* ─── DROPDOWN ──────────────────────────────────────────────── */
.dropdown-menu-fancy {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: .75rem;
  min-width: 220px;
  animation: dropIn .15s ease;
}
@keyframes dropIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.dropdown-menu-fancy .dropdown-item {
  border-radius: var(--radius);
  padding: .6rem .875rem;
  font-weight: 500;
  font-size: .9rem;
  color: var(--dark);
  transition: var(--transition);
}
.dropdown-menu-fancy .dropdown-item:hover {
  background: var(--gray-100);
  color: var(--orange);
}
.dropdown-divider { border-color: var(--gray-200); }

/* ─── AVATAR ────────────────────────────────────────────────── */
.avatar-sm {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #1E3A8A; /* navy blue */
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar-sm img { width: 100%; height: 100%; object-fit: cover; }
.avatar-sm span { color: var(--white); font-weight: 800; font-size: .85rem; }
.avatar-md { width: 48px; height: 48px; }
.avatar-md span { font-size: 1rem; }
.avatar-lg { width: 72px; height: 72px; }
.avatar-lg span { font-size: 1.5rem; }
.avatar-xl { width: 96px; height: 96px; }
.avatar-xl span { font-size: 2rem; }

/* ─── BADGES ────────────────────────────────────────────────── */
.badge-tm {
  padding: .3rem .75rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge-sports { background: #FFF3E0; color: var(--orange); }
.badge-music  { background: var(--purple-light); color: var(--purple); }
.badge-other  { background: #E8F5E9; color: #2E7D32; }
.badge-role   { background: var(--orange-glass); color: var(--orange); font-size: .7rem; font-weight: 700; padding: .2rem .6rem; border-radius: 50px; }
.notif-dot    { width: 8px; height: 8px; background: var(--danger); border-radius: 50%; position: absolute; top: 6px; right: 6px; }
.notif-badge  { font-size: .65rem !important; padding: .2rem .35rem !important; position: absolute; top: -4px; right: -4px; }

/* ─── CARDS ─────────────────────────────────────────────────── */
.card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover { box-shadow: var(--shadow); }
.card-body { padding: 1.5rem; }

/* Event Card */
.event-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.event-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.event-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.event-card:hover .event-card-img img { transform: scale(1.06); }
.event-card-badge {
  position: absolute; top: .75rem; left: .75rem;
  z-index: 2;
}
.event-card-fav {
  position: absolute; top: .75rem; right: .75rem;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  color: var(--gray-400);
  transition: var(--transition);
  z-index: 2;
}
.event-card-fav.active, .event-card-fav:hover { color: var(--danger); }
.event-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.event-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-card-meta {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; color: var(--gray-600);
  margin-bottom: .3rem;
}
.event-card-meta i { width: 14px; color: var(--orange); }
.event-card-price {
  margin-top: auto;
  padding-top: .875rem;
  border-top: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: space-between;
}
.price-label { font-size: .75rem; color: var(--gray-600); margin-bottom: .1rem; }
.price-value { font-size: 1.1rem; font-weight: 800; color: var(--orange); }
.price-free   { font-size: 1.1rem; font-weight: 800; color: var(--success); }

/* ─── HERO / LANDING ─────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F7941D' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-glow-1 {
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(247,148,29,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute; bottom: -150px; left: -50px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(123,42,189,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -2px;
}
.hero-title .highlight { color: var(--orange); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.7);
  margin: 1.5rem 0 2rem;
  line-height: 1.6;
}
.hero-search {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: .5rem;
  box-shadow: var(--shadow-lg);
  display: flex; gap: .5rem; align-items: center;
}
.hero-search .form-control {
  border: none;
  background: transparent;
  font-size: .95rem;
  padding: .75rem 1rem;
}
.hero-search .form-control:focus { box-shadow: none; outline: none; }
.hero-stats {
  display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap;
}
.stat-item .stat-num { font-size: 1.75rem; font-weight: 900; color: var(--orange); }
.stat-item .stat-label { font-size: .8rem; color: rgba(255,255,255,.6); }

/* ─── SECTIONS ───────────────────────────────────────────────── */
.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -1px;
}
.section-sub {
  color: var(--gray-600);
  font-size: 1rem;
  margin-top: .5rem;
}
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(to right, var(--orange), var(--purple));
  border-radius: 2px;
  margin: .75rem 0 0;
}

/* ─── CATEGORY FILTERS ───────────────────────────────────────── */
.filter-tabs { display: flex; gap: .5rem; flex-wrap: wrap; }
.filter-tab {
  padding: .5rem 1.25rem;
  border-radius: 50px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-weight: 600;
  font-size: .875rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.filter-tab:hover, .filter-tab.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.filter-tab.purple:hover, .filter-tab.purple.active {
  background: var(--purple);
  border-color: var(--purple);
}

/* ─── FORM CONTROLS ──────────────────────────────────────────── */
.form-control, .form-select {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .925rem;
  color: var(--dark);
  transition: var(--transition);
  background: var(--white);
  font-family: var(--font-main);
}
.form-control:focus, .form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-glass);
  outline: none;
}
.form-label {
  font-weight: 600;
  font-size: .875rem;
  color: var(--dark);
  margin-bottom: .4rem;
}
.input-group-text {
  border: 1.5px solid var(--gray-200);
  background: var(--gray-100);
  color: var(--gray-600);
}
.form-floating>.form-control:focus~label, .form-floating>.form-control:not(:placeholder-shown)~label {
  color: var(--orange);
}

/* OTP Input */
.otp-inputs { display: flex; gap: .75rem; justify-content: center; }
.otp-input {
  width: 56px; height: 64px;
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--dark);
  transition: var(--transition);
}
.otp-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-glass);
  outline: none;
}
.otp-input.filled { border-color: var(--orange); background: var(--orange-glass); }

/* ─── AUTH PAGES ─────────────────────────────────────────────── */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
  padding: 2rem 0;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-logo { font-size: 1.75rem; font-weight: 900; margin-bottom: .5rem; }
.auth-title { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: .25rem; }
.auth-sub { color: var(--gray-600); font-size: .9rem; }
.auth-divider {
  display: flex; align-items: center; gap: 1rem;
  color: var(--gray-400); font-size: .875rem;
  margin: 1.5rem 0;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1;
  height: 1px; background: var(--gray-200);
}

/* Password strength */
.password-strength { height: 4px; border-radius: 2px; background: var(--gray-200); margin-top: .5rem; overflow: hidden; }
.password-strength-bar { height: 100%; border-radius: 2px; transition: width .3s ease, background .3s ease; }
.strength-weak   .password-strength-bar { width: 33%; background: var(--danger); }
.strength-medium .password-strength-bar { width: 66%; background: var(--warning); }
.strength-strong .password-strength-bar { width: 100%; background: var(--success); }

/* ─── TICKET CARD ────────────────────────────────────────────── */
.ticket-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.ticket-card-top { padding: 1.5rem; }
.ticket-divider {
  display: flex; align-items: center; margin: 0;
}
.ticket-divider-line { flex: 1; border-top: 2px dashed var(--gray-200); }
.ticket-notch {
  width: 28px; height: 28px;
  background: var(--gray-100);
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0 -14px;
}
.ticket-card-bottom { padding: 1.5rem; background: var(--gray-100); }
.ticket-qr { width: 120px; height: 120px; object-fit: contain; }
.ticket-code { font-family: monospace; font-size: .85rem; font-weight: 700; color: var(--dark); }
.ticket-status-used { opacity: .5; }
.ticket-watermark {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) rotate(-45deg);
  font-size: 4rem; font-weight: 900; color: rgba(239,68,68,.08);
  white-space: nowrap; pointer-events: none; z-index: 0;
}

/* WAR TICKET countdown */
.war-countdown {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
  text-align: center;
}
.war-timer { display: flex; gap: 1rem; justify-content: center; }
.war-time-block { background: rgba(255,255,255,.1); border-radius: var(--radius); padding: .75rem 1.5rem; min-width: 70px; }
.war-time-num { font-size: 2rem; font-weight: 900; color: var(--orange); display: block; }
.war-time-label { font-size: .7rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1px; }

/* ─── LOADING OVERLAY ────────────────────────────────────────── */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.spinner-brand {
  width: 48px; height: 48px;
  border: 4px solid var(--orange-glass);
  border-top: 4px solid var(--orange);
  border-radius: 50%;
  animation: spinBrand 1s linear infinite;
}
@keyframes spinBrand { to { transform: rotate(360deg); } }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer-main {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}
.footer-heading {
  color: var(--white);
  font-weight: 800;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a, .footer-links span {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  text-decoration: none;
  transition: color .2s;
  display: flex; align-items: center; gap: .25rem;
}
.footer-links a:hover { color: var(--orange); }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 2rem 0 1.5rem; }
.text-muted-footer { color: rgba(255,255,255,.5) !important; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
  text-decoration: none;
  font-size: .9rem;
}
.social-btn:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }
.payment-badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.payment-badges span {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  border-radius: 4px;
  padding: .25rem .6rem;
  font-size: .7rem;
  font-weight: 600;
}

/* ─── BACK TO TOP ────────────────────────────────────────────── */
.btn-back-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-orange);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  z-index: 1000;
}
.btn-back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.btn-back-top:hover { background: var(--orange-dark); transform: translateY(-2px); }

/* ─── PWA INSTALL BAR ─────────────────────────────────────────── */
.pwa-install-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 2px solid var(--orange);
  padding: .75rem 0;
  z-index: 1040;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  animation: slideUp .3s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ─── ALERT / FLASH ──────────────────────────────────────────── */
.alert { border: none; border-radius: var(--radius); font-weight: 500; }
.alert-success { background: #ECFDF5; color: #065F46; }
.alert-danger   { background: #FEF2F2; color: #991B1B; }
.alert-warning  { background: #FFFBEB; color: #92400E; }
.alert-info     { background: #EFF6FF; color: #1E40AF; }

/* ─── SKELETON LOADING ───────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}
@keyframes shimmer { to { background-position: -200% 0; } }
.skeleton-text { height: 16px; margin-bottom: .5rem; }
.skeleton-title { height: 24px; margin-bottom: .75rem; }
.skeleton-img { aspect-ratio: 16/9; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

/* ─── TOAST ──────────────────────────────────────────────────── */
.toast-container-tm {
  position: fixed;
  top: 1rem; right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-width: 360px;
}
.toast-tm {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--orange);
  animation: toastIn .3s ease;
  display: flex; gap: .875rem; align-items: flex-start;
}
.toast-tm.success { border-left-color: var(--success); }
.toast-tm.error   { border-left-color: var(--danger); }
.toast-tm.warning { border-left-color: var(--warning); }
@keyframes toastIn { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:translateX(0); } }

/* ─── MODAL ──────────────────────────────────────────────────── */
.modal-content {
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.modal-header {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem;
  background: var(--gray-100);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.modal-footer { border-top: 1px solid var(--gray-200); padding: 1rem 1.5rem; }
.modal-title { font-weight: 800; font-size: 1.1rem; }

/* ─── TABLE ──────────────────────────────────────────────────── */
.table-tm { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.table-tm thead th {
  background: var(--gray-100);
  border-bottom: 2px solid var(--gray-200);
  font-weight: 700;
  font-size: .825rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gray-600);
  padding: .875rem 1rem;
  white-space: nowrap;
}
.table-tm tbody tr { transition: background .15s; }
.table-tm tbody tr:hover { background: var(--gray-100); }
.table-tm td { padding: .875rem 1rem; font-size: .9rem; vertical-align: middle; border-color: var(--gray-200); }

/* ─── PAGINATION ─────────────────────────────────────────────── */
.pagination .page-link {
  border-color: var(--gray-200);
  color: var(--dark);
  border-radius: var(--radius) !important;
  margin: 0 .15rem;
  font-weight: 600;
  transition: var(--transition);
}
.pagination .page-link:hover { background: var(--orange-glass); color: var(--orange); border-color: var(--orange); }
.pagination .page-item.active .page-link { background: var(--orange); border-color: var(--orange); }

/* ─── QUANTITY SELECTOR ──────────────────────────────────────── */
.qty-selector {
  display: flex; align-items: center; gap: .75rem;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: .25rem;
  width: fit-content;
}
.qty-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  border: none;
  background: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
}
.qty-btn:hover { background: var(--orange); color: var(--white); }
.qty-btn:disabled { opacity: .4; cursor: not-allowed; }
.qty-display {
  min-width: 36px;
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
}

/* ─── COUNTDOWN ──────────────────────────────────────────────── */
.countdown-box {
  display: inline-flex;
  background: var(--orange-glass);
  border: 1px solid rgba(247,148,29,.3);
  border-radius: var(--radius-lg);
  padding: .75rem 1.5rem;
  gap: 1rem;
  align-items: center;
}
.cd-item { text-align: center; }
.cd-num { font-size: 1.5rem; font-weight: 900; color: var(--orange); display: block; line-height: 1; }
.cd-lbl { font-size: .65rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 1px; }

/* ─── STEP INDICATOR ─────────────────────────────────────────── */
.steps { display: flex; align-items: center; gap: .5rem; }
.step-item { display: flex; align-items: center; gap: .5rem; }
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-600);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  flex-shrink: 0;
}
.step-item.active .step-num { background: var(--orange); color: var(--white); }
.step-item.done .step-num { background: var(--success); color: var(--white); }
.step-label { font-size: .82rem; font-weight: 600; color: var(--gray-600); }
.step-item.active .step-label { color: var(--orange); }
.step-line { flex: 1; height: 2px; background: var(--gray-200); }
.step-line.done { background: var(--success); }

/* ─── SCAN PAGE ──────────────────────────────────────────────── */
.scan-viewport {
  width: 100%; max-width: 400px;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: var(--dark);
  margin: 0 auto;
}
.scan-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.scan-frame {
  width: 70%; aspect-ratio: 1;
  border: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: 0 0 0 2000px rgba(0,0,0,.4);
}
.scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--orange), transparent);
  animation: scanLine 2s ease-in-out infinite;
}
@keyframes scanLine {
  0% { top: 0; }
  50% { top: calc(100% - 3px); }
  100% { top: 0; }
}
.scan-result {
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  animation: fadeSlideIn .3s ease;
}
.scan-result.success { background: #ECFDF5; border: 2px solid var(--success); }
.scan-result.error   { background: #FEF2F2; border: 2px solid var(--danger); }
.scan-result.warning { background: #FFFBEB; border: 2px solid var(--warning); }
@keyframes fadeSlideIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* ─── PRINT ──────────────────────────────────────────────────── */
@media print {
  .navbar-main, .footer-main, .btn, .pwa-install-bar, .btn-back-top, header { display: none !important; }
  .ticket-card { box-shadow: none !important; border: 2px solid #ddd !important; page-break-inside: avoid; }
  body { padding: 0; margin: 0; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .auth-card { padding: 1.75rem; border-radius: var(--radius-lg); }
  .hero-section { padding: 100px 0 60px; }
  .otp-input { width: 44px; height: 52px; font-size: 1.4rem; }
  .section-heading { font-size: 1.75rem; }
  .event-card-body { padding: 1rem; }
  .hero-stats { gap: 1.25rem; }
}

@media (max-width: 480px) {
  .hero-search { flex-direction: column; }
  .steps { flex-wrap: wrap; }
  .war-time-block { min-width: 56px; padding: .5rem 1rem; }
  .war-time-num { font-size: 1.5rem; }
}

/* ─── UTILITY ────────────────────────────────────────────────── */
.text-truncate-2 {
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.text-truncate-3 {
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.gap-xs { gap: .25rem !important; }
.rounded-tm { border-radius: var(--radius) !important; }
.rounded-tm-lg { border-radius: var(--radius-lg) !important; }
.bg-orange-glass { background: var(--orange-glass) !important; }
.bg-purple-glass { background: var(--purple-glass) !important; }
.border-orange { border-color: var(--orange) !important; }
.shadow-orange { box-shadow: var(--shadow-orange) !important; }
.sticky-sidebar { position: sticky; top: 80px; }
