/* ========================================
   FONT IMPORT - Using local Howli Sans Two fonts
   ======================================== */
@font-face {
  font-family: 'Howli Sans Two';
  src: url('./assets/fonts/Howli Sans Two.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ========================================
   CSS VARIABLES & CUSTOM PROPERTIES
   ======================================== */
:root {
  /* Color Palette - Based on the specific requirements */
  --background: #ff7d7d; /* Hero section background */
  --foreground: hsl(0, 0%, 20%); /* Dark text */
  --card: #ffffff; /* White for content blocks in #ff7d7d sections */
  --card-foreground: hsl(0, 0%, 20%); /* Dark text */
  --popover: #ffffff; /* White for content blocks in #ff7d7d sections */
  --popover-foreground: hsl(0, 0%, 20%); /* Dark text */
  --primary: #4fa2a5; /* Teal for buttons and exposed content */
  --primary-foreground: hsl(0, 0%, 100%); /* White */
  --primary-glow: #5bb3b6; /* Lighter teal */
  --secondary: #fed395; /* Light orange for content blocks in #8a8eb1 sections */
  --secondary-foreground: hsl(0, 0%, 20%); /* Dark text */
  --secondary-glow: #fed9a3; /* Lighter orange */
  --accent: #4fa2a5; /* Teal for buttons and exposed content */
  --accent-foreground: hsl(0, 0%, 100%); /* White */
  --accent-glow: #5bb3b6; /* Lighter teal */
  --muted: #8a8eb1; /* Section background for 'Zakaj izbrati bus igro?' */
  --muted-foreground: hsl(0, 0%, 40%); /* Medium gray */
  --border: #4fa2a5; /* Teal for borders */
  --input: #ffffff; /* White for form inputs */
  --ring: #4fa2a5; /* Teal for focus rings */
  --destructive: hsl(0, 70%, 50%); /* Red */
  --destructive-foreground: hsl(0, 0%, 100%); /* White */
  --success: hsl(142, 76%, 36%); /* Green */
  --success-foreground: hsl(0, 0%, 100%); /* White */
  
  /* Special colors from the design */
  --dark-red: hsl(0, 60%, 40%); /* Dark red for titles */
  --light-orange: #fed395; /* Light orange for content blocks in #8a8eb1 sections */
  --teal-accent: #4fa2a5; /* Teal for highlights */
  
  /* Section-specific backgrounds */
  --hero-bg: #ff7d7d; /* Hero section background */
  --features-bg: #8a8eb1; /* 'Zakaj izbrati bus igro?' section background */
  --how-to-play-bg: #ff7d7d; /* 'Kako igrati bus' section background */
  --cta-bg: #8a8eb1; /* 'Pripravljen za začetek ultimativne zabave?' section background */
  --button-bg: #4fa2a5; /* Buttons and sales banner background */

  /* Gaming gradients - Updated to match design */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-glow));
  --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--secondary-glow));
  --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-glow));
  --gradient-hero: linear-gradient(135deg, 
    #ff7d7d 0%, 
    #ff7d7d 100%);

  /* Glow effects - Updated to match new colors */
  --glow-primary: 0 0 15px hsla(79, 32%, 55%, 0.3);
  --glow-secondary: 0 0 15px hsla(39, 98%, 77%, 0.3);
  --glow-accent: 0 0 15px hsla(79, 32%, 55%, 0.3);
  --glow-intense: 0 0 25px hsla(79, 32%, 55%, 0.4);

  /* Smooth transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

body {
  font-family: 'Howli Sans Two', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--hero-bg);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Howli Sans Two', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  color: #2f3441;
  background: #4fa2a5;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
}

/* Ensure buttons don't inherit heading styles */
button, .btn, a.btn, button.btn, a.button {
  background: var(--gradient-primary) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 8px !important;
  display: inline-flex !important;
}

/* ========================================
   LAYOUT & CONTAINER STYLES
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ========================================
   BUTTON STYLES - STANDARDIZED
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: 'Howli Sans Two', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Primary Button */
.btn-primary {
  background: var(--gradient-primary);
  color: #2f3441;
  border-color: var(--primary);
  box-shadow: var(--glow-primary);
  border-radius: 25px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
}

.btn-primary:hover:not(:disabled) {
  border-color: var(--primary-glow);
  transition: box-shadow 0.3s ease;
}

.btn-primary {
  position: relative;
  overflow: visible;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover::before {
  opacity: 0.6;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Secondary Button */
.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--secondary-foreground);
  border-color: var(--secondary);
  box-shadow: var(--glow-secondary);
  border-radius: 25px;
  font-weight: 700;
  text-transform: uppercase;
}

.btn-secondary:hover:not(:disabled) {
  border-color: var(--secondary-glow);
  transition: box-shadow 0.3s ease;
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.btn-outline:hover:not(:disabled) {
  background: var(--primary);
  color: var(--primary-foreground);
  transition: background 0.3s ease, color 0.3s ease;
}

/* Large Button */
.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 12px;
}

/* ========================================
   PLAYFUL CARD STYLES - Based on specific requirements
   ======================================== */
.glass-card {
  background: #fed395;
  border-radius: 24px !important;
  transition: var(--transition-smooth);
  padding: 1.5rem;
}
body:not(.woocommerce-page) .glass-card {
  border-radius: 46% 74px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.glass-card:hover {
  transform: scale(1.02);
  border-color: var(--accent);
  transition: transform 0.3s ease;
}

/* ========================================
   IMAGE STYLES - STANDARDIZED
   ======================================== */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

/* Hero Image */
.hero-image {
  border-radius: 16px;
  background: #fed395;
  border-radius: 38%;
  padding: 3rem;
}

/* Product Images */
.product-image {
  border-radius: 12px;
  box-shadow: 0 4px 16px hsla(0, 0%, 0%, 0.2);
  transition: var(--transition-smooth);
}

.product-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px hsla(0, 0%, 0%, 0.3);
}

/* ========================================
   TEXT STYLES - STANDARDIZED
   ======================================== */
.text-primary { color: var(--primary); }
.text-secondary { color: #2f3441; }
.text-accent { color: var(--accent); }
.text-muted { color: #2f3441; }

/* ========================================
   ANIMATION STYLES - STANDARDIZED
   ======================================== */
  @keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes glow {
  0%, 100% { box-shadow: var(--glow-primary); }
  50% { box-shadow: var(--glow-intense); }
}

.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.pulse-glow { animation: glow 2s ease-in-out infinite; }

/* ========================================
   UTILITY CLASSES - ORGANIZED
   ======================================== */
/* Flexbox */
.flex { display: flex; justify-content: center; align-content: flex-start; align-items: flex-start; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow-0 { flex-grow: 0; }
.flex-grow-1 { flex-grow: 1; }

/* Spacing */
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

/* Z-index */
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Sizing */
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-20 { width: 5rem; }
.w-80 { width: 20rem; }
.h-80 { height: 20rem; }
.w-96 { width: 24rem; }
.h-96 { height: 24rem; }
.w-72 { width: 18rem; }
.h-72 { height: 18rem; }

/* Border Radius */
.rounded { border-radius: 0.25rem; }
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }
.rounded-12 { border-radius: 12px; }

/* Background Colors */
.bg-primary { background-color: var(--primary); }
.bg-accent { background-color: var(--accent); }
.bg-transparent { background-color: transparent; }
.bg-secondary { background-color: var(--secondary); }

/* Borders */
.border-2 { border-width: 2px; }
.border-primary { border-color: var(--primary); }

/* Typography */
.leading-relaxed { line-height: 1.625; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Opacity */
.opacity-95 { opacity: 0.95; }
.opacity-10 { opacity: 0.1; }
.opacity-20 { opacity: 0.2; }

/* Effects */
.blur-3xl { filter: blur(24px); }
.line-through { text-decoration: line-through; }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }

/* Transforms */
.transform { transform: translateZ(0); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.scale-105 { transform: scale(1.05); }

/* Transitions */
.transition-all { transition-property: all; }

/* Display */
.hidden { display: none; }

/* Additional Typography Classes */
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-7xl { font-size: 4.5rem; }
.text-8xl { font-size: 6rem; }

/* Font Weights */
.font-orbitron { font-family: 'Howli Sans Two', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

/* Margin & Padding */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 6rem; }

.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

/* Layout */
.min-h-screen { min-height: 100vh; }
.overflow-hidden { overflow: hidden; }
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* Max Widths */
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-md { max-width: 28rem; }

/* Colors */
.text-yellow-400 { color: #fbbf24; }
.text-primary-foreground { color: var(--primary-foreground); }
.text-accent-foreground { color: var(--accent-foreground); }

/* ========================================
   RESPONSIVE GRID SYSTEM - STANDARDIZED
   ======================================== */
/* Grid utilities - replaced with flexbox */
.grid { display: flex; flex-wrap: wrap; gap: 2rem; }
.grid-cols-1 { flex-direction: column; }
.grid-cols-2 { flex-direction: row; flex-wrap: wrap; gap: 2rem; }
.grid-cols-3 { flex-direction: row; flex-wrap: wrap; gap: 2rem; }
.grid-cols-4 { flex-direction: row; flex-wrap: wrap; gap: 2rem; }

/* Specific column layouts */
.grid-cols-2 > * { flex: 1 1 calc(50% - 1rem); min-width: 300px; }
.grid-cols-3 > * { flex: 1 1 calc(33.333% - 1rem); min-width: 250px; }
.grid-cols-4 > * { flex: 1 1 calc(25% - 1rem); min-width: 200px; }

/* Force proper flexbox behavior */
.grid > * {
  box-sizing: border-box;
  margin: 0;
}

/* Responsive flexbox */
@media (max-width: 768px) {
  .grid-cols-2 > *,
  .grid-cols-3 > *,
  .grid-cols-4 > * {
    flex: 1 1 100%;
    min-width: 100%;
  }
}

/* Testimonials specific layout - Based on specific requirements */
.testimonials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.testimonials-row > * {
  flex: 1 1 calc(50% - 1rem);
  min-width: 300px;
  background: #fefaec;
  border-radius: 25px;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.testimonials-row > *:hover {
  transform: scale(1.02);
  border-color: var(--accent);
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .testimonials-row > * {
    flex: 1 1 100%;
    min-width: 100%;
  }
}

/* ========================================
   MOBILE STYLES - ORGANIZED
   ======================================== */
@media (max-width: 768px) {
  body {
    line-height: 1.2;
  }
  .countdown-container {
    flex-direction: column;
  }
  .hero-section {
    padding: 6rem 0;
  }
  .container, .hero-section {
    max-width: 90% !important;
    margin: auto;
  }
  .hero-section .flex.flex-col.space-y-3 .bg-accent {
    padding: 0;
  }
  .text-center.footer-container {
    flex-direction: column;
  }
  .text-center.footer-container>div {
    padding-bottom: 1em;
  }
  .footer-container p, .footer-container a {
    font-size: 0.9em;
  }
  .hero-section .hero-image {
    display: none;
  }
  .hero-arrow-container {
    bottom: 8rem;
  }
  a.sale-badge-link.mobile {
    display: block;
    z-index: 10;
  }
  a.sale-badge-link.desktop {
    display: none;
  }
  a.sale-badge-link {
    position: absolute;
    top: 62px;
    left: -100px;
    transform: rotate(-45deg);
  }
  a.sale-badge-link div {
    padding: 0.5em 4em;
    border-radius: 0;
  }
  .hero-section .container {
    min-width: unset !important;
  }
  .hero-section h1 {
    margin-bottom: 4px !important;
  }
  h1#title-pijanska {
    font-size: 2rem !important;
  }
  h1#title-igra {
    font-size: 1.2rem !important;
  }
  h1#title-avtobus {
    font-size: 3rem !important;
  }
  .hero-section .flex.flex-col.space-y-3 .text-muted {
    font-size: 0.8rem !important;
  }
  .hero-arrow-container {
    bottom: 4rem;
  }
  body:not(.woocommerce-page) .glass-card {
    border-radius: 38% 74px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* ========================================
   COUNTDOWN TIMER STYLES - ORGANIZED
   ======================================== */
section#countdown-timer {
  background: var(--button-bg);
  color: var(--primary-foreground);
}

.countdown-container {
  font-family: 'Howli Sans Two', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#countdown span {
  background: var(--primary-foreground);
  color: var(--button-bg);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  margin: 0 0.25rem;
  font-weight: 800;
}

/* ========================================
   SALE BADGE STYLES - ORGANIZED
   ======================================== */
.sale-badge {
  background: var(--button-bg) !important;
  color: var(--primary-foreground) !important;
  border-radius: 25px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Howli Sans Two', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ========================================
   SECTION BACKGROUND STYLES - ORGANIZED
   ======================================== */
/* Hero Section - #ff7d7d background */
.hero-section {
  background: var(--hero-bg);
}

/* Features Section - 'Zakaj izbrati bus igro?' - #8a8eb1 background */
#features-section {
  background: var(--features-bg);
}

/* How to Play Section - 'Kako igrati bus' - #ff7d7d background */
#how-to-play {
  background: var(--how-to-play-bg);
}

/* CTA Section - 'Pripravljen za začetek ultimativne zabave?' - #8a8eb1 background */
#cta-section {
  background: var(--cta-bg);
}

/* ========================================
   TITLE STYLES - ORGANIZED
   ======================================== */
.title-green {
  color: #2f3441 !important;
  padding: 1.2rem 2rem !important;
  width: fit-content !important;
  text-transform: uppercase;
  background: #4fa2a5;
  border-radius: 80px !important;
  display: inline-block;
}

.title-yellow {
  color: #2f3441 !important;
  padding: 1.2rem 2rem !important;
  width: fit-content !important;
  text-transform: uppercase;
  background: #fed395;
  border-radius: 80px !important;
  display: inline-block;
}

.title-no-color {
  color: #2f3441 !important;
  background: none;
}

/* Hero Title Rotations */
h1#title-pijanska {
  transform: rotate(10deg);
  margin: 0;
  margin-bottom: -10px;
}

h1#title-igra, h1#title-avtobus {
  transform: rotate(-10deg);
  margin: 0;
}

h1#title-avtobus {
  margin-bottom: 2rem;
}

/* ========================================
   HERO IMAGE STYLES - ORGANIZED
   ======================================== */
img.hero-image {
  height: 34rem;
  width: 34rem;
}

/* ========================================
   SECTION PADDING - ORGANIZED
   ======================================== */
section#features-section, 
section#how-to-play, 
section#cta-section {
  padding: 10rem 0;
}

/* ========================================
   GLASS CARD VARIATIONS - ORGANIZED
   ======================================== */
.testimonials-row > .glass-card, 
section#how-to-play .glass-card {
  background: #fed395;
}

#how-to-play .glass-card .text-accent {
  color: var(--hero-bg) !important;
}
#how-to-play .glass-card {
    justify-content: flex-start;
    flex-direction: row;
    padding-left: 4rem !important;
}

/* ========================================
   QUANTITY CONTROLS - ORGANIZED
   ======================================== */
button#quantity-minus, 
button#quantity-plus, 
input#quantity {
  border: 2px solid;
  font-size: 30px !important;
}

/* ========================================
   DISCOUNT BADGE - ORGANIZED
   ======================================== */
div#discount-badge {
  width: fit-content;
}

/* ========================================
   WOOCOMMERCE PAGE OVERRIDES - ORGANIZED
   ======================================== */
.woocommerce-page h1, 
.woocommerce-page h2, 
.woocommerce-page h3, 
.woocommerce-page h4, 
.woocommerce-page h5, 
.woocommerce-page h6 {
  background: none !important;
}

.woocommerce-page footer {
  background: #8a8eb1;
}

/* ========================================
   WOOCOMMERCE BUTTON STYLES - ORGANIZED
   ======================================== */
button.wp-element-button {
  padding: 1.2rem 3rem !important;
  width: fit-content !important;
  border: none !important;
  background: #4fa2a5 !important;
  color: #2f3441 !important;
  text-transform: uppercase !important;
  border-radius: 24px !important;
  font-weight: 700 !important;
  font-family: 'Howli Sans Two', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  letter-spacing: 0.5px !important;
  font-size: 1.2rem;
}



/* ========================================
   FRONT PAGE BACKGROUND OVERRIDE
   ======================================== */
/* Front Page Background Override - Based on specific requirements */
body.front-page-background {
  background: var(--hero-bg) !important;
}

/* Ensure main content area has the background */
body.front-page-background #main,
body.front-page-background .site-main {
  background: var(--hero-bg) !important;
}

/* ========================================
   FOOTER STYLES
   ======================================== */
/* Footer styles - Based on specific requirements */
footer {
  background: #ff7d7d;
}

.text-center.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.text-center.footer-container a {
  color: #2f3441;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.text-center.footer-container a:hover {
  color: var(--teal-accent);
  transform: translateY(-2px);
}

/* ========================================
   SPECIAL BUTTON STYLES
   ======================================== */
/* 2 + 1 Free Action Badge - Based on specific requirements */
.bg-accent {
  background: var(--button-bg) !important;
  color: var(--primary-foreground) !important;
  border-radius: 25px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-section .special-button {
  padding: 1rem 2rem;
}

div.sale-badge {
  margin-bottom: 0 !important;
  padding: 0.5em 1em;
  width: fit-content;
}

a.sale-badge-link.desktop {
  margin-bottom: 2rem;
  display: block;
}

a.sale-badge-link.mobile {
  display: none;
}

a.sale-badge-link {
  text-decoration: none;
}

/* ========================================
   WOOCOMMERCE OVERRIDES
   ======================================== */
.woocommerce-checkout .site-main>.container.py-20>.grid.gap-8, 
.woocommerce-cart .site-main>.container.py-20>.grid.gap-8 {
  display: block;
}

/* ========================================
   CHECKOUT PAGE STYLES
   ======================================== */
/* Checkout Page Styling */
.checkout-container {
  min-height: 100vh;
  padding: 2rem 0;
  background: var(--hero-bg);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.checkout-form-section {
  min-width: 0;
}

.order-summary-section {
  min-width: 0;
}

/* Form Sections */
.form-section {
  transition: var(--transition-smooth);
}

.form-section:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* Form Fields */
.woocommerce form .form-row {
  margin-bottom: 1.5rem;
}

.woocommerce form .form-row label {
  display: block;
  color: var(--muted-foreground);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-family: 'Howli Sans Two', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.woocommerce form .form-row input[type="text"],
.woocommerce form .form-row input[type="email"],
.woocommerce form .form-row input[type="tel"],
.woocommerce form .form-row input[type="password"],
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  width: 100%;
  padding: 1rem;
  background: var(--card);
  border-radius: 15px;
  color: var(--foreground);
  font-family: 'Howli Sans Two', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.woocommerce form .form-row input[type="text"]:focus,
.woocommerce form .form-row input[type="email"]:focus,
.woocommerce form .form-row input[type="tel"]:focus,
.woocommerce form .form-row input[type="password"]:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--card);
  transform: translateY(-2px);
}

.checkout-textarea {
  min-height: 100px;
  resize: vertical;
}

/* Payment Section */
.woocommerce-checkout-payment {
  background: transparent;
}

.woocommerce-checkout-payment ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-checkout-payment ul li {
  background: var(--card);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  padding: 1rem;
  transition: var(--transition-smooth);
}

.woocommerce-checkout-payment ul li:hover {
  border-color: var(--primary);
  background: hsla(240, 10%, 3.9%, 0.6);
}

.woocommerce-checkout-payment ul li.wc_payment_method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.woocommerce-checkout-payment ul li.wc_payment_method input[type="radio"] {
  accent-color: var(--primary);
  transform: scale(1.2);
}

.woocommerce-checkout-payment ul li.wc_payment_method label {
  margin: 0;
  font-weight: 600;
  color: var(--foreground);
  cursor: pointer;
}

a.wc-block-components-checkout-return-to-cart-button {
  display: none;
}

/* Order Summary */
.order-summary {
  position: sticky;
  top: 2rem;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

.order-summary::-webkit-scrollbar {
  width: 6px;
}

.order-summary::-webkit-scrollbar-track {
  background: hsla(240, 10%, 3.9%, 0.3);
  border-radius: 3px;
}

.order-summary::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* Order Items */
.woocommerce-checkout-review-order {
  background: transparent;
}

.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 0.75rem 0;
  text-align: left;
  border-bottom: 1px solid hsla(240, 3.7%, 15.9%, 0.3);
}

.woocommerce-checkout-review-order-table th {
  font-weight: 600;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.woocommerce-checkout-review-order-table td {
  color: var(--foreground);
}

.woocommerce-checkout-review-order-table .product-name {
  font-weight: 600;
}

.woocommerce-checkout-review-order-table .product-total {
  text-align: right;
  font-weight: 600;
  color: var(--primary);
}

/* Order Totals */
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
  border-top: 2px solid hsla(240, 3.7%, 15.9%, 0.5);
  padding-top: 1rem;
  font-weight: 600;
}

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
}

/* Place Order Button */
.woocommerce-checkout-payment .place-order {
  margin-top: 2rem;
}

.woocommerce-checkout-payment .place-order .button {
  width: 100%;
  padding: 1.25rem 2rem;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 12px;
  font-family: 'Howli Sans Two', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--glow-primary);
}

.woocommerce-checkout-payment .place-order .button:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-intense);
}

.woocommerce-checkout-payment .place-order .button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

button#main-buy-btn {
  border: none;
  margin: 1em 0;
}

/* Error Messages */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  background: hsla(240, 10%, 3.9%, 0.6);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  list-style: none;
}

.woocommerce-error {
  border-color: var(--destructive);
  color: var(--destructive);
}

.woocommerce-info {
  border-color: var(--primary);
  color: var(--primary);
}

.woocommerce-message {
  border-color: #10B981;
  color: #10B981;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .order-summary {
    position: static;
    max-height: none;
  }
}

@media (max-width: 768px) {
  .checkout-container {
    padding: 1rem 0;
  }
  
  .checkout-header h1 {
    font-size: 2.5rem;
  }
  
  .form-section,
  .payment-section,
  .order-summary {
    padding: 1.5rem;
  }
  
  .woocommerce form .form-row input[type="text"],
  .woocommerce form .form-row input[type="email"],
  .woocommerce form .form-row input[type="tel"],
  .woocommerce form .form-row input[type="password"],
  .woocommerce form .form-row select,
  .woocommerce form .form-row textarea {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
}

/* Additional WooCommerce Overrides */
.woocommerce-checkout-review-order-table .product-thumbnail img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.woocommerce-checkout-review-order-table .product-thumbnail {
  width: 60px;
}

/* Loading States */
.woocommerce-checkout-payment .place-order .button.loading {
  position: relative;
  color: transparent;
}

.woocommerce-checkout-payment .place-order .button.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Product Info Display */
.product-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-details {
  flex: 1;
  min-width: 0;
}

.product-title {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.product-meta {
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.product-quantity {
  color: var(--primary);
  font-weight: 600;
}

/* Cart Discount Styling */
.cart-discount th,
.cart-discount td {
  color: #10B981;
  font-weight: 600;
}

/* Fee Styling */
.fee th,
.fee td {
  color: var(--accent);
  font-weight: 600;
}

/* Tax Styling */
.tax-rate th,
.tax-rate td,
.tax-total th,
.tax-total td {
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

/* ========================================
   HERO SECTION STYLES
   ======================================== */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section .container {
  max-width: 1200px;
  min-width: 1200px;
}

.hero-section .grid {
  align-items: center;
  min-height: 80vh;
}

/* Left Column Styling */
.hero-section .flex.flex-col {
  justify-content: center;
}

.hero-section .bg-accent {
  background: var(--button-bg) !important;
  border-radius: 25px;
  animation: bounce 2s ease-in-out infinite;
}

.hero-section h1 {
  line-height: 0.9;
  margin-bottom: 1rem;
}

.hero-section h1 .text-primary {
  color: #2f3441 !important;
}

.hero-section h1 .text-secondary {
  color: #2f3441 !important;
}

.hero-section .text-xl {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.hero-section .text-lg {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.hero-section .text-lg .text-primary {
  color: #2f3441;
  font-weight: 600;
}

.hero-section .how-to-play-link {
  margin-top: 0;
  text-decoration: none;
}

/* Button Styling in Hero */
.hero-section .btn {
  font-size: 1.125rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero-section .btn-primary,
.cta-section .btn-primary {
  background: linear-gradient(135deg, #4fa2a5 0%, #3d8a8d 50%, #4fa2a5 100%) !important;
  background-size: 200% 200% !important;
  color: #ffffff !important;
  border-radius: 25px !important;
  border: none !important;
  padding: 1.25rem 2.5rem !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  box-shadow: 
    0 0 30px rgba(79, 162, 165, 0.8),
    0 0 60px rgba(79, 162, 165, 0.5),
    0 4px 15px rgba(79, 162, 165, 0.6) !important;
  cursor: pointer !important;
  display: inline-block !important;
  text-align: center !important;
  text-decoration: none !important;
  line-height: 1.5 !important;
  position: relative !important;
  animation: button-bg-shift 2s ease-in-out infinite, button-glow-move 2.5s ease-in-out infinite !important;
  will-change: background-position, box-shadow !important;
}

.hero-section .btn-primary > *,
.cta-section .btn-primary > * {
  position: relative;
  z-index: 2;
}

.hero-section .btn-primary:hover,
.cta-section .btn-primary:hover {
  background: linear-gradient(135deg, #5bb3b6 0%, #4fa2a5 50%, #5bb3b6 100%) !important;
  background-size: 200% 200% !important;
  animation: button-bg-shift 2s ease-in-out infinite, button-glow-move 2.5s ease-in-out infinite !important;
  transform: translateY(-2px) !important;
}

.hero-section .btn-primary:active,
.cta-section .btn-primary:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 10px rgba(79, 162, 165, 0.4) !important;
}

.hero-section .btn-outline {
  background: transparent;
  color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.hero-section .btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Feature List Styling */
.hero-section .flex.flex-col.space-y-3 {
  margin-top: 2rem;
}

.hero-section .flex.flex-col.space-y-3 > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-start;
}

.hero-section .flex.flex-col.space-y-3 .w-2 {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-section .flex.flex-col.space-y-3 .text-muted {
  color: #2f3441;
  font-size: 1.2rem;
}

/* Right Column Styling */
.hero-section .flex.justify-center.items-center {
  position: relative;
}

/* Price Tag on Image */
.hero-section .absolute.-top-4.-right-4 {
  background: var(--button-bg);
  border-radius: 20px;
  z-index: 10;
}

/* Responsive Design for Hero */
@media (max-width: 1024px) {
  .hero-section .grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-section .flex.flex-col {
    align-items: center;
  }
  
  .hero-section h1 {
    font-size: 4rem;
  }
  
  .hero-section .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-section .container {
    padding: 0 1rem;
  }
  
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .hero-section .text-xl {
    font-size: 1.125rem;
  }
  
  .hero-section .text-lg {
    font-size: 1rem;
  }
  
  .hero-section .btn {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }
  
  .hero-section .hero-image {
    width: 16rem;
    height: 16rem;
  }
  
  .hero-section .absolute.-top-4.-right-4 {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section .hero-image {
    width: 14rem;
    height: 14rem;
  }
  
  .hero-section .bg-accent {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
}

/* ========================================
   HERO ARROW STYLES
   ======================================== */
.hero-arrow-container {
  position: absolute;
  bottom: 10rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.hero-arrow-link {
  display: block;
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

.hero-arrow {
  width: 60px;
  height: 60px;
  background: var(--button-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: arrow-bounce 2s ease-in-out infinite;
}

.hero-arrow:hover {
  background: #fed395;
  border-color: #fed395;
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.hero-arrow-icon {
  width: 24px;
  height: 24px;
  color: #ff7d7d;
  transition: all 0.3s ease;
}

.hero-arrow:hover .hero-arrow-icon {
  color: var(--teal-accent);
  transform: translateY(2px);
}

/* Arrow Bounce Animation */
@keyframes arrow-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Arrow Pulse Glow */
.hero-arrow::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--teal-accent), var(--secondary), var(--button-bg));
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes arrow-glow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

/* Responsive Arrow */
@media (max-width: 768px) {
  .space-y-8 > * + * {
    margin-top: 0.5rem;
  }
  
  .hero-arrow-container {
    bottom: 3rem;
  }
  
  .hero-arrow {
    width: 50px;
    height: 50px;
  }
  
  .hero-arrow-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .hero-arrow {
    width: 45px;
    height: 45px;
  }
  
  .hero-arrow-icon {
    width: 18px;
    height: 18px;
  }
}

/* ========================================
   MAIN BUY BUTTON - ORGANIZED
   ======================================== */
button#main-buy-btn {
  font-size: 1.25rem !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #4fa2a5 0%, #3d8a8d 50%, #4fa2a5 100%) !important;
  background-size: 200% 200% !important;
  border: none !important;
  padding: 1.25rem 2.5rem !important;
  border-radius: 25px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  box-shadow: 
    0 0 30px rgba(79, 162, 165, 0.8),
    0 0 60px rgba(79, 162, 165, 0.5),
    0 4px 15px rgba(79, 162, 165, 0.6) !important;
  cursor: pointer !important;
  display: inline-block !important;
  text-align: center !important;
  text-decoration: none !important;
  line-height: 1.5 !important;
  position: relative !important;
  animation: button-bg-shift 2s ease-in-out infinite, button-glow-move 2.5s ease-in-out infinite !important;
  will-change: background-position, box-shadow !important;
}

button#main-buy-btn > * {
  position: relative;
  z-index: 2;
}

@keyframes button-bg-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes button-glow-pulse {
  0%, 100% {
    box-shadow: 
      0 0 30px rgba(79, 162, 165, 0.8),
      0 0 60px rgba(79, 162, 165, 0.5),
      0 4px 15px rgba(79, 162, 165, 0.6);
  }
  50% {
    box-shadow: 
      0 0 50px rgba(79, 162, 165, 1),
      0 0 80px rgba(79, 162, 165, 0.7),
      0 6px 25px rgba(79, 162, 165, 0.8);
  }
}

@keyframes button-glow-move {
  0% {
    box-shadow: 
      0 0 30px rgba(79, 162, 165, 0.8),
      0 0 60px rgba(79, 162, 165, 0.5),
      0 4px 15px rgba(79, 162, 165, 0.6),
      -15px -15px 60px rgba(79, 162, 165, 0.7),
      -10px -10px 40px rgba(79, 162, 165, 0.6);
  }
  25% {
    box-shadow: 
      0 0 30px rgba(79, 162, 165, 0.8),
      0 0 60px rgba(79, 162, 165, 0.5),
      0 4px 15px rgba(79, 162, 165, 0.6),
      15px -15px 60px rgba(79, 162, 165, 0.7),
      10px -10px 40px rgba(79, 162, 165, 0.6);
  }
  50% {
    box-shadow: 
      0 0 30px rgba(79, 162, 165, 0.8),
      0 0 60px rgba(79, 162, 165, 0.5),
      0 4px 15px rgba(79, 162, 165, 0.6),
      15px 15px 60px rgba(79, 162, 165, 0.7),
      10px 10px 40px rgba(79, 162, 165, 0.6);
  }
  75% {
    box-shadow: 
      0 0 30px rgba(79, 162, 165, 0.8),
      0 0 60px rgba(79, 162, 165, 0.5),
      0 4px 15px rgba(79, 162, 165, 0.6),
      -15px 15px 60px rgba(79, 162, 165, 0.7),
      -10px 10px 40px rgba(79, 162, 165, 0.6);
  }
  100% {
    box-shadow: 
      0 0 30px rgba(79, 162, 165, 0.8),
      0 0 60px rgba(79, 162, 165, 0.5),
      0 4px 15px rgba(79, 162, 165, 0.6),
      -15px -15px 60px rgba(79, 162, 165, 0.7),
      -10px -10px 40px rgba(79, 162, 165, 0.6);
  }
}

button#main-buy-btn:hover {
  background: linear-gradient(135deg, #5bb3b6 0%, #4fa2a5 50%, #5bb3b6 100%) !important;
  background-size: 200% 200% !important;
  animation: button-bg-shift 2s ease-in-out infinite, button-glow-move 2.5s ease-in-out infinite !important;
  transform: translateY(-2px) !important;
}

button#main-buy-btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 10px rgba(79, 162, 165, 0.4) !important;
}

/* ========================================
   ANIMATIONS - ORGANIZED
   ======================================== */
/* General hover effects for interactive elements */
a:hover, button:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Ensure buttons and links have smooth transitions */
.btn, a, button {
  transition: transform 0.3s ease;
}

/* ========================================
   NOTIFICATION MODAL - POPUP
   ======================================== */
.notification-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.notification-modal.active {
  opacity: 1;
  visibility: visible;
}

.notification-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.notification-modal-content {
  position: relative;
  background: var(--card);
  border-radius: 24px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  z-index: 10000;
}

.notification-modal.active .notification-modal-content {
  transform: scale(1) translateY(0);
}

.notification-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 2rem;
  color: var(--muted-foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10001;
}

.notification-modal-close:hover {
  background: var(--muted);
  color: var(--foreground);
  transform: rotate(90deg);
}

.notification-modal-body {
  padding: 3rem 2rem 2rem;
}

#notification-message {
  padding: 0.75rem;
  border-radius: 8px;
  margin-top: 1rem;
}

#notification-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 2px solid #16a34a;
}

#notification-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 2px solid #dc2626;
}

body.modal-open {
  overflow: hidden;
}

/* ========================================
   FLOATING ANIMATIONS
   ======================================== */

/* ========================================
   ENHANCED DESIGN ELEMENTS
   ======================================== */

/* Enhanced glass card hover effects */
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Ensure text content is always above side images */
.glass-card > *:not(.card-side-image):not(.step-side-image) {
  position: relative;
  z-index: 10;
}

/* Remove old unused styles */

/* Side images for feature cards */
.card-side-image {
  position: absolute;
  width: 100px;
  z-index: 5;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.card-side-image-right {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.card-side-image-left {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.glass-card:hover .card-side-image {
  transform: translateY(-50%) scale(1.1);
}

button#notification-submit-btn {
  border: none;
  margin-top: 2rem;
}

/* Side images for step cards */
.step-side-image {
  position: absolute;
  width: 100px;
  z-index: 5;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.step-side-image-right {
  top: 50%;
  right: 80px;
  transform: translateY(-50%);
}

.step-side-image-left {
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
}

.glass-card:hover .step-side-image {
  transform: translateY(-50%) scale(1.1);
}

/* Responsive adjustments for side images */
@media (max-width: 768px) {
  /* Hide all images on mobile */
  .hero-section img,
  .card-side-image,
  .step-side-image {
    display: none !important;
  }

  .text-center.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
}

/* Responsive modal */
@media (max-width: 768px) {
  .notification-modal-content {
    width: 95%;
    max-width: none;
    border-radius: 16px;
  }
  
  .notification-modal-body {
    padding: 2rem 1.5rem 1.5rem;
  }
  
  .notification-modal-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }
}

/* ========================================
   ADDITIONAL VISUAL ENHANCEMENTS
   ======================================== */


/* Staggered animation for feature cards */
.testimonials-row > *:nth-child(1) {
  animation-delay: 0.1s;
}

.testimonials-row > *:nth-child(2) {
  animation-delay: 0.2s;
}

/* Enhanced scroll reveal */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glass-card {
  animation: fadeInUp 0.6s ease-out backwards;
}

/* Gradient text effect */
.title-yellow {
  background: linear-gradient(135deg, #fed395 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

/* Enhanced image borders and shadows */
.hero-image {
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
  transition: filter 0.3s ease;
}

.hero-image:hover {
  filter: drop-shadow(0 15px 40px rgba(79, 162, 165, 0.4));
}


/* Section background enhancements */
.features-section,
.how-to-play-section,
.cta-section {
  position: relative;
  overflow: hidden;
}

.features-section::before,
.how-to-play-section::before,
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: pattern-move 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes pattern-move {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.features-section > *,
.how-to-play-section > *,
.cta-section > * {
  position: relative;
  z-index: 1;
}

/* ========================================
   WP-SINGULAR PAGE STYLES
   ======================================== */
.wp-singular h1, .wp-singular h2 {
  color: #000;
}

.wp-singular .glass-card {
  background: transparent;
  transform: none !important;
  animation: none !important;
}

.wp-singular .glass-card:hover {
  transition: none;
  box-shadow: none;
}