/* GS Ultimate Prizes — Production Design System & Stylesheet */
:root {
  /* Brand Color Palette from PRD */
  --primary-deep: #5E1F80;
  --purple-gradient: #722586;
  --magenta-accent: #C558A0;
  --gold-highlight: #F7D35E;
  --orange-warm: #E2A646;
  --lime-primary: #C1DE49;
  --green-secondary: #97C945;
  --white: #FFFFFF;

  /* Surfaces & Backgrounds */
  --bg-dark: #0A0410;
  --bg-surface: #150921;
  --card-surface: #1E0D30;
  --card-surface-hover: #291240;
  --border-subtle: rgba(197, 88, 160, 0.2);
  --border-glow: rgba(247, 211, 94, 0.4);

  /* Typography Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #D4C3E3;
  --text-muted: #9E88B3;

  /* Brand Gradient from PRD Section 4.3 */
  --brand-gradient: linear-gradient(135deg, #5E1F80 0%, #C558A0 30%, #F7D35E 55%, #C1DE49 100%);
  --glow-gradient: linear-gradient(135deg, rgba(94, 31, 128, 0.4) 0%, rgba(197, 88, 160, 0.4) 50%, rgba(193, 222, 73, 0.4) 100%);
  --gold-gradient: linear-gradient(135deg, #F7D35E 0%, #E2A646 100%);

  /* Spacing & Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(94, 31, 128, 0.15);
  --shadow-glow: 0 0 25px rgba(193, 222, 73, 0.35);
  --shadow-gold: 0 0 25px rgba(247, 211, 94, 0.3);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button, a, input, select, .wallet-pill, .filter-btn, .admin-pill-btn, .ticket-pill {
  touch-action: manipulation;
}

h1, h2, h3, h4, .brand-name, .logo-symbol, .time-num, .total-highlight {
  font-family: 'Outfit', sans-serif;
}

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

a:hover {
  color: var(--lime-primary);
}

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Lucide Icon Standard Styling */
svg[data-lucide], i[data-lucide] {
  stroke-width: 2px;
  stroke: currentColor;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-xs {
  width: 14px;
  height: 14px;
  stroke-width: 2.2px;
}

.icon-sm {
  width: 17px;
  height: 17px;
  stroke-width: 2px;
}

.icon-md {
  width: 22px;
  height: 22px;
  stroke-width: 2px;
}

.icon-lg {
  width: 28px;
  height: 28px;
  stroke-width: 2px;
}

.icon-xl {
  width: 36px;
  height: 36px;
  stroke-width: 2px;
}

.text-lime { color: var(--lime-primary); }
.text-gold { color: var(--gold-highlight); }
.text-green { color: var(--green-secondary); }

.spin {
  animation: spin 1s linear infinite;
}

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

/* Announcement Bar */
.top-announcement {
  background: linear-gradient(90deg, #2b0b3b 0%, #4a1566 50%, #6e1c67 100%);
  padding: 7px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(247, 211, 94, 0.22);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 101;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.badge-pulse {
  background: var(--lime-primary);
  color: #0A0410;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  animation: pulse-glow 2s infinite;
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.88; transform: scale(1.05); }
}

.announcement-text {
  color: #f1e9f7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  flex: 1;
}

.announcement-link {
  color: var(--gold-highlight);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(247, 211, 94, 0.12);
  border: 1px solid rgba(247, 211, 94, 0.35);
  text-decoration: none;
  transition: all 0.2s ease;
}

.announcement-link:hover {
  background: rgba(247, 211, 94, 0.25);
  color: #ffffff;
  transform: translateX(2px);
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 4, 16, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

/* Brand Logo */
.brand-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(247, 211, 94, 0.35), 0 0 24px rgba(197, 88, 160, 0.3);
  border: 1.5px solid rgba(247, 211, 94, 0.45);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  display: block;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06) rotate(1deg);
  box-shadow: 0 0 22px rgba(247, 211, 94, 0.55), 0 0 30px rgba(184, 255, 59, 0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: #ffffff;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  color: var(--gold-highlight);
  line-height: 1.1;
  margin-top: 2px;
  white-space: nowrap;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.nav-item {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  height: 40px;
  padding: 0 13px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  box-sizing: border-box;
}

.nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-item.active {
  color: #ffffff;
  background: rgba(247, 211, 94, 0.12);
  border-color: rgba(247, 211, 94, 0.35);
  font-weight: 700;
}

.nav-entry-badge {
  background: var(--lime-primary);
  color: #0A0410;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 1px 7px;
  border-radius: 9999px;
  margin-left: 2px;
  display: inline-block;
  line-height: 1.25;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(247, 211, 94, 0.18), rgba(184, 255, 59, 0.14));
  border: 1px solid rgba(247, 211, 94, 0.55);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 16px rgba(247, 211, 94, 0.2);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  box-sizing: border-box;
}

.wallet-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 211, 94, 0.45), 0 0 24px rgba(184, 255, 59, 0.35);
  border-color: var(--gold-highlight);
}

.free-pill-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.free-pill-tag {
  font-size: 0.68rem;
  font-weight: 900;
  color: #0A0410;
  background: var(--gold-highlight);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.admin-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.admin-pill-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-primary {
  background: var(--lime-primary);
  color: #0A0410;
  box-shadow: 0 4px 14px rgba(193, 222, 73, 0.3);
}

.btn-primary:hover {
  background: #d4f25b;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: rgba(197, 88, 160, 0.2);
  color: var(--white);
  border: 1px solid var(--magenta-accent);
}

.btn-secondary:hover {
  background: rgba(197, 88, 160, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--gold-highlight);
  color: var(--white);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding: 60px 0 80px;
  position: relative;
  background: radial-gradient(circle at 20% 30%, rgba(94, 31, 128, 0.5) 0%, transparent 60%),
              radial-gradient(circle at 80% 40%, rgba(197, 88, 160, 0.25) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247, 211, 94, 0.12);
  border: 1px solid rgba(247, 211, 94, 0.35);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-highlight);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-item .check {
  color: var(--lime-primary);
  font-weight: 800;
}

/* Featured Hero Card */
.hero-featured-card {
  background: var(--card-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s;
}

.hero-featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 211, 94, 0.5);
}

.featured-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--brand-gradient);
  color: #0A0410;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.featured-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 240px;
  overflow: hidden;
  background: #0A0410;
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s;
}

.hero-featured-card:hover .featured-img {
  transform: scale(1.04);
}

.odds-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(10, 4, 16, 0.88);
  border: 1px solid var(--magenta-accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
}

.featured-details {
  padding: 24px;
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.featured-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.25;
}

.featured-price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold-highlight);
  white-space: nowrap;
}

.featured-price small {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Progress Bar */
.progress-bar-wrap {
  margin-bottom: 20px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.percent-tag {
  color: var(--lime-primary);
  font-weight: 700;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--magenta-accent), var(--lime-primary));
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

/* Countdown Boxes */
.timer-wrap {
  background: rgba(10, 4, 16, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.timer-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.countdown-boxes {
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-box {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
  min-width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.time-num {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold-highlight);
  line-height: 1.1;
}

.time-txt {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Brand Showcase Banner Section */
.brand-banner-section {
  padding: 10px 0 50px;
  position: relative;
  z-index: 2;
}

.brand-banner-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #08020d;
  border: 1.5px solid rgba(247, 211, 94, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 35px rgba(133, 38, 122, 0.22), 0 0 50px rgba(184, 255, 59, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-banner-card:hover {
  transform: translateY(-3px);
  border-color: rgba(247, 211, 94, 0.55);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.8), 0 0 50px rgba(197, 88, 160, 0.35), 0 0 70px rgba(184, 255, 59, 0.16);
}

.brand-banner-ambient {
  position: absolute;
  top: -40%;
  left: 15%;
  width: 70%;
  height: 180%;
  background: radial-gradient(circle, rgba(133, 38, 122, 0.22) 0%, rgba(184, 255, 59, 0.08) 45%, transparent 70%);
  pointer-events: none;
  filter: blur(45px);
  z-index: 1;
}

.brand-banner-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
}

/* Sections Global */
.catalogue-section, .how-it-works-section, .winners-section, .account-section {
  padding: 80px 0;
}

.how-it-works-section, .winners-section, .account-section, .site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.section-header.center {
  text-align: center;
  justify-content: center;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.filter-btn {
  background: transparent;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--card-surface);
  color: var(--white);
}

.filter-btn.active {
  background: var(--brand-gradient);
  color: #0A0410;
  font-weight: 800;
}

/* Competition Grid */
.competition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.comp-card {
  background: var(--card-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.comp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(247, 211, 94, 0.4);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 0 0 25px rgba(94, 31, 128, 0.3);
}

.comp-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 220px;
  overflow: hidden;
  background: #0A0410;
}

.comp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.comp-card:hover .comp-img {
  transform: scale(1.04);
}

/* Subtle corner badge for quick draw status without obscuring GS top-left logo */
.comp-corner-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 4, 16, 0.88);
  border: 1px solid rgba(247, 211, 94, 0.35);
  color: var(--gold-highlight);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.comp-corner-tag.free-tag {
  background: rgba(10, 4, 16, 0.92);
  border-color: rgba(184, 255, 59, 0.5);
  color: var(--lime-primary);
}

.comp-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.comp-badge-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(94, 31, 128, 0.35);
  border: 1px solid rgba(197, 88, 160, 0.35);
  color: #ff9cf3;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.comp-badge-code {
  font-size: 0.72rem;
  font-family: monospace;
  color: var(--text-muted);
}

.comp-badge-odds {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--gold-highlight);
  margin-left: auto;
  background: rgba(247, 211, 94, 0.1);
  border: 1px solid rgba(247, 211, 94, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.comp-badge-free {
  color: var(--lime-primary);
  background: rgba(184, 255, 59, 0.12);
  border-color: rgba(184, 255, 59, 0.35);
}

.comp-content {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.comp-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
  color: var(--white);
}

.comp-value-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.comp-meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--magenta-accent);
}

.step-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--brand-gradient);
  color: #0A0410;
  font-size: 1.4rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Winners Grid */
.winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.winner-card {
  background: var(--card-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.winner-img {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--gold-highlight);
}

.winner-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
}

.winner-prize {
  font-size: 0.88rem;
  color: var(--gold-highlight);
  font-weight: 600;
}

.winner-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.winner-ticket-tag {
  display: inline-block;
  background: rgba(193, 222, 73, 0.15);
  color: var(--lime-primary);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-top: 4px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 2, 8, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-dialog {
  background: var(--card-surface);
  border: 1px solid rgba(247, 211, 94, 0.3);
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  animation: modal-slide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
}

.modal-dialog.modal-lg {
  max-width: 960px;
}

.modal-dialog.modal-center {
  text-align: center;
}

@keyframes modal-slide {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.modal-content {
  padding: 32px;
}

/* Detail Modal Layout */
.modal-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 36px;
}

.detail-gallery img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16 / 10;
  height: auto;
  max-height: 380px;
  margin-bottom: 16px;
  border: 1px solid var(--border-subtle);
  background: #0A0410;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.detail-specs-box {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.88rem;
}

.detail-specs-box ul {
  padding-left: 20px;
  color: var(--text-secondary);
}

.detail-right h2 {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.detail-price-main {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-highlight);
}

.detail-cash-alt {
  font-size: 0.88rem;
  color: var(--lime-primary);
  font-weight: 600;
}

/* Skill Question Box */
.skill-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 20px 0;
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--gold-highlight);
  font-weight: 700;
}

.skill-prompt {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.skill-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skill-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.skill-option:hover {
  background: var(--card-surface-hover);
  border-color: var(--magenta-accent);
}

.skill-option.selected {
  border-color: var(--gold-highlight);
  background: rgba(247, 211, 94, 0.1);
}

.skill-option.correct {
  border-color: var(--lime-primary);
  background: rgba(193, 222, 73, 0.15);
}

.skill-option.wrong {
  border-color: #ff5252;
  background: rgba(255, 82, 82, 0.15);
  animation: shake 0.3s;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.skill-feedback {
  font-size: 0.82rem;
  margin-top: 8px;
  font-weight: 700;
}

.skill-feedback.success { color: var(--lime-primary); }
.skill-feedback.error { color: #ff5252; }

/* Quantity Stepper */
.qty-section {
  margin-bottom: 20px;
}

.qty-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 8px;
}

.stepper-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stepper-ctrl {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 44px;
}

.step-btn {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: background 0.2s;
}

.step-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.step-input {
  width: 50px;
  height: 44px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--gold-highlight);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  padding: 0;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-pick-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0 14px;
  height: 44px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.quick-pick-btn:hover {
  border-color: var(--lime-primary);
  color: var(--white);
}

.postal-route-link {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: underline;
  margin-top: 14px;
  cursor: pointer;
}

/* Checkout Modal Specifics */
.checkout-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.secure-icon {
  font-size: 2rem;
}

.checkout-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.checkout-header p {
  font-size: 0.8rem;
  color: var(--lime-primary);
}

.checkout-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.co-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.co-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-highlight);
}

.verified-skill-pill {
  background: rgba(193, 222, 73, 0.12);
  border: 1px solid rgba(193, 222, 73, 0.3);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--lime-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

/* Promo Toggle Card */
.promo-toggle-card {
  background: rgba(197, 88, 160, 0.12);
  border: 1px dashed var(--magenta-accent);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.promo-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gift-icon {
  font-size: 1.5rem;
}

.promo-left strong {
  font-size: 0.95rem;
  color: var(--white);
}

.promo-left p {
  font-size: 0.8rem;
  color: var(--gold-highlight);
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #333;
  transition: .3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--lime-primary);
}

input:checked + .slider:before {
  transform: translateX(22px);
  background-color: #0A0410;
}

/* Pricing Summary */
.order-pricing-summary {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.text-discount {
  color: var(--lime-primary);
  font-weight: 700;
}

.total-row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  margin-top: 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}

.total-highlight {
  font-size: 1.45rem;
  color: var(--gold-highlight);
}

/* Payment Methods */
.payment-methods {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.payment-option {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s;
}

.payment-option input[type="radio"] {
  accent-color: var(--lime-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.payment-option span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.payment-option.selected {
  border-color: var(--gold-highlight);
  background: rgba(247, 211, 94, 0.08);
}

.legal-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--lime-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.idempotency-badge {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.idempotency-badge code {
  color: var(--lime-primary);
  background: rgba(0,0,0,0.4);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Celebration Modal */
.celebration-content {
  padding: 44px 32px;
}

.celebration-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--gold-gradient);
  color: #0A0410;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin: 0 auto 16px;
}

.celebration-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.celebration-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.ticket-ticket-box {
  background: var(--bg-surface);
  border: 2px dashed var(--gold-highlight);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
  max-height: 220px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ticket-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.tickets-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.ticket-tag {
  background: var(--brand-gradient);
  color: #0A0410;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(247, 211, 94, 0.4);
  animation: pop-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop-in {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.celebration-details {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 28px;
  text-align: center;
}

.c-detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.c-detail-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.c-detail-item strong {
  font-size: 0.88rem;
  color: var(--white);
}

.celebration-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Free Postal Modal */
.postal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.postal-icon {
  font-size: 2.2rem;
}

.postal-body h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 18px 0 8px;
  color: var(--gold-highlight);
}

.address-box {
  background: var(--bg-surface);
  border-left: 4px solid var(--gold-highlight);
  padding: 14px 18px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 12px 0;
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--white);
}

.postal-list {
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.postal-list li {
  margin-bottom: 6px;
}

/* Account Portal Layout */
.account-dashboard-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
}

.account-wallet-card, .account-entries-card {
  background: var(--card-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.balance-row {
  display: flex;
  justify-content: space-between;
  margin: 18px 0;
  background: var(--bg-surface);
  padding: 16px;
  border-radius: var(--radius-md);
}

.balance-title {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.balance-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
}

.bonus-highlight {
  color: var(--gold-highlight);
}

.balance-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.user-entries-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.user-entry-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

.entry-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.entry-item-header h4 {
  font-size: 1.1rem;
  font-weight: 800;
}

.badge-status-active {
  background: rgba(193, 222, 73, 0.2);
  color: var(--lime-primary);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.entry-ticket-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.entry-mini-ticket {
  background: var(--card-surface);
  border: 1px solid var(--border-subtle);
  color: var(--gold-highlight);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* ================= ADMIN CONSOLE STYLING ================= */
.admin-console {
  background: #08030C;
  min-height: 100vh;
  padding-bottom: 80px;
}

.admin-topbar {
  background: #12071B;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
}

.admin-topbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.role-badge {
  background: rgba(56, 189, 248, 0.2);
  color: #38BDF8;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.admin-body {
  padding-top: 36px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.stat-card {
  background: #150921;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.stat-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  display: block;
}

.text-green { color: var(--lime-primary); }

.stat-trend {
  font-size: 0.75rem;
  font-weight: 700;
}

.stat-trend.positive { color: var(--lime-primary); }

/* Executive Hamburger Navigation System */
.admin-nav-wrapper {
  position: relative;
  margin-bottom: 24px;
  z-index: 90;
}

.admin-hamburger-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(27, 15, 43, 0.95) 0%, rgba(19, 9, 31, 0.98) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 10px 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  gap: 16px;
  flex-wrap: wrap;
}

.hamburger-toggle-btn {
  background: rgba(243, 198, 68, 0.08);
  border: 1px solid rgba(243, 198, 68, 0.3);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.hamburger-toggle-btn:hover {
  background: var(--gold-gradient);
  color: #0A0410;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(243, 198, 68, 0.35);
  transform: translateY(-1px);
}

.hamburger-toggle-btn:hover .hamburger-box span {
  background: #0A0410;
}

.hamburger-box {
  width: 20px;
  height: 15px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.hamburger-box span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold-highlight);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-toggle-btn.open .hamburger-box span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger-toggle-btn.open .hamburger-box span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-toggle-btn.open .hamburger-box span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.hamburger-toggle-btn.open {
  background: var(--gold-gradient);
  color: #0A0410;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(243, 198, 68, 0.35);
}

.hamburger-toggle-btn.open .hamburger-box span {
  background: #0A0410;
}

.active-tab-display {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.active-tab-display:hover {
  border-color: rgba(243, 198, 68, 0.4);
  background: rgba(243, 198, 68, 0.06);
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
  animation: pulse 2s infinite;
}

.active-tab-prefix {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.active-tab-title {
  color: var(--gold-highlight);
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-chevron-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.admin-nav-wrapper.menu-active .menu-chevron-icon {
  transform: rotate(180deg);
  color: var(--gold-highlight);
}

/* Hamburger Dropdown / Drawer */
.admin-hamburger-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #1A0D2E 0%, #110620 100%);
  border: 1px solid rgba(243, 198, 68, 0.35);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(243, 198, 68, 0.12);
  backdrop-filter: blur(20px);
  z-index: 120;
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.admin-hamburger-menu.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: slideDownMenu 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-title-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-highlight);
  text-transform: uppercase;
}

.menu-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 860px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
}

.menu-tab-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  text-align: left;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  position: relative;
}

.menu-tab-item:hover {
  background: rgba(243, 198, 68, 0.07);
  border-color: rgba(243, 198, 68, 0.4);
  transform: translateX(4px);
}

.menu-item-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-highlight);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.menu-tab-item:hover .menu-item-icon-box {
  background: var(--gold-gradient);
  color: #0A0410;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(243, 198, 68, 0.3);
}

.menu-item-content {
  flex: 1;
  min-width: 0;
}

.menu-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.menu-item-desc {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-item-status {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  flex-shrink: 0;
}

.menu-tab-item.active {
  background: rgba(243, 198, 68, 0.12);
  border-color: var(--gold-highlight);
  box-shadow: 0 0 20px rgba(243, 198, 68, 0.15);
}

.menu-tab-item.active .menu-item-icon-box {
  background: var(--gold-gradient);
  color: #0A0410;
  border-color: transparent;
}

.menu-tab-item.active .menu-item-title {
  color: var(--gold-highlight);
}

.menu-tab-item.active .menu-item-status {
  background: var(--gold-gradient);
  color: #0A0410;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(243, 198, 68, 0.35);
}

/* Admin Tab Bar & Forms */
.admin-tabs-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-tab-btn {
  background: #12071B;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.admin-tab-btn:hover {
  background: #1c0b2c;
  color: var(--white);
  border-color: var(--gold-highlight);
}

.admin-tab-btn.active {
  background: var(--gold-gradient);
  color: #0A0410;
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(247, 211, 94, 0.3);
}

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

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

.admin-form-card {
  background: #150921;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.admin-form-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.admin-draw-box {
  background: #1A0D2A;
  border: 2px solid var(--magenta-accent);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.draw-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
}

.draw-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
}

.badge-status-closed {
  background: var(--gold-gradient);
  color: #0A0410;
  font-weight: 900;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.ceremony-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.ceremony-step {
  background: #110619;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
}

.ceremony-step.active {
  border-color: var(--gold-highlight);
}

.ceremony-step h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--gold-highlight);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ceremony-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.hash-box {
  background: #08030C;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 0.75rem;
  word-break: break-all;
}

.hash-box code {
  color: var(--lime-primary);
  font-family: monospace;
}

.wheel-display {
  background: #08030C;
  border: 2px solid var(--magenta-accent);
  border-radius: var(--radius-lg);
  padding: 24px 12px;
  text-align: center;
  margin-bottom: 16px;
}

.wheel-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold-highlight);
  letter-spacing: 2px;
}

.wheel-status {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.winner-record-box {
  background: rgba(193, 222, 73, 0.1);
  border: 1px solid var(--lime-primary);
  border-radius: var(--radius-md);
  padding: 16px;
}

.admin-card {
  background: #150921;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.admin-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-weight: 700;
  vertical-align: middle;
}

.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.badge-tag {
  background: rgba(197, 88, 160, 0.2);
  color: var(--magenta-accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: #08030C;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.responsible-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.age-badge {
  display: inline-block;
  background: #ff5252;
  color: white;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Mobile Drawer & Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #12071B;
  border-left: 1px solid var(--border-subtle);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-wallet {
  margin-bottom: 24px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.mobile-nav-item:hover {
  background: var(--card-surface-hover);
  border-color: var(--gold-highlight);
  transform: translateX(4px);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* ================= COMPREHENSIVE RESPONSIVE MEDIA QUERIES ================= */

/* Large Laptops / Tight Desktop (1240px and down) */
@media (max-width: 1240px) {
  .nav-links {
    gap: 4px;
  }
  .nav-item {
    padding: 7px 10px;
    font-size: 0.85rem;
    gap: 5px;
  }
  .admin-btn-text {
    display: none;
  }
  .admin-pill-btn {
    padding: 0 10px;
    width: 42px;
    justify-content: center;
  }
  .free-pill-title {
    font-size: 0.82rem;
  }
}

/* Tablet & Compact Screens (1040px and down) */
@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .site-header .admin-pill-btn {
    display: none;
  }
  .top-announcement {
    display: none;
  }
}

/* Tablet (1024px and down) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ceremony-steps {
    grid-template-columns: 1fr;
  }
  .admin-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* Mobile Landscape & Medium Screens (768px and down) */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .admin-mode-btn {
    padding: 8px 12px;
  }

  .admin-btn-text {
    display: none;
  }

  .hero-section {
    padding: 40px 0 60px;
  }

  .hero-title {
    font-size: clamp(2rem, 6vw, 2.6rem);
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .competition-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }

  .filter-tabs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .modal-dialog {
    max-width: 100%;
    margin: auto;
    border-radius: var(--radius-lg);
  }

  .modal-detail-layout {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 24px;
  }

  .detail-gallery img {
    height: 220px;
  }

  .account-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Smartphone & Narrow Screens (480px and down) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .top-announcement {
    font-size: 0.8rem;
    padding: 6px 0;
  }

  .announcement-content {
    flex-direction: column;
    gap: 4px;
    padding: 2px 0;
    text-align: center;
  }

  .announcement-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
  }

  .nav-container {
    height: 66px;
    gap: 10px;
  }

  .brand-logo {
    gap: 8px;
  }

  .logo-symbol {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-sub {
    font-size: 0.65rem;
  }

  .admin-mode-btn {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .wallet-pill {
    padding: 4px 10px;
  }

  .wallet-label {
    display: none;
  }

  .wallet-amount {
    font-size: 0.78rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .competition-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .featured-details {
    padding: 18px;
  }

  .featured-header {
    flex-direction: column;
    gap: 8px;
  }

  .featured-price {
    font-size: 1.4rem;
  }

  .timer-wrap {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .countdown-boxes {
    width: 100%;
    justify-content: space-between;
  }

  .time-box {
    min-width: auto;
    flex: 1;
    padding: 4px 6px;
  }

  .time-num {
    font-size: 1rem;
  }

  .winners-grid {
    grid-template-columns: 1fr;
  }

  .winner-card {
    padding: 14px;
    gap: 12px;
  }

  .balance-row {
    flex-direction: column;
    gap: 12px;
  }

  .entry-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .postal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .address-box {
    font-size: 0.85rem;
    padding: 10px 14px;
    word-break: break-word;
  }

  .modal-backdrop {
    padding: 8px;
  }

  .modal-dialog {
    margin: auto;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
  }

  .modal-content {
    padding: 20px 14px;
  }

  .modal-detail-layout {
    padding: 20px 14px;
  }

  .stepper-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .stepper-ctrl {
    width: 100%;
    justify-content: space-between;
  }

  .quick-pick-btn {
    flex: 1;
    padding: 8px 10px;
    text-align: center;
  }

  .promo-toggle-card {
    padding: 12px 14px;
    gap: 10px;
  }

  .idempotency-badge code {
    word-break: break-all;
  }

  .payment-methods {
    flex-direction: column;
  }

  .ticket-ticket-box {
    padding: 16px 12px;
    margin-bottom: 20px;
    max-height: 180px;
  }

  .ticket-tag {
    font-size: 1.05rem;
    padding: 6px 12px;
  }

  .celebration-title {
    font-size: 1.7rem;
  }

  .celebration-details {
    flex-direction: column;
    gap: 10px;
  }

  .admin-topbar-flex {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .admin-topbar-flex .btn {
    width: 100%;
  }

  .draw-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-draw-box {
    padding: 20px 16px;
  }
}

/* Ultra-Narrow Screens (360px and down) */
@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }

  .nav-container {
    height: 60px;
    gap: 6px;
  }

  .brand-logo {
    gap: 6px;
  }

  .logo-symbol {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-sub {
    font-size: 0.6rem;
    letter-spacing: 1px;
  }

  .wallet-pill {
    padding: 4px 8px;
    gap: 4px;
  }

  .wallet-amount {
    font-size: 0.72rem;
  }

  .mobile-menu-btn {
    width: 38px;
    height: 38px;
  }

  .trust-strip {
    grid-template-columns: 1fr !important;
  }

  .stepper-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .stepper-ctrl {
    grid-column: span 4;
    width: 100%;
  }

  .quick-pick-btn {
    width: 100%;
    padding: 6px 4px;
    font-size: 0.8rem;
  }
}

/* ================= FREE £20 COMPETITION STYLES ================= */
.comp-card-free {
  border: 1px solid rgba(193, 222, 73, 0.45);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6), 0 0 25px rgba(193, 222, 73, 0.15);
  position: relative;
}

.comp-card-free:hover {
  border-color: var(--lime-primary);
  box-shadow: 0 14px 40px -5px rgba(0, 0, 0, 0.7), 0 0 35px rgba(193, 222, 73, 0.25);
}

.comp-price-badge.free-badge {
  background: linear-gradient(135deg, #10B981, #059669);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  letter-spacing: 0.5px;
}

.comp-free-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(10, 4, 16, 0.85);
  border: 1px solid var(--gold-highlight);
  color: var(--gold-highlight);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.progress-fill-lime {
  background: linear-gradient(90deg, #10B981, var(--lime-primary)) !important;
}

.btn-lime {
  background: linear-gradient(135deg, #10B981 0%, var(--lime-primary) 100%);
  color: #0A0410;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

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

.wallet-free-pill {
  background: rgba(247, 211, 94, 0.12);
  border: 1px solid rgba(247, 211, 94, 0.4);
}

.wallet-free-pill:hover {
  background: rgba(247, 211, 94, 0.22);
  border-color: var(--gold-highlight);
}

.free-comp-banner {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.18), rgba(247, 211, 94, 0.12));
  border: 1px solid rgba(16, 185, 129, 0.5);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.already-entered-notice {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--lime-primary);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.already-entered-notice code {
  background: rgba(16, 185, 129, 0.25);
  color: var(--lime-primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.free-qty-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(16, 185, 129, 0.5);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.badge-lime {
  background: var(--lime-primary);
  color: #0A0410;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.free-limit-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.free-checkout-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(193, 222, 73, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.5);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.free-checkout-banner strong {
  display: block;
  color: var(--lime-primary);
  font-size: 0.95rem;
}

.free-checkout-banner p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ================= MODERN TOAST NOTIFICATIONS ================= */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 300px;
  max-width: 440px;
  background: rgba(18, 9, 28, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--white);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 25px rgba(94, 31, 128, 0.35);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.25s ease;
}

.toast.toast-error {
  border-color: rgba(255, 75, 75, 0.6);
  background: rgba(30, 10, 18, 0.96);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(255, 75, 75, 0.25);
}

.toast.toast-success {
  border-color: rgba(184, 255, 59, 0.6);
  background: rgba(14, 26, 18, 0.96);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(184, 255, 59, 0.25);
}

.toast.toast-info {
  border-color: rgba(247, 211, 94, 0.6);
  background: rgba(26, 20, 10, 0.96);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(247, 211, 94, 0.25);
}

.toast-icon {
  flex-shrink: 0;
  display: inline-flex;
  margin-top: 2px;
}

.toast-content {
  flex-grow: 1;
}

.toast-content strong {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 4px;
  font-size: 1.2rem;
  line-height: 1;
  transition: color 0.15s;
}

.toast-close:hover {
  color: var(--white);
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastSlideOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
}

/* Attention Shake Animation for Form Validation */
@keyframes shakeBox {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.shake-attention {
  animation: shakeBox 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  border-color: rgba(255, 75, 75, 0.8) !important;
  box-shadow: 0 0 16px rgba(255, 75, 75, 0.3) !important;
}

/* Header Free Draw Pill Pulse */
.wallet-free-pill {
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wallet-free-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(247, 211, 94, 0.35);
}

.wallet-free-pill::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(247, 211, 94, 0.4);
  animation: pulseGlow 2.5s infinite;
  pointer-events: none;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.04); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================= SENIOR DEVELOPER ARCHITECTURE & POLISH ================= */

/* 1. Universal Focus-Visible Accessibility (WCAG 2.1 AAA Compliant) */
:focus-visible {
  outline: 2px solid var(--gold-highlight) !important;
  outline-offset: 3px !important;
}

/* 2. Tactile Button Micro-Interactions & Press Feedback */
.btn:active, 
.filter-btn:active, 
.step-btn:active, 
.quick-pick-btn:active, 
.wallet-pill:active,
.admin-pill-btn:active,
.back-to-top-btn:active {
  transform: scale(0.97) !important;
  transition: transform 0.08s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* 3. Luxury Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #5E1F80 0%, #C558A0 50%, #C1DE49 100%);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #722586 0%, #F7D35E 100%);
}

/* 4. Floating Back-to-Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: rgba(30, 13, 48, 0.88);
  border: 1px solid rgba(247, 211, 94, 0.4);
  color: var(--gold-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 990;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(247, 211, 94, 0.18);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: rgba(94, 31, 128, 0.95);
  border-color: var(--lime-primary);
  color: var(--lime-primary);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), 0 0 24px rgba(193, 222, 73, 0.35);
  transform: translateY(-3px);
}

/* 5. Network Offline Resilience Banner */
.offline-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #8B0000 0%, #C53030 100%);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  animation: toastSlideIn 0.25s ease;
}

.offline-banner.active {
  display: flex;
}

/* 6. Live Interactive Odds & Value Calculator */
.odds-calculator-card {
  background: rgba(14, 6, 22, 0.75);
  border: 1px solid rgba(247, 211, 94, 0.28);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-top: 10px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.4);
}

.odds-calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.odds-multiplier-badge {
  background: rgba(193, 222, 73, 0.16);
  color: var(--lime-primary);
  border: 1px solid rgba(193, 222, 73, 0.35);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.odds-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.odds-metric-box {
  background: rgba(30, 13, 48, 0.65);
  border: 1px solid rgba(197, 88, 160, 0.15);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  text-align: center;
}

.odds-metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.odds-metric-val {
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gold-highlight);
}

/* 7. Senior Engineering Trust & Security Bar */
.senior-audit-bar {
  background: rgba(18, 8, 28, 0.92);
  border: 1px solid rgba(247, 211, 94, 0.22);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  margin: 32px 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.audit-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--lime-primary);
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.3px;
}

.audit-status-dot {
  width: 9px;
  height: 9px;
  background: var(--lime-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--lime-primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.audit-badges-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.audit-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 13, 48, 0.85);
  border: 1px solid rgba(197, 88, 160, 0.28);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: border-color 0.2s;
}

.audit-pill:hover {
  border-color: var(--gold-highlight);
  color: var(--white);
}

.audit-pill i {
  color: var(--gold-highlight);
}

/* ================= PRODUCTION CHECKOUT & LEGAL MODAL STYLES ================= */

/* Card Details Input Form */
.card-details-form {
  background: rgba(14, 6, 22, 0.85);
  border: 1px solid rgba(197, 88, 160, 0.3);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: toastSlideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-label {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .form-icon {
  position: absolute;
  left: 14px;
  color: var(--gold-highlight);
  pointer-events: none;
}

.form-input {
  width: 100%;
  background: rgba(30, 13, 48, 0.9);
  border: 1px solid rgba(247, 211, 94, 0.25);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--white);
  font-size: 0.92rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.input-with-icon .form-input {
  padding-left: 40px;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold-highlight);
  box-shadow: 0 0 12px rgba(247, 211, 94, 0.25);
}

.card-security-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

/* Legal Documents & Policies Modals */
.legal-modal-dialog {
  max-width: 820px;
  max-height: 85vh;
  overflow-y: auto;
}

.legal-content-body {
  padding: 24px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.legal-content-body h2 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 6px;
}

.legal-content-body .legal-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(197, 88, 160, 0.25);
}

.legal-content-body h3 {
  font-size: 1.15rem;
  color: var(--gold-highlight);
  margin: 22px 0 8px;
}

.legal-content-body p {
  margin-bottom: 14px;
}

.legal-content-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content-body li {
  margin-bottom: 6px;
}

.legal-callout-box {
  background: rgba(30, 13, 48, 0.7);
  border-left: 3px solid var(--gold-highlight);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 18px 0;
}

/* Printable Postal Slip In-App Modal */
.postal-voucher-preview {
  background: #ffffff;
  color: #1a1a1a;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 2px dashed #5e1f80;
  margin: 16px 0;
}

.pv-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #f0e6f6;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.pv-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #5e1f80;
}

.pv-badge {
  background: #f4ecf8;
  border: 1px solid #c558a0;
  color: #5e1f80;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-family: monospace;
}

.pv-address-box {
  background: #f9f9fa;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 14px 0;
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ================= PLATFORM ANALYTICS & EXECUTIVE BI SUITE ================= */
.analytics-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #140822;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.analytics-filter-group {
  display: flex;
  gap: 8px;
  background: #0d0417;
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.analytics-filter-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.analytics-filter-btn:hover {
  color: var(--white);
}

.analytics-filter-btn.active {
  background: var(--gold-gradient);
  color: #0A0410;
  box-shadow: 0 2px 8px rgba(243, 198, 68, 0.3);
}

.analytics-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.analytics-kpi-card {
  background: #150921;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.analytics-kpi-card:hover {
  border-color: var(--gold-highlight);
  transform: translateY(-2px);
}

.analytics-kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
}

.analytics-kpi-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.analytics-kpi-val {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 4px;
}

.analytics-kpi-sub {
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.analytics-chart-box {
  background: #150921;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.analytics-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.analytics-chart-header h4 {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chart-svg-wrap {
  width: 100%;
  overflow-x: auto;
}

.funnel-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}

.funnel-row {
  display: grid;
  grid-template-columns: 180px 1fr 140px;
  align-items: center;
  gap: 16px;
}

@media (max-width: 768px) {
  .funnel-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.funnel-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.funnel-bar-track {
  background: rgba(255, 255, 255, 0.06);
  height: 14px;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.funnel-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: var(--gold-gradient);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.funnel-stats {
  font-size: 0.8rem;
  font-family: monospace;
  color: var(--text-muted);
  text-align: right;
}

.analytics-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .analytics-duo-grid {
    grid-template-columns: 1fr;
  }
}

