/* 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 - Arcade style */
  --font-primary: "Comfortaa", "Rajdhani", sans-serif;
  --font-heading: "Fugaz One", "Orbitron", sans-serif;
  
  /* Arcade colors from arcade.online */
  --arcade-blue: #1668fd;
  --arcade-blue-dark: #253d9d;
  --arcade-blue-light: #86b1ff;
  --arcade-gold: #fec000; /* rgb(254, 192, 0) */
  --arcade-gold-dark: #d4a000; /* Darker gold for shadow */
  --arcade-red: #df1827; /* rgb(223, 24, 39) */
  --arcade-red-dark: #b81420; /* Darker red for shadow */
  
  /* 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;

  /* Bootstrap 5 CSS Variables for better integration */
  --bs-primary: #f1570f;
  --bs-primary-rgb: 241, 87, 15;
  --bs-secondary: #f7dc6f;
  --bs-secondary-rgb: 247, 220, 111;
  --bs-success: #28a745;
  --bs-success-rgb: 40, 167, 69;
  --bs-info: #17a2b8;
  --bs-info-rgb: 23, 162, 184;
  --bs-warning: #ffc107;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger: #dc3545;
  --bs-danger-rgb: 220, 53, 69;
}

/* Dark theme variables - Arcade.online inspired */
.dark-theme {
  /* Arcade.online color scheme */
  --primary: #1668fd;
  --primary-hover: #1565c0;
  --primary-dark: #253d9d;
  --primary-light: #86b1ff;
  --gold: #fec000;
  --gold-dark: #d4a000;
  --red: #df1827;
  --red-dark: #b81420;

  /* Bootstrap 5 theme variables */
  --bs-body-color: #ffffff;
  --bs-body-color-rgb: 255, 255, 255;
  --bs-body-bg: #131313;
  --bs-body-bg-rgb: 19, 19, 19;
  --bs-emphasis-color: #86b1ff;
  --bs-emphasis-color-rgb: 134, 177, 255;
  --secondary: #86b1ff;
  --blue: #1668fd;
  --dark-bg: #131313;
  --darker-bg: #0f0f0f;
  --card-bg: rgba(25, 25, 25, 0.8);
  --text-color: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --border-color: rgba(22, 104, 253, 0.3);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(25, 25, 25, 0.9);
  --glass-bg-hover: rgba(35, 35, 35, 0.95);
  --glow-color: rgba(134, 177, 255, 0.4);
  --gradient-start: #1668fd;
  --gradient-mid: #3d7efd;
  --gradient-end: #86b1ff;
  
  /* Navbar specific */
  --navbar-bg: rgba(19, 19, 19, 0.95);
  --navbar-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  
  /* Footer specific */
  --footer-bg: var(--darker-bg);
  --footer-text: var(--text-color);
  --footer-link: var(--text-color);
  --footer-link-hover: var(--primary-light);
  
  /* Form controls */
  --input-bg: rgba(25, 25, 25, 0.8);
  --input-border: var(--glass-border);
  --input-text: var(--text-color);
  --input-placeholder: var(--text-muted);
  
  /* Buttons */
  --btn-primary-bg: #1668fd;
  --btn-primary-hover-bg: #1565c0;
}

/* Light theme variables - Arcade.online inspired */
.light-theme {
  /* Arcade.online color scheme (light variant) */
  --primary: #1668fd;
  --primary-hover: #1565c0;
  --primary-dark: #253d9d;
  --primary-light: #86b1ff;
  --gold: #fec000;
  --gold-dark: #d4a000;
  --red: #df1827;
  --red-dark: #b81420;

  /* Bootstrap 5 theme variables */
  --bs-body-color: #131313;
  --bs-body-color-rgb: 19, 19, 19;
  --bs-body-bg: #f8f9fa;
  --bs-body-bg-rgb: 248, 249, 250;
  --bs-emphasis-color: #1668fd;
  --bs-emphasis-color-rgb: 22, 104, 253;
  --secondary: #86b1ff;
  --blue: #1668fd;
  --dark-bg: #f8f9fa;
  --darker-bg: #e9ecef;
  --card-bg: rgba(255, 255, 255, 0.9);
  --text-color: #131313;
  --text-muted: rgba(19, 19, 19, 0.6);
  --border-color: rgba(22, 104, 253, 0.2);
  --glass-border: rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-bg-hover: rgba(248, 249, 250, 0.98);
  --glow-color: rgba(134, 177, 255, 0.3);
  --gradient-start: #1668fd;
  --gradient-mid: #3d7efd;
  --gradient-end: #86b1ff;
  
  /* Navbar specific */
  --navbar-bg: rgba(255, 255, 255, 0.95);
  --navbar-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  
  /* Footer specific */
  --footer-bg: var(--darker-bg);
  --footer-text: var(--text-color);
  --footer-link: var(--text-color);
  --footer-link-hover: var(--primary);
  
  /* Form controls */
  --input-bg: rgba(255, 255, 255, 0.9);
  --input-border: var(--glass-border);
  --input-text: var(--text-color);
  --input-placeholder: var(--text-muted);
  
  /* Buttons */
  --btn-primary-bg: #1668fd;
  --btn-primary-hover-bg: #1565c0;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--dark-bg);
  transition: var(--theme-transition);
  /* Pre-apply header spacing to prevent layout shifts */
  padding-top: 75px; /* 44px Trustpilot + 56px navbar */
}

/* Arcade-style glow animations */
@keyframes arcade-glow {
  0%, 100% {
    box-shadow: 0 0 5px var(--arcade-blue-light), 0 0 10px var(--arcade-blue-light), 0 0 15px var(--arcade-blue-light);
  }
  50% {
    box-shadow: 0 0 10px var(--arcade-blue-light), 0 0 20px var(--arcade-blue-light), 0 0 30px var(--arcade-blue-light);
  }
}

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

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

/* Dark theme specific background - Arcade.online style */
.dark-theme {
  background-color: #131313;
  background-image: radial-gradient(circle at 10% 20%, rgba(22, 104, 253, 0.08) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(134, 177, 255, 0.08) 0%, transparent 20%),
    linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
  background-attachment: fixed;
  min-height: 100vh;
}

/* Light theme specific background - Arcade.online style */
.light-theme {
  background-color: #f8f9fa;
  background-image: radial-gradient(circle at 10% 20%, rgba(22, 104, 253, 0.03) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(134, 177, 255, 0.03) 0%, transparent 20%),
    linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
  background-attachment: fixed;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Fugaz One', sans-serif !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  color: var(--text-color);
  transition: var(--theme-transition);
  letter-spacing: normal;
}

/* Ensure display classes use Fugaz One font */
.display-4,
.display-5 {
  font-family: 'Fugaz One', sans-serif !important;
  font-weight: 400 !important;
  text-transform: uppercase;
}

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;
  position: fixed !important;
  top: 44px; /* Positioned below Trustpilot section */
  left: 0;
  right: 0;
  z-index: 1040;
}

/* Mobile navbar positioning */
@media (max-width: 768px) {
  .navbar {
    top: 40px; /* Slightly higher on mobile devices */
  }
}

/* Removed scroll effect - navbar stays consistent */

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

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

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

/* 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);
}

/* Wallet dropdown text color - theme aware */
.dark-theme #wallet-dropdown-content h6,
.dark-theme #wallet-dropdown-content .text-white,
.dark-theme #wallet-dropdown-content span.text-white,
.dark-theme #wallet-dropdown-content-mobile h6,
.dark-theme #wallet-dropdown-content-mobile .text-white,
.dark-theme #wallet-dropdown-content-mobile span.text-white {
  color: #fff !important;
}

.light-theme #wallet-dropdown-content h6,
.light-theme #wallet-dropdown-content .text-white,
.light-theme #wallet-dropdown-content span.text-white,
.light-theme #wallet-dropdown-content-mobile h6,
.light-theme #wallet-dropdown-content-mobile .text-white,
.light-theme #wallet-dropdown-content-mobile span.text-white {
  color: #333 !important;
}

/* Notification dropdown text color - theme aware */
.dark-theme #notification-dropdown-content .text-white,
.dark-theme #notification-dropdown-content p,
.dark-theme #notification-dropdown-content-mobile .text-white,
.dark-theme #notification-dropdown-content-mobile p {
  color: #fff !important;
}

.light-theme #notification-dropdown-content .text-white,
.light-theme #notification-dropdown-content p,
.light-theme #notification-dropdown-content-mobile .text-white,
.light-theme #notification-dropdown-content-mobile p {
  color: #333 !important;
}

/* Cart dropdown text color - theme aware */
.dark-theme #cart-dropdown-content .text-white,
.dark-theme #cart-dropdown-content span.text-white,
.dark-theme #cart-dropdown-content .cart-item-title,
.dark-theme #cart-dropdown-content .cart-item-price,
.dark-theme #cart-dropdown-content .cart-subtotal,
.dark-theme #cart-dropdown-content-mobile .text-white,
.dark-theme #cart-dropdown-content-mobile span.text-white,
.dark-theme #cart-dropdown-content-mobile .cart-item-title,
.dark-theme #cart-dropdown-content-mobile .cart-item-price,
.dark-theme #cart-dropdown-content-mobile .cart-subtotal {
  color: #fff !important;
}

.light-theme #cart-dropdown-content .text-white,
.light-theme #cart-dropdown-content span.text-white,
.light-theme #cart-dropdown-content .cart-item-title,
.light-theme #cart-dropdown-content .cart-item-price,
.light-theme #cart-dropdown-content .cart-subtotal,
.light-theme #cart-dropdown-content-mobile .text-white,
.light-theme #cart-dropdown-content-mobile span.text-white,
.light-theme #cart-dropdown-content-mobile .cart-item-title,
.light-theme #cart-dropdown-content-mobile .cart-item-price,
.light-theme #cart-dropdown-content-mobile .cart-subtotal {
  color: #333 !important;
}

/* Button Styles - Arcade.online inspired 3D effect */
.btn {
  font-family: 'Fugaz One', sans-serif;
  font-weight: 400;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: normal;
  transition: background-color 0.1s linear, border-color 0.1s linear, box-shadow 0.1s linear, transform 0.1s linear, color 0.1s linear;
  position: relative;
}

.btn-primary {
  background-color: var(--arcade-blue) !important;
  color: rgb(255, 255, 255) !important;
  border: none !important;
  border-radius: 10px;
  padding: 6px 20px;
  font-size: 18px;
  box-shadow: var(--arcade-blue-dark) 0px 6px 0px 0px !important;
  position: relative;
}

.btn-primary:hover {
  background-color: var(--arcade-blue) !important;
  color: rgb(255, 255, 255) !important;
  box-shadow: var(--arcade-blue-dark) 0px 4px 0px 0px !important;
  transform: translateY(2px);
}

.btn-primary:active {
  transform: translateY(4px);
  box-shadow: var(--arcade-blue-dark) 0px 2px 0px 0px !important;
}

/* Success Button - Arcade Style (for Checkout button) */
.btn-success {
  background-color: #10b981 !important;
  color: rgb(255, 255, 255) !important;
  border: none !important;
  border-radius: 10px;
  padding: 6px 20px;
  font-size: 18px;
  box-shadow: #059669 0px 6px 0px 0px !important;
  position: relative;
  font-family: 'Fugaz One', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.btn-success:hover {
  background-color: #10b981 !important;
  color: rgb(255, 255, 255) !important;
  box-shadow: #059669 0px 4px 0px 0px !important;
  transform: translateY(2px);
}

.btn-success:active {
  transform: translateY(4px);
  box-shadow: #059669 0px 2px 0px 0px !important;
}

/* Success button sizes */
.btn-success.btn-sm {
  padding: 5px 12px;
  font-size: 14px;
  border-radius: 8px;
  box-shadow: #059669 0px 4px 0px 0px !important;
}

.btn-success.btn-sm:hover {
  box-shadow: #059669 0px 3px 0px 0px !important;
  transform: translateY(1px);
}

.btn-success.btn-sm:active {
  transform: translateY(3px);
  box-shadow: #059669 0px 1px 0px 0px !important;
}

/* Gold Button - Arcade Style (like Sign Up button) */
.btn-warning,
.btn-gold {
  background-color: var(--arcade-gold) !important;
  color: #161616 !important;
  border: none !important;
  border-radius: 10px;
  padding: 6px 20px;
  font-size: 18px;
  box-shadow: var(--arcade-gold-dark) 0px 6px 0px 0px !important;
  position: relative;
  font-family: 'Fugaz One', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.btn-warning:hover,
.btn-gold:hover {
  background-color: var(--arcade-gold) !important;
  color: #161616 !important;
  box-shadow: var(--arcade-gold-dark) 0px 4px 0px 0px !important;
  transform: translateY(2px);
}

.btn-warning:active,
.btn-gold:active {
  transform: translateY(4px);
  box-shadow: var(--arcade-gold-dark) 0px 2px 0px 0px !important;
  color: #161616 !important;
}

/* Gold button sizes */
.btn-warning.btn-sm,
.btn-gold.btn-sm {
  padding: 5px 12px;
  font-size: 14px;
  border-radius: 8px;
  box-shadow: var(--arcade-gold-dark) 0px 4px 0px 0px !important;
  color: #161616 !important;
}

.btn-warning.btn-sm:hover,
.btn-gold.btn-sm:hover {
  box-shadow: var(--arcade-gold-dark) 0px 3px 0px 0px !important;
  transform: translateY(1px);
  color: #161616 !important;
}

.btn-warning.btn-sm:active,
.btn-gold.btn-sm:active {
  transform: translateY(3px);
  box-shadow: var(--arcade-gold-dark) 0px 1px 0px 0px !important;
  color: #161616 !important;
}

.btn-warning.btn-lg,
.btn-gold.btn-lg {
  padding: 8px 24px;
  font-size: 20px;
  box-shadow: var(--arcade-gold-dark) 0px 8px 0px 0px !important;
  color: #161616 !important;
}

.btn-warning.btn-lg:hover,
.btn-gold.btn-lg:hover {
  box-shadow: var(--arcade-gold-dark) 0px 6px 0px 0px !important;
  transform: translateY(2px);
  color: #161616 !important;
}

.btn-warning.btn-lg:active,
.btn-gold.btn-lg:active {
  transform: translateY(6px);
  box-shadow: var(--arcade-gold-dark) 0px 2px 0px 0px !important;
  color: #161616 !important;
}

/* Red Button/Badge - Arcade Style */
.btn-danger,
.btn-red {
  background-color: var(--arcade-red) !important;
  color: rgb(255, 255, 255) !important;
  border: none !important;
  border-radius: 10px;
  padding: 6px 20px;
  font-size: 18px;
  box-shadow: var(--arcade-red-dark) 0px 6px 0px 0px !important;
  position: relative;
  font-family: 'Fugaz One', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.btn-danger:hover,
.btn-red:hover {
  background-color: var(--arcade-red) !important;
  color: rgb(255, 255, 255) !important;
  box-shadow: var(--arcade-red-dark) 0px 4px 0px 0px !important;
  transform: translateY(2px);
}

.btn-danger:active,
.btn-red:active {
  transform: translateY(4px);
  box-shadow: var(--arcade-red-dark) 0px 2px 0px 0px !important;
}

/* Red button sizes */
.btn-danger.btn-sm,
.btn-red.btn-sm {
  padding: 5px 12px;
  font-size: 14px;
  border-radius: 8px;
  box-shadow: var(--arcade-red-dark) 0px 4px 0px 0px !important;
}

.btn-danger.btn-sm:hover,
.btn-red.btn-sm:hover {
  box-shadow: var(--arcade-red-dark) 0px 3px 0px 0px !important;
  transform: translateY(1px);
}

.btn-danger.btn-sm:active,
.btn-red.btn-sm:active {
  transform: translateY(3px);
  box-shadow: var(--arcade-red-dark) 0px 1px 0px 0px !important;
}

.btn-danger.btn-lg,
.btn-red.btn-lg {
  padding: 8px 24px;
  font-size: 20px;
  box-shadow: var(--arcade-red-dark) 0px 8px 0px 0px !important;
}

.btn-danger.btn-lg:hover,
.btn-red.btn-lg:hover {
  box-shadow: var(--arcade-red-dark) 0px 6px 0px 0px !important;
  transform: translateY(2px);
}

.btn-danger.btn-lg:active,
.btn-red.btn-lg:active {
  transform: translateY(6px);
  box-shadow: var(--arcade-red-dark) 0px 2px 0px 0px !important;
}

/* Notification Badges - Red Arcade Style */
.badge-danger,
.badge-red,
.notify-badge-content {
  background-color: var(--arcade-red) !important;
  color: rgb(255, 255, 255) !important;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  padding: 0 6px;
}

/* Gold badges for special highlights */
.badge-warning,
.badge-gold {
  background-color: var(--arcade-gold) !important;
  color: rgb(255, 255, 255) !important;
  border-radius: 10px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
}

#category-filters-container {
  margin: 0.5rem 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
}

#category-filters-container .btn {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

#category-filters-container .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

#category-filters-container .btn:hover::before {
  left: 100%;
}

#category-filters-container .btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
  border-color: var(--primary);
}

#category-filters-container .btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: white;
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
  transform: translateY(-2px);
}

#category-filters-container .btn.active::after {
  content: '✓';
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--secondary);
  color: var(--primary);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
  border: 2px solid white;
}

/* Light theme specific adjustments */
.light-theme #category-filters-container {
  background: transparent;
  border: none;
  box-shadow: none;
}

.light-theme #category-filters-container .btn {
  border-color: var(--primary);
  color: var(--primary);
}

.light-theme #category-filters-container .btn:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.2);
}

.light-theme #category-filters-container .btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: white;
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

/* Dark theme specific adjustments */
.dark-theme #category-filters-container {
  background: transparent;
  border: none;
  box-shadow: none;
}

.dark-theme #category-filters-container .btn {
  border-color: var(--primary);
  color: var(--primary);
}

.dark-theme #category-filters-container .btn:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.dark-theme #category-filters-container .btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: white;
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.5);
}

.btn-outline-light {
  border-color: var(--glass-border);
  color: var(--text-color);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

/* Login button hover effect */
#auth-buttons .btn-outline-light:hover {
  background-color: var(--text-color);
  color: var(--dark-bg);
  border-color: var(--text-color);
}

.glow-button {
  box-shadow: 0 0 15px var(--glow-color);
}

.glow-button:hover {
  box-shadow: 0 0 25px var(--glow-color);
}

/* Text Gradient */
.text-gradient {

  color: var(--primary);
}

/* Glass Card Styles - Enhanced with Bootstrap variables */
.glass-card {
  background: rgba(var(--bs-body-bg-rgb), 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--bs-border-radius-lg);
  box-shadow: var(--bs-box-shadow);
  border: var(--bs-border-width) solid rgba(var(--bs-body-color-rgb), 0.1);
  transition: all 0.3s ease;
  color: var(--bs-body-color);
}


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

/* Site Footer - Matches Header Design */
.site-footer {
  background: linear-gradient(135deg, #feeb00 0%, #fead00 50%, #feeb00 100%);
  background-size: 200% 200%;
  animation: gradientShift 3s ease-in-out infinite;
  position: relative;
  padding-top: 50px;
  padding-bottom: 25px;
  overflow: hidden;
  transition: var(--theme-transition);
}

/* Footer background pattern - matches header */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/pattern.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

/* Dark and light themes use same yellow footer background */
.dark-theme .site-footer,
.light-theme .site-footer {
  background: linear-gradient(135deg, #feeb00 0%, #fead00 50%, #feeb00 100%);
  background-size: 200% 200%;
  animation: gradientShift 3s ease-in-out infinite;
}

.dark-theme .site-footer::before,
.light-theme .site-footer::before {
  background-image: url('../images/pattern.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
}

/* Footer Main Content */
.footer-main {
  position: relative;
  z-index: 2;
  padding-bottom: 30px;
}

/* Footer Brand Section */
.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-brand img {
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.footer-brand img:hover {
  transform: scale(1.05);
}

.footer-description {
  color: #333;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
}

/* Footer Social Links */
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social .social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(51, 51, 68, 0.1);
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(51, 51, 68, 0.2);
}

.footer-social .social-link:hover {
  background: rgba(51, 51, 68, 0.2);
  border-color: rgba(51, 51, 68, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer-social .social-link i {
  font-size: 1rem;
}

/* Footer Column Styles */
.footer-column {
  margin-bottom: 0;
}

.footer-heading {
  color: #333;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(51, 51, 68, 0.2);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #333;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 4px 0;
  display: block;
}

.footer-links a:hover {
  color: #000;
  transform: translateX(4px);
  text-decoration: none;
}

/* Footer Contact Info */
.footer-contact li {
  display: flex;
  align-items: center;
  color: #333;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-contact i {
  margin-right: 8px;
  color: #666;
}

/* Footer Bottom */
.footer-bottom {
  position: relative;
  z-index: 2;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(51, 51, 68, 0.2);
}

.copyright-text,
.company-info,
.powered-by {
  color: #333;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  margin: 0;
}

.powered-by a {
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.powered-by a:hover {
  color: #000;
  text-decoration: underline;
}

#current-year {
  font-weight: 600;
}

/* Company Section Layout */
.company-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.company-section .company-info {
  margin-bottom: 0.25rem;
}

.powered-by-desktop {
  display: block;
  margin-top: 0.25rem;
}

.company-section .powered-by {
  display: none; /* Hidden on desktop */
}

/* Mobile Footer Styles */
@media (max-width: 768px) {
  .site-footer {
    padding-top: 35px;
    padding-bottom: 20px;

  }

  .footer-main {
    padding-bottom: 20px;
  }

  .footer-column {
    margin-bottom: 2rem;
  }

  .footer-description {
    font-size: 0.9rem;
  }

  .footer-social {
    justify-content: flex-start;
    gap: 8px;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom .col-md-6 {
    margin-bottom: 0.25rem;
  }

  .copyright-text,
  .company-info {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
  }

  .powered-by-desktop {
    display: none;
  }

  .powered-by-mobile {
    display: block !important;
    font-family: sans-serif !important;
    font-size: 0.6rem !important;
    color: #000 !important;
    margin-top: 0.25rem;
    margin-bottom: 0;
  }

  .powered-by-mobile a {
    color: #000 !important;
    font-weight: 500;
  }

  .powered-by-mobile a:hover {
    color: #333 !important;
  }
}

/* Theme Toggle Button - always use light theme styling */
.theme-toggle-btn {
  background: transparent !important;
  border: 2px solid rgba(0, 0, 0, 0.1) !important; /* Light theme glass-border */
  color: #333344 !important; /* Light theme text color */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}

/* Light theme theme toggle button */
.light-theme .theme-toggle-btn {
  color: #333 !important;
}

/* Dark theme theme toggle button */
.dark-theme .theme-toggle-btn {
  color: white !important;
}

.theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.05) !important; /* Light theme hover */
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.25),
    0 3px 6px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.theme-toggle-btn:active {
  transform: translateY(1px);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

/* Light theme theme toggle icons - ensure they override button color */
.light-theme .theme-toggle-btn .icon-moon,
.light-theme .theme-toggle-btn .icon-sun {
  color: #333 !important;
}

/* Dark theme mobile menu sun icon - make it more visible */
.dark-theme #mobile-menu-theme-toggle .icon-sun {
  color: #ffd700 !important;
}

/* Dark theme desktop theme toggle icons - dark gray (exclude mobile menu) */
.dark-theme .theme-toggle-btn:not(#mobile-menu-theme-toggle) .icon-moon,
.dark-theme .theme-toggle-btn:not(#mobile-menu-theme-toggle) .icon-sun {
  color: #333 !important; /* Dark gray - match moon and sun */
}

/* Override Bootstrap bg-body-secondary default background */
.bg-body-secondary {
  background-color: white !important;
}

/* Cart Dropdown Button - 3D Styling */
#cartDropdown {
  background: transparent !important;
  border: 2px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  text-decoration: none !important;
}

#cartDropdown:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.25),
    0 3px 6px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  text-decoration: none !important;
}

#cartDropdown:active {
  transform: translateY(1px);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

#cartDropdown i {
  color: #333344 !important;
  font-size: 1.2rem;
}

/* Mobile Header Icons - Transparent Circles */
#mobileCartDropdown,
#mobileNotificationDropdown {
  background: transparent !important;
  border: 2px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none !important;
}

#mobileCartDropdown:hover,
#mobileNotificationDropdown:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

#mobileCartDropdown:active,
#mobileNotificationDropdown:active {
  transform: translateY(1px);
}

#mobileCartDropdown i,
#mobileNotificationDropdown i {
  color: #333344 !important;
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
}

/* Mobile Theme Toggle Button - Transparent Circle */
#theme-toggle-mobile {
  background: transparent !important;
  border: 2px solid rgba(0, 0, 0, 0.1) !important;
  color: #333344 !important;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

#theme-toggle-mobile:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  transform: translateY(-1px);
}

#theme-toggle-mobile:active {
  transform: translateY(1px);
}

#theme-toggle-mobile i {
  position: relative;
  z-index: 2;
}

/* Old countdown timer styles removed - using modern glassmorphism design */

/* Enhanced 3D Styling for All Button Types */

/* Facebook Watch Live Button - 3D Styling */
.btn-outline-light {
  background-color: #333344 !important;
  color: #f5f5f7 !important;
  border-color: #333344 !important;
  border-width: 2px;
  border-style: solid;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}

.btn-outline-light:hover {
  background-color: #333344 !important;
  color: #f5f5f7 !important;
  border-color: #333344 !important;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.25),
    0 3px 6px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

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

/* Category Filter Buttons - Arcade 3D Styling */
.btn-outline-primary {
  background-color: transparent !important;
  color: var(--arcade-blue) !important;
  border: 2px solid var(--arcade-blue) !important;
  border-radius: 10px;
  box-shadow: var(--arcade-blue-dark) 0px 4px 0px 0px !important;
  position: relative;
}

.btn-outline-primary:hover {
  background-color: var(--arcade-blue) !important;
  color: white !important;
  border-color: var(--arcade-blue) !important;
  box-shadow: var(--arcade-blue-dark) 0px 3px 0px 0px !important;
  transform: translateY(1px);
}

.btn-outline-primary:active {
  transform: translateY(3px);
  box-shadow: var(--arcade-blue-dark) 0px 1px 0px 0px !important;
}

.btn-outline-primary.active {
  background-color: var(--arcade-blue) !important;
  color: white !important;
  border-color: var(--arcade-blue) !important;
  box-shadow: var(--arcade-blue-dark) 0px 4px 0px 0px !important;
}

/* View All Winners Button - Arcade 3D Styling */
.btn-primary.btn-lg {
  background-color: var(--arcade-blue) !important;
  color: rgb(255, 255, 255) !important;
  border: none !important;
  border-radius: 10px;
  padding: 6px 20px;
  font-size: 18px;
  box-shadow: var(--arcade-blue-dark) 0px 6px 0px 0px !important;
  position: relative;
}

.btn-primary.btn-lg:hover {
  background-color: var(--arcade-blue) !important;
  color: rgb(255, 255, 255) !important;
  box-shadow: var(--arcade-blue-dark) 0px 4px 0px 0px !important;
  transform: translateY(2px);
}

.btn-primary.btn-lg:active {
  transform: translateY(4px);
  box-shadow: var(--arcade-blue-dark) 0px 2px 0px 0px !important;
}

/* Facebook Watch Button - Custom 3D Styling */
.btn[style*="background-color: #1976D2"] {
  background-color: #1976D2 !important;
  color: white !important;
  border-color: #1976D2 !important;
  border-width: 2px;
  border-style: solid;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}

.btn[style*="background-color: #1976D2"]:hover {
  background-color: #1565C0 !important;
  color: white !important;
  border-color: #1565C0 !important;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.25),
    0 3px 6px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn[style*="background-color: #1976D2"]:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 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 - Modern Redesign */
.competition-card {
  width: 100%;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 250, 0.98) 100%);
  border-radius: 20px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 5px 15px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dark-theme .competition-card {
  background: linear-gradient(145deg, rgba(30, 33, 36, 0.95) 0%, rgba(25, 28, 32, 0.98) 100%);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 5px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.competition-image {
  position: relative;
  overflow: hidden;
  height: inherit;
  border-radius: 20px 20px 0 0;
}

.competition-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.competition-card:hover .competition-image::before {
  opacity: 0.8;
}

.competition-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.competition-card:hover .competition-image img {
  transform: none;
  filter: brightness(0.98) saturate(1.15);
}

.category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background: linear-gradient(135deg, rgba(244, 208, 63, 0.95) 0%, rgba(241, 196, 15, 0.95) 100%);
  color: rgba(51, 51, 68, 1);
  padding: 8px 16px;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 50px;
  margin: 0;
  display: inline-block;
  box-shadow: 
    0 4px 15px rgba(244, 208, 63, 0.4),
    0 2px 5px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cash-alternative-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 50%, #2ecc71 100%) !important;
  color: rgb(255, 255, 255) !important;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-family: 'Fugaz One', sans-serif;
  font-weight: 400;
  border-radius: 10px;
  letter-spacing: 1px;
  box-shadow: 
    #1e8449 0px 4px 0px 0px,
    0 4px 15px rgba(46, 204, 113, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  border: none;
  transform: translateY(0);
  transition: transform 0.1s linear, box-shadow 0.1s linear;
  animation: arcade-pulse-green 2s ease-in-out infinite;
}

.cash-alternative-badge:hover {
  transform: translateY(1px);
  box-shadow: 
    #1e8449 0px 3px 0px 0px,
    0 4px 15px rgba(46, 204, 113, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@keyframes arcade-pulse-green {
  0%, 100% {
    box-shadow: 
      #1e8449 0px 4px 0px 0px,
      0 4px 15px rgba(46, 204, 113, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 
      #1e8449 0px 4px 0px 0px,
      0 6px 20px rgba(46, 204, 113, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

.countdown-timer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  width: 100%;
  position: relative;
  background: transparent;
  border: none;
}

/* 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(209, 32, 38, 0.8), rgba(255, 90, 96, 0.8));
  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;
  justify-content: center;
  text-align: center;
  flex: 1;
  position: relative;
  padding: 14px 8px;
  background: linear-gradient(145deg, rgba(244, 208, 63, 0.09) 0%, rgba(241, 196, 15, 0.05) 100%);
  border-radius: 16px;
  border: 1px solid rgba(244, 208, 63, 0.16);
  box-shadow: 
    0 1px 6px rgba(244, 208, 63, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.dark-theme .countdown-timer .time-unit {
  background: linear-gradient(145deg, rgba(244, 208, 63, 0.06) 0%, rgba(241, 196, 15, 0.04) 100%);
  border-color: rgba(244, 208, 63, 0.2);
  box-shadow: 
    0 2px 8px rgba(244, 208, 63, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.competition-card:hover .countdown-timer .time-unit {
  transform: translateY(-2px);
  box-shadow: 
    0 3px 10px rgba(244, 208, 63, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06);
  border-color: rgba(244, 208, 63, 0.26);
}

.dark-theme .competition-card:hover .countdown-timer .time-unit {
  box-shadow: 
    0 4px 12px rgba(244, 208, 63, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  border-color: rgba(244, 208, 63, 0.32);
}

.countdown-timer .time-unit:not(:last-child):after {
  display: none;
}

.countdown-timer .time-value {
  font-size: 1.5rem;
  font-weight: 900;
  display: block;
  line-height: 1.2;
  font-family: 'Orbitron', sans-serif;
  color: var(--arcade-gold);
  letter-spacing: -0.5px;
  filter: drop-shadow(0 2px 4px rgba(244, 208, 63, 0.3));
}

.dark-theme .countdown-timer .time-value {
  color: var(--arcade-gold);
  filter: drop-shadow(0 2px 4px rgba(247, 220, 111, 0.4));
}

.countdown-timer .time-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  display: block;
  color: var(--text-color);
  margin-top: 6px;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* 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: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1rem;
}

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


.competition-title {
  line-height: 1.4;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0;
  color: var(--text-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Enhanced styles for detail page */
.competition-detail .competition-title {
  font-size: 1.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 {
    gap: 8px;
  }
  
  .countdown-timer .time-unit {
    padding: 12px 6px;
  }
  
  .countdown-timer .time-value {
    font-size: 1.2rem;
  }
  
  .countdown-timer .time-label {
    font-size: 0.55rem;
    margin-top: 4px;
  }
  
  .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) {
  .countdown-timer {
    gap: 10px;
  }
  
  .countdown-timer .time-unit {
    padding: 12px 6px;
    border-radius: 14px;
  }
  
  .countdown-timer .time-value {
    font-size: 1.3rem;
  }
  
  .countdown-timer .time-label {
    font-size: 0.6rem;
    margin-top: 5px;
  }
}

@media (max-width: 768px) {
  .competition-info {
    padding: 1.2rem;
  }
  
  .countdown-timer {
    gap: 8px;
  }
  
  .countdown-timer .time-unit {
    padding: 10px 5px;
    border-radius: 12px;
  }
  
  .countdown-timer .time-value {
    font-size: 1.1rem;
  }
  
  .countdown-timer .time-label {
    font-size: 0.55rem;
    margin-top: 4px;
  }
  
  .competition-title {
    font-size: 1.1rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

@media (max-width: 991.98px) {
  /* Smaller notification/cart bubbles in mobile header */
  .site-header .badge.cart-count,
  .site-header .badge.notification-count {
    font-size: 0.65rem;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    top: 2px !important;
    right: 2px !important;
  }
  .site-header .cart-count,
  .site-header .notification-count {
    line-height: 16px;
  }
}

@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;
  }
  
  .competition-info {
    padding: 1rem;
  }
  
  .countdown-timer {
    gap: 6px;
  }
  
  .countdown-timer .time-unit {
    padding: 8px 4px;
    border-radius: 10px;
  }
  
  .countdown-timer .time-value {
    font-size: 0.95rem;
  }
  
  .countdown-timer .time-label {
    font-size: 0.5rem;
    margin-top: 3px;
  }
}

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

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

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

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

.progress-container {
  margin-bottom: 0.8rem;
}

.progress {
  height: 8px;
  background: linear-gradient(145deg, rgba(244, 208, 63, 0.15) 0%, rgba(241, 196, 15, 0.1) 100%);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 8px;
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 -1px 2px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(244, 208, 63, 0.2);
}

.dark-theme .progress {
  background: linear-gradient(145deg, rgba(244, 208, 63, 0.08) 0%, rgba(241, 196, 15, 0.05) 100%);
  border-color: rgba(244, 208, 63, 0.15);
}

.progress-bar {
  background: linear-gradient(90deg, #f4d03f 0%, #f1c40f 50%, #f39c12 100%);
  background-size: 200% 100%;
  animation: none;
  box-shadow: 
    0 0 20px rgba(244, 208, 63, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  height: 100%;
  border-radius: 20px;
  transition: width 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes progressShine {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.tickets-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-color);
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.dark-theme .tickets-info {
  color: white;
}

/* Make tickets-info bigger on mobile */
@media (max-width: 768px) {
  .tickets-info {
    font-size: 0.9rem;
  }
}

/* Competition Card Buttons - Arcade 3D Styling */
.competition-info .btn-primary {
  background-color: var(--arcade-blue) !important;
  color: rgb(255, 255, 255) !important;
  border: none !important;
  font-family: 'Fugaz One', sans-serif;
  font-weight: 400;
  padding: 6px 20px;
  transition: background-color 0.1s linear, border-color 0.1s linear, box-shadow 0.1s linear, transform 0.1s linear, color 0.1s linear;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: normal;
  margin-top: auto;
  border-radius: 10px;
  box-shadow: var(--arcade-blue-dark) 0px 6px 0px 0px !important;
  position: relative;
  overflow: visible;
}

.competition-card:hover .competition-info .btn-primary {
  background-color: var(--arcade-blue) !important;
  color: rgb(255, 255, 255) !important;
  box-shadow: var(--arcade-blue-dark) 0px 4px 0px 0px !important;
  transform: translateY(2px);
}

.competition-info .btn-primary:active {
  transform: translateY(4px);
  box-shadow: var(--arcade-blue-dark) 0px 2px 0px 0px !important;
}

/* Competition card gold buttons */
.competition-info .btn-warning,
.competition-info .btn-gold {
  background-color: var(--arcade-gold) !important;
  color: #161616 !important;
  border: none !important;
  font-family: 'Fugaz One', sans-serif;
  font-weight: 400;
  padding: 6px 20px;
  transition: background-color 0.1s linear, border-color 0.1s linear, box-shadow 0.1s linear, transform 0.1s linear, color 0.1s linear;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: normal;
  margin-top: auto;
  border-radius: 10px;
  box-shadow: var(--arcade-gold-dark) 0px 6px 0px 0px !important;
  position: relative;
  overflow: visible;
}

.competition-card:hover .competition-info .btn-warning,
.competition-card:hover .competition-info .btn-gold {
  background-color: var(--arcade-gold) !important;
  color: #161616 !important;
  box-shadow: var(--arcade-gold-dark) 0px 4px 0px 0px !important;
  transform: translateY(2px);
}

.competition-info .btn-warning:active,
.competition-info .btn-gold:active {
  transform: translateY(4px);
  box-shadow: var(--arcade-gold-dark) 0px 2px 0px 0px !important;
  color: #161616 !important;
}

/* Arcade glow effect for key elements */
.arcade-glow {
  animation: arcade-glow 2s ease-in-out infinite;
}

.arcade-pulse {
  animation: arcade-pulse 2s ease-in-out infinite;
}

/* Apply subtle glow to primary buttons on hover */
.btn-primary:hover {
  animation: arcade-glow 2s ease-in-out infinite;
}


/* General hover effects for competition cards */
.competition-card:hover, .competition-card.touch-active {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 50px rgba(244, 208, 63, 0.25),
    0 10px 30px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  background: linear-gradient(145deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 100%);
}

/* Dark theme competition card hover */
.dark-theme .competition-card:hover, 
.dark-theme .competition-card.touch-active {
  background: linear-gradient(145deg, rgba(35, 38, 42, 0.95) 0%, rgba(30, 33, 36, 0.98) 100%);
  box-shadow: 
    0 20px 50px rgba(244, 208, 63, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Light theme competition card hover */
.light-theme .competition-card:hover, 
.light-theme .competition-card.touch-active {
  background: linear-gradient(145deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: 
    0 20px 50px rgba(244, 208, 63, 0.25),
    0 10px 30px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}


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

.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 */
.light-theme .countdown .time-value,
.light-theme .countdown-timer .time-value {
    color: var(--primary) !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(241, 196, 15, 0.15);
  transform: translateY(-5px);
  animation: none;
  border-color: rgba(241, 196, 15, 0.3);
}

/* 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: linear-gradient(135deg, #feeb00 0%, #fead00 50%, #feeb00 100%);
  background-size: 200% 200%;
  animation: gradientShift 3s ease-in-out infinite;
  animation-fill-mode: both;
  will-change: background-position;
  transform: translateZ(0);
  position: relative;
}

.light-theme .navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/pattern.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

/* Dark theme navbar background with dark fonts */
.dark-theme .navbar {
  background: linear-gradient(135deg, #feeb00 0%, #fead00 50%, #feeb00 100%);
  background-size: 200% 200%;
  animation: gradientShift 3s ease-in-out infinite;
  animation-fill-mode: both;
  will-change: background-position;
  transform: translateZ(0);
  position: relative;
}

.dark-theme .navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/pattern.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

/* Ensure navbar content is above the pattern */
.navbar .container,
.navbar .navbar-brand,
.navbar .nav-link,
.navbar .btn,
.navbar .dropdown-toggle {
  position: relative;
  z-index: 2;
}

/* Dark theme navbar text colors - make fonts dark */
.dark-theme .navbar .navbar-brand,
.dark-theme .navbar .nav-link,
.dark-theme .navbar .text-white,
.dark-theme .navbar .btn-outline-light,
.dark-theme .navbar .dropdown-toggle {
  color: #333 !important;
}

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

.dark-theme .navbar .btn-outline-light:hover {
  background-color: #333 !important;
  color: #fff !important;
  border-color: #333 !important;
}

/* Light theme navbar text colors - keep fonts dark */
.light-theme .navbar .navbar-brand,
.light-theme .navbar .nav-link,
.light-theme .navbar .text-white,
.light-theme .navbar .btn-outline-light,
.light-theme .navbar .dropdown-toggle {
  color: #333 !important;
}

.light-theme .navbar .nav-link:hover {
  color: #000 !important;
}

.light-theme .navbar .btn-outline-light:hover {
  background-color: #333 !important;
  color: #fff !important;
  border-color: #333 !important;
}

/* Auth buttons - always use light theme styling */
#auth-buttons .btn-outline-light {
  background-color: #333344 !important; /* Light theme text color */
  color: #f5f5f7 !important; /* Light theme dark-bg */
  border-color: #333344 !important;
  border-width: 2px;
  border-style: solid;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}

#auth-buttons .btn-outline-light:hover {
  background-color: #333344 !important; /* Light theme text color */
  color: #f5f5f7 !important; /* Light theme dark-bg */
  border-color: #333344 !important;
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.25),
    0 3px 6px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

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

/* 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;
}

/* 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);
}

/* Dropdown theme toggle buttons - always use light theme styling */
.dropdown-item .theme-toggle-btn {
  color: #333344 !important; /* Light theme text color */
  border-color: #f39c12 !important; /* Light theme primary */
  background: rgba(0, 0, 0, 0.05) !important; /* Light theme background */
}

.dropdown-item .theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.1) !important; /* Light theme hover */
  box-shadow: 0 0 10px rgba(243, 156, 18, 0.3) !important; /* Light theme glow */
}

/* 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;
    font-family: 'Orbitron', sans-serif !important;
    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 */
  .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;
  }
  
  
  /* 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;
}

/* 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;
}

/* Page header styling for light theme */
.light-theme .page-header {
  background-color: rgba(245, 245, 247, 0.5);
}

/* 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);
}

/* Old footer styles removed - using new modern footer design */

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

.light-theme .powered-by-link {
  color: var(--text-color);
}

/* 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 filter buttons in light theme */
.light-theme .btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  background-color: transparent;
}

.light-theme .btn-outline-primary:hover,
.light-theme .btn-outline-primary:focus,
.light-theme .btn-outline-primary.active {
  color: white;
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(209, 32, 38, 0.25);
}

/* Custom spacing adjustments - keep only essential overrides */

#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-item.active .page-link {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: white !important;
}



.dark-theme .see-entries-btn {
  background-color: var(--text-color);
  color: var(--dark-bg);
}

/* Watch Live Draw button styling */
.light-theme .winner-info .btn-outline-primary {
  color: white !important;
  border-color: #0a0a14 !important;
  background-color: #0a0a14 !important;
}

.light-theme .winner-info .btn-outline-primary:hover,
.light-theme .winner-info .btn-outline-primary:focus,
.light-theme .winner-info .btn-outline-primary.active {
  color: white !important;
  background-color: #0a0a14 !important;
  border-color: #0a0a14 !important;
  box-shadow: none !important;
}

.dark-theme .winner-info .btn-outline-primary {
  color: #0a0a14 !important;
  border-color: white !important;
  background-color: white !important;
}

.dark-theme .winner-info .btn-outline-primary:hover,
.dark-theme .winner-info .btn-outline-primary:focus,
.dark-theme .winner-info .btn-outline-primary.active {
  color: #0a0a14 !important;
  background-color: white !important;
  border-color: white !important;
  box-shadow: none !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-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 {
  color: var(--arcade-gold);
  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%; }
}

/* Gradient animation for navbar */
@keyframes gradientShift {
  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 {
  color: var(--arcade-gold);
}

.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 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 .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);
}

/* FAQ Section - Clean and Simple */
.faq-section {
  margin: 4rem 0;
}

/* Premium Accordion */
.premium-accordion .accordion-item {
  border: none;
  background: transparent;
  margin-bottom: 1.5rem;
}

.premium-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(244, 208, 63, 0.3);
}

.dark-theme .premium-card {
  background: rgba(30, 33, 36, 0.9);
  border-color: rgba(244, 208, 63, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.dark-theme .premium-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Enhanced Accordion Buttons */
.premium-accordion .accordion-button {
  background: transparent;
  border: none;
  padding: 1.5rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bs-body-color);
  position: relative;
  transition: all 0.3s ease;
  border-radius: 16px !important;
}

.premium-accordion .accordion-button:hover {
  background: var(--primary) !important;
  color: white;
}

.premium-accordion .accordion-button:not(.collapsed) {
  background: rgba(244, 208, 63, 0.1);
  color: var(--bs-body-color);
  box-shadow: inset 0 2px 8px rgba(244, 208, 63, 0.1);
}

.premium-accordion .accordion-button:focus {
  box-shadow: none;
  border: none;
}

.premium-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236c757d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-90deg);
  transition: all 0.3s ease;
}

.premium-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(0deg);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f4d03f'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Enhanced Accordion Body */
.premium-accordion .accordion-body {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0 0 16px 16px;
  border-top: 1px solid rgba(244, 208, 63, 0.1);
}

.dark-theme .premium-accordion .accordion-body {
  background: rgba(25, 28, 31, 0.5);
}

.premium-accordion .accordion-body p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--bs-body-color);
}

.premium-accordion .accordion-body ul {
  padding-left: 1.5rem;
}

.premium-accordion .accordion-body li {
  margin-bottom: 0.5rem;
  color: var(--bs-body-color);
}

/* Alert styling within FAQ */
.premium-accordion .alert {
  border-radius: 12px;
  border: none;
  margin: 1.5rem 0;
}

.premium-accordion .alert-info {
  background: rgba(13, 202, 240, 0.1);
  color: var(--bs-info);
}

.premium-accordion .alert-success {
  background: rgba(25, 135, 84, 0.1);
  color: var(--bs-success);
}

.premium-accordion .alert-warning {
  background: rgba(255, 193, 7, 0.1);
  color: var(--bs-warning);
}

.premium-accordion .alert-primary {
  background: rgba(241, 87, 15, 0.1);
  color: var(--bs-primary);
}

/* Contact Page Styles */
.contact-section {
  
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding-top: 80px;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.contact-section .bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 25% 25%, var(--primary) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, var(--primary) 1px, transparent 1px);
    background-size: 60px 60px, 40px 40px;
    background-position: 0 0, 30px 30px;
}

.contact-section .bg-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(244, 208, 63, 0.08) 25%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(46, 213, 115, 0.06) 75%,
        rgba(255, 255, 255, 0.1) 100%);
}


.dark-theme .contact-section .bg-pattern {
    opacity: 0.05;
}

.dark-theme .contact-section .bg-gradient-overlay {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.02) 0%,
        rgba(244, 208, 63, 0.05) 25%,
        rgba(255, 255, 255, 0.03) 50%,
        rgba(46, 213, 115, 0.04) 75%,
        rgba(255, 255, 255, 0.02) 100%);
}

.modern-contact-section {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
    padding-bottom: 0;
}

/* Contact Form Styles */
.contact-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 25px 60px rgba(12, 9, 22, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.35);
    position: relative;
    z-index: 2;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.contact-form-container:hover {
    transform: translateY(-2px);
    box-shadow:
        0 30px 70px rgba(12, 9, 22, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.35);
}

.dark-theme .contact-form-container {
    background: rgba(30, 33, 36, 0.95);
    border-color: rgba(244, 208, 63, 0.2);
}

.form-header {
    text-align: center;
}

.form-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(241, 87, 15, 0.1), rgba(244, 208, 63, 0.1));
    border-radius: 50%;
    margin-bottom: 1rem;
}

.premium-form .form-floating {
    margin-bottom: 1rem;
}

.premium-input {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.premium-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(241, 87, 15, 0.25);
    background: rgba(255, 255, 255, 0.95);
}

.dark-theme .premium-input {
    background: rgba(30, 33, 36, 0.8);
    border-color: rgba(244, 208, 63, 0.3);
    color: #ffffff;
}

.dark-theme .premium-input:focus {
    background: rgba(30, 33, 36, 0.95);
    border-color: var(--primary);
}

.premium-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.dark-theme .premium-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.premium-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(241, 87, 15, 0.4);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.premium-btn:hover .btn-shine {
    left: 100%;
}

/* Contact Info Styles */
.contact-info-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-methods {
    flex: 1;
}

.contact-method-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(244, 208, 63, 0.3);
}

.dark-theme .contact-method-card {
    background: rgba(30, 33, 36, 0.9);
    border-color: rgba(244, 208, 63, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.dark-theme .contact-method-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.method-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(241, 87, 15, 0.1), rgba(244, 208, 63, 0.1));
    border-radius: 50%;
    margin: 0 auto;
}

.contact-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    text-decoration: underline;
    color: var(--primary-hover) !important;
}

.social-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
}

.dark-theme .social-section {
    background: rgba(30, 33, 36, 0.9);
    border-color: rgba(244, 208, 63, 0.2);
}

.social-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary), var(--primary-hover));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn i {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.social-btn:hover i {
    color: white !important;
}

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


/* Winner Cards - Clean Modern Design */
.winner-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.winner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.winner-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #f8fafc;
}

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

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

.winner-image .badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}

.winner-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.winner-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-color);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.winner-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.winner-meta small {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1;
    opacity: 0.9;
}

.winner-meta i {
    width: 14px;
    text-align: center;
    color: var(--primary);
    font-size: 12px;
}

.winner-separator {
    color: var(--text-color);
    opacity: 0.4;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
}

.winner-actions {
    margin-top: auto;
    padding-top: 8px;
}

.winner-actions .btn {
    width: 100%;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.winner-actions .btn-outline-primary {
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    transition: all 0.2s ease;
}

.winner-actions .btn-outline-primary:hover {
    background: var(--glass-bg-hover);
    border-color: var(--primary);
    color: var(--primary);
}

.winner-actions .btn-warning {
    background: linear-gradient(135deg, #f7dc6f 0%, #f1c40f 100%);
    border: 2px solid transparent;
    color: #333344 !important;
    font-weight: 700;
}

.winner-actions .btn-warning:hover {
    background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);
    color: #1a1a2e !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 208, 63, 0.4);
}

.winner-actions .btn-primary {
    color: #ffffff !important;
}

/* Responsive */
@media (max-width: 768px) {
    .winner-body { padding: 14px; gap: 10px; }
    .winner-title { font-size: 14px; }
    .winner-meta small { font-size: 13px; }
    .winner-meta i { font-size: 12px; width: 14px; }
}

@media (max-width: 576px) {
    .winner-body { padding: 12px; }
    .winner-title { font-size: 13px; }
    .winner-meta small { font-size: 12px; }
    .winner-meta i { font-size: 11px; width: 13px; }
}

/* Modern Pagination Styling */
.pagination-container {
    margin-top: 3rem;
}

.pagination {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dark-theme .pagination {
    background: rgba(30, 33, 36, 0.95);
    border-color: rgba(244, 208, 63, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-item {
    margin: 0;
}

.page-link {
    border: none;
    border-radius: 0 !important;
    padding: 0.875rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--bs-body-color);
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.page-link:hover {
    background: rgba(241, 87, 15, 0.1);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(241, 87, 15, 0.2);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    box-shadow: 0 4px 15px rgba(241, 87, 15, 0.4);
    position: relative;
}

.page-item.active .page-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border-radius: inherit;
    z-index: -1;
    opacity: 0.8;
}

.page-item.disabled .page-link {
    color: rgba(108, 117, 125, 0.5);
    background: transparent;
    cursor: not-allowed;
    opacity: 0.6;
}

.page-item.disabled .page-link:hover {
    background: transparent;
    color: rgba(108, 117, 125, 0.5);
    transform: none;
    box-shadow: none;
}

/* Custom pagination arrows */
.page-link[href*="Previous"]::before,
.page-link[href*="Next"]::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 0.5rem;
}

.page-link[href*="Previous"]::before {
    content: "\f104"; /* fa-angle-left */
}

.page-link[href*="Next"]::before {
    content: "\f105"; /* fa-angle-right */
}

/* Responsive pagination adjustments */
@media (max-width: 576px) {
    .pagination-container {
        margin-top: 2rem;
    }

    .page-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .page-link[href*="Previous"],
    .page-link[href*="Next"] {
        padding: 0.75rem 0.875rem;
    }

    .page-link[href*="Previous"]::before,
    .page-link[href*="Next"]::before {
        margin-right: 0.25rem;
    }
}

/* Simple Statistics Styling */
.simple-stats .stat-simple {
    padding: 2rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.simple-stats .stat-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.dark-theme .simple-stats .stat-simple {
    background: rgba(30, 33, 36, 0.9);
    border-color: rgba(244, 208, 63, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.stat-number-simple {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label-simple {
    letter-spacing: 1px;
    opacity: 0.8;
    color: var(--bs-body-color);
}

@media (max-width: 768px) {
    .simple-stats .stat-simple {
        padding: 1.5rem 1rem;
        min-height: 120px;
    }

    .stat-number-simple {
        font-size: 2rem;
    }
}

/* Simple Steps Styling */
.simple-steps-container {
    max-width: 1200px;
    margin: 0 auto;
}

.simple-step-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.simple-step-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -2px 0 rgba(0, 0, 0, 0.08);
    border-color: rgba(241, 87, 15, 0.3);
}

.simple-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    border-radius: 20px 20px 0 0;
}

/* Dark theme styles for step cards */
.dark-theme .simple-step-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(45, 45, 45, 0.8) 100%);
    border: 2px solid rgba(60, 60, 60, 0.8);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(60, 60, 60, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.dark-theme .simple-step-card:hover {
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 8px 25px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(60, 60, 60, 0.7),
        inset 0 -2px 0 rgba(0, 0, 0, 0.4);
    border-color: rgba(241, 87, 15, 0.4);
}

.dark-theme .simple-step-card::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.dark-theme .step-title {
    color: #ffffff;
}

.dark-theme .step-desc {
    color: #cccccc;
}

/* Dark theme consistent backgrounds for homepage sections */
.dark-theme .live-draws-guarantee-section,
.dark-theme .fast-delivery-section,
.dark-theme .affiliate-program-section {
    background: rgba(33, 37, 41, 0.3) !important;
}

/* Professional filter styling for competitions page */
.filter-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.dark-theme .filter-container {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(40, 40, 40, 0.8) 100%);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(60, 60, 60, 0.6);
    border-color: rgba(60, 60, 60, 0.8);
}

/* Mobile compact filter container */
@media (max-width: 767.98px) {
    .filter-container {
        padding: 0.75rem 1rem;
        margin-bottom: 1rem;
        gap: 0.5rem !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .modern-filter {
        min-width: auto;
        width: 100%;
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .modern-reset-btn {
        width: 100%;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
}

.modern-filter {
    min-width: 200px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-weight: 500;
    color: #2a2827;
    transition: all 0.2s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modern-filter:focus {
    border-color: var(--primary);
    box-shadow:
        0 0 0 0.15rem rgba(241, 87, 15, 0.15),
        inset 0 1px 3px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 1);
    outline: none;
    transform: translateY(-1px);
}

.modern-filter:hover {
    border-color: rgba(241, 87, 15, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.dark-theme .modern-filter {
    background: rgba(45, 45, 45, 0.9);
    border-color: rgba(80, 80, 80, 0.7);
    color: #ffffff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.dark-theme .modern-filter:focus {
    border-color: var(--primary);
    box-shadow:
        0 0 0 0.15rem rgba(241, 87, 15, 0.15),
        inset 0 1px 3px rgba(0, 0, 0, 0.3);
    background: rgba(50, 50, 50, 1);
}

.dark-theme .modern-filter:hover {
    border-color: rgba(241, 87, 15, 0.4);
    background: rgba(48, 48, 48, 0.95);
}

/* Header icon hover effects */
#walletDropdown:hover i,
#mobileWalletDropdown:hover i {
    transform: scale(1.1);
    opacity: 0.8;
    transition: all 0.2s ease;
}

#notificationDropdown:hover i,
#mobileNotificationDropdown:hover i {
    transform: scale(1.1);
    opacity: 0.8;
    transition: all 0.2s ease;
}

#userDropdown:hover {
    opacity: 0.8;
    transition: all 0.2s ease;
}

#userDropdown:hover .user-name {
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* Logo hover effect */
.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Navbar menu hover effects */
.navbar-nav .nav-link {
    transition: all 0.2s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-hover));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.modern-reset-btn {
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(241, 87, 15, 0.2);
}

.modern-reset-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(241, 87, 15, 0.3);
}


.step-number-circle {
    width: 80px;
    height: 80px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(241, 87, 15, 0.3);
    margin: 0 auto 1rem auto;
    position: relative;
    flex-shrink: 0;
}

.step-icon {
    font-size: 2rem;
    color: white;
    opacity: 0.9;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2a2827;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-desc {
    font-size: 0.95rem;
    color: #5a5a5a;
    line-height: 1.6;
    margin: 0;
    max-width: 250px;
}

/* Responsive adjustments for simple steps */
@media (max-width: 768px) {
    .simple-step-card {
        padding: 2rem 1.5rem;
        height: 240px;
    }

    .step-number-circle {
        width: 70px;
        height: 70px;
        aspect-ratio: 1;
        flex-shrink: 0;
    }

    .step-icon {
        font-size: 1.8rem;
        width: 1.8rem;
        height: 1.8rem;
    }

    .step-title {
        font-size: 1.1rem;
    }

    .step-desc {
        font-size: 0.9rem;
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .simple-step-card {
        padding: 1.75rem 1.25rem;
        height: 200px;
    }

    .step-number-circle {
        width: 60px;
        height: 60px;
        aspect-ratio: 1;
        flex-shrink: 0;
    }

    .step-icon {
        font-size: 1.5rem;
        width: 1.5rem;
        height: 1.5rem;
    }

    .step-title {
        font-size: 1rem;
    }

    .step-desc {
        font-size: 0.85rem;
    }
}



@media (max-width: 576px) {
    .contact-method-card {
        padding: 1.25rem;
    }
    .method-icon {
        width: 50px;
        height: 50px;
    }
    .method-icon .fs-2 {
        font-size: 1.5rem !important;
    }
    .social-buttons {
        gap: 1rem;
    }
    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Win Big Section - Premium Professional Redesign */
.win-big-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.dark-theme .win-big-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
}

.win-big-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

/* Premium Hero Header */
.hero-header {
  margin-bottom: 4rem;
}

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

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

/* Enhanced Statistics Cards */
.win-stats {
  margin: 4rem 0;
}

.stat-item {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-width: 200px;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.stat-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(244, 208, 63, 0.3);
}

.stat-item:hover::before {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.dark-theme .stat-item {
  background: rgba(30, 33, 36, 0.8);
  border-color: rgba(244, 208, 63, 0.2);
  color: #ffffff;
}

.dark-theme .stat-item:hover {
  background: rgba(40, 43, 46, 0.9);
  border-color: rgba(244, 208, 63, 0.4);
}

.stat-icon {
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px currentColor);
}

.stat-number {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.85;
  margin: 0;
}

/* Premium CTA Section */
.cta-section {
  margin-top: 2rem;
}

/* Mobile CTA buttons adjustments */
@media (max-width: 768px) {
  .cta-section {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .cta-section .btn {
    flex: 1;
    min-width: 0;
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
    white-space: nowrap;
  }

  .cta-section .btn.me-3 {
    margin-right: 0 !important;
  }

  .cta-section .btn-lg {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }

  .cta-buttons .btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    min-width: 0;
    white-space: nowrap;
  }

  .cta-buttons .btn i {
    font-size: 0.9rem;
  }

  .cta-buttons {
    gap: 0.75rem !important;
  }
}

.cta-buttons .btn {
  min-width: 220px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

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

.cta-buttons .btn:hover::before {
  left: 100%;
}

.cta-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(241, 87, 15, 0.4);
}

.cta-buttons .btn-outline-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(241, 87, 15, 0.2);
}


/* Responsive adjustments for premium win-big section */
@media (max-width: 992px) {
  .win-stats {
    gap: 2rem;
  }

  .stat-item {
    min-width: 180px;
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .win-big-section .display-3 {
    font-size: clamp(2rem, 6vw, 3rem);
  }
}

@media (max-width: 768px) {
  .win-big-section {
    padding: 2rem 0;
  }

  .win-stats {
    flex-direction: column;
    gap: 1.5rem;
    margin: 3rem 0;
  }

  .stat-item {
    min-width: auto;
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-header {
    margin-bottom: 3rem;
  }

  .hero-badge .badge {
    font-size: 0.85rem;
    padding: 0.75rem 1.5rem;
  }

  .cta-buttons .btn {
    min-width: auto;
    width: 100%;
    margin-bottom: 0.5rem;
  }

.win-big-section .display-3 {
  font-size: clamp(1.8rem, 8vw, 2.5rem);
}

}

/* Responsive adjustments for win stats */
@media (max-width: 768px) {
  .win-stats {
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
  }

  .stat-item {
    padding: 1rem;
    min-width: auto;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .cta-buttons .btn {
    min-width: auto;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .win-big-content {
    padding: 1rem 0;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .win-big-section h3 {
    font-size: 2rem;
  }
}

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

/* Shuriken pattern overlay */
.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/shuriken.png');
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}

/* Ensure content is above the pattern */
.how-it-works > .container {
  position: relative;
  z-index: 1;
}

.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;
}

.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(--glass-bg);
  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(255, 255, 255, 0.7) !important;
}


.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;
  color: var(--arcade-gold);
  font-family: 'Orbitron', sans-serif;
  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;
}

.app-store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.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 transparent;
  min-width: 180px;
}

.app-store-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

.app-store-button.google-play {
  background: linear-gradient(135deg, #01875f, #00a86b);
}

.app-store-button.apple-store {
  background: linear-gradient(135deg, #000, #333);
}


.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(--glass-bg);
}

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

.featured-competitions .section-header {
  position: relative;
  z-index: 2;
  margin-bottom: 1rem;
}

.featured-competitions .section-header h2 {
  margin-bottom: 0.5rem;
}

.featured-competitions .section-header p {
  margin-bottom: 0;
}

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

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


/* 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;
  }
  
  .app-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .app-image img {
    max-width: 200px;
  }
}

/* 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 Optimization */
@media (max-width: 767.98px) {
    .social-buttons {
       
        width: 100%;
       
       
    }
    
    .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-btn {
        font-size: 1rem !important;
        padding: 0.75rem 1.5rem !important;
    }
}

/* Live Draws Section - Modern Design */
.live-draws-section {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.05) 50%, 
    rgba(255, 255, 255, 0.1) 100%);
  position: relative;
  overflow: hidden;
}

/* Dark theme adjustments */
.dark-theme .live-draws-section {
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.2) 0%, 
    rgba(0, 0, 0, 0.1) 50%, 
    rgba(0, 0, 0, 0.2) 100%);
}

/* Animated Background Elements */
.draws-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--primary-hover));
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  bottom: 10%;
  right: 10%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Section Header */
.header-badge {
  display: inline-block;
}

.badge-text {
  background: linear-gradient(45deg, var(--primary), var(--primary-hover));
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
}

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

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.title-main {
  color: var(--primary);
}

.title-accent {
  color: #666;
  font-weight: 400;
  font-size: 0.6em;
  display: block;
  margin-top: 0.5rem;
}

/* Dark theme title accent */
.dark-theme .title-accent {
  color: #fff;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Dark theme section subtitle */
.dark-theme .section-subtitle {
  color: #fff;
}

.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #555;
}

/* Dark theme trust item */
.dark-theme .trust-item {
  color: #fff;
}

/* Main Content Grid - Side by Side Layout */
.main-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
  align-items: start;
}

.main-draws-container {
  position: relative;
}

.main-draws-container .draw-card {
  height: 100%;
}

.draw-card {
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.9), 
    rgba(255, 255, 255, 0.7));
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 10px 20px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Dark theme card styling */
.dark-theme .draw-card {
  background: linear-gradient(145deg, 
    rgba(30, 30, 30, 0.9), 
    rgba(20, 20, 20, 0.7));
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.draw-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffc107, #fd7e14);
}


/* Card Content */
.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.draw-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ffc107, #fd7e14);
  border-radius: 50%;
  color: white;
  font-size: 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.draw-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0;
  color: #333;
}

/* Dark theme title styling */
.dark-theme .draw-title {
  color: #fff;
}

/* Card Footer */
.card-footer {
  padding-top: 0;
}

.next-draw-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.next-draw-label {
  font-weight: 600;
  color: #666;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

/* Dark theme label styling */
.dark-theme .next-draw-label {
  color: #ccc;
}

/* Main draw countdown uses the same styling as regular countdown */

/* Watch Live Section Styling */
.watch-live-container {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.9), 
    rgba(255, 255, 255, 0.7));
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 10px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Dark theme watch live container */
.dark-theme .watch-live-container {
  background: linear-gradient(135deg, 
    rgba(30, 30, 30, 0.9), 
    rgba(20, 20, 20, 0.7));
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.2);
}

.watch-live-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.watch-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0;
  color: #333;
}

/* Dark theme watch title */
.dark-theme .watch-title {
  color: #fff;
}

.watch-btn {
  background: linear-gradient(45deg, #1976D2, #1565C0);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 20px rgba(25, 118, 210, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.watch-btn:hover {
  background: linear-gradient(45deg, #1565C0, #0d47a1);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(25, 118, 210, 0.4);
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .trust-indicators {
    gap: 1rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

/* Enhanced Section Styles */
.guarantee-badge, .speed-badge, .earnings-badge {
    display: inline-block;
}

.stat-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.features-list .feature-item {
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.features-list .feature-item:hover {
    transform: translateX(5px);
    color: var(--primary);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

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

.timeline-container {
    position: relative;
}

.timeline-item {
    position: relative;
    padding-left: 1rem;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.icon-circle {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.timeline-item:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.calculator-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calculator-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.calc-item {
    transition: all 0.3s ease;
}

.calc-item:hover {
    transform: scale(1.05);
}

.calc-result {
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.affiliate-features .feature-item {
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.affiliate-features .feature-item:hover {
    transform: translateX(5px);
    color: var(--primary);
}

.image-container {
    position: relative;
    overflow: hidden;
}

.image-container img {
    transition: transform 0.3s ease;
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.image-container:hover img {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.live-indicator, .notification-badge, .money-badge {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Dark theme adjustments for new elements */
.dark-theme .stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .calculator-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .calc-result {
    background: rgba(var(--primary-rgb), 0.1) !important;
    border-color: rgba(var(--primary-rgb), 0.3);
}

.dark-theme .timeline-desc {
    color: white !important;
}

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

.dark-theme .affiliate-features .feature-item span {
    color: var(--text-color);
}

/* Custom Scrollbar Styling */
/* Webkit browsers (Chrome, Safari, Edge, Opera) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #ffc107;
    border-radius: 6px;
    border: 2px solid #ffffff;
}

::-webkit-scrollbar-thumb:hover {
    background: #e0a800;
}

::-webkit-scrollbar-corner {
    background: #ffffff;
}

/* Dark theme scrollbar */
.dark-theme ::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.dark-theme ::-webkit-scrollbar-thumb {
    background: #ffc107;
    border: 2px solid #1a1a1a;
}

.dark-theme ::-webkit-scrollbar-thumb:hover {
    background: #e0a800;
}

.dark-theme ::-webkit-scrollbar-corner {
    background: #1a1a1a;
}

/* Firefox scrollbar styling */
html {
    scrollbar-width: thin;
    scrollbar-color: #ffc107 #ffffff;
}

.dark-theme {
    scrollbar-color: #ffc107 #1a1a1a;
}

/* Homepage Winner Spotlight Carousel Styles - Unique Classes */
.homepage-winner-spotlight-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    height: 450px;
    perspective: 1000px;
    touch-action: pan-y; /* Allow vertical scrolling but handle horizontal swipes */
    user-select: none; /* Prevent text selection */
}

.homepage-spotlight-stage {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.homepage-winner-card {
    position: absolute;
    width: 240px;
    height: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(0deg) translateZ(0px);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0.6;
    will-change: transform, opacity;
    pointer-events: auto; /* Ensure card container is clickable */
}

.homepage-winner-card:nth-child(1) {
    transform: translate(-50%, -50%) rotateY(-60deg) translateZ(-150px);
}

.homepage-winner-card:nth-child(2) {
    transform: translate(-50%, -50%) rotateY(-30deg) translateZ(-75px);
}

.homepage-winner-card:nth-child(3) {
    transform: translate(-50%, -50%) rotateY(0deg) translateZ(0px);
    opacity: 1;
    z-index: 10;
}

.homepage-winner-card:nth-child(4) {
    transform: translate(-50%, -50%) rotateY(30deg) translateZ(-75px);
}

.homepage-winner-card:nth-child(5) {
    transform: translate(-50%, -50%) rotateY(60deg) translateZ(-150px);
}

.homepage-winner-card.active {
    opacity: 1;
    z-index: 10;
    transform: translate(-50%, -50%) rotateY(0deg) translateZ(0px) scale(1.1);
}

.homepage-card-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    border: 2px solid #f1c40f;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    pointer-events: none; /* Make card content unclickable */
}

.homepage-winner-image {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f1c40f;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3);
}

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

.homepage-winner-glow {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: radial-gradient(circle, rgba(241, 196, 15, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.homepage-winner-card.active .homepage-winner-glow {
    opacity: 1;
    animation: homepageWinnerPulse 2s ease-in-out infinite;
}

.homepage-winner-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none; /* Make text content completely unclickable */
    user-select: none; /* Prevent text selection */
}

.homepage-winner-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333344;
    margin-bottom: 8px;
    pointer-events: none; /* Additional protection */
    user-select: none;
}

.homepage-winner-prize {
    font-size: 1.1rem;
    color: #f1c40f;
    font-weight: 600;
    margin-bottom: 8px;
    pointer-events: none; /* Additional protection */
    user-select: none;
}

.homepage-winner-date {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    pointer-events: none; /* Additional protection */
    user-select: none;
}

.homepage-spotlight-beam {
    position: absolute;
    top: 0;
    left: 50%;
    width: 350px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(241, 196, 15, 0.1) 20%, 
        rgba(241, 196, 15, 0.2) 50%, 
        rgba(241, 196, 15, 0.1) 80%, 
        transparent 100%);
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.homepage-winner-card.active ~ .homepage-spotlight-beam {
    opacity: 1;
}





.homepage-winner-nav-dots {
    position: absolute;
    bottom: -30px;
    margin-bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.homepage-nav-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.homepage-nav-dot.active,
.homepage-nav-dot:hover {
    background: #f1c40f;
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.4);
}

/* Homepage-specific animations */
@keyframes homepageWinnerPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }
}

@keyframes homepageCardFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Remove hover effect completely to prevent cards behind main winner from moving */

/* Dark theme adjustments for homepage winners */
.dark-theme .homepage-card-inner {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid #f1c40f;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.dark-theme .homepage-winner-name {
    color: #ffffff;
}

.dark-theme .homepage-winner-prize {
    color: #f1c40f;
}

.dark-theme .homepage-winner-date {
    color: #cccccc;
}

.dark-theme .homepage-nav-dot {
    background: rgba(255, 255, 255, 0.2);
}

.dark-theme .homepage-nav-dot.active,
.dark-theme .homepage-nav-dot:hover {
    background: #f1c40f;
}

/* Homepage winners mobile responsiveness */
@media (max-width: 768px) {
    .homepage-winner-spotlight-container {
        height: 400px;
        max-width: 100%;
    }
    
    .homepage-winner-card {
        width: 200px;
        height: 280px;
    }
    
    .homepage-winner-image {
        width: 120px;
        height: 120px;
    }
    
    .homepage-winner-name {
        font-size: 1.1rem;
    }
    
    .homepage-winner-prize {
        font-size: 1rem;
    }
    
    .homepage-winner-date {
        font-size: 0.85rem;
    }
    
    .homepage-card-inner {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .homepage-winner-spotlight-container {
        height: 350px;
    }
    
    .homepage-winner-card {
        width: 180px;
        height: 250px;
    }
    
    .homepage-winner-image {
        width: 100px;
        height: 100px;
    }
    
    .homepage-card-inner {
        padding: 18px;
    }
}

/* Trustpilot Logo Styling */
.trustpilot-logo {
    height: 24px;
    width: auto;
    transition: all 0.3s ease;
}

.trustpilot-logo:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

/* How It Works Section Redesign */
.section-badge {
    display: inline-block;
}

.step-card-wrapper {
    position: relative;
}

.modern-step-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.modern-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-hover));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.modern-step-card:hover::before {
    opacity: 1;
}

.step-icon-circle {
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.modern-step-card:hover .step-icon-circle {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.step-badge {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.steps-container .row {
    position: relative;
}

/* Dark theme adjustments for How It Works */
.dark-theme .modern-step-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .modern-step-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Full-Screen Mobile Menu */
.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%;
  min-height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  padding: 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--dark-bg);
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow-y: auto;
}

/* 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: space-between;
  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: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.mobile-menu-header {
  margin-top: 60px; /* Account for top bar */
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Light theme mobile menu header */
.light-theme .mobile-menu-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.user-info-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  backdrop-filter: blur(10px);
}

.user-details {
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.user-greeting-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.user-icon {
  font-size: 1.2rem;
  color: #ffd700;
}

.welcome-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* Light theme welcome text */
.light-theme .welcome-text {
  color: rgba(0, 0, 0, 0.7);
}

/* Mobile menu user name styling */
@media (max-width: 991.98px) {
  .user-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
  }

  /* Light theme user name */
  .light-theme .user-name {
    color: #333;
  }
}

.user-balances {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
}

.balance-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.875rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

/* Light theme balance cards */
.light-theme .balance-card {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

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

/* Light theme balance card hover */
.light-theme .balance-card:hover {
  background: rgba(0, 0, 0, 0.08);
}

.balance-info {
  width: 100%;
}

.balance-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

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

.balance-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

/* Light theme balance amount */
.light-theme .balance-amount {
  color: #333;
}

/* Compact balance display */
.user-balances-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.light-theme .user-balances-compact {
  color: rgba(0, 0, 0, 0.7);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.user-balances-compact:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.light-theme .user-balances-compact:hover {
  background: rgba(0, 0, 0, 0.05);
}

.balance-compact {
  font-weight: 500;
}

.balance-compact span {
  font-weight: 700;
  color: var(--text-color);
}

.mobile-menu-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 0.5rem;
  padding-bottom: calc(150px + env(safe-area-inset-bottom));
  overflow-y: auto;
  min-height: 0;
}

.menu-section,
.navigation-section {
  width: 100%;
  flex: 1;
}

.menu-section-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  padding-left: 0.25rem;
}

/* Light theme menu section title */
.light-theme .menu-section-title {
  color: rgba(0, 0, 0, 0.6);
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Light theme menu links */
.light-theme .menu-link {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #333;
}

.menu-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

/* Light theme menu link hover */
.light-theme .menu-link:hover {
  background: rgba(0, 0, 0, 0.1);
}

.menu-link i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Light theme menu link icons */
.light-theme .menu-link i {
  color: rgba(0, 0, 0, 0.7);
}

/* Sign Out Button - Red Background */
#menu-logout {
  background: linear-gradient(135deg, #f1570f, #e74c3c);
  border: 1px solid rgba(241, 87, 15, 0.3);
  color: white;
  margin-top: 0.5rem;
}

#menu-logout:hover {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  transform: translateX(2px);
}

#menu-logout i {
  color: white;
}

/* Show mobile menu on mobile devices */
@media (max-width: 991.98px) {
  .mobile-menu-overlay {
    display: flex;
  }
}

/* Theme Toggle Section */
.theme-toggle-section {
  margin-top: auto;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Light theme theme toggle section */
.light-theme .theme-toggle-section {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.theme-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.theme-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* Light theme theme toggle label */
.light-theme .theme-toggle-label {
  color: rgba(0, 0, 0, 0.9);
}

.theme-icon {
  font-size: 1.1rem;
  color: #ffd700;
}

#mobile-menu-theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

/* Light theme mobile menu theme toggle */
.light-theme #mobile-menu-theme-toggle {
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #333;
}

.light-theme #mobile-menu-theme-toggle .icon-moon,
.light-theme #mobile-menu-theme-toggle .icon-sun {
  color: #333 !important;
}

/* Dark theme mobile menu theme toggle */
.dark-theme #mobile-menu-theme-toggle {
  color: white;
}

.dark-theme #mobile-menu-theme-toggle .icon-moon {
  color: white !important;
}

/* Dark theme mobile menu sun icon */
.dark-theme #mobile-menu-theme-toggle .icon-sun {
  color: #ffd700 !important;
}

#mobile-menu-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Light theme mobile menu theme toggle hover */
.light-theme #mobile-menu-theme-toggle:hover {
  background: rgba(0, 0, 0, 0.2);
}

#mobile-menu-theme-toggle:active {
  transform: scale(0.95);
}

/* Guest Authentication Section */
.guest-auth-section {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  padding: 1rem 0;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  background: var(--dark-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
  width: 100%;
}

/* Light theme guest auth section */
.light-theme .guest-auth-section {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

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

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

.login-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
}

/* Light theme login button */
.light-theme .login-btn {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.25);
  color: #333;
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Light theme login button hover */
.light-theme .login-btn:hover {
  background: rgba(0, 0, 0, 0.25);
}

.register-btn {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.register-btn:hover {
  background: linear-gradient(135deg, #e55a2b, #e8831a);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.auth-btn i {
  font-size: 1.1rem;
}

/* Mobile dropdown menu styling */
@media (max-width: 991.98px) {
  .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;
  }
}

/* Cart Dropdown Buttons - Ensure identical sizing */
#cart-dropdown-content .btn,
#cart-dropdown-content-mobile .btn {
  width: 100% !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  min-height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

#cart-dropdown-content .btn-primary.btn-sm,
#cart-dropdown-content-mobile .btn-primary.btn-sm,
#cart-dropdown-content .btn-success.btn-sm,
#cart-dropdown-content-mobile .btn-success.btn-sm {
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
  min-height: 38px !important;
  height: auto !important;
}

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