/* Competition Cards - Override Bootstrap col-xl-3 to use 33% width ONLY on desktop */
@media (min-width: 1200px) {
  .col-xl-3 {
    flex: 0 0 auto;
    width: 33.333333% !important;
  }
}

/* Ensure mobile still shows 1 card per row */
@media (max-width: 1199px) {
  .col-xl-3 {
    flex: 0 0 auto;
    width: 100% !important;
  }
}

/* Base Styles */
:root {
  /* Common variables (shared across themes) */
  --border-radius: 8px;
  --transition-speed: 0.2s;

  /* Font families — match landing-page.html (body Jost, headings Cormorant Garamond) */
  --font-primary: "Jost", sans-serif;
  --font-heading: "Cormorant Garamond", Georgia, serif;

  /* Landing page palette (Sumnervera brand) - available globally */
  --cream: #FAF8F4;
  --ivory: #F3EDE3;
  --charcoal: #1C1714;
  --charcoal-light: #3A322D;
  --warm-grey: #8A8279;
  --light-grey: #D4CECC;
  --rosewood: #7A2232;
  --rosewood-mid: #9B3547;
  --blush: #d39696;
  --blush-light: #F5ECEC;
  --gold: #C4A882;
  --gold-dark: #A08660;
  --gold-light: #F0E6D8;

  /* Fixed strip below age gate (announcement bar) */
  --announce-bar-height: 42px;

  /* Transitions for theme switching */
  --theme-transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;

  --bs-nav-pills-link-active-bg: var(--primary);
  --bs-nav-pills-link-active-color: #fff;
}

/* Dark theme variables (default) - Sumnervera charcoal primary */
.dark-theme {
  --primary: #1C1714;
  --primary-hover: #2D2622;
  --secondary: #1C1714;
  --dark-bg: #1C1714;
  /* Near black with slight warmth */
  --darker-bg: #050505;
  /* Very close to pure black */
  --card-bg: rgba(25, 25, 25, 0.8);
  /* Dark gray, closer to black */
  --text-color: #ffffff;
  --text-muted: #888888;
  /* Lighter muted text */
  --border-color: rgba(209, 32, 38, 0.2);
  --glass-border: rgba(255, 255, 255, 0.08);
  /* Subtle borders */
  --glass-bg: rgba(18, 18, 18, 0.95);
  /* Slightly different from dark-bg */
  --glass-bg-hover: rgba(25, 25, 25, 0.95);
  /* Slightly lighter gray */
  --section-bg-alt: rgba(15, 15, 15, 0.9);
  /* Alternative section background */
  --section-bg-alt2: rgba(22, 22, 22, 0.85);
  /* Another variation */
  --glow-color: rgba(28, 23, 20, 0.6);
  --gradient-start: #1C1714;
  --gradient-mid: #2D2622;
  --gradient-end: #3A322D;

  /* Navbar specific */
  --navbar-bg: rgba(28, 23, 20, 0.98);
  /* Close to dark-bg */
  --navbar-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);

  /* Footer specific – brown to match theme (not near-black) */
  --footer-bg: var(--dark-bg);
  --footer-text: var(--text-color);
  --footer-link: var(--text-color);
  --footer-link-hover: var(--secondary);

  /* Form controls */
  --input-bg: rgba(25, 25, 25, 0.6);
  /* Dark gray input backgrounds */
  --input-border: var(--glass-border);
  --input-text: var(--text-color);
  --input-placeholder: var(--text-muted);

  /* Buttons */
  --btn-primary-bg: linear-gradient(90deg, var(--primary), var(--gradient-mid));
  --btn-primary-hover-bg: linear-gradient(90deg, var(--primary-hover), var(--gradient-mid));

  /* Override Bootstrap btn-primary disabled CSS variables */
  --bs-btn-disabled-bg: #1C1714;
  --bs-btn-disabled-border-color: #1C1714;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-opacity: 0.6;
}

/* Light theme variables - Sumnervera charcoal primary */
.light-theme {
  --primary: #1C1714;
  --primary-hover: #2D2622;
  --secondary: #1C1714;
  --dark-bg: #FAF8F4;
  --darker-bg: #F3EDE3;
  --card-bg: rgba(255, 255, 255, 0.9);
  --text-color: #1C1714;
  --text-muted: #8A8279;
  --border-color: rgba(28, 23, 20, 0.15);
  --glass-border: rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.945);
  --glass-bg-hover: rgba(245, 245, 255, 0.7);
  --glow-color: rgba(28, 23, 20, 0.3);
  --gradient-start: #1C1714;
  --gradient-mid: #2D2622;
  --gradient-end: #3A322D;

  /* Navbar specific */
  --navbar-bg: rgba(255, 255, 255, 0.95);
  --navbar-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);

  /* Footer specific */
  --footer-bg: var(--darker-bg);
  --footer-text: var(--text-color);
  --footer-link: var(--text-color);
  --footer-link-hover: var(--secondary);

  /* Form controls */
  --input-bg: rgba(255, 255, 255, 0.8);
  --input-border: var(--glass-border);
  --input-text: var(--text-color);
  --input-placeholder: var(--text-muted);

  /* Buttons */
  --btn-primary-bg: linear-gradient(90deg, var(--primary), var(--gradient-mid));
  --btn-primary-hover-bg: linear-gradient(90deg, var(--primary-hover), var(--gradient-mid));

  /* Override Bootstrap btn-primary disabled CSS variables */
  --bs-btn-disabled-bg: #1C1714;
  --bs-btn-disabled-border-color: #1C1714;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-opacity: 0.6;
}

/* Override Bootstrap btn-primary disabled states - must be after theme definitions */
.btn-primary:disabled,
.btn-primary.disabled,
fieldset:disabled .btn-primary {
  --bs-btn-disabled-bg: var(--primary) !important;
  --bs-btn-disabled-border-color: var(--primary) !important;
  --bs-btn-disabled-color: #fff !important;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  opacity: 0.6 !important;
}

/* Override Bootstrap btn-primary active/clicked states to remain red */
.btn-primary:active,
.btn-primary.active,
.btn-primary:focus:active,
.btn-check:checked+.btn-primary,
.btn-primary.show {
  --bs-btn-active-bg: var(--primary) !important;
  --bs-btn-active-border-color: var(--primary) !important;
  --bs-btn-active-color: #fff !important;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

/* Override Bootstrap btn-outline-primary hover states to remain red */
.btn-outline-primary:hover:not(:disabled):not(.disabled) {
  --bs-btn-hover-bg: var(--primary) !important;
  --bs-btn-hover-border-color: var(--primary) !important;
  --bs-btn-hover-color: #fff !important;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

/* Override Bootstrap btn-outline-primary active/clicked states to remain red */
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary:focus:active,
.btn-check:checked+.btn-outline-primary,
.btn-outline-primary.show {
  --bs-btn-active-bg: var(--primary) !important;
  --bs-btn-active-border-color: var(--primary) !important;
  --bs-btn-active-color: #fff !important;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--charcoal-light);
  transition: var(--theme-transition);
  /* Pre-apply header spacing to prevent layout shifts */
  padding-top: 100px;
  /* ~42px announce bar + ~58px navbar */
}

/* Paragraph styles */
p {
  font-size: 1.25rem;
}

/* Dark theme specific background */
/* Match body default so Dark theme looks the same on first load and after switching */
.dark-theme {
  background-color: var(--charcoal-light);
  background-image: none;
  min-height: 100vh;
}

/* Light theme specific background */
.light-theme {
  background-image: radial-gradient(circle at 10% 20%, rgba(196, 28, 34, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(255, 90, 96, 0.05) 0%, transparent 20%),
    linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
  background-attachment: fixed;
  min-height: 100vh;
}

/* Pages using contact-style background (legal, cookies, competitions, winners) */
.light-theme .page-bg-contact {
  background: var(--cream) !important;
  background-image: none;
}
.dark-theme .page-bg-contact {
  background: var(--charcoal-light) !important;
  background-image: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-color);
  transition: var(--theme-transition);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

/* Navbar Styles */
.navbar {
  background-color: transparent;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

/* Removed scroll effect - navbar stays consistent */

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
}

/* Text logo — matches landing-page.html .nav-logo (Cormorant Garamond + italic rosewood “vera”) */
a.sv-nav-logo,
.navbar-brand.sv-nav-logo {
  position: relative;
  display: inline-block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.15;
}

.light-theme .sv-nav-logo {
  color: var(--charcoal);
}

.dark-theme .sv-nav-logo {
  color: var(--text-color);
}

.sv-nav-logo em {
  font-style: italic;
  color: var(--rosewood);
}

a.sv-footer-logo.sv-nav-logo {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

a.sv-footer-logo.sv-nav-logo em {
  font-style: italic;
  color: var(--rosewood);
}

.nav-link {
  color: var(--text-color) !important;
  font-family: var(--font-primary);
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--theme-transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

/* Main menu — matches landing-page.html .nav-links (Jost, uppercase, letter-spacing) */
#main-navbar .sv-landing-nav-links .nav-link {
  font-family: "Jost", sans-serif !important;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px !important;
  border-radius: 6px;
  color: var(--charcoal-light) !important;
}

#main-navbar .sv-landing-nav-links .nav-link::after {
  display: none;
}

.light-theme #main-navbar .sv-landing-nav-links .nav-link:hover,
.light-theme #main-navbar .sv-landing-nav-links .nav-link:focus {
  color: var(--rosewood) !important;
  background: var(--blush-light);
}

.light-theme #main-navbar .sv-landing-nav-links .nav-link.active {
  color: var(--rosewood) !important;
  background: var(--blush-light);
  font-weight: 500;
}

/* Desktop navbar: full-width shell, three columns like landing HTML */
@media (min-width: 992px) {
  .sv-navbar-shell {
    max-width: 100%;
  }

  #main-navbar .sv-desktop-navbar-grid {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 1rem;
    width: 100%;
    min-height: 56px;
  }

  .sv-desktop-navbar-center {
    min-width: 0;
  }

  .sv-desktop-navbar-actions {
    gap: 0.25rem;
  }
}

/* Header icon colors for both themes */
.site-header .text-white {
  color: var(--text-color) !important;
  transition: var(--theme-transition);
}

/* Navbar dropdown menu adjustments for light theme */
.light-theme .dropdown-menu.glass-card {
  background: rgba(255, 255, 255, 0.95);
}

.light-theme .dropdown-item {
  color: var(--text-color);
}

.light-theme .dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Fix dropdown menu text color in light theme */
.light-theme #wallet-dropdown-content h6,
.light-theme #wallet-dropdown-content .text-white,
.light-theme #wallet-dropdown-content-mobile h6,
.light-theme #wallet-dropdown-content-mobile .text-white {
  color: var(--text-color) !important;
}

/* Fix navbar toggler icon in light theme */
.light-theme .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(51, 51, 68, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Button Styles */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  border-width: 2px;
  border-style: solid;
  box-shadow:
    0 4px 0 rgba(0, 0, 0, 0.2),
    0 6px 10px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(0);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow:
    0 6px 0 rgba(0, 0, 0, 0.2),
    0 8px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.2),
    0 3px 5px rgba(0, 0, 0, 0.15),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  border-width: 1px;
  background-color: transparent;
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  transform: translateY(0);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary.active {
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  border-color: var(--primary);

  box-shadow:
    0 5px 0 rgba(0, 0, 0, 0.2),
    0 6px 12px rgba(209, 32, 38, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.2),
    0 3px 5px rgba(209, 32, 38, 0.2),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
  border-color: var(--glass-border);
  color: var(--text-color);
  border-width: 2px;
  background-color: transparent;
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  transform: translateY(0);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  transform: translateY(-2px);
  box-shadow:
    0 5px 0 rgba(0, 0, 0, 0.1),
    0 6px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-outline-light:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.1),
    0 3px 5px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Desktop auth — landing-page.html .nav-account (pill, Jost caps) */
#main-navbar #auth-buttons .nav-account {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: var(--charcoal);
  color: #fff !important;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  font-family: var(--font-primary);
  transition: background 0.2s, transform 0.15s, border-color 0.2s, color 0.2s;
}

#main-navbar #auth-buttons .nav-account svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

#main-navbar #auth-buttons .nav-account:hover {
  background: var(--rosewood);
  transform: translateY(-1px);
  color: #fff !important;
}

#main-navbar #auth-buttons .nav-account--ghost {
  background: transparent;
  color: var(--charcoal) !important;
  border-color: rgba(196, 168, 130, 0.35);
}

#main-navbar #auth-buttons .nav-account--ghost:hover {
  background: var(--ivory);
  border-color: var(--gold);
  color: var(--charcoal) !important;
  transform: translateY(-1px);
}

.dark-theme #main-navbar #auth-buttons .nav-account--ghost {
  color: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.25);
}

.dark-theme #main-navbar #auth-buttons .nav-account--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  color: #fff !important;
}

.glow-button {
  box-shadow:
    0 4px 0 rgba(0, 0, 0, 0.2),
    0 6px 12px rgba(0, 0, 0, 0.15),
    0 0 15px var(--glow-color),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(0);
  border-width: 2px;
}

.glow-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 6px 0 rgba(0, 0, 0, 0.2),
    0 8px 18px rgba(0, 0, 0, 0.2),
    0 0 25px var(--glow-color),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.glow-button:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.2),
    0 3px 6px rgba(0, 0, 0, 0.15),
    0 0 12px var(--glow-color),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--primary);
}

/* Dark theme: creamy headings for readability */
.dark-theme .text-gradient {
  background: linear-gradient(90deg, #f5f0eb, #d4c4b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #f5f0eb;
}

/* Glass Card Styles */
.glass-card {
  background: var(--glass-bg);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  color: var(--text-color);
}

.glass-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  background: var(--glass-bg-hover);
}

.glass-section {
  background: var(--section-bg-alt);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

/* Site Footer — landing-page.html layout (charcoal, grid) */
.site-footer.sv-footer-landing {
  background-color: var(--charcoal);
  color: rgba(255, 255, 255, 0.85);
  padding: 72px 48px 40px;
  transition: var(--theme-transition);
}

.site-footer.sv-footer-landing .footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer.sv-footer-landing .footer-brand-logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  display: inline-block;
  text-decoration: none;
}

.site-footer.sv-footer-landing .footer-brand-logo em {
  font-style: italic;
  color: var(--blush);
}

.site-footer.sv-footer-landing .footer-tagline {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.8;
  max-width: 260px;
  margin-bottom: 28px;
}

.site-footer.sv-footer-landing .footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer.sv-footer-landing .footer-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.site-footer.sv-footer-landing .footer-social:hover {
  background: var(--rosewood);
  color: #fff;
  border-color: var(--rosewood);
}

.site-footer.sv-footer-landing .footer-col-title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 400;
  margin-bottom: 20px;
}

.site-footer.sv-footer-landing .footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.site-footer.sv-footer-landing .footer-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}

.site-footer.sv-footer-landing .footer-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer.sv-footer-landing .footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer.sv-footer-landing .footer-copy {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

.site-footer.sv-footer-landing .footer-copy-sub {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 8px;
  line-height: 1.5;
  max-width: 420px;
}

.site-footer.sv-footer-landing .footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer.sv-footer-landing .footer-legal a {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}

.site-footer.sv-footer-landing .footer-legal a:hover {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer.sv-footer-landing .footer-18 {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em;
}

.site-footer.sv-footer-landing .footer-18-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 991px) {
  .site-footer.sv-footer-landing .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .site-footer.sv-footer-landing {
    padding: 48px 24px 32px;
  }

  .site-footer.sv-footer-landing .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  .site-footer.sv-footer-landing .footer-top {
    grid-template-columns: 1fr;
  }
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 10px;
}

/* Theme toggle with label (Ninja-style desktop) */
.site-header .theme-toggle-btn {
  width: auto;
  border-radius: 2rem;
  padding: 0.35rem 0.75rem;
  gap: 0.4rem;
}

.site-header .theme-toggle-btn .theme-label {
  font-size: 0.9rem;
  color: inherit;
}

.site-header .theme-toggle-btn .icon-moon,
.site-header .theme-toggle-btn .icon-sun {
  font-size: 1.1rem;
}

.site-header .cart-label {
  font-size: 0.9rem;
  color: inherit;
}

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

.theme-toggle-btn .icon-moon,
.theme-toggle-btn .icon-sun {
  font-size: 1.2rem;
}

/* Visually hidden text for accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Rest of the existing CSS... */

/* Competition Card Styles */
.competition-card {
  width: 100%;
  height: 100%;
  transition: all 0.25s ease;
  border: 1px solid rgba(0, 0, 0, .09);
  overflow: hidden;
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.dark-theme .competition-card {
  background-color: #1e2124;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.competition-image {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.competition-image a {
  position: relative;
  display: block;
  width: 100%;
}

.competition-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.competition-card:hover .competition-image img {
  transform: scale(1.05);
}

/* Sold Out Styles - Banner Label Design */
.sold-out-banner {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  pointer-events: none;
}

.sold-out-text {
  position: relative;
  display: inline-block;
  padding: 4px 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transform: rotate(-2deg);
  pointer-events: auto;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments for very small screens */
@media (max-width: 768px) {
  .sold-out-text {
    font-size: 10px;
    padding: 5px 10px;
  }
}

@media (max-width: 576px) {
  .sold-out-banner {
    top: 6px;
    right: 6px;
  }

  .sold-out-text {
    font-size: 9px;
    padding: 4px 8px;
  }
}

@media (max-width: 375px) {
  .sold-out-banner {
    top: 4px;
    right: 4px;
  }

  .sold-out-text {
    font-size: 8px;
    padding: 3px 6px;
  }
}

.sold-out .competition-image img {
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.8;
}

.sold-out .competition-info {
  opacity: 0.7;
}

.category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: linear-gradient(45deg, #d12026, #ff5a60);
  color: white;
  padding: 4px 8px;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 3px;
  margin: 0;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cash-alternative-badge {
  margin-left: auto;
  background: #28a745;
  color: white;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: bold;
  border-radius: 3px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cash-alternative-badge i {
  font-size: 0.65rem;
  transform: translateY(-2px);
  display: inline-block;
}

.ending-today-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: linear-gradient(135deg, rgba(209, 32, 38, 0.95) 0%, rgba(204, 0, 0, 0.85) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  padding: 8px 15px;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(209, 32, 38, 0.8),
    0 0 40px rgba(209, 32, 38, 0.6),
    0 0 60px rgba(209, 32, 38, 0.4);
  pointer-events: none;
  animation: pulseGlow 1s ease-in-out infinite;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 10px rgba(255, 255, 255, 0.3);
  border-bottom: 3px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(209, 32, 38, 0.8),
      0 0 40px rgba(209, 32, 38, 0.6),
      0 0 60px rgba(209, 32, 38, 0.4);
  }

  50% {
    box-shadow: 0 0 30px rgba(209, 32, 38, 1),
      0 0 60px rgba(209, 32, 38, 0.8),
      0 0 90px rgba(209, 32, 38, 0.6);
  }
}

.ending-today-banner .ending-today-text {
  display: block;
  animation: textShake 1.5s ease-in-out infinite;
}

@keyframes textShake {

  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }

  10% {
    transform: translateX(-2px) rotate(-0.5deg);
  }

  20% {
    transform: translateX(2px) rotate(0.5deg);
  }

  30% {
    transform: translateX(-2px) rotate(-0.5deg);
  }

  40% {
    transform: translateX(2px) rotate(0.5deg);
  }

  50% {
    transform: translateX(-2px) rotate(-0.5deg);
  }

  60% {
    transform: translateX(2px) rotate(0.5deg);
  }

  70% {
    transform: translateX(-2px) rotate(-0.5deg);
  }

  80% {
    transform: translateX(2px) rotate(0.5deg);
  }

  85%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
}

.ending-today-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(255, 255, 255, 0.15) 50%,
      transparent 100%);
  animation: scanline 2s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes scanline {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(200%);
  }
}

@media (max-width: 768px) {
  .ending-today-banner {
    padding: 0.2rem;
    font-size: 0.7rem;
  }

  .cash-alt-text-desktop {
    display: none;
  }

  .cash-alt-text-mobile {
    display: inline;
  }

  .ticket-price {
    flex-wrap: wrap;
    gap: 0.5rem;
    letter-spacing: 0.2px;
  }

  .ticket-price .price-text {
    letter-spacing: 0.1px;
  }

  .ticket-price .per-ticket {
    font-size: 0.65rem !important;
    margin-left: 1px !important;
    font-weight: 400 !important;
    letter-spacing: -0.3px;
  }

  .cash-alternative-badge {
    font-size: 0.65rem;
    padding: 0px 3px;
    margin-left: 0;

  }

  .cash-alternative-badge i {
    transform: translateY(0px);
  }


  .tickets-info {
    font-size: 0.7rem !important;
  }

  .tickets-info strong {
    font-size: 0.7rem !important;
  }
}

@media (min-width: 769px) {
  .cash-alt-text-mobile {
    display: none;
  }

  .cash-alt-text-desktop {
    display: inline;
  }

}

.countdown-timer {
  display: flex;
  justify-content: space-between;
  background: none;
  padding: 4px;
  border-radius: 4px;
  width: 100%;
  border: 1px solid rgba(196, 168, 130, 0.25);
  background-color: rgba(196, 168, 130, 0.04);
  position: relative;

}

/* Remove the "Ends in:" text */
.countdown-timer::before {
  display: none;
}

.dark-theme .countdown-timer::before {
  display: none;
}



/* Keep absolute positioning for the countdown timer only on the competition detail page */
.competition-image .countdown-timer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  z-index: 2;
  border: none;
}

/* Specific style for countdown in competition image in light theme */
.light-theme .competition-image .countdown-timer {
  background: linear-gradient(to right, rgba(196, 168, 130, 0.5), rgba(196, 168, 130, 0.35));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.light-theme .competition-image .countdown-timer .time-label {
  color: rgba(255, 255, 255, 0.9);
}

.countdown-timer .time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  padding: 2px 0;
}

.countdown-timer .time-unit:not(:last-child):after {
  content: ":";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-60%);
  font-weight: bold;
  color: var(--gold, #C4A882);
  font-size: 1rem;
}

.dark-theme .countdown-timer .time-unit:not(:last-child):after {
  color: var(--gold, #C4A882);
}

.countdown-timer .time-value {
  font-size: 1rem;
  font-weight: 700;
  display: block;
  line-height: 1;
  font-family: 'Orbitron', sans-serif;
  color: var(--gold, #C4A882);
  -webkit-text-fill-color: var(--gold, #C4A882);
}

/* Dark theme color is handled by theme variables; redundant override removed */

.countdown-timer .time-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  display: block;
  color: var(--text-color);
  margin-top: 2px;
}

/* Countdown loading animation */
.countdown-timer .loading-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 30px;
  height: 1.2em;
}

.countdown-timer .loading-dots span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
  animation: countdown-loading 1.4s infinite ease-in-out both;
}

.countdown-timer .loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.countdown-timer .loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

.countdown-timer .loading-dots span:nth-child(3) {
  animation-delay: 0;
}

@keyframes countdown-loading {

  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.5;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Dark theme loading dots - use red for both themes */
.dark-theme .countdown-timer .loading-dots span {
  background-color: var(--primary);
}

/* Light theme adjustments for countdown labels */
.light-theme .countdown-timer .time-label {
  color: var(--text-color);
}

.dark-theme .countdown-timer .time-label {
  color: white;
}

/* Smiley separator in countdown timer */
.countdown-timer .smiley-separator {
  display: none;
}

.competition-info {
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Ensure progress container and button are pushed to bottom */
.competition-info .progress-container {
  margin-top: auto;
  margin-bottom: 0;
}


.competition-title {
  line-height: 1.3;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 0;
  color: var(--text-color);
}

/* Enhanced styles for detail page */
.competition-detail .competition-title {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Responsive adjustments for different screen sizes */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .competition-title {
    font-size: 0.85rem;
    height: 2.6em;
  }

  .competition-info {
    padding: 0.6rem;
  }

  .countdown-timer .time-value {
    font-size: 0.9rem;
  }

  .countdown-timer .time-label {
    font-size: 0.55rem;
  }

  .ticket-price {
    font-size: 1rem;
  }

  .ticket-price .per-ticket {
    font-size: 0.7rem;
  }

  .competition-info .btn-primary {
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
  }
}

@media (max-width: 991.98px) {

  /* Smaller notification/cart bubbles in mobile header - number centered in bubble */
  .site-header .badge.cart-count,
  .site-header .badge.notification-count {
    font-size: 0.65rem !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 4px !important;
    border-radius: 8px;
    top: 2px !important;
    right: 2px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }

  .site-header .cart-count,
  .site-header .notification-count {
    line-height: 1 !important;
  }
}

@media (max-width: 768px) {

  /* Hero section container adjustments for mobile */
  .container.mt-5.pt-5 {
    margin-top: 0.25rem !important;
    padding-top: 0.25rem !important;
  }
}

@media (max-width: 576px) {
  .competition-card {
    margin-bottom: 1rem;
  }
}

.ticket-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #d12026;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
}

.dark-theme .ticket-price {
  color: #ff5a60;
}

.ticket-price .per-ticket {
  font-size: 0.85rem;
  color: var(--text-color);
  font-weight: 500;
  margin-left: 2px;
  opacity: 0.95;
}

.dark-theme .ticket-price .per-ticket {
  color: var(--text-color);
  opacity: 0.9;
}

.progress-container {
  margin-top: auto;
  margin-bottom: 0.6rem;
}

.progress {
  height: 24px;
  background-color: rgba(209, 32, 38, 0.12);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 3px;
  position: relative;
  display: flex;
  align-items: center;
}

.dark-theme .progress {
  background-color: rgba(255, 255, 255, 0.1);
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #d12026, #ff5a60);
  transition: width 0.6s ease;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
  100% {
    left: 100%;
  }
}

.percentage-sold-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 991.98px) {
  .progress {
    height: 1rem;
    border-radius: 0.5rem;
  }

  .percentage-sold-overlay {
    font-size: 0.7rem;
  }
}


/* Button styling */
.competition-info .btn-primary {
  background: linear-gradient(90deg, #d12026, #e54146);
  border: none;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
  transition: all 0.2s ease;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin-top: 0;
  border-radius: 4px;
}

.competition-info .btn-primary:hover {
  background: linear-gradient(90deg, #b01c21, #d12026);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(209, 32, 38, 0.25);
}

/* General hover effects for competition cards */
.competition-card:hover,
.competition-card.touch-active {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(209, 32, 38, 0.12);
  border-color: rgba(209, 32, 38, 0.2);
}

/* Dark theme competition card hover */
.dark-theme .competition-card:hover,
.dark-theme .competition-card.touch-active {
  background-color: #1e2124;
  box-shadow: 0 8px 16px rgba(209, 32, 38, 0.15);
  border-color: rgba(255, 90, 96, 0.2);
  animation: none;
}

/* Remove pseudo-element for competition cards */
.competition-card:hover::before,
.competition-card.touch-active::before {
  display: none;
}

/* Remove pseudo-element for dark theme */
.dark-theme .competition-card:hover::before,
.dark-theme .competition-card.touch-active::before {
  display: none;
}

/* Skeleton Loading Styles */
.skeleton-card {
  pointer-events: none;
}

.skeleton-shimmer {
  background: linear-gradient(90deg, #e0e0e0 25%, #d0d0d0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 4px;
}

.dark-theme .skeleton-shimmer {
  background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
  background-size: 200% 100%;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.skeleton-image {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.skeleton-image .skeleton-shimmer {
  width: 100%;
  height: 100%;
}

.skeleton-price {
  height: 24px;
  width: 100px;
  margin-bottom: 4px;
}

.skeleton-cash-alt {
  height: 16px;
  width: 120px;
}

.skeleton-title {
  height: 20px;
  width: 100%;
  margin-bottom: 1rem;
}

.skeleton-time {
  height: 20px;
  width: 24px;
}

.skeleton-label {
  height: 12px;
  width: 20px;
  margin-top: 2px;
}

.skeleton-progress {
  height: 8px;
  width: 100%;
  border-radius: 4px;
}

.skeleton-tickets {
  height: 14px;
  width: 100px;
}

.skeleton-button {
  height: 38px;
  width: 100%;
  margin-top: 1rem;
  border-radius: 6px;
}

/* Winner Card Styles */
.winner-card {
  transition: all 0.3s ease;
  border-radius: 15px;
}

.winner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.winner-image {
  overflow: hidden;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.winner-image img {
  transition: transform 0.5s ease;
}

.winner-card:hover .winner-image img {
  transform: scale(1.05);
}

.icon-circle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Icon circle background colors - using project colors */
.icon-circle.bg-primary-opacity {
  background-color: rgba(209, 32, 38, 0.1);
}

.icon-circle.bg-success-opacity {
  background-color: rgba(40, 167, 69, 0.1);
}

/* Dark theme adjustments - using dark theme primary color (209, 32, 38) */
.dark-theme .icon-circle.bg-primary-opacity {
  background-color: rgba(209, 32, 38, 0.15);
  border: 1px solid rgba(209, 32, 38, 0.2);
}

.dark-theme .icon-circle.bg-success-opacity {
  background-color: rgba(40, 167, 69, 0.15);
  border: 1px solid rgba(40, 167, 69, 0.2);
}

/* Light theme adjustments - using light theme primary color (196, 28, 34) */
.light-theme .icon-circle.bg-primary-opacity {
  background-color: rgba(196, 28, 34, 0.08);
  border: 1px solid rgba(196, 28, 34, 0.15);
}

.light-theme .icon-circle.bg-success-opacity {
  background-color: rgba(40, 167, 69, 0.08);
  border: 1px solid rgba(40, 167, 69, 0.15);
}

.winner-text {
  font-weight: 500;
}

.ribbon-wrapper {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
}

.ribbon {
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(0);
  padding: 2px 12px;
  border-radius: 4px;
  background: var(--primary);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.ribbon-success {
  background: linear-gradient(90deg, #28a745, #20c997);
}

.ribbon-warning {
  background: linear-gradient(90deg, #ffc107, #fd7e14);
}

/* Removed gradient text on generic .countdown to avoid conflict; countdowns use .countdown-timer styles */

/* Light theme adjustments for countdown timer values – gold to match theme */
.light-theme .countdown .time-value,
.light-theme .countdown-timer .time-value {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  background: none !important;
}

/* Light theme competition card adjustments */
.light-theme .competition-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, .09);
}

/* Keep light theme hover styles with background color change but match dark theme border effect */
.light-theme .competition-card:hover,
.light-theme .competition-card.touch-active {
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(209, 32, 38, 0.12);
  transform: translateY(-5px);
  animation: none;
  border-color: rgba(209, 32, 38, 0.2);
}

/* Update light theme pseudo-element to match dark theme styling */
.light-theme .competition-card:hover::before,
.light-theme .competition-card.touch-active::before {
  display: none;
}

/* Adjust the progress bar background for light theme */
.light-theme .progress {
  background-color: rgba(209, 32, 38, 0.08);
}

/* Light theme neon pulse animation - updated to match dark theme */
@keyframes neonPulseLight {
  0% {
    box-shadow: 0 0 10px 0px rgba(209, 32, 38, 0.2),
      0 0 20px 0px rgba(255, 90, 96, 0.1);
  }

  50% {
    box-shadow: 0 0 15px 5px rgba(209, 32, 38, 0.3),
      0 0 30px 5px rgba(255, 90, 96, 0.2);
  }

  100% {
    box-shadow: 0 0 10px 0px rgba(209, 32, 38, 0.2),
      0 0 20px 0px rgba(255, 90, 96, 0.1);
  }
}

/* Fix empty cart icon color in light theme */
.light-theme .empty-cart-icon {
  color: var(--text-color);
}

/* Fix notification and dropdown text in light theme */
.light-theme .dropdown-menu p,
.light-theme .empty-cart-message p {
  color: var(--text-color);
}

/* Additional navbar styles for light theme - removed scroll effect */
.light-theme .navbar {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Dark theme navbar background */
.dark-theme .navbar {
  background-color: var(--dark-bg);
}

/* Make mobile menu toggle icon white in dark theme */
.dark-theme .navbar-toggler .fa-bars-staggered {
  color: var(--text-color) !important;
}

/* Mobile Menu Overlay Styles */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--dark-bg);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

/* Light theme mobile menu */
.light-theme .mobile-menu-overlay {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
}

.mobile-menu-overlay.active {
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-menu-container {
  position: relative;
  width: 100%;
  height: 100vh;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--dark-bg);
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Light theme mobile menu container */
.light-theme .mobile-menu-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
}

.mobile-menu-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 1.5rem;
  z-index: 10001;
}

.mobile-menu-close {
  background: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

/* Mobile Theme Toggle Styles */
.mobile-theme-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-theme-toggle .fa-sun,
.mobile-theme-toggle .fa-moon {
  font-size: 20px;
  transition: all 0.3s ease;
}

.theme-switch {
  width: 40px;
  height: 20px;
  border-radius: 10px;
  position: relative;
  transition: all 0.3s ease;
}

.theme-knob {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  position: absolute;
  top: 2.5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease !important;
}

/* Light Theme (default) */
.mobile-theme-toggle .fa-sun {
  color: #f1c40f;
  opacity: 1;
}

.mobile-theme-toggle .fa-moon {
  color: #666;
  opacity: 0.6;
}

.theme-switch {
  background: #e0e0e0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.theme-knob {
  left: 2.5px !important;
  background: white !important;
}

/* Dark Theme */
.mobile-theme-toggle.dark-mode .fa-sun {
  color: white;
  opacity: 0.6;
}

.mobile-theme-toggle.dark-mode .fa-moon {
  color: #f1c40f;
  opacity: 1;
}

.mobile-theme-toggle.dark-mode .theme-switch {
  background: #2a2827;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.mobile-theme-toggle.dark-mode .theme-knob {
  left: 22.5px !important;
  background: #f1c40f !important;
}

.mobile-menu-header {
  margin-top: 60px;

}

.user-info-card {

  padding: 0.75rem 1rem;

}



.welcome-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.2rem;
  display: block;
}

.light-theme .welcome-text {
  color: rgba(0, 0, 0, 0.6);
}

.user-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.75rem;
}
/* Override for header trigger / panel — don't inherit mobile-menu sizing */
.sv-user-name.user-name,
.sv-user-panel-name.user-name {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  margin-bottom: 0;
}

.user-balances {
  display: flex;
  gap: 0.5rem;
}

.balance-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.light-theme .balance-card {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.balance-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.light-theme .balance-card:hover {
  background: rgba(0, 0, 0, 0.1);
}

.balance-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.light-theme .balance-label {
  color: rgba(0, 0, 0, 0.6);
}

.balance-amount {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
}

.balance-amount.display-5 {
  font-size: 3rem !important;
  font-weight: 700;
  line-height: 1.2;
}

.mobile-menu-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(120px + env(safe-area-inset-bottom));
}

.navigation-section {
  flex: 1;
}

.menu-links {
  display: flex;
  flex-direction: column;

}

.menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0.6rem;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
}

.menu-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  transform: translateX(5px);
}

.light-theme .menu-link:hover {
  background: rgba(0, 0, 0, 0.05);
}

.menu-link i {
  width: 20px;
  text-align: center;
  opacity: 0.8;
}

.guest-auth-section {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.light-theme .guest-auth-section {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

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

.light-theme .login-btn {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-color);
  transform: translateY(-2px);
}

.light-theme .login-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

.register-btn {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: white;
}

.register-btn:hover {
  background: var(--primary-hover);
  color: white;
  transform: translateY(-2px);
}

/* Mobile menu display control */
@media (min-width: 992px) {
  .mobile-menu-overlay {
    display: none;
  }
}

.mobile-menu-overlay:not(.active) {
  pointer-events: none;
}

/* Desktop user dropdown specific styles */
@media (min-width: 992px) {
  #user-dropdown-container .dropdown-toggle {
    padding: 0.375rem 0.75rem;
    border: none;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
  }

  #user-dropdown-container .dropdown-toggle:hover,
  #user-dropdown-container .dropdown-toggle:focus {
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
  }

  #user-dropdown-container .dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: middle;
  }

  #user-dropdown-container .user-name {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0;
  }
}

/* Fix auth buttons in light theme */

/* Ensure badges are visible in light theme */
.light-theme .badge.bg-primary {
  background-color: var(--primary) !important;
  color: white;
}

.light-theme .badge.bg-danger {
  background-color: #dc3545 !important;
  color: white;
}

/* Header cart/notification count on PC – light theme: ensure number is readable (colored pill, white text) */
.light-theme .site-header .badge.cart-count {
  background-color: var(--primary) !important;
  color: #fff !important;
}

.light-theme .site-header .badge.notification-count {
  background-color: #dc3545 !important;
  color: #fff !important;
}

/* Dropdown menu styling for light theme */
.light-theme .dropdown-menu {
  background-color: #ffffff;
  border: 1px solid var(--glass-border);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.75rem 0;
  color: var(--text-color);
}

.light-theme .dropdown-menu.glass-card {
  background-color: #ffffff;
  border: 1px solid var(--glass-border);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.light-theme .dropdown-divider {
  border-top-color: var(--glass-border);
  margin: 0.5rem 0;
}

/* Fix text-danger color in dropdowns for light theme */
.light-theme .dropdown-item.text-danger {
  color: #dc3545 !important;
}

/* Dropdown menu styles for dark theme */
.dark-theme .dropdown-menu {
  background-color: var(--dark-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 0.75rem 0;
  color: var(--text-color);
}

.dark-theme .dropdown-menu.glass-card {
  background-color: var(--dark-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.dark-theme .dropdown-divider {
  border-top-color: var(--glass-border);
  margin: 0.5rem 0;
}

.dark-theme .dropdown-item {
  color: var(--text-color);
}

.dark-theme .dropdown-item:hover,
.dark-theme .dropdown-item:focus {
  background-color: rgba(40, 40, 70, 0.7);
  color: var(--text-color);
}

/* Mobile theme toggle in dropdown menu */
.dropdown-item .theme-toggle-btn {
  margin-left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--primary);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 100;
}

.dropdown-item .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(209, 32, 38, 0.5);
}

.dropdown-item .theme-toggle-btn:active {
  transform: scale(0.95);
}

/* Dark theme specific dropdown styles */
.dark-theme .dropdown-item .theme-toggle-btn {
  color: var(--text-color);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.dark-theme .dropdown-item .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(255, 90, 96, 0.5);
}

/* Light theme specific dropdown styles */
.light-theme .dropdown-item .theme-toggle-btn {
  color: var(--text-color);
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.05);
}

.light-theme .dropdown-item .theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 10px rgba(209, 32, 38, 0.3);
}

/* Make the icons inside the theme toggle button larger and more visible */
.dropdown-item .theme-toggle-btn i {
  font-size: 1.2rem;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: var(--primary) !important;
  color: #fff !important;
}

.light-theme .text-primary,
.dark-theme .text-primary {
  color: var(--primary) !important;
}

.dark-theme .badge.bg-primary {
  background-color: var(--primary) !important;
  color: white !important;
}

.nav-tabs .nav-link.active,
.nav-tabs .show>.nav-link,
.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}

/* Enhanced mobile dropdown styling */
@media (max-width: 991.98px) {

  /* Enhanced navbar collapse for mobile - make it match other dropdowns exactly */
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
    /* Prevent content from overflowing */
  }

  /* Match dropdown styling exactly */
  .light-theme .navbar-collapse {
    background-color: #ffffff !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12) !important;

  }

  .dark-theme .navbar-collapse {
    background-color: var(--dark-bg) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;

  }

  /* Make sure navbar items have the same styling as dropdown items */
  .navbar-nav {
    padding: 0.5rem 0;
  }

  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
    color: var(--text-color) !important;
    margin-bottom: 0.25rem;
  }

  .light-theme .navbar-nav .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateX(3px);
  }

  .dark-theme .navbar-nav .nav-link:hover {
    background-color: rgba(40, 40, 70, 0.7);
    transform: translateX(3px);
  }

  /* Enhanced dropdown toggle button - Mobile only */
  @media (max-width: 991.98px) {
    .dropdown-toggle {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .dropdown-toggle::after {
      margin-left: 0.5rem;
      transition: transform 0.2s ease;
      border-top: 0.3em solid;
      border-right: 0.3em solid transparent;
      border-left: 0.3em solid transparent;
    }

    .dropdown-toggle[aria-expanded="true"]::after {
      transform: rotate(180deg);
    }

    .light-theme .dropdown-toggle::after {
      color: var(--primary);
    }

    .dark-theme .dropdown-toggle::after {
      color: var(--primary);
    }
  }

  /* Highlight active dropdown */
  .dropdown.show .nav-link {
    position: relative;
  }

  .light-theme .dropdown.show .nav-link {
    background-color: rgba(0, 0, 0, 0.05);
  }

  .dark-theme .dropdown.show .nav-link {
    background-color: rgba(40, 40, 70, 0.7);
  }

  .dropdown.show .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary);
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
  }

  /* Dropdown menu styling */
  .dropdown-menu {
    margin-top: 0.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    width: 100%;
  }

  .dropdown-menu.glass-card {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
  }

  .light-theme .dropdown-menu,
  .light-theme .dropdown-menu.glass-card {
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    border: none;
  }

  .dark-theme .dropdown-menu,
  .dark-theme .dropdown-menu.glass-card {
    background-color: var(--dark-bg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border: none;
  }

  .dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
  }

  .light-theme .dropdown-item {
    color: var(--text-color);
    font-weight: 500;
  }

  .dark-theme .dropdown-item {
    color: var(--text-color);
    font-weight: 500;
  }

  .light-theme .dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateX(3px);
  }

  .dark-theme .dropdown-item:hover,
  .dark-theme .dropdown-item:focus {
    background-color: rgba(40, 40, 70, 0.7);
    transform: translateX(3px);
  }

  /* Mobile dropdown buttons */
  .dropdown-menu .btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  /* Make theme toggle dropdown item clickable */
  .dropdown-item .theme-toggle-btn {
    margin-left: auto;
    /* Push to the right */
    width: 36px;
    height: 36px;
  }

  /* Make the entire dropdown item for theme toggle clickable */
  .dropdown-item.theme-toggle {
    cursor: pointer;
  }

  /* Notification items styling */
  .notification-item {
    border-radius: 8px;
    margin-bottom: 0.5rem;
    padding: 0.75rem;
    transition: all 0.2s ease;
  }

  .light-theme #notification-dropdown-content .notification-item,
  .light-theme #notification-dropdown-content-mobile .notification-item {
    background-color: #ffffff;
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: var(--text-color);
  }

  .dark-theme #notification-dropdown-content .notification-item,
  .dark-theme #notification-dropdown-content-mobile .notification-item {
    background-color: var(--dark-bg);
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: var(--text-color);
  }

  .light-theme #notification-dropdown-content .notification-item:hover,
  .light-theme #notification-dropdown-content-mobile .notification-item:hover {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateX(3px);
  }

  .dark-theme #notification-dropdown-content .notification-item:hover,
  .dark-theme #notification-dropdown-content-mobile .notification-item:hover {
    background-color: rgba(40, 40, 70, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateX(3px);
  }
}

/* Fix notification dropdown styling in light theme */
.light-theme #notification-dropdown-content,
.light-theme #notification-dropdown-content-mobile {
  color: var(--text-color);
}

.light-theme #notification-dropdown-content .notification-title,
.light-theme #notification-dropdown-content-mobile .notification-title {
  color: var(--text-color);
}

.light-theme #notification-dropdown-content .notification-message,
.light-theme #notification-dropdown-content-mobile .notification-message {
  color: var(--text-muted);
}

.light-theme #notification-dropdown-content .notification-time,
.light-theme #notification-dropdown-content-mobile .notification-time {
  color: var(--text-muted);
}

/* Fix "See All Notifications" button in light theme */
.light-theme .dropdown-menu .btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}

.light-theme .dropdown-menu .btn-outline-primary:hover {
  background-color: var(--primary);
  color: white;
}

/* Form controls in light theme */
.light-theme .form-control {
  background-color: rgba(255, 255, 255, 0.8);
  border-color: var(--glass-border);
  color: var(--text-color);
}

.light-theme .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(209, 32, 38, 0.25);
}

.light-theme .form-label {
  color: var(--text-color);
}

/* Accordion styling for light theme */
.light-theme .accordion-item {
  background-color: var(--glass-bg);
  border-color: var(--glass-border);
}

/* Fix pagination in light theme */
.light-theme .pagination .page-link {
  background-color: rgba(255, 255, 255, 0.7);
  border-color: var(--glass-border);
  color: var(--text-color);
}

.light-theme .pagination .page-link:hover {
  background-color: rgba(214, 0, 214, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.light-theme .pagination .page-item.active .page-link {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
}

.light-theme .pagination .page-item.disabled .page-link {
  background-color: rgba(0, 0, 0, 0.05);
  border-color: var(--glass-border);
  color: rgba(0, 0, 0, 0.3);
  opacity: 0.6;
  cursor: not-allowed;
}

/* Fix alert styling in light theme */
.light-theme .alert-success {
  background-color: rgba(25, 135, 84, 0.1);
  border-color: rgba(25, 135, 84, 0.2);
  color: #0f5132;
}

.light-theme .alert-danger {
  background-color: rgba(220, 53, 69, 0.1);
  border-color: rgba(220, 53, 69, 0.2);
  color: #842029;
}

/* Sold Out Alert Styling - Dark Theme */
.alert-sold-out {
  background-color: rgba(209, 32, 38, 0.15);
  border: 1px solid rgba(209, 32, 38, 0.4);
  border-left: 4px solid var(--primary);
  color: #ff5a60;
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-weight: 500;
  transition: var(--theme-transition);
}

.alert-sold-out i {
  color: var(--primary);
}

.alert-sold-out strong {
  color: var(--primary);
  font-weight: 700;
}

/* Sold Out Alert Styling - Light Theme */
.light-theme .alert-sold-out {
  background-color: rgba(196, 28, 34, 0.12);
  border: 1px solid rgba(196, 28, 34, 0.35);
  border-left: 4px solid var(--primary);
  color: #c41c22;
}

.light-theme .alert-sold-out i {
  color: var(--primary);
}

.light-theme .alert-sold-out strong {
  color: var(--primary);
}

/* Page header – transparent on cream (competitions, winners) */
.light-theme .page-header {
  background-color: transparent;
  color: var(--text-color);
}
.light-theme .page-header .lead {
  color: var(--text-muted);
}

/* Fix icon colors in light theme */
.light-theme .text-primary {
  color: var(--primary) !important;
}

/* Fix spinner color in light theme */
.light-theme .spinner-border.text-primary {
  color: var(--primary) !important;
}

/* Fix contact info in light theme */
.light-theme .contact-info h5,
.light-theme .contact-info p {
  color: var(--text-color);
}

/* Fix filter section in light theme */
.light-theme .filters.glass-card {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Fix select dropdown in light theme */
.light-theme .form-select {
  background-color: rgba(255, 255, 255, 0.8);
  border-color: var(--glass-border);
  color: var(--text-color);
}

.light-theme .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(214, 0, 214, 0.25);
}

/* Fix modal in light theme */
.light-theme .modal-content {
  background-color: var(--glass-bg);
  border-color: var(--glass-border);
}

.light-theme .modal-header,
.light-theme .modal-footer {
  border-color: var(--glass-border);
}

/* Footer uses landing charcoal layout (.sv-footer-landing); keep dark bar on light pages */
.light-theme .site-footer.sv-footer-landing {
  background-color: var(--charcoal);
  color: rgba(255, 255, 255, 0.85);
}

/* Social links - red background with white icons by default (for footer icons) */
.social-links a:not(.btn-facebook):not(.btn-x):not(.btn-whatsapp) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary) !important;
  color: white !important;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.social-links a:not(.btn-facebook):not(.btn-x):not(.btn-whatsapp) i {
  color: white !important;
}

.social-links a:not(.btn-facebook):not(.btn-x):not(.btn-whatsapp):hover {
  background-color: var(--primary-hover) !important;
  color: white !important;
  transform: scale(1.1);
}

.light-theme .social-links a:not(.btn-facebook):not(.btn-x):not(.btn-whatsapp) {
  background-color: var(--primary) !important;
  color: white !important;
}

.light-theme .social-links a:not(.btn-facebook):not(.btn-x):not(.btn-whatsapp):hover {
  background-color: var(--primary-hover) !important;
  color: white !important;
}

/* Exception for social buttons to maintain white text on hover */
.light-theme .social-links .btn-facebook:hover,
.light-theme .social-links .btn-x:hover,
.light-theme .social-links .btn-whatsapp:hover {
  color: white !important;
}

/* Ensure social buttons maintain brand colors in light theme */
.light-theme .social-links .btn-facebook {
  background-color: #3b5998 !important;
  color: white !important;
}

.light-theme .social-links .btn-x {
  background-color: #000000 !important;
  color: white !important;
}

.light-theme .social-links .btn-whatsapp {
  background-color: #25d366 !important;
  color: white !important;
}

/* Fix lead text in light theme */
.light-theme .lead {
  color: var(--text-muted);
  font-weight: 400;
}

/* Fix inline code in light theme */
.light-theme code {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--primary);
}

/* Fix table in light theme */
.light-theme table {
  color: var(--text-color);
}

.light-theme .table {
  --bs-table-bg: transparent;
  --bs-table-accent-bg: transparent;
  --bs-table-striped-bg: rgba(0, 0, 0, 0.02);
  --bs-table-active-bg: rgba(0, 0, 0, 0.05);
  --bs-table-hover-bg: rgba(0, 0, 0, 0.03);
  --bs-table-border-color: var(--glass-border);
}


/* Category filters styling */
#category-filters-container {
  margin: 20px 0;
}

#category-filters-container .btn {
  min-width: 90px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

#category-filters-container .btn.active {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(209, 32, 38, 0.3);
}

/* Smiley separator in countdown timer */
.countdown-timer .smiley-separator {
  display: none;
}

/* Entry List Modal Styles */
.entry-list-title {
  color: var(--text-color);
}

.light-theme .entry-list-title {
  color: white;
}

.dark-theme #entryListTableBody {
  color: var(--text-color);
}

.dark-theme #entryListTableBody td {
  color: black;
}

/* Pagination styling for dark theme */
.dark-theme .pagination .page-link {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--glass-border);
  color: var(--text-color);
}

.dark-theme .pagination .page-link:hover {
  background-color: rgba(var(--primary-rgb), 0.2);
  border-color: var(--primary);
  color: var(--primary);
}

.dark-theme .pagination .page-item.active .page-link {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: white !important;
}

.dark-theme .pagination .page-item.disabled .page-link {
  background-color: rgba(255, 255, 255, 0.02);
  border-color: var(--glass-border);
  color: rgba(255, 255, 255, 0.3);
  opacity: 0.5;
  cursor: not-allowed;
}


/* Make winner info heading smaller */
.winner-info h3 {
  font-size: 1rem !important;
  line-height: 1.3;
}


/* Enhanced carousel controls */
.winner-card .carousel-control-prev,
.winner-card .carousel-control-next {
  width: 32px !important;
  height: 32px !important;
  background-color: var(--primary) !important;
  border-radius: 50% !important;
  opacity: 1 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.winner-card .carousel-control-prev {
  left: 10px !important;
}

.winner-card .carousel-control-next {
  right: 10px !important;
}

.winner-card .carousel-control-prev:hover,
.winner-card .carousel-control-next:hover {
  background-color: var(--primary-hover) !important;
}

.winner-card .carousel-control-prev-icon,
.winner-card .carousel-control-next-icon {
  width: 16px !important;
  height: 16px !important;
  filter: brightness(1.2) !important;
  background-size: 100% !important;
}

/* Cart dropdown close button styling */
.remove-cart-item.btn-close {
  filter: none;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.remove-cart-item.btn-close:hover {
  opacity: 1;
}

/* Dark theme: white X button */
.dark-theme .remove-cart-item.btn-close {
  filter: invert(1) brightness(1.2);
}

/* Light theme: black X button */
.light-theme .remove-cart-item.btn-close {
  filter: none;
}


.draw-info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.draw-info-section .container {
  position: relative;
  z-index: 2;
}

.draw-info-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.draw-info-section .section-header h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
}

.draw-info-section .section-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 500;
}

.draw-info-section .draw-card {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.draw-info-section .draw-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.draw-info-section .draw-card:hover::before {
  left: 100%;
}

.draw-info-section .draw-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.draw-info-section .draw-icon {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
  position: relative;
}

.draw-info-section .draw-icon i {
  color: #333;
  font-size: 2rem;
  font-weight: 600;
}

.draw-info-section .draw-icon::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.6;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 0.6;
  }
}

.draw-info-section .text-gradient {
  background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700, #ffed4e);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: shimmer 3s ease-in-out infinite;
  margin-bottom: 1rem;
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.draw-info-section p {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Facebook button styling for draw section */
.draw-info-section .btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: var(--primary) !important;
  border: none !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.draw-info-section .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.draw-info-section .btn-primary:hover::before {
  left: 100%;
}

.draw-info-section .btn-primary:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  color: var(--primary) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.draw-info-section .btn-primary:focus {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  color: var(--primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
}

.draw-info-section .btn-primary i {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

/* Light theme specific adjustments */
.light-theme .draw-info-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
}

.light-theme .draw-info-section .text-gradient {
  background: linear-gradient(45deg, #ff0000, #ff3333, #ff0000, #ff3333);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

}

.light-theme .draw-info-section .draw-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--dark-text);
}

.light-theme .draw-info-section .draw-card:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(0, 0, 0, 0.2);
}

.light-theme .draw-info-section p {
  color: var(--dark-text);
}

.light-theme .draw-info-section .section-header p {
  color: #ffffff;
}

/* Dark theme specific adjustments */
.dark-theme .draw-info-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
}

.dark-theme .draw-info-section .draw-card {
  background: var(--dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-color);
}

.dark-theme .draw-info-section .draw-card:hover {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.25);
}

.dark-theme .draw-info-section .section-header h2 {
  color: var(--text-color);
}

.dark-theme .draw-info-section .section-header p {
  color: var(--text-color);
}

.dark-theme .draw-info-section p {
  color: var(--text-color);
}

/* How It Works Section - Professional Styling */
.how-it-works {
  background-color: var(--bg-color);
  position: relative;
}

.how-it-works .section-header h2 {
  color: var(--text-color);
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.how-it-works .section-header h2 em {
  color: var(--primary);
  font-style: normal;
  font-weight: 800;
}

.how-it-works .step-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.how-it-works .step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.how-it-works .step-number {
  margin-bottom: 1.5rem;
}

.how-it-works .step-number h4 {
  color: var(--primary);
  font-size: 3rem;
  font-weight: 800;
  margin: 0;
}

.how-it-works .step-image {
  margin-bottom: 1.5rem;
}

.how-it-works .step-image img {
  max-height: 80px;
  transition: transform 0.3s ease;
}

/* Step card with background icon (Ninja-style) */
.modern-step-card {
  position: relative;
}

.modern-step-card .step-bg-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8rem;
  opacity: 0.08;
  color: var(--primary);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modern-step-card:hover .step-bg-icon {
  opacity: 0.12;
}

.modern-step-card .step-number {
  position: relative;
  z-index: 2;
}

/* Gold gradient text for winners heading */
.text-gradient-gold {
  color: #c9a227;
}

/* Simple winners display (Ninja-style homepage) */
.simple-winners-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2.5rem 0;
  flex-wrap: wrap;
  margin: 2.5rem 0;
}

.simple-winner {
  text-align: center;
  min-width: 200px;
  max-width: 280px;
  padding: 1.5rem;
}

.simple-winner img {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.simple-winner img:hover {
  transform: scale(1.05);
}

.simple-winner h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0.5rem 0;
  color: var(--text-color);
}

.simple-winner p {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin: 0;
}

@media (max-width: 768px) {
  .simple-winners-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
  }

  .simple-winner img {
    width: 180px;
    height: 180px;
  }
}

.how-it-works .step-card:hover .step-image img {
  transform: scale(1.05);
}

.how-it-works .step-card h3 {
  color: var(--text-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.how-it-works .step-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Light theme adjustments */
.light-theme .how-it-works {
  background-color: var(--bg-color);
}

.light-theme .how-it-works .step-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.light-theme .how-it-works .step-card:hover {
  border-color: var(--primary);
}

/* Dark theme adjustments */
.dark-theme .how-it-works {
  background-color: var(--bg-color);
}

.dark-theme .how-it-works .step-card {
  background: var(--section-bg-alt);
  border: 1px solid var(--glass-border);
}

.dark-theme .how-it-works .step-card:hover {
  border-color: var(--primary);
}

.dark-theme .how-it-works .step-card p {
  color: var(--text-color);
}

/* Fix affiliate tab text colors for dark theme */
.dark-theme .glass-card .text-muted {
  color: rgba(31, 31, 31, 0.7) !important;
}

/* Live Draw Countdown Section */
.live-draw-countdown {
  background-color: var(--bg-color);
  position: relative;
  padding: 2rem 0;
}

.live-draw-countdown .countdown-widget {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

/* Countdown Header */
.live-draw-countdown .countdown-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
  padding: 1rem 1.5rem;
  text-align: center;
  border-radius: 15px 15px 0 0;
  position: relative;
  overflow: hidden;
}

.live-draw-countdown .countdown-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

.live-draw-countdown .countdown-header h3 {
  font-size: 1rem;
  letter-spacing: 1px;
  margin: 0;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

/* Countdown Timer */
.live-draw-countdown .countdown-timer {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(20, 20, 40, 0.9) 100%);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 0;
  position: relative;
}

.live-draw-countdown .countdown-timer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  animation: shimmer 4s ease-in-out infinite reverse;
}

.live-draw-countdown .countdown-item {
  flex: 1;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 10px;
  padding: 1rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.live-draw-countdown .countdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.live-draw-countdown .countdown-item:hover::before {
  left: 100%;
}

.live-draw-countdown .countdown-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--primary);
}

.live-draw-countdown .countdown-number {
  font-size: 1.8rem;
  font-weight: 900;
  background: gold;
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Orbitron', monospace;
  margin-bottom: 0.25rem;

  position: relative;
  z-index: 1;
  animation: shimmer 3s ease-in-out infinite;
}

.live-draw-countdown .countdown-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

/* Countdown Banner */
.live-draw-countdown .countdown-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
  padding: 1.5rem;
  border-radius: 0 0 15px 15px;
  position: relative;
  overflow: hidden;
}

.live-draw-countdown .countdown-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

.live-draw-countdown .banner-content {
  display: flex;
  gap: 1rem;
  position: relative;
  z-index: 1;
  flex-direction: column;
}

.live-draw-countdown .banner-text h4 {
  font-size: 1rem;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
}

.live-draw-countdown .banner-text h4 .highlight-gold {
  color: gold;
  font-weight: 800;
}


/* Theme-specific adjustments */
.light-theme .live-draw-countdown .countdown-widget {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.light-theme .live-draw-countdown .countdown-timer {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.light-theme .live-draw-countdown .countdown-item {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(20, 20, 40, 0.9) 100%);
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.light-theme .live-draw-countdown .countdown-item:hover {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 40, 1) 100%);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.light-theme .live-draw-countdown .countdown-label {
  color: rgba(255, 255, 255, 0.95);
}

.dark-theme .live-draw-countdown .countdown-widget {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

/* Responsive Design */
@media (max-width: 768px) {
  .live-draw-countdown .countdown-timer {
    flex-direction: row;
    gap: 0.25rem;
    padding: 1rem;
  }

  .live-draw-countdown .countdown-item {
    padding: 0.5rem 0.25rem;
    flex: 1;
  }

  .live-draw-countdown .countdown-number {
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
  }

  .live-draw-countdown .countdown-label {
    font-size: 0.6rem;
  }

  .live-draw-countdown .banner-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .live-draw-countdown .banner-text h4 {
    font-size: 0.9rem;
  }

  .live-draw-countdown .countdown-header h3 {
    font-size: 0.9rem;
  }

  .live-draw-countdown .countdown-header {
    padding: 0.75rem 1rem;
  }

  .live-draw-countdown .countdown-banner {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .live-draw-countdown .countdown-timer {
    padding: 0.75rem;
    gap: 0.15rem;
  }

  .live-draw-countdown .countdown-item {
    padding: 0.4rem 0.15rem;
  }

  .live-draw-countdown .countdown-banner {
    padding: 0.75rem;
  }

  .live-draw-countdown .countdown-number {
    font-size: 1rem;
    margin-bottom: 0.05rem;
  }

  .live-draw-countdown .countdown-label {
    font-size: 0.5rem;
  }

  .live-draw-countdown .banner-text h4 {
    font-size: 0.8rem;
  }

  .live-draw-countdown .countdown-header h3 {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
  }
}

/* App Download Section - Custom Buttons */
.app-store-button {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 0 rgba(0, 0, 0, 0.3),
    0 6px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(0);
}

.app-store-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 6px 0 rgba(0, 0, 0, 0.3),
    0 8px 18px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.app-store-button:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.3),
    0 3px 6px rgba(0, 0, 0, 0.2),
    inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.button-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button-icon {
  flex-shrink: 0;
}

.button-text {
  text-align: left;
  line-height: 1.2;
}

.button-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.button-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}

/* Google Play Button */
.google-play-button {
  background: linear-gradient(135deg, #0f9d58 0%, #00c851 100%);
  color: white;
  border: 1px solid #0f9d58;
}

.google-play-button:hover {
  background: linear-gradient(135deg, #0e8944 0%, #00a142 100%);
  color: white;
}

/* Apple Store Button */
.apple-store-button {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  color: white;
  border: 1px solid #000000;
}

.apple-store-button:hover {
  background: linear-gradient(135deg, #1a1a1a 0%, #404040 100%);
  color: white;
}

/* App Download Section - Mobile Fix */
@media (max-width: 768px) {
  .app-download-buttons {
    flex-wrap: nowrap !important;
    justify-content: center;
    gap: 1rem !important;
  }

  .app-store-button {
    min-width: 140px;
    padding: 10px 12px;
  }

  .button-content {
    gap: 8px;
  }

  .button-label {
    font-size: 8px;
  }

  .button-name {
    font-size: 16px;
  }

  .button-icon svg {
    width: 20px;
    height: 20px;
  }
}




/* Professional App Download Section */
.professional-app-section {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}

.professional-app-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--gradient-mid), var(--primary));
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.app-badge {
  display: inline-block;
}

.badge-text {
  background: var(--primary);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.app-features {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 1rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}



.feature-icon {
  width: 45px;
  height: 45px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.feature-text h6 {
  margin: 0 0 5px 0;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  padding: 15px 25px;
  background: #000;
  color: white;
  text-decoration: none;
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
  min-width: 180px;
  box-shadow:
    0 4px 0 rgba(0, 0, 0, 0.3),
    0 6px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(0);
}

.app-store-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 6px 0 rgba(0, 0, 0, 0.3),
    0 8px 18px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

.app-store-button:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.3),
    0 3px 6px rgba(0, 0, 0, 0.2),
    inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.app-store-button.google-play {
  background: linear-gradient(135deg, #01875f 0%, #00a86b 50%, #01875f 100%);
  border-color: rgba(255, 255, 255, 0.15);
}

.app-store-button.apple-store {
  background: linear-gradient(135deg, #000 0%, #333 50%, #000 100%);
  border-color: rgba(255, 255, 255, 0.1);
}


.button-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.button-label {
  font-size: 11px;
  opacity: 0.8;
  line-height: 1;
}

.button-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.app-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-container {
  position: relative;
  max-width: 300px;
}

.phone-frame {
  position: relative;
  z-index: 2;
}

.phone-image {
  width: 100%;
  height: auto;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 10px 20px rgba(209, 32, 38, 0.3);
}

.floating-icon.icon-1 {
  top: 20%;
  right: -20px;
  animation-delay: 0s;
}

.floating-icon.icon-2 {
  bottom: 30%;
  left: -25px;
  animation-delay: 1s;
}

.floating-icon.icon-3 {
  top: 60%;
  right: -15px;
  animation-delay: 2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Light theme adjustments */
.light-theme .professional-app-section {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
}



/* Mobile responsiveness */
@media (max-width: 768px) {
  .professional-app-section {
    padding: 2rem 1.5rem;
  }

  .app-features .row {
    flex-direction: column;
  }

  .feature-item {
    padding: 0.75rem;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .app-store-button {
    padding: 12px 20px;
    min-width: 160px;
  }

  .phone-mockup-container {
    max-width: 250px;
    margin-top: 2rem;
  }

  .floating-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .floating-icon.icon-1 {
    right: -15px;
  }

  .floating-icon.icon-2 {
    left: -20px;
  }

  .floating-icon.icon-3 {
    right: -10px;
  }
}


/* Featured Competitions Section */
.featured-competitions {
  background: white;
  transition: var(--theme-transition);
}

.dark-theme .featured-competitions {
  background: var(--section-bg-alt2);
}

.dark-theme .app-download-section {
  background: var(--section-bg-alt);
}

.dark-theme .page-header .lead {
  color: var(--text-muted);
}
.dark-theme .winners-section,
.dark-theme .competitions-section {
  background: transparent;
}

.featured-competitions .container {
  position: relative;
}

.featured-competitions .section-header {
  position: relative;
  z-index: 2;
}

.featured-competitions .category-filters {
  position: relative;
  z-index: 2;
}

/* Ensure mobile filters are above competition cards */
@media (max-width: 991.98px) {
  .featured-competitions .category-filters {
    z-index: 1;
  }
}

.featured-competitions #featured-competitions-container {
  position: relative;
  z-index: 2;
}

/* ========================================
   HOMEPAGE MOBILE FILTERS & GRID SYSTEM
   ======================================== */

/* Mobile filters container */
.homepage-mobile-filters {
  margin-bottom: 1rem;
  max-width: 100%;
  position: relative;
  z-index: 1;
}

.mobile-category-dropdown {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.mobile-category-dropdown .dropdown-toggle {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  z-index: 2;
}

.mobile-category-dropdown .dropdown-menu {
  font-size: 0.875rem;
  max-height: 50vh;
  overflow-y: auto;
  z-index: 3 !important;
  position: absolute !important;
  margin-top: 0.125rem;
}

.mobile-category-dropdown .dropdown-item {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

.mobile-category-dropdown .dropdown-item.active {
  background-color: #d12026;
  color: white;
}

.mobile-category-dropdown .dropdown-item.active:hover {
  background-color: #d12026;
  color: white;
}

/* Red background for dropdown button when active/show */
.mobile-category-dropdown .dropdown-toggle.show {
  background-color: #d12026;
  border-color: #d12026;
  color: white;
}

.mobile-category-dropdown .dropdown-toggle.show:hover {
  background-color: #b01d22;
  border-color: #b01d22;
  color: white;
}

/* Mobile grid toggle buttons */
.mobile-grid-toggle .btn-group {
  display: flex;
}

.mobile-grid-toggle .btn {
  font-size: 0.875rem;
  padding: 0.5rem 0.65rem;
  border-width: 1px;
  min-width: 40px;
}

.mobile-grid-toggle .btn i {
  font-size: 0.875rem;
}

.mobile-grid-toggle .btn.active {
  background-color: #d12026;
  border-color: #d12026;
  color: white;
}

.mobile-grid-toggle .btn-group .btn:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.mobile-grid-toggle .btn-group .btn:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 0;
}

/* Mobile grid layout - ONLY ON MOBILE & TABLET (< 992px) */
@media (max-width: 991.98px) {

  /* Prevent horizontal overflow globally on mobile */
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Container padding for mobile */
  .featured-competitions .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
  }

  /* Reset Bootstrap grid for mobile */
  .homepage-mobile-grid.row {
    display: grid;
    margin-left: 0;
    margin-right: 0;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
  }

  /* Remove Bootstrap column classes on mobile */
  .homepage-mobile-grid.row>* {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
    max-width: 100%;
    flex: none;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
  }

  /* 1-column grid (full width) */
  .homepage-mobile-grid.grid-1-mobile {
    grid-template-columns: 1fr;
  }

  /* 2-column grid (default) - ensure proper sizing */
  .homepage-mobile-grid.grid-2-mobile {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  /* Ensure competition cards fit properly within grid cells */
  .homepage-mobile-grid .competition-card {
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
    min-width: 0;
    position: relative;
    z-index: 1;
  }

  /* Ensure images inside cards don't overflow */
  .homepage-mobile-grid .competition-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .homepage-mobile-grid .competition-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    display: block;
  }

  /* Ensure competition info doesn't overflow */
  .homepage-mobile-grid .competition-info {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.75rem !important;
    overflow: hidden;
  }

  /* Scale down font sizes for 2-grid layout */
  .homepage-mobile-grid.grid-2-mobile .competition-title {
    font-size: 0.875rem !important;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
  }

  .homepage-mobile-grid.grid-2-mobile .ticket-price {
    font-size: 1rem !important;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .homepage-mobile-grid.grid-2-mobile .competition-info {
    padding: 0.5rem !important;
  }

  .homepage-mobile-grid.grid-2-mobile .category-badge {
    font-size: 0.6rem !important;
    padding: 2px 6px !important;
    top: 5px !important;
    left: 5px !important;
    max-width: calc(100% - 10px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Skeleton loader animation */
  @keyframes loading {
    0% {
      background-position: -200px 0;
    }

    100% {
      background-position: 200px 0;
    }
  }

  /* Ensure skeleton loaders work properly with grid layout */
  .homepage-mobile-grid .skeleton-loader {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* Fix countdown spacing for 2-grid layout - override inline styles */
  .homepage-mobile-grid.grid-2-mobile .countdown-timer.countdown {
    gap: 2px !important;
    padding: 2px !important;
    justify-content: space-around !important;
  }

  .homepage-mobile-grid.grid-2-mobile .countdown-timer .time-unit {
    min-width: auto !important;
    max-width: 20% !important;
    flex: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .homepage-mobile-grid.grid-2-mobile .countdown-timer .time-value {
    font-size: 0.65rem !important;
    line-height: 1;
  }

  .homepage-mobile-grid.grid-2-mobile .countdown-timer .time-label {
    font-size: 0.4rem !important;
    line-height: 1;
    margin-top: 0;
  }

  /* Ensure all text elements wrap properly */
  .homepage-mobile-grid .competition-card * {
    max-width: 100%;
    box-sizing: border-box;
  }

  .homepage-mobile-grid .competition-card p,
  .homepage-mobile-grid .competition-card span,
  .homepage-mobile-grid .competition-card div {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Small mobile devices (≤ 576px) */
@media (max-width: 575.98px) {
  .featured-competitions .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .homepage-mobile-filters {
    gap: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .mobile-category-dropdown .dropdown-toggle {
    font-size: 0.8125rem;
    padding: 0.45rem 0.65rem;
  }

  .mobile-grid-toggle .btn {
    font-size: 0.8125rem;
    padding: 0.45rem 0.6rem;
    min-width: 38px;
  }

  .homepage-mobile-grid.row {
    gap: 0.5rem;
  }

  /* Even tighter constraints for very small screens */
  .homepage-mobile-grid.grid-2-mobile {
    gap: 0.5rem;
  }

  .homepage-mobile-grid.grid-2-mobile .competition-info {
    padding: 0.4rem !important;
  }

  .homepage-mobile-grid.grid-2-mobile .competition-title {
    font-size: 0.8125rem !important;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .homepage-mobile-grid.grid-2-mobile .ticket-price {
    font-size: 0.9rem !important;
  }

  /* Ensure buttons don't overflow */
  .homepage-mobile-grid .competition-card .btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Ensure progress bars don't overflow */
  .homepage-mobile-grid .progress {
    height: 1rem !important;
    font-size: 0.65rem !important;
  }

  /* Even tighter countdown for very small screens in 2-grid */
  .homepage-mobile-grid.grid-2-mobile .countdown-timer.countdown {
    gap: 0 !important;
    padding: 0 !important;
  }

  .homepage-mobile-grid.grid-2-mobile .countdown-timer .time-value {
    font-size: 1rem !important;
  }

  .homepage-mobile-grid.grid-2-mobile .countdown-timer .time-label {
    font-size: 0.7rem !important;
  }

  .homepage-mobile-grid.grid-2-mobile .countdown-timer .time-unit {
    max-width: fit-content !important;
  }
}


/* Simple App Download Section */
.simple-app-section {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 3rem 2rem;
}

.light-theme .simple-app-section {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
}

.app-buttons .btn {
  min-width: 160px;
  transition: all 0.3s ease;
}

.app-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .simple-app-section {
    padding: 2rem 1rem;
  }
}

/* Color Flow Animation for Header Tombstones */
@keyframes colorFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


/* Win Big Section Social Buttons - Mobile/Tablet Optimization */
@media (max-width: 991.98px) {
  .social-buttons {

    width: 100%;


  }

  .social-buttons .social-btn {
    width: 100% !important;
    font-size: 1rem !important;
    padding: 0.75rem 1rem !important;
  }
}

@media (min-width: 768px) {
  .social-buttons {
    gap: 1.5rem !important;
  }

  .social-buttons .social-btn {
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem !important;
  }
}



/* Announcement bar — matches landing-page.html */
.site-header .announce-bar {
  background: var(--charcoal);
  color: var(--gold);
  text-align: center;
  padding: 10px 20px;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(196, 168, 130, 0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: var(--announce-bar-height);
  line-height: 1.35;
}

.site-header .announce-bar span {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 12px;
}

@media (max-width: 576px) {
  .site-header .announce-bar {
    font-size: 9px;
    letter-spacing: 0.12em;
    padding: 8px 12px;
  }

  .site-header .announce-bar span {
    margin: 0 6px;
  }
}

/* Hide age gate before paint when already verified (see theme_init.php) */
html.sv-age-verified #ageGate {
  display: none !important;
}

/* Age gate modal — matches landing-page.html */
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(28, 23, 20, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.age-modal {
  background: var(--cream);
  border-radius: 24px;
  padding: 56px 48px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.age-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 48px;
  right: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.age-logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
}

.age-logo em {
  font-style: italic;
  color: var(--rosewood);
}

.age-tagline {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-grey);
  font-weight: 500;
  margin-bottom: 32px;
}

.age-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--charcoal);
  margin: 0 0 10px;
}

.age-sub {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--warm-grey);
  line-height: 1.7;
  margin-bottom: 36px;
}

.age-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.age-yes {
  padding: 15px;
  background: var(--charcoal);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: "Jost", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.age-yes:hover {
  background: var(--rosewood);
}

.age-no {
  padding: 15px;
  background: none;
  color: var(--warm-grey);
  border: 1px solid var(--light-grey);
  border-radius: 12px;
  font-family: "Jost", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.age-no:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.age-note {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  color: var(--light-grey);
  margin-top: 20px;
  letter-spacing: 0.04em;
}

.age-note a {
  color: var(--rosewood);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.age-note a:hover {
  color: var(--rosewood-mid);
}

/* Navbar sits below fixed announce bar */
.navbar {
  top: var(--announce-bar-height);
  z-index: 1040;
}

/* Mobile header: same layout as Ninja Comps, keep theme background and icon colors */
@media (max-width: 991.98px) {
  .site-header .navbar {
    height: 60px !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 15px !important;
  }

  .site-header .navbar .sv-navbar-shell {
    display: flex !important;
    align-items: center !important;
    flex: 1;
    min-width: 0;
  }

  .site-header .mobile-nav-wrap {
    min-height: 60px;
    align-items: center;
  }

  /* Mobile row: logo left — menu + account + notif + cart grouped on the right */
  .sv-mobile-nav-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px;
    flex-wrap: nowrap;
    min-width: 0;
    width: 100%;
  }

  .sv-mobile-nav-actions {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0;
    gap: 4px;
    min-width: 0;
  }

  @media (min-width: 380px) {
    .sv-mobile-nav-actions {
      gap: 8px;
    }
  }

  .sv-mobile-nav-account-text {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 26vw;
  }

  .sv-mobile-nav-logo.sv-nav-logo {
    flex: 0 1 auto;
    min-width: 0;
    font-size: clamp(17px, 4.5vw, 22px);
    padding: 0 !important;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 52%;
  }

  /* Hamburger — landing .nav-toggle */
  .sv-mobile-nav-toggle {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 10px;
    background: none;
    border: 1px solid rgba(196, 168, 130, 0.35);
    border-radius: 8px;
    cursor: pointer;
    color: var(--charcoal);
  }

  .sv-mobile-nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
  }

  .dark-theme .sv-mobile-nav-toggle {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.25);
  }

  .dark-theme .sv-mobile-nav-toggle span {
    background: rgba(255, 255, 255, 0.9);
  }

  /* Account pill — landing .nav-account (compact on small screens) */
  #main-navbar .sv-mobile-nav-account.nav-account {
    display: inline-flex !important;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
    padding: 7px 10px !important;
    font-size: 10px !important;
    letter-spacing: 0.06em !important;
    gap: 5px !important;
    white-space: nowrap;
    background: var(--charcoal) !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    font-family: var(--font-primary) !important;
    border: none !important;
    transition: background 0.2s, transform 0.15s !important;
  }

  #main-navbar .sv-mobile-nav-account.nav-account:hover {
    background: var(--rosewood) !important;
    color: #fff !important;
    transform: translateY(-1px);
  }

  #main-navbar .sv-mobile-nav-account.nav-account svg {
    width: 12px !important;
    height: 12px !important;
    flex-shrink: 0;
  }

  @media (min-width: 400px) {
    #main-navbar .sv-mobile-nav-account.nav-account {
      padding: 8px 14px !important;
      font-size: 11px !important;
    }

    #main-navbar .sv-mobile-nav-account.nav-account svg {
      width: 14px !important;
      height: 14px !important;
    }
  }

  .sv-mobile-nav-notif {
    flex-shrink: 0;
  }

  .sv-mobile-nav-cart {
    flex-shrink: 0;
  }

  /* Circular icon targets — landing .nav-cart */
  .sv-mobile-nav-icon-btn,
  .sv-mobile-nav-cart-btn {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(196, 168, 130, 0.35) !important;
    background: transparent !important;
    color: var(--charcoal) !important;
    text-decoration: none !important;
    padding: 0 !important;
    transition: background 0.2s, border-color 0.2s;
  }

  .sv-mobile-nav-icon-btn:hover,
  .sv-mobile-nav-cart-btn:hover {
    background: var(--ivory) !important;
    border-color: var(--gold) !important;
    color: var(--charcoal) !important;
  }

  .sv-mobile-nav-icon-btn i,
  .sv-mobile-nav-cart-btn i {
    font-size: 1.1rem !important;
  }

  .dark-theme .sv-mobile-nav-icon-btn,
  .dark-theme .sv-mobile-nav-cart-btn {
    color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
  }

  .dark-theme .sv-mobile-nav-icon-btn:hover,
  .dark-theme .sv-mobile-nav-cart-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--gold) !important;
  }

  .sv-mobile-nav-icon-btn::after,
  .sv-mobile-nav-cart-btn::after {
    display: none !important;
  }

  .sv-mobile-nav-row .badge.cart-count,
  .sv-mobile-nav-row .badge.notification-count {
    font-size: 0.65rem !important;
    min-width: 16px;
    height: 16px !important;
    padding: 0 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }
}

@media (max-width: 768px) {
  .navbar {
    top: var(--announce-bar-height);
  }
}

/* Only target Trustpilot widget links, not social icons */
.light-theme .trustpilot-widget a {
  color: #6c757d !important;
  /* Dark gray for light theme */
}

.light-theme .trustpilot-widget a:hover {
  color: #495057 !important;
  /* Darker gray on hover */
}

/* Trustpilot widget specific styling for light theme */
.light-theme .tp-widget-wrapper {
  color: #6c757d !important;
}

.light-theme .tp-widget-wrapper a {
  color: #6c757d !important;
}

.light-theme .tp-widget-wrapper span {
  color: #6c757d !important;
}

.light-theme .tp-widget-wrapper strong {
  color: #495057 !important;
}

/* Override Trustpilot's inline styles for light theme */
.light-theme .tp-widget-wrapper * {
  color: #6c757d !important;
}

.light-theme .tp-widget-wrapper strong {
  color: #495057 !important;
}

.social-follow-text small {
  font-weight: 500;
  letter-spacing: 0.5px;
  font-family: 'Orbitron', sans-serif;
}

/* Apply Orbitron font to navigation menu items */
.navbar-nav .nav-link {
  font-family: 'Orbitron', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Apply Orbitron font to social follow text */
.social-follow-text {
  font-family: 'Orbitron', sans-serif;
}

/* Social follow text theme colors */
.light-theme .social-follow-text .text-muted {
  color: #1d1d1d !important;
}

.dark-theme .social-follow-text .text-muted {
  color: #ffffff !important;
}

.social-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  vertical-align: middle;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon i {
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dark-theme .social-icon {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.dark-theme .social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.light-theme .social-icon {
  background: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.9);
}

.light-theme .social-icon:hover {
  background: rgba(0, 0, 0, 0.2);
  color: #000000;
}

.dark-theme .social-follow-text small {
  color: rgba(255, 255, 255, 0.7) !important;
}

.light-theme .social-follow-text small {
  color: rgba(0, 0, 0, 0.6) !important;
}

.trustpilot-widget a {
  transition: all 0.3s ease;
}

.trustpilot-widget a:hover {
  transform: translateY(-1px);
}

.dark-theme .trustpilot-widget a {
  color: rgba(255, 255, 255, 0.7) !important;
}

.light-theme .trustpilot-widget a {
  color: rgba(0, 0, 0, 0.6) !important;
}

/* Mobile responsive adjustments */
@media (max-width: 767.98px) {
  .social-follow-text {
    margin-bottom: 0.5rem;
  }

  .trustpilot-widget {
    text-align: center !important;
  }
}

/* Style for navbar toggler icon in dark theme */
.dark-theme .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Style for navbar toggler icon in light theme */
.light-theme .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Global dropdown styling */
.dropdown-menu.glass-card {
  background-color: #212529;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ═══════════════════════════════════════════
   USER DROPDOWN — Sumnervera original
═══════════════════════════════════════════ */
/* Trigger button */
.sv-user-trigger {
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}
.sv-user-trigger:hover { color: #fff; }
.sv-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(196, 168, 130, 0.18);
  border: 1px solid rgba(196, 168, 130, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: background 0.2s;
}
.sv-user-trigger:hover .sv-user-avatar {
  background: rgba(196, 168, 130, 0.28);
}
.sv-user-name {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sv-user-caret {
  font-size: 0.5rem;
  opacity: 0.55;
  transition: transform 0.2s;
}
.sv-user-trigger[aria-expanded="true"] .sv-user-caret { transform: rotate(180deg); }

/* Panel */
.sv-user-panel {
  padding: 0 !important;
  min-width: 190px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(196, 168, 130, 0.28) !important;
  background: #1E1A17 !important;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.50) !important;
  overflow: hidden;
}
/* Header greeting */
.sv-user-panel-header {
  display: flex;
  flex-direction: column;
  padding: 0.7rem 1rem 0.55rem;
  list-style: none;
}
.sv-user-panel-greeting {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}
.sv-user-panel-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.2;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Divider */
.sv-user-divider {
  margin: 0;
  border-color: rgba(196, 168, 130, 0.13);
}
/* Menu items */
.sv-user-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  white-space: nowrap;
}
.sv-user-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.95);
}
.sv-user-item-icon {
  width: 14px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
}
.sv-user-item:hover .sv-user-item-icon { opacity: 1; }
/* Sign out */
.sv-user-item--signout { color: rgba(220, 53, 69, 0.7); }
.sv-user-item--signout:hover {
  background: rgba(220, 53, 69, 0.06);
  color: rgba(220, 53, 69, 0.9);
}
.sv-user-item--signout .sv-user-item-icon { color: rgba(220, 53, 69, 0.7); }
.sv-user-item--signout:hover .sv-user-item-icon { color: rgba(220, 53, 69, 0.9); opacity: 1; }
/* Suppress default Bootstrap caret since we have our own */
.sv-user-trigger.dropdown-toggle::after { display: none !important; }
/* Light theme */
.light-theme .sv-user-trigger { color: var(--charcoal); }
.light-theme .sv-user-trigger:hover { color: var(--charcoal); }
.light-theme .sv-user-avatar {
  background: rgba(160, 134, 96, 0.10);
  border-color: rgba(160, 134, 96, 0.3);
  color: var(--gold-dark);
}
.light-theme .sv-user-name { color: var(--charcoal); }
.light-theme .sv-user-panel {
  background: #fff !important;
  border-color: rgba(28, 23, 20, 0.10) !important;
}
.light-theme .sv-user-panel-greeting { color: var(--warm-grey); }
.light-theme .sv-user-panel-name { color: var(--charcoal); }
.light-theme .sv-user-divider { border-color: rgba(28, 23, 20, 0.07); }
.light-theme .sv-user-item { color: var(--charcoal); opacity: 0.85; }
.light-theme .sv-user-item:hover { background: rgba(28, 23, 20, 0.04); opacity: 1; color: var(--charcoal); }
.light-theme .sv-user-item-icon { color: var(--gold-dark); }
.light-theme .sv-user-item--signout { color: rgba(220, 53, 69, 0.75); opacity: 1; }
.light-theme .sv-user-item--signout:hover { background: rgba(220, 53, 69, 0.04); color: #dc3545; }
.light-theme .sv-user-item--signout .sv-user-item-icon { color: rgba(220, 53, 69, 0.75); }

/* ═══════════════════════════════════════════
   WALLET DROPDOWN — Sumnervera original
═══════════════════════════════════════════ */
.sv-wallet-panel {
  padding: 0 !important;
  min-width: 244px !important;
  max-width: 280px;
  border-radius: 12px !important;
  border: 1px solid rgba(196, 168, 130, 0.28) !important;
  background: #1E1A17 !important;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.50) !important;
  overflow: hidden;
}
/* Header strip */
.sv-wallet-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem 0.6rem;
  border-bottom: 1px solid rgba(196, 168, 130, 0.13);
}
.sv-wallet-header-icon {
  font-size: 0.7rem;
  color: var(--gold);
  opacity: 0.75;
}
.sv-wallet-header-label {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}
/* Body */
.sv-wallet-body {
  padding: 0.6rem 1rem 0.85rem;
}
/* Balance rows */
.sv-bal-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.42rem 0;
}
.sv-bal-row + .sv-bal-row {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.sv-bal-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(196, 168, 130, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: var(--gold);
}
.sv-bal-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.sv-bal-label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}
.sv-bal-amount {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
/* CTA */
.sv-wallet-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin-top: 0.7rem;
  padding: 0.52rem 1rem;
  border-radius: 8px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.sv-wallet-cta:hover {
  background: var(--gold-dark);
  color: #fff;
}
/* Light theme */
.light-theme .sv-wallet-panel {
  background: #fff !important;
  border-color: rgba(28, 23, 20, 0.10) !important;
}
.light-theme .sv-wallet-header {
  border-bottom-color: rgba(28, 23, 20, 0.07);
}
.light-theme .sv-wallet-header-label,
.light-theme .sv-wallet-header-icon { color: var(--gold-dark); }
.light-theme .sv-bal-label { color: var(--warm-grey); }
.light-theme .sv-bal-amount { color: var(--gold-dark); }
.light-theme .sv-bal-row + .sv-bal-row { border-top-color: rgba(28, 23, 20, 0.06); }
.light-theme .sv-bal-icon { background: rgba(160, 134, 96, 0.10); color: var(--gold-dark); }
.light-theme .sv-wallet-cta { background: var(--gold); color: var(--charcoal); }
.light-theme .sv-wallet-cta:hover { background: var(--gold-dark); color: #fff; }

/* ═══════════════════════════════════════════
   NOTIFICATIONS DROPDOWN — Sumnervera original
═══════════════════════════════════════════ */
.sv-notif-panel {
  padding: 0 !important;
  min-width: 330px !important;
  max-width: 390px;
  border-radius: 12px !important;
  border: 1px solid rgba(196, 168, 130, 0.28) !important;
  background: #1E1A17 !important;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.50) !important;
  overflow: hidden;
  flex-direction: column;
  max-height: 500px;
  /* Bootstrap sets display:none by default; we only override to flex when open */
}
.sv-notif-panel.show {
  display: flex !important;
}
/* Panel header */
.sv-notif-head {
  display: flex;
  align-items: center;
  padding: 0.65rem 1rem 0.6rem;
  border-bottom: 1px solid rgba(196, 168, 130, 0.13);
  flex-shrink: 0;
}
.sv-notif-head-title {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}
/* Scrollable list */
.sv-notif-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.3rem 0;
}
.sv-notif-scroll::-webkit-scrollbar { width: 3px; }
.sv-notif-scroll::-webkit-scrollbar-track { background: transparent; }
.sv-notif-scroll::-webkit-scrollbar-thumb {
  background: rgba(196, 168, 130, 0.22);
  border-radius: 2px;
}
/* Empty / loading message */
.sv-notif-empty-msg {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  margin: 0;
}
/* Notification items */
.sv-notif-item.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.52rem 1rem;
  margin: 0;
  border-radius: 0;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.15s;
}
.sv-notif-item.notification-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
  transition: background 0.15s;
}
.sv-notif-item.notification-item:hover { background: rgba(255, 255, 255, 0.04); }
.sv-notif-item.notification-item:hover::before { background: var(--gold); }
/* Type icon bubble */
.sv-notif-type-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.625rem;
  margin-top: 2px;
}
.sv-notif-type-icon.text-warning { background: rgba(255, 193, 7, 0.12);  color: #ffc107 !important; }
.sv-notif-type-icon.text-success { background: rgba(25, 135, 84, 0.12);  color: #28c76f !important; }
.sv-notif-type-icon.text-info    { background: rgba(13, 202, 240, 0.12); color: #0dcaf0 !important; }
.sv-notif-type-icon.text-primary { background: rgba(196, 168, 130, 0.12); color: var(--gold) !important; }
/* Item body */
.sv-notif-body {
  flex: 1;
  min-width: 0;
}
.sv-notif-title.notification-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.3;
  margin-bottom: 0.15rem;
}
.sv-notif-msg.notification-message {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
  opacity: 1 !important;
}
.sv-notif-item--read .sv-notif-msg.notification-message {
  opacity: 0.7 !important;
  color: rgba(255, 255, 255, 0.40);
}
/* Unread dot */
.sv-notif-unread.notification-status {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 4px;
  display: block;
}
/* Load more */
.sv-load-more-btn {
  background: none;
  border: 1px solid rgba(196, 168, 130, 0.3);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.73rem;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  margin: 0.4rem auto 0.2rem;
  display: block;
}
.sv-load-more-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
/* Footer */
.sv-notif-foot {
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(196, 168, 130, 0.13);
  flex-shrink: 0;
}
.sv-notif-foot-btn {
  flex: 1;
  padding: 0.55rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  display: block;
}
.sv-notif-foot-btn--all {
  color: var(--gold);
  border-right: 1px solid rgba(196, 168, 130, 0.13);
}
.sv-notif-foot-btn--all:hover {
  background: rgba(196, 168, 130, 0.07);
  color: var(--gold-dark);
}
.sv-notif-foot-btn--clear {
  color: rgba(255, 255, 255, 0.35);
}
.sv-notif-foot-btn--clear:hover {
  background: rgba(220, 53, 69, 0.06);
  color: rgba(220, 53, 69, 0.85);
}
/* Light theme */
.light-theme .sv-notif-panel {
  background: #fff !important;
  border-color: rgba(28, 23, 20, 0.10) !important;
}
.light-theme .sv-notif-head { border-bottom-color: rgba(28, 23, 20, 0.07); }
.light-theme .sv-notif-head-title { color: var(--gold-dark); }
.light-theme .sv-notif-empty-msg { color: var(--warm-grey); }
.light-theme .sv-notif-item.notification-item:hover { background: rgba(28, 23, 20, 0.03); }
.light-theme .sv-notif-type-icon.text-primary { background: rgba(160, 134, 96, 0.10); }
.light-theme .sv-notif-title.notification-title { color: var(--charcoal); }
.light-theme .sv-notif-msg.notification-message { color: var(--warm-grey); }
.light-theme .sv-notif-item--read .sv-notif-msg.notification-message { color: var(--light-grey); }
.light-theme .sv-notif-unread.notification-status { background: var(--gold-dark); }
.light-theme .sv-load-more-btn { border-color: rgba(28, 23, 20, 0.18); color: var(--warm-grey); }
.light-theme .sv-load-more-btn:hover { border-color: var(--gold-dark); color: var(--gold-dark); }
.light-theme .sv-notif-foot { border-top-color: rgba(28, 23, 20, 0.07); }
.light-theme .sv-notif-foot-btn--all { color: var(--gold-dark); border-right-color: rgba(28, 23, 20, 0.07); }
.light-theme .sv-notif-foot-btn--clear { color: rgba(28, 23, 20, 0.35); }
.light-theme .sv-notif-foot-btn--clear:hover { background: rgba(220, 53, 69, 0.04); color: #dc3545; }
/* Mobile: full-width, full height */
@media (max-width: 991.98px) {
  .sv-wallet-panel,
  .sv-notif-panel {
    position: fixed !important;
    top: 100px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    z-index: 1060 !important;
    max-height: 75vh !important;
  }
}

/* Cart dropdown – Sumnervera redesign */
.cart-dropdown-panel {
  padding: 0 !important;
  min-width: 320px !important;
  border-radius: 12px;
  border: 1px solid rgba(196, 168, 130, 0.3);
  background: var(--charcoal-light, #3A322D);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.cart-dropdown-panel #cart-dropdown-content,
.cart-dropdown-panel #cart-dropdown-content-mobile {
  padding: 1rem 1.1rem;
}
.cart-dd-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 0.75rem 0;
  letter-spacing: 0.02em;
}
.cart-dd-list {
  margin-bottom: 0.75rem;
}
.cart-dd-item {
  margin-bottom: 0;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cart-dd-item:last-of-type {
  border-bottom: none;
}
.cart-dd-item-inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.cart-dd-item-img {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}
.cart-dd-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-dd-item-body {
  flex: 1;
  min-width: 0;
}
.cart-dd-item-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.cart-dd-item-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}
.cart-dd-item-total {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.cart-dd-remove {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.7rem;
  transition: background 0.2s, color 0.2s;
}
.cart-dd-remove:hover {
  background: rgba(196, 168, 130, 0.25);
  color: #fff;
}
.cart-dd-more {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.35rem 0;
}
.cart-dd-footer {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(196, 168, 130, 0.2);
}
.cart-dd-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}
.cart-dd-subtotal span:first-child {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}
.cart-dd-subtotal span:last-child {
  font-weight: 700;
  color: var(--gold);
}
.cart-dd-expiry {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.75rem;
  border-radius: 8px;
  background: rgba(196, 168, 130, 0.12);
  border: 1px solid rgba(196, 168, 130, 0.2);
  color: rgba(255, 255, 255, 0.9);
}
.cart-dd-expiry i {
  color: var(--gold);
}
.cart-dd-expiry.alert-danger {
  background: rgba(122, 34, 50, 0.2);
  border-color: rgba(122, 34, 50, 0.35);
}
/* Expiry at bottom of dropdown (under buttons), ninjacomps-style */
.cart-dd-expiry-bottom {
  display: block;
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  text-align: center;
  font-size: 0.70rem;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.6);
}
.cart-dd-expiry-bottom.alert-danger {
  color: var(--danger, #c82333);
  background: none;
  border: none;
}
.cart-dd-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cart-dd-btn {
  display: block;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cart-dd-btn--secondary {
  background: transparent;
  border: 1px solid rgba(196, 168, 130, 0.5);
  color: var(--gold);
}
.cart-dd-btn--secondary:hover {
  background: rgba(196, 168, 130, 0.15);
  color: #fff;
  border-color: var(--gold);
}
.cart-dd-btn--primary {
  background: var(--gold);
  color: var(--charcoal);
  border: 1px solid var(--gold);
}
.cart-dd-btn--primary:hover {
  background: var(--gold-dark);
  color: #fff;
  border-color: var(--gold-dark);
}
.cart-dropdown-panel .empty-cart-message {
  padding: 1.5rem 1rem;
  text-align: center;
}
.cart-dropdown-panel .empty-cart-message .empty-cart-icon {
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 0.75rem;
}
.cart-dropdown-panel .empty-cart-message p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.cart-dropdown-panel .empty-cart-message .btn {
  background: var(--gold);
  color: var(--charcoal);
  border: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}
.cart-dropdown-panel .empty-cart-message .btn:hover {
  background: var(--gold-dark);
  color: #fff;
}

/* Light theme – cart dropdown */
.light-theme .cart-dropdown-panel {
  background: var(--ivory);
  border-color: rgba(28, 23, 20, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.light-theme .cart-dd-title { color: var(--charcoal); }
.light-theme .cart-dd-item { border-bottom-color: rgba(28, 23, 20, 0.08); }
.light-theme .cart-dd-item-title { color: var(--charcoal); }
.light-theme .cart-dd-item-price { color: var(--warm-grey); }
.light-theme .cart-dd-item-total { color: var(--charcoal); }
.light-theme .cart-dd-remove {
  background: rgba(28, 23, 20, 0.08);
  color: var(--warm-grey);
}
.light-theme .cart-dd-remove:hover {
  background: rgba(196, 168, 130, 0.2);
  color: var(--charcoal);
}
.light-theme .cart-dd-more { color: var(--warm-grey); }
.light-theme .cart-dd-footer { border-top-color: rgba(28, 23, 20, 0.12); }
.light-theme .cart-dd-subtotal span:first-child { color: var(--charcoal); }
.light-theme .cart-dd-subtotal span:last-child { color: var(--gold-dark); }
.light-theme .cart-dd-expiry {
  background: rgba(196, 168, 130, 0.1);
  border-color: rgba(196, 168, 130, 0.2);
  color: var(--charcoal);
}
.light-theme .cart-dd-expiry.alert-danger {
  background: rgba(122, 34, 50, 0.08);
  border-color: rgba(122, 34, 50, 0.2);
}
.light-theme .cart-dd-expiry-bottom {
  color: rgba(28, 23, 20, 0.6);
}
.light-theme .cart-dd-expiry-bottom.alert-danger {
  color: var(--danger, #c82333);
}
.light-theme .cart-dd-btn--secondary {
  border-color: var(--gold);
  color: var(--gold-dark);
}
.light-theme .cart-dd-btn--secondary:hover {
  background: rgba(196, 168, 130, 0.12);
  color: var(--charcoal);
}
.light-theme .cart-dd-btn--primary {
  background: var(--gold);
  color: var(--charcoal);
}
.light-theme .cart-dd-btn--primary:hover {
  background: var(--gold-dark);
  color: #fff;
}
.light-theme .cart-dropdown-panel .empty-cart-message .empty-cart-icon { color: var(--warm-grey); }
.light-theme .cart-dropdown-panel .empty-cart-message p { color: var(--charcoal); }

/* Desktop styles */
@media (min-width: 992px) {
  /* Body padding-top moved to main style.css to prevent layout shifts */
}

/* Mobile styles */
@media (max-width: 991.98px) {
  /* Body padding-top moved to main style.css to prevent layout shifts */

  .navbar .container {
    padding-left: 0;
    padding-right: 0;
  }

  #main-navbar .navbar-brand.sv-nav-logo {
    margin-right: auto;
    padding-left: 8px;
    font-size: 20px;
  }

  #main-navbar .fas {
    font-size: 1.4rem;
    /* Smaller icons on mobile */
  }

  /* More compact navbar on mobile */
  .navbar {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
  }

  /* Style the collapsible navbar */
  .navbar-collapse {
    position: fixed !important;
    top: 100px !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100vw !important;
    max-width: 100vw !important;
    z-index: 1050 !important;
    margin: 0 !important;
    padding: 1rem !important;
    border-radius: 0 !important;
    background-color: #212529 !important;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  /* Dark theme mobile menu styling */
  .dark-theme .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
  }

  .dark-theme .navbar-nav .nav-link:hover {
    color: #ffffff !important;
  }

  /* Light theme mobile menu styling */
  .light-theme .navbar-collapse {
    background-color: rgba(248, 249, 250, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
  }

  /* Both themes - improve nav item spacing */
  .navbar-nav .nav-item {
    padding: 0.25rem 0;
  }

  /* Reduce padding on mobile icons container */
  .navbar .d-flex.align-items-center.d-lg-none {
    margin-right: 10px !important;
  }

  /* More compact mobile dropdown toggles */
  .navbar-toggler {
    padding: 0 !important;
    margin-right: 8px;
    z-index: 5;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }

  /* Remove any focus outline or border from the navbar toggler */
  .navbar-toggler:focus,
  .navbar-toggler:active,
  .navbar-toggler-icon:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
  }

  /* This is specifically needed for Bootstrap 5 */
  .navbar-toggler:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }

  .navbar-toggler-icon {
    width: 1.7rem !important;
    height: 1.7rem !important;
  }

  /* Mobile dropdowns */
  .dropdown-menu.glass-card {
    border-radius: 0;
    position: fixed !important;
    top: 100px !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100vw !important;
    max-width: 100vw !important;
    z-index: 1060 !important;
    /* Higher than navbar-collapse */
    margin: 0;
    padding: 1rem;
  }

  /* Fix for dropdown positioning */
  .dropdown {
    position: static !important;
  }

  /* Ensure proper z-index stacking for both navbar and dropdowns */
  .dropdown.show .dropdown-menu {
    z-index: 1060 !important;
    /* Ensure it's higher than navbar-collapse */
  }

  /* Hide any dropdowns when navbar is expanded */
  .navbar-collapse.show~.dropdown-menu.show {
    display: none !important;
  }
}

/* Even smaller screens */
@media (max-width: 360px) {
  #main-navbar .navbar-brand.sv-nav-logo {
    font-size: 18px;
  }

  #main-navbar .fas {
    font-size: 1.1rem;
    /* Even smaller icons on tiny screens */
  }

  .navbar .d-flex.align-items-center.d-lg-none {
    gap: 5px !important;
    /* Slightly reduced gap on tiny screens */
  }

  .navbar-toggler-icon {
    width: 1.7rem !important;
    height: 1.7rem !important;
  }
}

/* Discount Notification - Special Styling */
.discount-notification-special {
  border-left: 2px solid var(--primary);
  padding: 6px 8px;
  margin-bottom: 6px;
  cursor: default;
  pointer-events: none;
}

.discount-notification-content {
  display: flex;
  align-items: center;
  gap: 6px;
}

.discount-notification-icon {
  color: var(--primary);
  font-size: 12px;
  flex-shrink: 0;
}

.discount-notification-text {
  flex: 1;
  min-width: 0;
}

.discount-notification-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.2;
}

.discount-notification-message {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 1px;
}

/* ============================================
   TOAST NOTIFICATIONS - Sumnervera design
   Light and dark theme support
   ============================================ */

.toast-container {
  z-index: 9999 !important;
  pointer-events: none;
}

.toast-container .toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 90vw;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  font-family: var(--font-primary);
}

/* Dark theme (default) */
.toast-container .toast.sv-toast {
  background: #1E1A17 !important;
  color: rgba(255, 255, 255, 0.92);
}

.toast-container .toast.sv-toast .toast-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(196, 168, 130, 0.2) !important;
  padding: 0.75rem 1rem !important;
  color: inherit !important;
}

.toast-container .toast.sv-toast .toast-header strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem !important;
}

.toast-container .toast.sv-toast .toast-body {
  padding: 1rem 1rem 1rem 3.25rem !important;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.toast-container .toast.sv-toast .btn-close {
  filter: invert(1);
  opacity: 0.6;
}

.toast-container .toast.sv-toast .btn-close:hover {
  opacity: 1;
}

/* Toast types - Dark theme */
.toast-container .toast.sv-toast--success {
  border-color: rgba(196, 168, 130, 0.4) !important;
}

.toast-container .toast.sv-toast--success .toast-icon {
  background: rgba(196, 168, 130, 0.15) !important;
}

.toast-container .toast.sv-toast--success .toast-icon i {
  color: var(--gold) !important;
}

.toast-container .toast.sv-toast--success .toast-header strong {
  color: var(--gold) !important;
}

.toast-container .toast.sv-toast--error,
.toast-container .toast.sv-toast--danger {
  border-color: rgba(186, 34, 52, 0.5) !important;
}

.toast-container .toast.sv-toast--error .toast-icon,
.toast-container .toast.sv-toast--danger .toast-icon {
  background: rgba(186, 34, 52, 0.15) !important;
}

.toast-container .toast.sv-toast--error .toast-icon i,
.toast-container .toast.sv-toast--danger .toast-icon i {
  color: #BA2234 !important;
}

.toast-container .toast.sv-toast--error .toast-header strong,
.toast-container .toast.sv-toast--danger .toast-header strong {
  color: #e88a94 !important;
}

.toast-container .toast.sv-toast--warning {
  border-color: rgba(196, 168, 130, 0.45) !important;
}

.toast-container .toast.sv-toast--warning .toast-icon {
  background: rgba(255, 193, 7, 0.12) !important;
}

.toast-container .toast.sv-toast--warning .toast-icon i {
  color: var(--gold) !important;
}

.toast-container .toast.sv-toast--warning .toast-header strong {
  color: var(--gold) !important;
}

.toast-container .toast.sv-toast--info {
  border-color: rgba(196, 168, 130, 0.3) !important;
}

.toast-container .toast.sv-toast--info .toast-icon {
  background: rgba(196, 168, 130, 0.12) !important;
}

.toast-container .toast.sv-toast--info .toast-icon i {
  color: var(--gold) !important;
}

.toast-container .toast.sv-toast--info .toast-header strong {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Light theme */
.light-theme .toast-container .toast.sv-toast {
  background: #fff !important;
  color: var(--charcoal);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.light-theme .toast-container .toast.sv-toast .toast-header {
  border-bottom-color: rgba(28, 23, 20, 0.1) !important;
  color: var(--charcoal) !important;
}

.light-theme .toast-container .toast.sv-toast .toast-body {
  color: var(--warm-grey);
}

.light-theme .toast-container .toast.sv-toast .btn-close {
  filter: none;
  opacity: 0.5;
}

.light-theme .toast-container .toast.sv-toast .btn-close:hover {
  opacity: 0.8;
}

.light-theme .toast-container .toast.sv-toast--success {
  border-color: rgba(196, 168, 130, 0.5) !important;
}

.light-theme .toast-container .toast.sv-toast--success .toast-header strong {
  color: var(--gold-dark) !important;
}

.light-theme .toast-container .toast.sv-toast--success .toast-icon i {
  color: var(--gold-dark) !important;
}

.light-theme .toast-container .toast.sv-toast--error,
.light-theme .toast-container .toast.sv-toast--danger {
  border-color: rgba(122, 34, 50, 0.4) !important;
}

.light-theme .toast-container .toast.sv-toast--error .toast-header strong,
.light-theme .toast-container .toast.sv-toast--danger .toast-header strong {
  color: var(--rosewood) !important;
}

.light-theme .toast-container .toast.sv-toast--error .toast-icon i,
.light-theme .toast-container .toast.sv-toast--danger .toast-icon i {
  color: var(--rosewood) !important;
}

.light-theme .toast-container .toast.sv-toast--warning {
  border-color: rgba(196, 168, 130, 0.5) !important;
}

.light-theme .toast-container .toast.sv-toast--warning .toast-header strong {
  color: var(--gold-dark) !important;
}

.light-theme .toast-container .toast.sv-toast--info {
  border-color: rgba(28, 23, 20, 0.15) !important;
}

.light-theme .toast-container .toast.sv-toast--info .toast-header strong {
  color: var(--charcoal) !important;
}

.light-theme .toast-container .toast.sv-toast--info .toast-icon i {
  color: var(--gold-dark) !important;
}

/* Toast icon base */
.toast-container .toast .toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
}

.toast-container .toast .toast-icon i {
  font-size: 1.15rem !important;
}