/* ============================================================
   G1SEVA â€“ Premium Mobile-First Stylesheet v3
   Brand: Yellow #f4b400 / Dark Brown #1e1800
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

/* ---- Layout ---- */
.container { width: min(1180px, calc(100% - 1.5rem)); margin: 0 auto; }
.site-main { min-height: 70vh; padding: .75rem 0 2rem; }
.section { padding: 1.25rem 0; }
.narrow { max-width: 820px; }
.muted { color: var(--text-muted); font-size: .9rem; }
.small { font-size: .88rem; }
.text-center { text-align: center; }

/* ---- Announcement Bar ---- */
.announce-bar {
  background: var(--accent-dark);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  padding: .45rem 0;
  overflow: hidden;
  position: relative;
}
.announce-bar .announce-inner {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.announce-bar .announce-label {
  background: var(--accent);
  color: var(--accent-dark);
  font-weight: 800;
  font-size: .78rem;
  padding: .15rem .7rem;
  border-radius: 999px;
  margin-right: .85rem;
  flex-shrink: 0;
  animation: none;
}
.announce-bar:hover .announce-inner { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Sticky Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: linear-gradient(135deg, rgba(255,240,145,.12), rgba(244,180,0,.96));
  border-bottom: 1.5px solid rgba(145,97,4,.18);
  box-shadow: 0 2px 20px rgba(147,101,10,.10);
}
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ---- Brand ---- */
.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand img, .brand-mark {
  width: 52px; height: 52px;
  border-radius: 16px;
  flex-shrink: 0;
}
.brand img { object-fit: cover; border: 2px solid rgba(255,255,255,.25); }
.brand-mark {
  display: grid; place-items: center;
  background: linear-gradient(135deg, #f8d66d, #f4b400);
  color: #1e1800; font-weight: 900; font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(244,180,0,.35);
}
.brand-text strong { display: block; font-size: 1rem; color: #1e1800; font-weight: 800; }
.brand-text small { color: rgba(30,24,0,.68); font-size: .75rem; }

/* ---- Nav ---- */
.site-nav { display: flex; align-items: center; gap: .4rem; }
.site-nav a {
  padding: .6rem .95rem;
  border-radius: 999px;
  color: rgba(30,24,0,.84);
  font-weight: 500;
  font-size: .9rem;
  transition: background .15s;
}
.site-nav a:hover, .site-nav a.active { background: rgba(255,255,255,.4); color: #1e1800; }
.nav-toggle {
  display: none; background: transparent; border: 0;
  padding: .35rem; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px;
  margin: 5px 0; background: #1e1800;
  border-radius: 2px; transition: .2s;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .65rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: .9rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .12s, box-shadow .12s, background .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 4px 18px rgba(30,24,0,.25);
}
.btn-primary:hover { background: #2e2300; box-shadow: 0 6px 22px rgba(30,24,0,.30); }
.btn-accent {
  background: var(--accent);
  color: var(--accent-dark);
  box-shadow: 0 4px 18px rgba(244,180,0,.35);
}
.btn-accent:hover { background: #f0ac00; }
.btn-ghost {
  background: rgba(255,255,255,.55);
  color: var(--accent-dark);
  border-color: rgba(183,121,0,.25);
}
.btn-ghost:hover { background: rgba(255,255,255,.8); }
.btn-sm { padding: .45rem 1rem; font-size: .82rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---- Cards ---- */
.hero-copy, .hero-panel, .panel,
.card, .apply-card, .service-info, .success-card,
.track-card, .kpi {
  background: var(--panel-bg);
  border: 1.5px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.card {
  padding: 1.4rem 1.2rem;
  transition: transform .15s, box-shadow .15s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 70px rgba(147,101,10,.18);
}

/* ---- Hero ---- */
.hero-section { padding-top: .75rem; }
.hero-shell {
  display: grid;
  grid-template-columns: 1.2fr .95fr;
  gap: 1.25rem;
  align-items: stretch;
}
.hero-copy {
  padding: 2rem 1.75rem;
  background:
    radial-gradient(circle at top right, rgba(255,230,134,.35), transparent 26%),
    radial-gradient(circle at left center, rgba(244,180,0,.2), transparent 24%),
    var(--panel-bg);
}
.eyebrow, .tag, .pill, .badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .38rem .8rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700;
}
.eyebrow {
  background: linear-gradient(135deg, rgba(244,180,0,.22), rgba(251,191,36,.14));
  color: var(--accent-strong);
  border: 1px solid rgba(244,180,0,.3);
  box-shadow: 0 2px 8px rgba(244,180,0,.12);
}
.tag, .pill { background: rgba(251,191,36,.18); color: var(--accent-strong); }
.badge-green { background: rgba(34,197,94,.15); color: #166534; }
.badge-red { background: rgba(239,68,68,.12); color: #991b1b; }
.badge-blue { background: rgba(59,130,246,.13); color: #1e40af; }
.badge-gray { background: rgba(107,114,128,.12); color: #374151; }
.badge-yellow { background: rgba(244,180,0,.18); color: var(--accent-strong); }

.hero-title, .section-head h1, .section-head h2,
.service-info h1, .auth-panel h1, .success-card h1,
.track-card h2 {
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin: .5rem 0 .85rem;
}
p.lead { color: var(--text-muted); margin: 0 0 1.2rem; }

.hero-benefits-row {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem;
}
.benefit-chip {
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(183,121,0,.2);
  border-radius: 999px;
  padding: .35rem .85rem;
  font-size: .8rem; font-weight: 600;
  color: var(--accent-strong);
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.5rem; }

/* ---- Trust Badges ---- */
.trust-badges {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 1.25rem;
}
.trust-badge {
  display: flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(183,121,0,.15);
  border-radius: 10px;
  padding: .4rem .7rem;
  font-size: .75rem; font-weight: 600; color: var(--text-muted);
}
.trust-badge svg, .trust-badge .icon { flex-shrink: 0; }

.hero-stats {
  display: flex; gap: .8rem; flex-wrap: wrap;
  margin-top: 1.25rem;
}
.stat-card {
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(183,121,0,.15);
  border-radius: 14px;
  padding: .65rem 1rem; text-align: center;
  flex: 1; min-width: 80px;
}
.stat-card strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--text); }
.stat-card small { font-size: .72rem; color: var(--text-muted); }

/* ---- How it Works Panel ---- */
.hero-panel {
  padding: 1.5rem 1.25rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; }
.panel-header span { font-size: .78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.panel-header h2 { font-size: 1.4rem; font-weight: 800; margin: .2rem 0 0; }
.process-list { display: flex; flex-direction: column; gap: .8rem; }
.process-item {
  display: flex; align-items: flex-start; gap: .85rem;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(183,121,0,.12);
  border-radius: 14px; padding: .85rem;
}
.process-item > span {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4b400, #e09500);
  color: #1e1800; font-weight: 800; font-size: .9rem;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(244,180,0,.3);
}
.process-item strong { display: block; font-weight: 700; margin-bottom: .15rem; }
.process-item small { color: var(--text-muted); font-size: .82rem; }

/* ---- WhatsApp/Call Float ---- */
.float-btns {
  position: fixed; bottom: 1.2rem; right: 1.1rem;
  display: flex; flex-direction: column; gap: .65rem;
  z-index: 200;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.22);
  transition: transform .15s;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn-wa { background: #25D366; }
.float-btn-call { background: #1e1800; }
.float-btn svg { width: 24px; height: 24px; }

/* ---- Slider ---- */
.slider-section { padding-bottom: .5rem; }
.slider-shell {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 16/6;
  background: #1e1800;
  cursor: grab;
}
.slider-shell:active { cursor: grabbing; }
.slider-card {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transition: opacity .55s ease;
  text-decoration: none;
}
.slider-card.active { opacity: 1; }
.slider-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.slider-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,24,0,.7) 0%, rgba(30,24,0,.1) 60%, transparent);
}
.slider-copy {
  position: relative; z-index: 2;
  padding: 1.5rem 1.75rem;
  color: #fff;
}
.slider-copy h3 { font-size: 1.5rem; font-weight: 800; margin: .25rem 0 .4rem; }
.slider-copy p { font-size: .9rem; opacity: .88; margin: 0; }
.slider-dots {
  position: absolute; bottom: 1rem; right: 1.25rem;
  display: flex; gap: .4rem; z-index: 3;
}
.slider-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: 0; cursor: pointer;
  padding: 0; transition: .2s;
}
.slider-dots button.active {
  width: 24px; border-radius: 4px;
  background: var(--accent);
}
.slider-arrows {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; justify-content: space-between;
  width: 100%; padding: 0 .75rem; z-index: 3; pointer-events: none;
}
.slider-arrow {
  pointer-events: all;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(204,161,103,.0.49);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff; font-size: 1.1rem;
  display: grid; place-items: center; cursor: pointer;
  transition: background .15s;
}
.slider-arrow:hover { background: rgba(255,255,255,.32); }

/* ---- Quick Track Bar ---- */
.quick-track-bar {
  background: var(--accent-dark);
  padding: .85rem 0;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}
.quick-track-bar .track-inner {
  display: flex; align-items: center; gap: .75rem;
  flex-wrap: wrap;
}
.quick-track-bar label {
  color: rgba(255,255,255,.75); font-size: .82rem; font-weight: 700;
  white-space: nowrap;
}
.quick-track-bar input {
  flex: 1; min-width: 180px;
  padding: .55rem 1rem; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.12);
  color: #fff; font-size: .88rem;
  outline: none;
}
.quick-track-bar input::placeholder { color: rgba(255,255,255,.45); }
.quick-track-bar input:focus { border-color: var(--accent); background: rgba(255,255,255,.18); }

/* ---- Category/Service Grids ---- */
.cards { display: grid; gap: 1rem; }
.category-grid { grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); }
.service-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.compact-cards { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

.section-head { margin-bottom: 1.1rem; }
.section-head h2 { font-size: 1.35rem; font-weight: 800; margin: 0 0 .3rem; }
.section-head p { margin: 0; color: var(--text-muted); font-size: .88rem; }

.section-alt {
  background: rgba(255,255,255,.3);
  border-radius: var(--radius);
  margin: 0 auto;
}

.card-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(244,180,0,.15);
  border: 1.5px solid rgba(244,180,0,.22);
  display: grid; place-items: center;
  margin-bottom: .85rem; flex-shrink: 0;
  overflow: hidden;
}
.card-icon img { width: 100%; height: 100%; object-fit: cover; }
.card-icon span {
  font-size: 1.25rem; font-weight: 900;
  color: var(--accent-strong);
}
.card-icon-lg {
  width: 72px; height: 72px; border-radius: 20px; font-size: 1.6rem;
  margin: 0 auto .85rem;
}
.card h3 { font-size: .97rem; font-weight: 700; margin: 0 0 .35rem; }
.card p.muted { font-size: .82rem; margin: 0 0 .75rem; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; }
.price { color: var(--text); font-weight: 800; font-size: .95rem; }
.mini-card { padding: 1rem; }
.mini-card h3 { font-size: .9rem; font-weight: 700; margin: 0 0 .2rem; }

/* ---- Track Section Inline ---- */
.compact-track-section { padding: .75rem 0 1rem; }
.track-banner {
  background: linear-gradient(135deg, #1e1800, #2f2103);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: flex; align-items: center;
  justify-content: space-between; gap: 1.25rem;
  flex-wrap: wrap; color: #fff;
}
.track-banner h2 { font-size: 1.2rem; font-weight: 800; margin: 0 0 .2rem; color: #fff; }
.track-banner p { margin: 0; color: rgba(255,255,255,.7); font-size: .88rem; }
.inline-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.inline-form input {
  padding: .6rem 1.1rem; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.12); color: #fff;
  font-size: .88rem; outline: none; min-width: 200px;
  border: 1.5px solid rgba(255,255,255,.2);
}
.inline-form input:focus { border-color: var(--accent); }
.inline-form input::placeholder { color: rgba(255,255,255,.45); }
.compact-form .btn { background: var(--accent); color: var(--accent-dark); }

/* ---- Feature List ---- */
.panel { padding: 1.75rem; }
.panel h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 1rem; }
.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.feature-list li::before { content: "âœ“ "; color: #16a34a; font-weight: 700; }
.feature-list li { font-size: .92rem; }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: .6rem; }
.faq-item {
  background: var(--panel-bg); border: 1.5px solid var(--panel-border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq-toggle {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 1rem 1.25rem; font-weight: 700; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text); font-size: .95rem;
}
.faq-arrow { transition: transform .2s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-body { display: none; padding: 0 1.25rem 1rem; color: var(--text-muted); font-size: .9rem; }
.faq-item.open .faq-body { display: block; }

/* ---- Alerts & Forms ---- */
.alert {
  padding: .85rem 1.1rem; border-radius: var(--radius-sm);
  font-size: .9rem; margin: .75rem 0; font-weight: 500;
}
.alert-success { background: rgba(34,197,94,.12); color: #166534; border: 1px solid rgba(34,197,94,.25); }
.alert-danger { background: rgba(239,68,68,.1); color: #991b1b; border: 1px solid rgba(239,68,68,.2); }
.alert-info { background: rgba(59,130,246,.1); color: #1e40af; border: 1px solid rgba(59,130,246,.2); }

.form { display: flex; flex-direction: column; gap: .85rem; }
.form label > span { display: block; font-size: .82rem; font-weight: 700; margin-bottom: .3rem; color: var(--text); }
.form input, .form textarea, .form select {
  width: 100%; padding: .7rem 1rem;
  border-radius: 12px; border: 1.5px solid rgba(183,121,0,.22);
  background: rgba(255,255,255,.8); color: var(--text);
  font-size: .92rem; outline: none; transition: border-color .15s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244,180,0,.15);
}
.form textarea { resize: vertical; min-height: 90px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.form-note { font-size: .8rem; color: var(--text-muted); }

/* ---- Auth Modal ---- */
.auth-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(30,24,0,.55); backdrop-filter: blur(6px);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: .2s;
}
.auth-overlay.open { opacity: 1; visibility: visible; }
.auth-panel {
  background: #fff; border-radius: 28px;
  width: min(440px, calc(100vw - 2rem));
  padding: 2rem 1.75rem;
  box-shadow: 0 32px 80px rgba(0,0,0,.22);
  position: relative;
}
.auth-panel h1 { font-size: 1.5rem; margin: 0 0 .25rem; }
.auth-panel .muted { margin-bottom: 1.25rem; }
.auth-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(0,0,0,.08); border: 0;
  width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; font-size: 1rem; display: grid; place-items: center;
}
.auth-tabs { display: flex; gap: .4rem; margin-bottom: 1.25rem; }
.auth-tab {
  flex: 1; padding: .6rem; border-radius: 10px; border: 0;
  font-weight: 600; cursor: pointer; font-size: .88rem;
  background: rgba(244,180,0,.12); color: var(--text-muted); transition: .15s;
}
.auth-tab.active { background: var(--accent-dark); color: #fff; }

/* ---- Apply / Service Page ---- */
.apply-card, .service-info { padding: 1.5rem 1.4rem; }
.service-info h1 { font-size: 1.55rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.checklist li { font-size: .9rem; display: flex; align-items: flex-start; gap: .5rem; }
.checklist li::before { content: "ðŸ“„"; flex-shrink: 0; }

/* ---- Track Page ---- */
.track-search-wrap { margin: 1rem 0; }
.track-search-box {
  display: flex; gap: .6rem;
  background: var(--panel-bg); border: 1.5px solid var(--panel-border);
  border-radius: 999px; padding: .4rem .4rem .4rem .85rem;
  box-shadow: var(--shadow-sm);
}
.track-search-box input {
  flex: 1; border: 0; background: transparent; padding: .45rem .5rem;
  outline: none; font-size: .9rem; color: var(--text);
}
.track-search-note { font-size: .78rem; color: var(--text-muted); margin-top: .5rem; padding-left: .25rem; }
.track-card { padding: 1.5rem 1.4rem; }
.ref-box {
  background: linear-gradient(135deg, rgba(244,180,0,.15), rgba(244,180,0,.05));
  border: 1.5px dashed rgba(244,180,0,.4);
  border-radius: 14px; padding: .85rem 1.1rem; margin-bottom: 1.2rem;
  display: flex; flex-direction: column;
}
.ref-box small { font-size: .75rem; color: var(--text-muted); }
.ref-box strong { font-size: 1.2rem; font-weight: 900; color: var(--text); letter-spacing: .03em; }
.track-meta p { margin: .3rem 0; font-size: .92rem; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; margin: 1.25rem 0; }
.timeline-item {
  display: flex; gap: .85rem; padding-bottom: 1.1rem;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute;
  left: 12px; top: 26px; bottom: 0;
  width: 2px; background: rgba(183,121,0,.18);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2.5px solid rgba(183,121,0,.3);
  background: #fff; flex-shrink: 0; margin-top: .1rem;
  position: relative; z-index: 1;
  transition: .2s;
}
.timeline-item.active .timeline-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(244,180,0,.2);
}
.timeline-item.rejected .timeline-dot { background: #ef4444; border-color: #ef4444; }
.timeline-item div strong { display: block; font-size: .92rem; }
.timeline-item div small { color: var(--text-muted); font-size: .8rem; }

/* ---- User Dashboard ---- */
.user-kpis { grid-template-columns: repeat(3, 1fr); }
.kpi { padding: 1rem 1.1rem; text-align: center; }
.kpi small { display: block; font-size: .78rem; color: var(--text-muted); margin-bottom: .2rem; }
.kpi strong { font-size: 1.8rem; font-weight: 900; color: var(--text); }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .75rem; margin: 1rem 0 1.25rem; }

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th {
  text-align: left; padding: .75rem .85rem;
  font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em;
  border-bottom: 2px solid rgba(183,121,0,.15);
  color: var(--text-muted); white-space: nowrap;
}
.table td {
  padding: .75rem .85rem;
  border-bottom: 1px solid rgba(183,121,0,.08);
  vertical-align: middle;
}
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: rgba(244,180,0,.05); }
.table-actions { display: flex; gap: .4rem; }

/* ---- Status pills ---- */
.status-submitted   { background: rgba(59,130,246,.12); color: #1e40af; border-radius:999px; padding:.25rem .7rem; font-size:.78rem; font-weight:700; }
.status-under-review{ background: rgba(234,179,8,.18); color: #92400e; border-radius:999px; padding:.25rem .7rem; font-size:.78rem; font-weight:700; }
.status-processing  { background: rgba(168,85,247,.12); color: #6b21a8; border-radius:999px; padding:.25rem .7rem; font-size:.78rem; font-weight:700; }
.status-approved    { background: rgba(34,197,94,.14); color: #166534; border-radius:999px; padding:.25rem .7rem; font-size:.78rem; font-weight:700; }
.status-completed   { background: rgba(20,184,166,.13); color: #0f766e; border-radius:999px; padding:.25rem .7rem; font-size:.78rem; font-weight:700; }
.status-rejected    { background: rgba(239,68,68,.12); color: #991b1b; border-radius:999px; padding:.25rem .7rem; font-size:.78rem; font-weight:700; }
.status-pending     { background: rgba(107,114,128,.12); color: #374151; border-radius:999px; padding:.25rem .7rem; font-size:.78rem; font-weight:700; }

/* ---- Soft Panel ---- */
.soft-panel {
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(183,121,0,.12);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem; margin-top: 1rem;
}
.soft-panel h3 { font-size: .95rem; font-weight: 700; margin: 0 0 .65rem; }
.attachment-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.attachment-list li a {
  color: var(--accent-strong); font-size: .88rem; font-weight: 600;
  display: flex; align-items: center; gap: .4rem;
}
.attachment-list li a::before { content: "ðŸ“Ž"; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.detail-grid p { margin: 0; font-size: .88rem; }

/* ---- Admin ---- */
.admin-body {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
  background: #f4f1e8;
}
.admin-side {
  background: var(--accent-dark);
  color: #fff;
  display: flex; flex-direction: column;
  padding: 1.25rem 0;
  position: sticky; top: 0; height: 100vh;
  overflow-y: auto;
}
.admin-brand {
  display: flex; align-items: center; gap: .7rem;
  padding: .5rem 1.25rem 1.25rem;
  color: #fff; font-weight: 700; font-size: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: .75rem;
}
.admin-brand img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.brand-mark.sm { width: 36px; height: 36px; border-radius: 10px; font-size: .85rem; }
.admin-side nav { padding: 0 .75rem; display: flex; flex-direction: column; gap: .25rem; }
.admin-side nav a {
  padding: .65rem .95rem; border-radius: 12px;
  color: rgba(255,255,255,.72); font-size: .88rem; font-weight: 600;
  transition: background .15s; display: flex; align-items: center; gap: .5rem;
}
.admin-side nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.admin-side nav a.active { background: var(--accent); color: var(--accent-dark); }
.admin-side-foot {
  margin-top: auto; padding: 1rem 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-direction: column; gap: .5rem;
}
.admin-side-foot small { color: rgba(255,255,255,.55); font-size: .78rem; }
.admin-main { padding: 1.5rem; max-width: 100%; overflow-x: hidden; }
.admin-page-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.admin-page-head h1 { font-size: 1.5rem; font-weight: 800; margin: 0 0 .2rem; }
.admin-page-head .muted { margin: 0; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem; gap: .5rem;
}
.panel-head h2 { font-size: 1.1rem; font-weight: 800; margin: 0; }

/* ---- Footer ---- */
.site-footer {
  background: rgba(30,24,0,.96);
  color: rgba(255,255,255,.8);
  padding: 2rem 0 0;
  margin-top: 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 1.75rem; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: rgba(255,255,255,.5); }
.footer-copy { font-size: .85rem; color: rgba(255,255,255,.55); margin: .75rem 0 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-links li a, .footer-links li { font-size: .88rem; color: rgba(255,255,255,.65); }
.footer-links li a:hover { color: var(--accent); }
.site-footer h4 { color: rgba(255,255,255,.9); font-size: .9rem; margin: 0 0 .85rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 0; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
}
.footer-bottom small { color: rgba(255,255,255,.4); font-size: .78rem; }

/* ---- Document Upload / User Extra ---- */
.upload-area {
  border: 2px dashed rgba(183,121,0,.35);
  border-radius: var(--radius-sm); padding: 1.5rem;
  text-align: center; cursor: pointer;
  background: rgba(244,180,0,.04);
  transition: border-color .15s;
}
.upload-area:hover { border-color: var(--accent); }
.upload-area input[type="file"] { display: none; }
.upload-area p { margin: .5rem 0 0; font-size: .85rem; color: var(--text-muted); }

.notification-item {
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
  background: rgba(244,180,0,.07);
  margin-bottom: .5rem; font-size: .88rem;
}
.notification-item.unread { border-left-color: #3b82f6; background: rgba(59,130,246,.07); }

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .hero-shell { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-body { grid-template-columns: 1fr; }
  .admin-side {
    position: fixed; left: -100%; top: 0; bottom: 0; z-index: 200;
    width: 240px; transition: left .25s;
  }
  .admin-side.open { left: 0; }
  .admin-main { padding: 1rem; }
  .user-kpis { grid-template-columns: repeat(3, 1fr); }
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .track-banner { flex-direction: column; }
  .detail-grid { grid-template-columns: 1fr; }
  .slider-shell { aspect-ratio: 16/8; }
  .float-btns { bottom: .9rem; right: .8rem; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,248,220,.97);
    backdrop-filter: blur(20px);
    padding: 1rem; border-bottom: 1.5px solid rgba(183,121,0,.15);
    box-shadow: 0 8px 32px rgba(147,101,10,.12);
    gap: .25rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { border-radius: 12px; }
  .announce-bar .announce-inner { animation-duration: 18s; }
  .quick-track-bar .track-inner { flex-direction: column; align-items: stretch; }
  .inline-form { flex-direction: column; }
  .inline-form input { min-width: unset; }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .user-kpis { grid-template-columns: repeat(3, 1fr); }
  .kpi strong { font-size: 1.4rem; }
  .hero-title { font-size: 1.3rem; }
  .btn { padding: .6rem 1.2rem; }
}

/* ---- Print ---- */
@media print {
  .site-header, .site-footer, .float-btns, .announce-bar { display: none !important; }
}

/* ---- Extra button variants (used in admin) ---- */
.btn-success { background: #16a34a; color: #fff; }
.btn-success:hover { background: #15803d; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-warning { background: #d97706; color: #fff; }

/* ---- Quick Status Buttons ---- */
.quick-status-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; }
.form-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }

/* ---- App Modal ---- */
.app-modal {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: rgba(0,0,0,.5); backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
}
.app-modal.open { display: flex; }
.app-modal-box {
  background: #fff; border-radius: 24px;
  width: min(560px, calc(100vw - 2rem));
  max-height: 80vh; overflow-y: auto;
  padding: 1.75rem; position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,.25);
}
.app-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(0,0,0,.1); border: 0;
  width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; font-size: .9rem;
  display: grid; place-items: center;
}

/* ---- Application article cards (admin view) ---- */
.app-list { display: flex; flex-direction: column; gap: .85rem; }
.app-article {
  border: 1.5px solid rgba(183,121,0,.14);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}
.app-article-head {
  display: flex; align-items: center; gap: .75rem;
  padding: .9rem 1.1rem; cursor: pointer;
  justify-content: space-between; flex-wrap: wrap;
  background: rgba(244,180,0,.04);
}
.app-article-body { padding: 1.1rem; border-top: 1px solid rgba(183,121,0,.1); }
.app-article-body.hidden { display: none; }

/* ============================================================
   AUTHORISED CENTRE TRUST SECTION
   style.css ke BILKUL END mein paste karo
   ============================================================ */

.authorised-trust-section {
  padding: 2rem 0 1.5rem;
}

/* Cards grid */
.trust-cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin: 1.5rem 0 1.75rem;
}

.trust-cert-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--panel-bg);
  border: 1.5px solid rgba(244,180,0,.25);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  box-shadow: 0 4px 24px rgba(244,180,0,.08);
  transition: transform .15s, box-shadow .15s;
}
.trust-cert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(244,180,0,.15);
}

.trust-cert-icon {
  font-size: 2rem;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(244,180,0,.18), rgba(244,180,0,.06));
  border: 1.5px solid rgba(244,180,0,.22);
  display: grid; place-items: center;
  flex-shrink: 0;
}

.trust-cert-body { flex: 1; }

.trust-cert-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f4b400, #e09500);
  color: #1e1800;
  font-size: .68rem;
  font-weight: 800;
  padding: .22rem .65rem;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .45rem;
}

.trust-cert-body h3 {
  font-size: .97rem;
  font-weight: 800;
  margin: 0 0 .35rem;
  color: var(--text);
}

.trust-cert-body p {
  font-size: .82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Bottom strip */
.trust-strip {
  background: linear-gradient(135deg, #1e1800, #2f2103);
  border-radius: var(--radius);
  padding: 1.1rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
}

.trust-strip-icon {
  font-size: 1rem;
}

.trust-strip-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .trust-cert-grid {
    grid-template-columns: 1fr;
  }
  .trust-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
    padding: 1.1rem 1.25rem;
  }
  .trust-strip-divider { display: none; }
}

@media (max-width: 480px) {
  .trust-cert-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   LOGIN MODAL — Mobile Optimized
   style.css ke END mein paste karo (purani auth-overlay ke baad)
   ============================================================ */

/* Overlay backdrop */
.auth-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10,8,0,.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;        /* mobile: slides up from bottom */
  justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
  padding: 0;
}
.auth-overlay.open {
  opacity: 1; visibility: visible;
}

/* Panel */
.auth-overlay-panel {
  background: var(--panel-bg);
  border: 1.5px solid var(--panel-border);
  border-radius: 28px 28px 0 0;   /* rounded top, flat bottom on mobile */
  width: 100%;
  max-width: 480px;
  padding: 2rem 1.5rem 2.5rem;
  position: relative;
  box-shadow: 0 -12px 60px rgba(0,0,0,.25);
  transform: translateY(30px);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  max-height: 92vh;
  overflow-y: auto;
}
.auth-overlay.open .auth-overlay-panel {
  transform: translateY(0);
}

/* On desktop — centered card */
@media (min-width: 600px) {
  .auth-overlay { align-items: center; padding: 1rem; }
  .auth-overlay-panel {
    border-radius: 28px;
    width: min(420px, calc(100vw - 2rem));
    box-shadow: 0 32px 80px rgba(0,0,0,.3);
    transform: scale(.96);
  }
  .auth-overlay.open .auth-overlay-panel { transform: scale(1); }
}

/* Drag handle (mobile visual cue) */
.auth-overlay-panel::before {
  content: '';
  display: block;
  width: 40px; height: 4px;
  border-radius: 2px;
  background: rgba(183,121,0,.25);
  margin: 0 auto 1.5rem;
}
@media (min-width: 600px) {
  .auth-overlay-panel::before { display: none; }
}

/* Close button */
.auth-overlay-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.08);
  cursor: pointer; font-size: .9rem;
  display: grid; place-items: center;
  color: var(--text); transition: background .15s;
}
.auth-overlay-close:hover { background: rgba(0,0,0,.15); }

/* Header */
.auth-overlay-head { text-align: center; margin-bottom: 1.1rem; }
.auth-overlay-icon {
  font-size: 2.2rem;
  width: 60px; height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(244,180,0,.2), rgba(244,180,0,.06));
  border: 1.5px solid rgba(244,180,0,.25);
  display: grid; place-items: center;
  margin: 0 auto .85rem;
}
.auth-overlay-head h2 {
  font-size: 1.4rem; font-weight: 800;
  margin: 0 0 .25rem; color: var(--text);
}
.auth-overlay-head p {
  font-size: .88rem; color: var(--text-muted); margin: 0;
}

/* Benefits strip */
.auth-overlay-benefits {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.auth-overlay-benefits span {
  font-size: .78rem; font-weight: 600;
  color: var(--accent-strong);
  background: rgba(244,180,0,.1);
  border: 1px solid rgba(244,180,0,.2);
  border-radius: 999px;
  padding: .28rem .75rem;
}

/* Footer links */
.auth-overlay-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  margin-top: 1rem;
  font-size: .84rem;
}
.auth-overlay-footer a {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color .15s;
}
.auth-overlay-footer a:hover { text-decoration-color: var(--accent-strong); }
.auth-overlay-footer span { color: var(--text-muted); }

/* Dark mode adjustments for modal */
[data-theme="dark"] .auth-overlay-close {
  background: rgba(244,180,0,.1);
  color: #f5e9c0;
}
[data-theme="dark"] .auth-overlay-benefits span {
  background: rgba(244,180,0,.08);
  border-color: rgba(244,180,0,.18);
  color: #f4c842;
}


/* ============================================================
   LOGIN PAGE — Fixed Layout
   ============================================================ */

:root {
  --bg: #f4f1e8;
  --text: #1e1800;
  --text-muted: #6b6048;
  --accent: #f4b400;
  --accent-dark: #1e1800;
  --accent-strong: #b37900;
  --panel-bg: rgba(255,255,255,.92);
  --panel-border: rgba(183,121,0,.18);
  --shadow: 0 8px 40px rgba(30,24,0,.10);
  --shadow-sm: 0 2px 12px rgba(30,24,0,.07);
  --radius: 18px;
  --radius-sm: 12px;
}

.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 1.5rem;
}

.login-box {
  background: #fff;
  border: 1.5px solid rgba(183,121,0,.18);
  border-radius: 24px;
  box-shadow: 0 12px 50px rgba(30,24,0,.13);
  padding: 2.25rem 2rem;
  width: 100%;
  max-width: 400px;
}

.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.75rem;
  text-align: center;
}

.login-brand img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(244,180,0,.3);
  box-shadow: 0 4px 18px rgba(244,180,0,.25);
}

.login-brand .brand-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8d66d, #f4b400);
  color: #1e1800;
  font-weight: 900;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(244,180,0,.35);
}

.login-brand strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e1800;
  margin-top: .25rem;
}

/* ===== SERVICE ICON FIX ===== */

.table .thumb.sm{
    width:72px !important;
    height:72px !important;
    min-width:72px;
    min-height:72px;

    object-fit:contain !important;

    padding:6px;
    border-radius:16px;

    background:#fff;

    display:block;

    overflow:hidden;

    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}


/* ============================================================
   ARCHIVE BANNERS SECTION — style.css ke END mein paste karo
   ============================================================ */

.archive-banner-section { padding: 1rem 0 1.5rem; }

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .85rem;
}

.archive-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid rgba(183,121,0,.18);
  background: #fff;
  display: block;
  transition: transform .15s, box-shadow .15s;
  aspect-ratio: 16/9;
  text-decoration: none;
}
.archive-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(147,101,10,.15);
}
.archive-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.archive-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-size: 2rem;
  background: rgba(244,180,0,.07);
}
.archive-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(30,24,0,.75), transparent);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: .4rem .6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}


.service-head-row{
display:flex;
align-items:center;
justify-content:space-between;
gap:1rem;
flex-wrap:wrap;
}

.view-images-btn{
display:inline-flex;
align-items:center;
gap:.5rem;
padding:.72rem 1.2rem;
border-radius:999px;
background:linear-gradient(135deg,#ffb300,#ff8f00);
color:#fff;
font-weight:800;
text-decoration:none;
box-shadow:0 10px 25px rgba(255,152,0,.25);
transition:.25s ease;
}

.view-images-btn:hover{
transform:translateY(-2px);
box-shadow:0 14px 30px rgba(255,152,0,.35);
}

@media(max-width:768px){
.view-images-btn{
width:100%;
justify-content:center;
}
}


/* ===== View Images Button ===== */

.service-head-row{
display:flex;
align-items:center;
justify-content:space-between;
gap:1rem;
flex-wrap:wrap;
}

.view-images-btn{
display:inline-flex;
align-items:center;
justify-content:center;
gap:.5rem;
padding:.72rem 1.2rem;
border-radius:999px;
background:linear-gradient(135deg,#ffb300,#ff8f00);
color:#fff !important;
font-weight:800;
font-size:.88rem;
text-decoration:none;
box-shadow:0 10px 25px rgba(255,152,0,.25);
transition:.25s ease;
white-space:nowrap;
}

.view-images-btn:hover{
transform:translateY(-2px);
box-shadow:0 14px 30px rgba(255,152,0,.35);
}

@media(max-width:768px){
.service-head-row{
align-items:flex-start;
}

.view-images-btn{
width:auto;
}
}

/* ===== Banner Popup ===== */

.banner-popup{
position:fixed;
inset:0;
background:rgba(0,0,0,.65);
backdrop-filter:blur(6px);
display:flex;
align-items:center;
justify-content:center;
z-index:9999;
opacity:0;
visibility:hidden;
transition:.25s;
padding:1rem;
}

.banner-popup.active{
opacity:1;
visibility:visible;
}

.banner-popup-box{
width:min(1200px,100%);
max-height:90vh;
overflow:auto;
background:#fffdf5;
border-radius:24px;
padding:1.5rem;
box-shadow:0 25px 80px rgba(0,0,0,.35);
}

.banner-popup-head{
display:flex;
align-items:center;
justify-content:space-between;
margin-bottom:1rem;
}

.banner-popup-head h3{
margin:0;
font-size:1.4rem;
font-weight:800;
}

.banner-popup-head button{
width:42px;
height:42px;
border:none;
border-radius:50%;
background:#111;
color:#fff;
font-size:1rem;
cursor:pointer;
}

.banner-popup-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
gap:1rem;
}

.banner-popup-card{
display:block;
border-radius:18px;
overflow:hidden;
background:#fff;
box-shadow:0 8px 25px rgba(0,0,0,.12);
transition:.2s;
}

.banner-popup-card:hover{
transform:translateY(-3px);
}

.banner-popup-card img{
width:100%;
display:block;
}


/* ── Entertainment Mini Box ── */


.ent-mini-box {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(255,215,0,.25);
  border-radius: 14px;
  padding: .65rem .95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 230px;
  gap: .55rem;
  transition: transform .2s, box-shadow .2s;
  overflow: hidden;
}
.ent-mini-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255,215,0,.2);
}
.ent-box-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,215,0,.08) 0%, transparent 70%);
  pointer-events: none;
}
.ent-box-inner {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex: 1;
  z-index: 1;
}
.ent-icon {
  font-size: 1.6rem;
  line-height: 1;
}
.ent-text strong {
  display: block;
  color: #ffd700;
  font-size: .82rem;
  font-weight: 700;
}
.ent-text small {
  color: rgba(255,255,255,.55);
  font-size: .68rem;
}
.ent-arrow {
  color: #ffd700;
  font-size: 1rem;
  font-weight: 700;
}
.ent-badge {
  position: absolute;
  top: -1px;
  right: 10px;
  background: #f76b1c;
  color: #fff;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: .18rem .45rem;
  border-radius: 0 0 6px 6px;
  text-transform: uppercase;
}

/* ── Entertainment Popup ── */
.ent-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.ent-popup.active {
  display: flex;
}
.ent-popup-box {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  width: min(92vw, 520px);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  animation: popSlide .25s ease;
}
@keyframes popSlide {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.ent-popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.1rem;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #ffd700;
  font-weight: 700;
  font-size: .95rem;
}
.ent-popup-head button {
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ent-popup-body {
  flex: 1;
  overflow: hidden;
}
.ent-popup-body iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}