/* =============================================
   GiftByTicket — MASTER CSS (Pixel-Perfect v3)
   Exact match to reference design
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── CSS Variables ─────────────────────────── */
:root {
  --purple:        #6D28D9;
  --purple-dark:   #4C1D95;
  --purple-light:  #7C3AED;
  --purple-pale:   #EDE9FE;
  --gold:          #FBBF24;
  --gold-dark:     #D97706;
  --orange:        #f97316;
  --green:         #10b981;
  --red:           #ef4444;
  --cyan:          #06b6d4;
  --text-dark:     #111827;
  --text-mid:      #374151;
  --text-gray:     #6B7280;
  --text-light:    #9CA3AF;
  --border:        #E5E7EB;
  --bg-page:       #F8F9FA;
  --bg-card:       #ffffff;
  --bg-img:        #F0EEFF;
  --font:          'Poppins', sans-serif;
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:     0 10px 40px rgba(0,0,0,0.10);
  --shadow-purple: 0 6px 24px rgba(109,40,217,0.28);
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --radius-xl:     20px;
  --radius-full:   9999px;
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --spring:        cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ─── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg-page); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ─── Layout ─────────────────────────────────── */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-wrap { padding: 44px 0; }

/* ─── Navbar offset for inner pages ────────────
   The navbar is position:fixed; height:84px on desktop.
   Mobile uses position:sticky, so it only needs normal top spacing.
   ─────────────────────────────────────────────── */
.page-banner,
.page-top-offset {
  padding-top: 108px !important; /* 84px navbar + 24px space */
}

@media (max-width: 767px) {
  .page-banner,
  .page-top-offset {
    padding-top: 24px !important; /* Mobile navbar is sticky, no extra offset needed */
  }
}


/* ─── Section Header ─────────────────────────── */
.section-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-hdr-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-fire { font-size: 1.3rem; }
.section-ttl {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
}
.view-all-link {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple);
  transition: gap 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.view-all-link:hover { color: var(--purple-dark); gap: 8px; }

/* ─── Scroll Reveal ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }


/* ════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(109,40,217,0.08);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,0.10); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 32px;
  max-width: 100%;
  margin: 0;
  position: relative;
}

/* Logo */
.navbar-logo { display: flex; align-items: center; gap: 0; flex-shrink: 0; padding: 0; text-decoration: none; }

.logo-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(109,40,217,0.22);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon-img { width: 100%; height: 100%; object-fit: contain; }

.logo-text-block { display: flex; flex-direction: column; gap: 2px; }
.logo-brand-name {
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
}
.logo-gift   { color: #4C1D95; }
.logo-by     { color: #D97706; }
.logo-ticket { color: #4C1D95; }

.logo-tagline-line {
  font-family: var(--font);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #9CA3AF;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Nav links */
.navbar-nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  padding: 6px 13px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: linear-gradient(90deg, #4C1D95, #7C3AED);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}
.nav-link:hover { color: var(--purple); background: rgba(109,40,217,0.05); }
.nav-link:hover::after, .nav-link.active::after { width: 65%; }
.nav-link.active { color: var(--purple); font-weight: 600; }

/* Navbar actions */
.navbar-actions { display: flex; align-items: center; gap: 10px; position: relative; }

/* City dropdown */
.city-dropdown {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border: 1.5px solid rgba(109,40,217,0.22);
  border-radius: var(--radius-full);
  background: rgba(109,40,217,0.04);
  color: var(--purple);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.city-dropdown:hover { background: rgba(109,40,217,0.1); border-color: var(--purple); }
.city-menu-dropdown {
  position: absolute;
  top: 52px; right: 110px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 8px;
  z-index: 1001;
  min-width: 160px;
}
.city-option {
  display: block;
  padding: 8px 14px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 8px;
  transition: all 0.15s;
}
.city-option:hover { background: rgba(109,40,217,0.08); color: var(--purple); }

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 8px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px; height: 2.5px;
  background: var(--text-mid);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 20px 14px;
  background: white;
  border-top: 1px solid rgba(0,0,0,0.06);
}


/* ════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════ */
.btn, .hb-btn-primary, .hb-btn-outline, .gc-register-btn, .pp-btn, .sb-p-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: all 0.28s var(--spring);
  white-space: nowrap;
  text-decoration: none;
}

/* Primary (purple filled) */
.btn-primary, .hb-btn-primary {
  background: linear-gradient(135deg, #4C1D95 0%, #6D28D9 50%, #7C3AED 100%);
  color: white;
  font-size: 0.88rem;
  padding: 11px 24px;
  box-shadow: 0 4px 16px rgba(109,40,217,0.35);
}
.btn-primary:hover, .hb-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(109,40,217,0.45);
}
.btn-primary:active, .hb-btn-primary:active { transform: translateY(0); }

/* Outline */
.btn-outline, .hb-btn-outline {
  background: transparent;
  color: var(--purple);
  border: 1.5px solid var(--purple-light);
  font-size: 0.88rem;
  padding: 10px 22px;
}
.btn-outline:hover, .hb-btn-outline:hover {
  background: rgba(109,40,217,0.06);
  transform: translateY(-1px);
}

/* Sizes */
.btn-sm { font-size: 0.78rem !important; padding: 7px 16px !important; }
.btn-lg { font-size: 0.96rem !important; padding: 13px 30px !important; }


/* ════════════════════════════════════════════
   HERO BANNER — EXACT REFERENCE
   Light lavender bg, 3-col, ~380px height
   ════════════════════════════════════════════ */
.hero-banner {
  /* Exact bg from reference — very soft lavender */
  background: linear-gradient(130deg, #EBE5FF 0%, #EDE9FE 30%, #F0EEFF 65%, #F5F0FF 100%);
  padding-top: 90px; /* navbar height */
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
}

/* Subtle glow orbs */
.hero-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: 20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(109,40,217,0.09) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 5%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(251,191,36,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Particle container */
.hb-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Inner grid: exactly 3 columns */
.hb-inner {
  display: grid;
  grid-template-columns: 420px 1fr 256px;
  gap: 32px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 28px 52px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ── LEFT column ── */
.hb-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hb-headline {
  font-family: var(--font);
  font-size: clamp(2.4rem, 3.4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hb-win {
  display: block;
  color: #3B1B8A;
}

.hb-save {
  display: block;
  background: linear-gradient(135deg, #D97706, #F59E0B, #FBBF24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hb-subhead {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 28px;
}

.hb-desc {
  font-size: 0.86rem;
  color: var(--text-gray);
  line-height: 1.65;
  margin-bottom: 28px;
}

.hb-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  margin-top: 4px;
}
.hb-cta-row .hb-btn-primary,
.hb-cta-row .hb-btn-outline {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── CENTER column — Ticket illustration ── */
.hb-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hb-ticket-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  margin: 0 auto;
  /* No drop-shadow, no background — image has solid bg baked in */
  border-radius: 20px;
  animation: hbFloat 3.5s ease-in-out infinite;
}

/* ── RIGHT column — Feature Cards ── */
.hb-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hb-feature-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 14px;
  padding: 13px 16px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s var(--spring), box-shadow 0.3s var(--ease);
}
.hb-feature-card:hover {
  transform: translateX(-4px) scale(1.02);
  box-shadow: 0 6px 24px rgba(109,40,217,0.15);
}

/* Icon container (colored rounded square) */
.hb-fc-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hb-fc-purple { background: rgba(109,40,217,0.10); }
.hb-fc-orange { background: rgba(249,115,22,0.10); }
.hb-fc-green  { background: rgba(16,185,129,0.10);  }

.hb-fc-title {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 2px;
}
.hb-fc-sub {
  font-size: 0.74rem;
  color: var(--text-gray);
  font-weight: 500;
}


/* ════════════════════════════════════════════
   STATS BAR — Purple gradient strip
   ════════════════════════════════════════════ */
.statsbar {
  background: linear-gradient(135deg, #4C1D95 0%, #6D28D9 55%, #7C3AED 100%);
  position: relative;
  overflow: hidden;
}
.statsbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

.statsbar-inner {
  display: flex;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 20px;
  position: relative;
  gap: 0;
}

.sb-stat {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-right: 1px solid rgba(255,255,255,0.14);
  white-space: nowrap;
}
.sb-stat:first-child { padding-left: 0; }

.sb-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.sb-num {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 2px;
  white-space: nowrap;
}

.sb-lbl {
  font-family: var(--font);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
  white-space: nowrap;
}

/* Priority CTA in stats bar */
.sb-priority {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 12px 18px;
  margin-left: 18px;
  flex-shrink: 0;
}

.sb-crown { animation: hbFloat 2.5s ease-in-out infinite; }

.sb-p-title {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  color: #FBBF24;
  margin-bottom: 2px;
}
.sb-p-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.75);
}

.sb-p-btn {
  background: white;
  color: var(--purple);
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  flex-shrink: 0;
  transition: all 0.25s var(--spring);
}
.sb-p-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.16); }


/* ════════════════════════════════════════════
   WHY GIFTBYTICKET — 3-card value proposition
   ════════════════════════════════════════════ */
.why-card {
  background: #fff;
  border: 1px solid rgba(109,40,217,0.08);
  border-radius: 20px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s var(--spring), box-shadow 0.3s var(--ease), border-color 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7C3AED, #FBBF24);
  opacity: 0;
  transition: opacity 0.3s;
}
.why-card:hover::before { opacity: 1; }
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(109,40,217,0.14);
  border-color: rgba(109,40,217,0.18);
}

/* Featured center card — purple gradient */
.why-card-featured {
  background: linear-gradient(145deg, #4C1D95 0%, #7C3AED 60%, #6D28D9 100%);
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(109,40,217,0.35);
  transform: translateY(-4px) scale(1.02);
}
.why-card-featured::before { display: none; }
.why-card-featured:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(109,40,217,0.45);
  border-color: transparent;
}

/* Icon container */
.why-card-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Badge pill */
.why-card-badge {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  width: fit-content;
}

/* Title */
.why-card-title {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
}

/* Description */
.why-card-desc {
  font-family: var(--font);
  font-size: 0.84rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Feature list */
.why-card-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}
.why-card-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 0.8rem;
  color: var(--text-mid);
  font-weight: 500;
}
.why-card-list li i { flex-shrink: 0; font-size: 0.75rem; }

/* Responsive 3-col → 1-col */
@media (max-width: 860px) {
  #why-cards-grid { grid-template-columns: 1fr !important; }
  .why-card-featured { transform: none; }
  .why-card-featured:hover { transform: translateY(-6px) scale(1); }
}
/* ════════════════════════════════════════════
   GIVEAWAY CARDS — 4-column grid
   ════════════════════════════════════════════ */
.gc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* The card itself */
.gc-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--spring), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.gc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(109,40,217,0.13);
  border-color: rgba(109,40,217,0.12);
}

/* Image area — white bg */
.gc-img-area {
  position: relative;
  height: 160px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.gc-img {
  max-height: 130px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
  display: block;
}
.gc-card:hover .gc-img { transform: scale(1.06); }

/* Badge pill — coloured, positioned top-left of image */
.gc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  line-height: 1;
}

/* Card body */
.gc-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gc-title {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.gc-worth {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple);
}

/* Benefits list — green circle SVG check */
.gc-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 2px 0;
}

.gc-benefit-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 0.74rem;
  color: var(--text-gray);
  font-weight: 500;
  line-height: 1.3;
}

/* Green circle checkmark — FA6 based */
.gc-check-circle {
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
  font-size: 0.88rem;
}

/* Card footer row */
.gc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* "Free Entry" text — matches reference styling */
.gc-free-tag {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple);
}

/* "Register Now" button */
.gc-register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4C1D95, #7C3AED);
  color: white;
  font-family: var(--font);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 12px rgba(109,40,217,0.30);
  transition: all 0.25s var(--spring);
  white-space: nowrap;
}
.gc-register-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(109,40,217,0.40);
}


/* ════════════════════════════════════════════
   HOW IT WORKS + PRIORITY PASS ROW
   ════════════════════════════════════════════ */
.hiw-pp-row {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: center;
}

.hiw-steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hiw-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
}

.hiw-badge {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #4C1D95, #7C3AED);
  color: white;
  border-radius: 50%;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiw-step-icon {
  width: 60px; height: 60px;
  background: rgba(109,40,217,0.07);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* FA6 icon size handled inline */
}

.hiw-step-title {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.hiw-step-desc {
  font-size: 0.7rem;
  color: var(--text-gray);
  line-height: 1.4;
}

.hiw-arrow {
  color: #D1D5DB;
  font-size: 1.3rem;
  padding-top: 34px;
  flex-shrink: 0;
}

/* Priority Pass Card */
.pp-card {
  background: linear-gradient(135deg, #4C1D95 0%, #6D28D9 55%, #7C3AED 100%);
  border-radius: 20px;
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pp-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 150px; height: 150px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}

.pp-crown {
  position: absolute;
  bottom: 14px; right: 18px;
  font-size: 4rem;
  filter: drop-shadow(0 8px 14px rgba(251,191,36,0.45));
  animation: hbFloat 3s ease-in-out infinite;
  line-height: 1;
}

.pp-body { position: relative; z-index: 1; }

.pp-title {
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.pp-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  margin-bottom: 16px;
}

.pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #D97706, #FBBF24);
  color: #1C1C1C;
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 800;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(251,191,36,0.40);
  transition: all 0.25s var(--spring);
}
.pp-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(251,191,36,0.50); }


/* ════════════════════════════════════════════
   BRANDS MARQUEE
   ════════════════════════════════════════════ */
.brands-marquee-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.brands-marquee-wrap::before,
.brands-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.brands-marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--bg-page), transparent); }
.brands-marquee-wrap::after  { right: 0; background: linear-gradient(to left, var(--bg-page), transparent); }

.brands-marquee-track {
  display: flex;
  width: max-content;
  animation: brandScroll 28s linear infinite;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-right: 1px solid rgba(0,0,0,0.06);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  color: #4B5563;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}
.brand-chip img { flex-shrink: 0; transition: transform 0.2s; }
.brand-chip:hover { color: var(--purple); transform: scale(1.03); }
.brand-chip:hover img { transform: scale(1.08); }


/* ════════════════════════════════════════════
   FINAL CTA BOX
   ════════════════════════════════════════════ */
.final-cta-box {
  background: linear-gradient(135deg, #EDE9FE 0%, #F5F3FF 100%);
  border-radius: 28px;
  padding: 52px 40px;
  text-align: center;
  border: 1px solid rgba(109,40,217,0.09);
  position: relative;
  overflow: hidden;
}
.final-cta-box::before {
  content: '';
  position: absolute;
  top: -60%; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(109,40,217,0.06), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.final-cta-title {
  font-family: var(--font);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 10px;
  position: relative;
}
.final-cta-title span {
  background: linear-gradient(135deg, #4C1D95, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.final-cta-desc {
  font-size: 0.93rem;
  color: var(--text-gray);
  margin-bottom: 26px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}


/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
footer, .site-footer {
  background: #0F0A1E;
  color: rgba(255,255,255,0.75);
  padding: 48px 0 24px;
}


/* ════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════ */
@keyframes hbFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes hbParticle {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.2; }
  100% { transform: translate(var(--dx, 60px), -180px) rotate(360deg); opacity: 0; }
}

@keyframes brandScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.25); }
}


/* ════════════════════════════════════════════
   FORM COMPONENTS
   ════════════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; }
.form-label {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(0,0,0,0.10);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  background: white;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(109,40,217,0.11);
}


/* ════════════════════════════════════════════
   FLASH MESSAGES
   ════════════════════════════════════════════ */
.flash-message {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.flash-success { background: #dcfce7; border-left: 4px solid #22c55e; color: #166534; }
.flash-error   { background: #fee2e2; border-left: 4px solid #ef4444; color: #991b1b; }
.flash-info    { background: #ede9fe; border-left: 4px solid #7C3AED; color: #4C1D95; }


/* ════════════════════════════════════════════
   GLASS CARD
   ════════════════════════════════════════════ */
.glass-card {
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(109,40,217,0.08);
  box-shadow: var(--shadow-sm);
}

/* ════════════════════════════════════════════
   STATUS PILLS
   ════════════════════════════════════════════ */
.status-pill { padding: 3px 10px; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 600; font-family: var(--font); }
.status-active    { background: #dcfce7; color: #166534; }
.status-upcoming  { background: #ede9fe; color: #4C1D95; }
.status-closed    { background: #fee2e2; color: #991b1b; }
.status-announced { background: #fef9c3; color: #854d0e; }

/* ════════════════════════════════════════════
   DATA TABLE
   ════════════════════════════════════════════ */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 11px 15px; font-family: var(--font); font-size: 0.72rem; font-weight: 700; color: var(--text-gray); text-align: left; text-transform: uppercase; letter-spacing: 0.04em; background: #F8FAFC; border-bottom: 1px solid rgba(0,0,0,0.06); }
.data-table td { padding: 13px 15px; border-bottom: 1px solid rgba(0,0,0,0.04); vertical-align: middle; font-size: 0.84rem; }
.data-table tr:hover td { background: rgba(109,40,217,0.02); }
.data-table tr:last-child td { border-bottom: none; }

/* ════════════════════════════════════════════
   CARD BADGE COLORS (shared)
   ════════════════════════════════════════════ */
.card-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 3px 10px; border-radius: var(--radius-full); font-family: var(--font); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: white; }
.badge-hot      { background: #ef4444; }
.badge-trending { background: #f59e0b; }
.badge-popular  { background: #8b5cf6; }
.badge-new      { background: #06b6d4; }

/* ════════════════════════════════════════════
   PRIORITY CARD VARIANTS
   ════════════════════════════════════════════ */
.priority-card {
  background: linear-gradient(135deg, #4C1D95, #6D28D9, #7C3AED);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  color: white;
}
.priority-title { font-family: var(--font); font-weight: 800; color: white; }
.priority-title span { color: var(--gold); }
.priority-desc { color: rgba(255,255,255,0.80); }
.priority-price-badge {
  display: inline-block;
  background: rgba(251,191,36,0.18);
  border: 1px solid rgba(251,191,36,0.38);
  color: var(--gold);
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}
.priority-perks { display: flex; flex-wrap: wrap; gap: 8px; }
.perk-pill {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* ════════════════════════════════════════════
   HOW IT WORKS section (standalone page)
   ════════════════════════════════════════════ */
.hiw-section { background: linear-gradient(135deg, #F5F3FF, #EDE9FE); padding: 60px 0; }
.hiw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hiw-step-card {
  text-align: center;
  padding: 24px 18px;
  background: white;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid rgba(109,40,217,0.07);
}

/* ════════════════════════════════════════════
   SPINNER
   ════════════════════════════════════════════ */
.spinner {
  width: 22px; height: 22px;
  border: 3px solid rgba(255,255,255,0.28);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

/* ============================================
   MOBILE RESPONSIVE - Comprehensive Mobile-First
   ============================================ */

/* -- 1280px (large desktop) -- */
@media (max-width: 1280px) {
  .hb-inner { padding: 44px 32px 52px; }
}

/* -- 1100px tablet/small desktop -- */
@media (max-width: 1100px) {
  .hb-inner { grid-template-columns: 360px 1fr 220px; gap: 24px; padding: 40px 28px 48px; }
  .hb-headline { font-size: 2.6rem; }
  .gc-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .hiw-pp-row { grid-template-columns: 1fr; }
  .hiw-steps { gap: 6px; }
}

/* -- 900px tablet -- */
@media (max-width: 900px) {
  .hb-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; padding: 32px 24px 40px; }
  .hb-left { align-items: center; }
  .hb-center { order: -1; }
  .hb-ticket-img { max-width: 320px; }
  .hb-right { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .hb-feature-card { flex: 1; min-width: 140px; flex-direction: column; text-align: center; padding: 12px; }
  .hb-cta-row { justify-content: center; }
  /* NOTE: hiw-steps scroll handled by mobile-app.css at 767px */
  .hiw-steps { flex-wrap: wrap; justify-content: center; }
  .hiw-arrow { display: none; }
  /* NOTE: statsbar layout at 767px handled by mobile-app.css */
  .statsbar-inner { flex-direction: row; align-items: flex-start; gap: 0; overflow-x: auto; }
  .sb-stat { border-right: 1px solid rgba(255,255,255,0.14); padding: 18px 16px; width: auto; }
  .sb-priority { margin-left: auto; }
  .gc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* -- 768px Mobile -- */
@media (max-width: 768px) {

  /* Navbar */
  .navbar-nav { display: none !important; }
  .navbar-actions .btn-outline,
  .navbar-actions .btn-primary { display: none !important; }
  .mobile-menu-btn { display: flex !important; }
  .city-dropdown { display: none !important; }
  .navbar-inner { height: 64px; padding: 0 18px; }

  /* Hero: layout fully handled by mobile-app.css */
  .hero-banner { min-height: unset; }
  .hb-center { order: 1; display: flex; justify-content: center; }
  .hb-right { display: none; }
  /* Hero headline — sizing handled by mobile-app.css */
  .hb-subhead {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 22px;
  }

  /* Both hero buttons in same row */
  .hb-cta-row {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px;
    width: 100%;
  }
  .hb-btn-primary,
  .hb-btn-outline {
    flex: 1 1 0 !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 0.78rem !important;
    padding: 11px 10px !important;
    white-space: nowrap !important;
  }

  /* Stats bar: layout handled by mobile-app.css (horizontal scroll) */
  .sb-p-title { font-size: 0.78rem; }
  .sb-p-sub   { font-size: 0.64rem; }
  .sb-p-btn   { font-size: 0.7rem; padding: 6px 12px; flex-shrink: 0; }

  /* Campaign / Giveaway Cards: 1 column */
  .gc-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .gc-card { border-radius: 14px; }
  .gc-img-area { height: 140px; }
  /* Extra bottom padding so gc-footer button never touches card border */
  .gc-body  { padding: 12px 14px 18px 14px !important; gap: 4px; }
  .gc-title { font-size: 0.88rem; }
  .gc-worth { font-size: 0.72rem; }
  .gc-benefits-list { display: flex; }

  /* Fix gc-footer — both cards (index + giveaways) same style */
  .gc-footer {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    padding-top: 10px;
    margin-top: 4px;
  }
  .gc-free-tag {
    font-size: 0.7rem !important;
    padding: 5px 10px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
  /* Button: auto width, not full width */
  .gc-register-btn {
    font-size: 0.7rem !important;
    padding: 7px 14px !important;
    border-radius: 20px !important;
    flex: 0 0 auto !important;
    text-align: center !important;
    white-space: nowrap !important;
    margin-left: auto !important;
  }

  /* Hide dense green coupon badge inside gc-body on mobile */
  .gc-body > div[style*="10b981"] { display: none !important; }

  /* Coupons page: 1 column */
  #coupons-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Filter pills: horizontal scroll, no wrap (giveaways + coupons) */
  .giveaway-filters,
  .coupon-filters {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .giveaway-filters::-webkit-scrollbar,
  .coupon-filters::-webkit-scrollbar { display: none; }

  /* Section headers stack on mobile */
  .section-hdr {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 18px;
  }
  .section-ttl { font-size: 1rem; line-height: 1.3; }
  .view-all-link { font-size: 0.8rem; }

  /* Why cards 1 col */
  #why-cards-grid { grid-template-columns: 1fr !important; }
  .why-card-featured { transform: none !important; }

  /* Final CTA */
  .final-cta-box { padding: 28px 18px; }
  .final-cta-title { font-size: 1.4rem; }

  /* Misc */
  .hiw-grid { grid-template-columns: repeat(2, 1fr); }
  .section-wrap { padding: 32px 0; }
  .logo-brand-name { font-size: 1.1rem; }
  .logo-icon-wrap { width: 44px; height: 44px; }
  .logo-tagline-line { display: none; }
}

/* -- 480px small mobile -- */
@media (max-width: 480px) {
  /* Hero headline at 480px — handled by mobile-app.css */
  .hb-subhead  { font-size: 0.85rem; margin-bottom: 14px; }
  .hb-btn-primary,
  .hb-btn-outline {
    font-size: 0.72rem !important;
    padding: 10px 6px !important;
  }

  /* Stats tighter */
  .statsbar-inner { padding: 14px 10px !important; }
  .sb-stat { padding: 10px 10px !important; }
  .sb-icon { width: 30px !important; height: 30px !important; }
  .sb-num  { font-size: 0.95rem !important; }
  .sb-lbl  { font-size: 0.57rem !important; }

  /* Cards at 480 — keep bottom padding generous */
  .gc-grid { gap: 12px; }
  .gc-img-area { height: 120px; }
  .gc-body { padding: 12px 12px 16px 12px !important; }
  .gc-title { font-size: 0.82rem; }
  .gc-worth { font-size: 0.68rem; }
  .gc-benefits-list { display: none; }
  .gc-register-btn { font-size: 0.68rem !important; padding: 6px 10px !important; }

  /* Container */
  .container { padding: 0 14px; }
  .footer-grid { padding: 28px 14px 24px; }
  .section-ttl { font-size: 0.9rem; }
  .final-cta-title { font-size: 1.2rem; }
  .final-cta-desc  { font-size: 0.82rem; }
}

   FOOTER STYLES
   ════════════════════════════════════════════ */
.footer {
  background: #FFFFFF;
  color: #374151;
  padding: 0;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 40px;
}

.footer-brand {}

.footer-tagline {
  font-size: 0.82rem;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 18px;
  font-family: 'Poppins', sans-serif;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.22s;
  text-decoration: none;
  border: none;
}
.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.20);
}

.footer-col-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  color: #6B7280;
  transition: color 0.18s;
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}
.footer-link:hover { color: #6D28D9; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
