@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400&display=swap');

/* icon */

/* bootstrap */
/* css */

.theme-btn.subscription-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  border: none;
  color: white;
}

.theme-btn.outline-btn {
  background: transparent;
  border: 2px solid #007bff;
  color: #007bff;
}

.theme-btn.outline-btn:hover {
  background: #007bff;
  color: white;
}

:root {
  /* Colors - Map these to your existing theme colors */
  --primary-color: #007bff;           /* Check your existing primary button color */
  --secondary-color: #6c757d;         /* Check your existing secondary color */
  --success-color: #28a745;           /* Check your existing success/green color */
  --warning-color: #ffc107;           /* Check your existing warning/yellow color */
  --danger-color: #dc3545;            /* Check your existing danger/red color */
  --info-color: #17a2b8;              /* Check your existing info/blue color */
  --purple-color: #6f42c1;            /* Add if doesn't exist */
  
  /* Color variants for hover states */
  --primary-color-hover: #0056b3;
  --success-color-hover: #218838;
  --danger-color-hover: #c82333;
  --warning-color-hover: #e0a800;
  --purple-color-hover: #5a32a3;
  
  /* Background colors */
  --bg-light: #f8f9fa;               /* Check your existing light background */
  --bg-dark: #343a40;                /* Check your existing dark background */
  --card-bg: white;                  /* Check your existing card background */
  
  /* Status background colors */
  --success-bg: #d4edda;
  --warning-bg: #fff3cd;
  --danger-bg: #f8d7da;
  --info-bg: #cce7ff;
  
  /* Border colors */
  --border-color: #e9ecef;           /* Check your existing border color */
  --border-color-hover: #dee2e6;
  --success-border: #c3e6cb;
  --warning-border: #ffeaa7;
  --danger-border: #f5c6cb;
  --info-border: #b3d9ff;
  
  /* Text colors */
  --text-color: #495057;             /* Check your existing text color */
  --text-muted: #666;                /* Check your existing muted text color */
  --heading-color: #2c3e50;          /* Check your existing heading color */
  --success-text: #155724;
  --warning-text: #856404;
  --danger-text: #721c24;
  --info-text: #004085;
  
  /* Typography */
  --heading-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --body-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Font sizes - Map to your existing scale */
  --h1-size: 2rem;                   /* Check your existing H1 size */
  --h2-size: 1.5rem;                 /* Check your existing H2 size */
  --body-size: 1rem;                 /* Check your existing body size */
  --small-size: 0.875rem;            /* Check your existing small text size */
  
  /* Font weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing - Map to your existing spacing scale */
  --spacing-xs: 0.5rem;              /* Check your existing XS spacing */
  --spacing-sm: 1rem;                /* Check your existing SM spacing */
  --spacing-md: 1.5rem;              /* Check your existing MD spacing */
  --spacing-lg: 2rem;                /* Check your existing LG spacing */
  --spacing-xl: 3rem;                /* Check your existing XL spacing */
  
  /* Border radius */
  --border-radius-base: 8px;         /* Check your existing border radius */
  --border-radius-lg: 16px;          /* Check your existing large border radius */
  
  /* Border widths */
  --border-width: 1px;               /* Check your existing border width */
  --border-width-thick: 4px;         /* For accent borders */
  
  /* Shadows */
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-base: all 0.2s ease-in-out;
  
  /* Container */
  --container-max-width: 1200px;     /* Check your existing container max-width */
  
  /* Scrollbar colors */
  --scrollbar-track: #f1f3f4;
  --scrollbar-thumb: #c1c1c1;
  --scrollbar-thumb-hover: #a8a8a8;
}

/* ========================================
   HEADER COMPONENT STYLES
   Styles extracted from animated header components
   ======================================== */

/* Animated Header */
                /* Smooth Animated Shapes - CSS-only floating shapes */
                .animated-shapes {
                    position: fixed;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    z-index: 3;
                    pointer-events: none;
                    opacity: 0;
                    transition: opacity 0.6s ease-in-out;
                }

                .mobile-menu-overlay.active .animated-shapes {
                    opacity: 1;
                }

                .shape {
                    position: absolute;
                    border-radius: 50%;
                    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
                    animation: floatShape 20s ease-in-out infinite;
                    will-change: transform;
                }

                /* Different sizes and positions for variety */
                .shape-1 {
                    width: 120px;
                    height: 120px;
                    top: 10%;
                    left: 10%;
                    background: radial-gradient(circle, rgba(100, 181, 246, 0.2) 0%, rgba(100, 181, 246, 0.05) 60%, transparent 100%);
                    animation-duration: 18s;
                    animation-delay: 0s;
                }

                .shape-2 {
                    width: 80px;
                    height: 80px;
                    top: 60%;
                    right: 15%;
                    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.03) 60%, transparent 100%);
                    animation-duration: 22s;
                    animation-delay: 2s;
                }

                .shape-3 {
                    width: 100px;
                    height: 100px;
                    bottom: 20%;
                    left: 20%;
                    background: radial-gradient(circle, rgba(2, 136, 209, 0.18) 0%, rgba(2, 136, 209, 0.04) 60%, transparent 100%);
                    animation-duration: 25s;
                    animation-delay: 4s;
                }

                .shape-4 {
                    width: 60px;
                    height: 60px;
                    top: 30%;
                    right: 25%;
                    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 60%, transparent 100%);
                    animation-duration: 20s;
                    animation-delay: 1s;
                }

                .shape-5 {
                    width: 90px;
                    height: 90px;
                    bottom: 30%;
                    right: 10%;
                    background: radial-gradient(circle, rgba(100, 181, 246, 0.16) 0%, rgba(100, 181, 246, 0.03) 60%, transparent 100%);
                    animation-duration: 24s;
                    animation-delay: 3s;
                }

                @keyframes floatShape {
                    0%, 100% {
                        transform: translate(0, 0) scale(1);
                    }
                    25% {
                        transform: translate(30px, -30px) scale(1.1);
                    }
                    50% {
                        transform: translate(-20px, 30px) scale(0.9);
                    }
                    75% {
                        transform: translate(20px, 20px) scale(1.05);
                    }
                }

                /* Reduce motion for accessibility */
                @media (prefers-reduced-motion: reduce) {
                    .shape {
                        animation: none;
                    }
                }

                /* Hide shapes on very small screens to reduce clutter */
                @media (max-width: 400px) {
                    .shape-4,
                    .shape-5 {
                        display: none;
                    }
                }

                /* Optimized Animated Hamburger Button */
                .animated-hamburger {
                    position: relative;
                    width: 60px;
                    height: 60px;
                    background: rgba(255, 255, 255, 0.15);
                    border: none;
                    border-radius: 50%;
                    cursor: pointer;
                    transition: all 0.25s cubic-bezier(0.84, 0.06, 0.52, 1.8);
                    z-index: 1001;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    will-change: transform;
                }

                .animated-hamburger:hover {
                    transform: scale(1.05);
                    background: rgba(255, 255, 255, 0.25);
                }

                .hamburger-line {
                    position: absolute;
                    width: 28px;
                    height: 2px;
                    background-color: #333;
                    transition: all 300ms cubic-bezier(0.84, 0.06, 0.52, 1.8);
                    border-radius: 1px;
                    will-change: transform, opacity;
                }

                .line-1 {
                    transform: translateY(-6px);
                }

                .line-2 {
                    transform: translateY(0);
                }

                .line-3 {
                    transform: translateY(6px);
                }

                .animated-hamburger.open .line-1 {
                    transform: rotate(45deg) translateY(0);
                }

                .animated-hamburger.open .line-2 {
                    opacity: 0;
                    transform: scale(0);
                }

                .animated-hamburger.open .line-3 {
                    transform: rotate(-45deg) translateY(0);
                }

                /* Optimized Mobile Menu Overlay */
                .mobile-menu-overlay {
                    position: fixed;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100vh;
                    z-index: 999;
                    pointer-events: none;
                    overflow: hidden;
                    will-change: auto;
                }

                .mobile-menu-overlay.active {
                    pointer-events: all;
                }

                /* Smooth Swipe Background Layers */
                .menu-background-layer {
                    position: absolute;
                    top: 0;
                    left: 0;
                    height: 100%;
                    width: 0%;
                    transition: width 600ms cubic-bezier(0.65, 0, 0.35, 1);
                    will-change: width;
                    transform-origin: left center;
                }

                .layer-1 {
                    background: linear-gradient(135deg, #64B5F6 0%, #42A5F5 100%);
                    z-index: 1;
                    transition-delay: 0ms;
                }

                .layer-2 {
                    background: linear-gradient(135deg, #0288D1 0%, #0277BD 100%);
                    z-index: 2;
                    transition-delay: 80ms;
                    opacity: 0.95;
                }

                .mobile-menu-overlay.active .menu-background-layer {
                    width: 100%;
                }

                /* Responsive swipe widths */
                @media (min-width: 768px) {
                    .mobile-menu-overlay.active .menu-background-layer {
                        width: 55%;
                    }
                }

                @media (min-width: 1024px) {
                    .mobile-menu-overlay.active .menu-background-layer {
                        width: 45%;
                    }
                }

                /* Optimized Mobile Navigation */
                .mobile-navigation {
                    position: absolute;
                    top: 0;
                    left: 0;
                    height: 100%;
                    width: 100%;
                    z-index: 15;
                    opacity: 0;
                    transform: translateX(-50px);
                    transition: all 500ms cubic-bezier(0.62, 0.04, 0.3, 1.56);
                    transition-delay: 150ms;
                    will-change: transform, opacity;
                }

                .mobile-navigation.active {
                    opacity: 1;
                    transform: translateX(0);
                }

                .mobile-menu-list {
                    margin: 0;
                    padding: 0;
                    list-style: none;
                    position: absolute;
                    top: 50%;
                    left: 15%;
                    transform: translateY(-50%);
                }

                /* Optimized Mobile Menu Items */
                .mobile-menu-item {
                    opacity: 0;
                    transform: translateY(30px);
                    transition: all 350ms cubic-bezier(0.62, 0.04, 0.3, 1.56);
                    transition-delay: calc(250ms + (var(--item-index) * 80ms));
                    position: relative;
                    padding: 10px 0;
                    margin: 6px 0;
                    border-radius: 12px;
                    overflow: visible;
                    cursor: pointer;
                    will-change: transform, opacity;
                }

                .mobile-navigation.active .mobile-menu-item {
                    opacity: 1;
                    transform: translateY(0);
                }

                /* Optimized row highlight with hardware acceleration */
                .mobile-menu-item::before {
                    content: '';
                    position: absolute;
                    top: 0;
                    left: -100%;
                    width: 100%;
                    height: 100%;
                    background: linear-gradient(90deg, 
                        rgba(255, 255, 255, 0.08) 0%, 
                        rgba(255, 255, 255, 0.15) 50%, 
                        rgba(255, 255, 255, 0.08) 100%);
                    transition: transform 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
                    border-radius: 12px;
                    z-index: -1;
                    transform: translateX(0);
                    will-change: transform;
                }

                .mobile-menu-item:hover::before,
                .mobile-menu-item:focus-within::before {
                    transform: translateX(100%);
                    background: linear-gradient(90deg, 
                        rgba(255, 215, 0, 0.15) 0%, 
                        rgba(255, 215, 0, 0.25) 50%, 
                        rgba(255, 215, 0, 0.15) 100%);
                }

                /* Simplified magnifier effect for better performance */
                .mobile-menu-item::after {
                    content: '';
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    width: 0;
                    height: 0;
                    background: radial-gradient(circle, 
                        rgba(255, 215, 0, 0.2) 0%, 
                        rgba(255, 215, 0, 0.05) 40%,
                        transparent 70%);
                    border-radius: 50%;
                    transform: translate(-50%, -50%);
                    transition: all 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
                    pointer-events: none;
                    z-index: 1;
                    will-change: width, height;
                }

                .mobile-menu-item:hover::after {
                    width: 150px;
                    height: 150px;
                }

                /* Optimized link styling */
                .mobile-nav-link {
                    display: block;
                    color: #fff;
                    text-decoration: none;
                    transition: all 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
                    position: relative;
                    padding: 14px 20px;
                    border-radius: 10px;
                    transform-origin: left center;
                    z-index: 2;
                    overflow: visible;
                    will-change: transform;
                }

                .link-text {
                    display: inline-block;
                    font-size: 22px;
                    line-height: 1.3;
                    text-transform: uppercase;
                    letter-spacing: 1.5px;
                    font-weight: 600;
                    transition: all 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
                    transform-origin: left center;
                    position: relative;
                    will-change: transform, font-size;
                }

                /* Optimized magnifier text effect */
                .mobile-nav-link:hover .link-text,
                .mobile-nav-link:focus .link-text {
                    font-size: 26px;
                    font-weight: 700;
                    letter-spacing: 2px;
                    color: #FFD700;
                    text-shadow: 
                        0 0 8px rgba(255, 215, 0, 0.5),
                        0 2px 6px rgba(255, 215, 0, 0.3);
                    transform: scale(1.1) translateX(15px);
                }

                /* Optimized animated underline */
                .mobile-nav-link::before {
                    content: '';
                    position: absolute;
                    bottom: 10px;
                    left: 0;
                    width: 0%;
                    height: 3px;
                    background: linear-gradient(90deg, 
                        #FFD700 0%, 
                        #FFA500 50%, 
                        #FFD700 100%);
                    transition: width 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
                    border-radius: 2px;
                    will-change: width;
                }

                .mobile-nav-link:hover::before,
                .mobile-nav-link:focus::before {
                    width: 100%;
                    box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
                }

                /* Optimized pulse effect */
                .mobile-nav-link:focus,
                .mobile-nav-link:active {
                    outline: none;
                    animation: optimizedPulse 0.6s ease-in-out;
                }

                @keyframes optimizedPulse {
                    0% {
                        transform: scale(1);
                    }
                    50% {
                        transform: scale(1.03);
                    }
                    100% {
                        transform: scale(1);
                    }
                }

                /* Mobile Close Button */
                .mobile-close-button {
                    position: absolute;
                    top: 30px;
                    right: 30px;
                    width: 50px;
                    height: 50px;
                    border: none;
                    background: rgba(255, 255, 255, 0.1);
                    border-radius: 50%;
                    cursor: pointer;
                    z-index: 20;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    transition: all 0.3s ease;
                    -webkit-backdrop-filter: blur(10px);
                            backdrop-filter: blur(10px);
                    opacity: 0;
                    transform: scale(0.8) rotate(0deg);
                    will-change: transform, opacity;
                }

                .mobile-navigation.active .mobile-close-button {
                    opacity: 1;
                    transform: scale(1) rotate(0deg);
                    transition-delay: 300ms;
                }

                .mobile-close-button:hover {
                    background: rgba(255, 255, 255, 0.2);
                    transform: scale(1.1) rotate(90deg);
                }

                .close-icon {
                    font-size: 28px;
                    color: white;
                    font-weight: 300;
                    line-height: 1;
                    transition: all 0.3s ease;
                }

                .mobile-close-button:hover .close-icon {
                    color: #FFD700;
                    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
                }

                /* Mobile-specific optimizations */
                @media (max-width: 480px) {
                    .mobile-close-button {
                        top: 20px;
                        right: 20px;
                        width: 45px;
                        height: 45px;
                    }

                    .close-icon {
                        font-size: 24px;
                    }

                    /* Mobile auth responsive adjustments - no longer needed since auth uses standard menu styles */
                    .animated-hamburger {
                        width: 50px;
                        height: 50px;
                    }
                    
                    .hamburger-line {
                        width: 24px;
                    }
                    
                    .link-text {
                        font-size: 20px;
                        letter-spacing: 1.2px;
                    }
                    
                    .mobile-nav-link:hover .link-text,
                    .mobile-nav-link:focus .link-text {
                        font-size: 24px;
                        letter-spacing: 1.8px;
                        transform: scale(1.05) translateX(12px);
                    }
                    
                    .mobile-menu-item::after {
                        display: none; /* Remove magnifier effect on very small screens */
                    }
                }

                /* Tablet optimizations */
                @media (min-width: 768px) and (max-width: 1024px) {
                    .link-text {
                        font-size: 24px;
                    }
                    
                    .mobile-nav-link:hover .link-text,
                    .mobile-nav-link:focus .link-text {
                        font-size: 30px;
                        letter-spacing: 2.5px;
                        transform: scale(1.15) translateX(20px);
                    }
                }

                /* Reduced motion preferences */
                @media (prefers-reduced-motion: reduce) {
                    .mobile-menu-item,
                    .mobile-nav-link,
                    .link-text,
                    .mobile-nav-link::before,
                    .mobile-menu-item::before,
                    .mobile-menu-item::after,
                    .hamburger-line,
                    .animated-hamburger,
                    .mobile-navigation,
                    .menu-background-layer {
                        transition-duration: 0.01s !important;
                        animation-duration: 0.01s !important;
                    }
                }

                /* High contrast mode support */
                @media (prefers-contrast: high) {
                    .mobile-nav-link {
                        color: #ffffff;
                    }
                    
                    .mobile-nav-link:hover .link-text,
                    .mobile-nav-link:focus .link-text {
                        color: #ffff00;
                        text-shadow: none;
                    }
                    
                    .hamburger-line {
                        background-color: #000000;
                    }
                }

                /* Hide desktop menu items on mobile screens */
                @media (min-width: 992px) {
                    .mobile-menu-container {
                        display: none !important;
                    }
                    
                    .mobile-menu-overlay {
                        display: none !important;
                    }
                }

                /* Force hardware acceleration for better performance */
                .mobile-menu-overlay,
                .mobile-navigation,
                .mobile-menu-item,
                .mobile-nav-link,
                .menu-background-layer,
                .animated-hamburger {
                    transform: translateZ(0);
                    -webkit-backface-visibility: hidden;
                            backface-visibility: hidden;
                    perspective: 1000px;
                }

                /* User info styling for mobile */
                .user-info-mobile-item {
                    opacity: 0;
                    transform: translateY(30px);
                    transition: all 350ms cubic-bezier(0.62, 0.04, 0.3, 1.56);
                    transition-delay: calc(250ms); /* Show first before menu items */
                    margin: 0 0 20px 0;
                    padding: 16px 20px;
                    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
                    will-change: transform, opacity;
                    list-style: none;
                }

                .mobile-navigation.active .user-info-mobile-item {
                    opacity: 1;
                    transform: translateY(0);
                }

                .user-info-mobile {
                    display: block;
                    padding: 0;
                }

                .user-info-mobile-content {
                    display: flex;
                    align-items: center;
                    gap: 16px;
                }

                .user-details-mobile {
                    display: flex;
                    flex-direction: column;
                    gap: 4px;
                }

                .user-display-name-mobile {
                    color: #fff;
                    font-size: 18px;
                    font-weight: 700;
                    letter-spacing: 0.3px;
                }

                .user-email-mobile {
                    color: rgba(255, 255, 255, 0.7);
                    font-size: 14px;
                    font-weight: 400;
                }

                /* Ensure auth buttons match menu items exactly - override any conflicting styles */
                .mobile-menu-list .mobile-menu-item:nth-last-child(1),
                .mobile-menu-list .mobile-menu-item:nth-last-child(2) {
                    /* Sign In and Sign Up are the last two items - ensure they match other menu items */
                    opacity: 0;
                    transform: translateY(30px);
                    transition: all 350ms cubic-bezier(0.62, 0.04, 0.3, 1.56);
                    transition-delay: calc(250ms + (var(--item-index) * 80ms));
                    position: relative;
                    padding: 10px 0;
                    margin: 6px 0;
                    border-radius: 12px;
                    overflow: visible;
                    cursor: pointer;
                    will-change: transform, opacity;
                }

                .mobile-navigation.active .mobile-menu-list .mobile-menu-item:nth-last-child(1),
                .mobile-navigation.active .mobile-menu-list .mobile-menu-item:nth-last-child(2) {
                    opacity: 1;
                    transform: translateY(0);
                }

                /* Ensure auth button links match other nav links */
                .mobile-menu-list .mobile-menu-item:nth-last-child(1) .mobile-nav-link,
                .mobile-menu-list .mobile-menu-item:nth-last-child(2) .mobile-nav-link {
                    display: block;
                    color: #fff;
                    text-decoration: none;
                    transition: all 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
                    position: relative;
                    padding: 14px 20px;
                    border-radius: 10px;
                    transform-origin: left center;
                    z-index: 2;
                    overflow: visible;
                    will-change: transform;
                }

                .mobile-menu-list .mobile-menu-item:nth-last-child(1) .link-text,
                .mobile-menu-list .mobile-menu-item:nth-last-child(2) .link-text {
                    display: inline-block;
                    font-size: 22px;
                    line-height: 1.3;
                    text-transform: uppercase;
                    letter-spacing: 1.5px;
                    font-weight: 600;
                    transition: all 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
                    transform-origin: left center;
                    position: relative;
                    will-change: transform, font-size;
                }

                /* Auth button hover effects matching other menu items */
                .mobile-menu-list .mobile-menu-item:nth-last-child(1) .mobile-nav-link:hover .link-text,
                .mobile-menu-list .mobile-menu-item:nth-last-child(1) .mobile-nav-link:focus .link-text,
                .mobile-menu-list .mobile-menu-item:nth-last-child(2) .mobile-nav-link:hover .link-text,
                .mobile-menu-list .mobile-menu-item:nth-last-child(2) .mobile-nav-link:focus .link-text {
                    font-size: 26px;
                    font-weight: 700;
                    letter-spacing: 2px;
                    color: #FFD700;
                    text-shadow:
                        0 0 8px rgba(255, 215, 0, 0.5),
                        0 2px 6px rgba(255, 215, 0, 0.3);
                    transform: scale(1.1) translateX(15px);
                }

                /* Auth button background hover effects */
                .mobile-menu-list .mobile-menu-item:nth-last-child(1)::before,
                .mobile-menu-list .mobile-menu-item:nth-last-child(2)::before {
                    content: '';
                    position: absolute;
                    top: 0;
                    left: -100%;
                    width: 100%;
                    height: 100%;
                    background: linear-gradient(90deg,
                        rgba(255, 255, 255, 0.08) 0%,
                        rgba(255, 255, 255, 0.15) 50%,
                        rgba(255, 255, 255, 0.08) 100%);
                    transition: transform 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
                    border-radius: 12px;
                    z-index: -1;
                    transform: translateX(0);
                    will-change: transform;
                }

                .mobile-menu-list .mobile-menu-item:nth-last-child(1):hover::before,
                .mobile-menu-list .mobile-menu-item:nth-last-child(1):focus-within::before,
                .mobile-menu-list .mobile-menu-item:nth-last-child(2):hover::before,
                .mobile-menu-list .mobile-menu-item:nth-last-child(2):focus-within::before {
                    transform: translateX(100%);
                    background: linear-gradient(90deg,
                        rgba(255, 215, 0, 0.15) 0%,
                        rgba(255, 215, 0, 0.25) 50%,
                        rgba(255, 215, 0, 0.15) 100%);
                }

                /* Auth button magnifier effects */
                .mobile-menu-list .mobile-menu-item:nth-last-child(1)::after,
                .mobile-menu-list .mobile-menu-item:nth-last-child(2)::after {
                    content: '';
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    width: 0;
                    height: 0;
                    background: radial-gradient(circle,
                        rgba(255, 215, 0, 0.2) 0%,
                        rgba(255, 215, 0, 0.05) 40%,
                        transparent 70%);
                    border-radius: 50%;
                    transform: translate(-50%, -50%);
                    transition: all 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
                    pointer-events: none;
                    z-index: 1;
                    will-change: width, height;
                }

                .mobile-menu-list .mobile-menu-item:nth-last-child(1):hover::after,
                .mobile-menu-list .mobile-menu-item:nth-last-child(2):hover::after {
                    width: 150px;
                    height: 150px;
                }

                /* Auth button underline animations */
                .mobile-menu-list .mobile-menu-item:nth-last-child(1) .mobile-nav-link::before,
                .mobile-menu-list .mobile-menu-item:nth-last-child(2) .mobile-nav-link::before {
                    content: '';
                    position: absolute;
                    bottom: 10px;
                    left: 0;
                    width: 0%;
                    height: 3px;
                    background: linear-gradient(90deg,
                        #FFD700 0%,
                        #FFA500 50%,
                        #FFD700 100%);
                    transition: width 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
                    border-radius: 2px;
                    will-change: width;
                }

                .mobile-menu-list .mobile-menu-item:nth-last-child(1) .mobile-nav-link:hover::before,
                .mobile-menu-list .mobile-menu-item:nth-last-child(1) .mobile-nav-link:focus::before,
                .mobile-menu-list .mobile-menu-item:nth-last-child(2) .mobile-nav-link:hover::before,
                .mobile-menu-list .mobile-menu-item:nth-last-child(2) .mobile-nav-link:focus::before {
                    width: 100%;
                    box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
                }

                .auth-user-mobile .user-info-mobile {
                    display: flex;
                    align-items: center;
                    padding: 15px 20px;
                    margin-bottom: 10px;
                    background: rgba(255, 255, 255, 0.1);
                    border-radius: 12px;
                    -webkit-backdrop-filter: blur(2px);
                            backdrop-filter: blur(2px);
                }

                .auth-user-mobile .user-avatar-mobile {
                    width: 48px;
                    height: 48px;
                    background: linear-gradient(135deg, #FFD700, #FFA500);
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-weight: bold;
                    color: #333;
                    font-size: 18px;
                    flex-shrink: 0;
                }

                .auth-user-mobile .user-avatar-mobile-image-wrapper {
                    width: 48px;
                    height: 48px;
                    border-radius: 50%;
                    overflow: hidden;
                    flex-shrink: 0;
                }

                .auth-user-mobile .user-avatar-image {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }

                .auth-user-mobile .user-actions-mobile,
                .auth-guest-mobile {
                    margin-top: 10px;
                }

                /* Sign out button styling to match other nav links */
                .sign-out-btn {
                    background: none;
                    border: none;
                    cursor: pointer;
                    width: 100%;
                    text-align: left;
                }

                .sign-out-btn:hover,
                .sign-out-btn:focus {
                    background: none;
                    border: none;
                    outline: none;
                }

                /* Loading state for auth */
                .auth-loading {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    padding: 20px;
                }

                .auth-loading .spinner-border-sm {
                    width: 1.5rem;
                    height: 1.5rem;
                    border-width: 0.2em;
                    border-color: rgba(255, 255, 255, 0.25);
                    border-right-color: #FFD700;
                }
            

/* Final Enhanced Animated Header */
                /* Animated Hamburger Button */
                .animated-hamburger {
                    position: relative;
                    width: 60px;
                    height: 60px;
                    background: rgba(255, 255, 255, 0.2);
                    border: none;
                    border-radius: 50%;
                    cursor: pointer;
                    transition: all 0.3s cubic-bezier(0.84, 0.06, 0.52, 1.8);
                    z-index: 1001;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                }

                .animated-hamburger:hover {
                    transform: scale(1.1);
                    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);
                    background: rgba(255, 255, 255, 0.3);
                }

                .hamburger-line {
                    position: absolute;
                    width: 32px;
                    height: 3px;
                    background-color: #333;
                    transition: all 400ms cubic-bezier(0.84, 0.06, 0.52, 1.8);
                    border-radius: 2px;
                }

                .line-1 {
                    transform: translateY(-8px);
                    animation-delay: 100ms;
                }

                .line-2 {
                    transform: translateY(0);
                }

                .line-3 {
                    transform: translateY(8px);
                    animation-delay: 250ms;
                }

                .animated-hamburger.open .line-1 {
                    transform: rotate(45deg) translateY(0);
                }

                .animated-hamburger.open .line-2 {
                    opacity: 0;
                    transform: scale(0);
                }

                .animated-hamburger.open .line-3 {
                    transform: rotate(-45deg) translateY(0);
                }

                /* Mobile Menu Overlay */
                .mobile-menu-overlay {
                    position: fixed;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100vh;
                    z-index: 999;
                    pointer-events: none;
                    overflow: hidden;
                }

                .mobile-menu-overlay.active {
                    pointer-events: all;
                }

                /* Background Layers */
                .menu-background-layer {
                    position: absolute;
                    top: 0;
                    left: 0;
                    height: 100%;
                    width: 0%;
                    transition: all 600ms cubic-bezier(0.62, 0.04, 0.3, 1.56);
                }

                .layer-1 {
                    background: #64B5F6;
                    z-index: 1;
                    transition-delay: 50ms;
                }

                .layer-2 {
                    background: #0288D1;
                    z-index: 1;
                    transition-delay: 100ms;
                }

                .mobile-menu-overlay.active .menu-background-layer {
                    width: 100%;
                }

                @media (min-width: 768px) {
                    .mobile-menu-overlay.active .menu-background-layer {
                        width: 50%;
                    }
                }

                /* Mobile Navigation */
                .mobile-navigation {
                    position: absolute;
                    top: 0;
                    left: 0;
                    height: 100%;
                    width: 100%;
                    z-index: 15;
                    opacity: 0;
                    transform: translateX(-100%);
                    transition: all 600ms cubic-bezier(0.62, 0.04, 0.3, 1.56);
                    transition-delay: 200ms;
                }

                .mobile-navigation.active {
                    opacity: 1;
                    transform: translateX(0);
                }

                .mobile-menu-list {
                    margin: 0;
                    padding: 0;
                    list-style: none;
                    position: absolute;
                    top: 50%;
                    left: 20%;
                    transform: translateY(-50%);
                }

                @media (min-width: 768px) {
                    .mobile-menu-list {
                        left: 15%;
                    }
                }

                /* Enhanced Mobile Menu Items with Magnifier Effect */
                .mobile-menu-item {
                    opacity: 0;
                    transform: translateY(50px);
                    transition: all 400ms cubic-bezier(0.62, 0.04, 0.3, 1.56);
                    transition-delay: calc(300ms + (var(--item-index) * 100ms));
                    position: relative;
                    padding: 12px 0;
                    margin: 8px 0;
                    border-radius: 16px;
                    overflow: visible;
                    perspective: 1000px;
                    cursor: pointer;
                }

                .mobile-navigation.active .mobile-menu-item {
                    opacity: 1;
                    transform: translateY(0);
                }

                /* Row highlight background with magnifier lens effect */
                .mobile-menu-item::before {
                    content: '';
                    position: absolute;
                    top: 0;
                    left: -100%;
                    width: 100%;
                    height: 100%;
                    background: linear-gradient(90deg, 
                        rgba(255, 255, 255, 0.1) 0%, 
                        rgba(255, 255, 255, 0.2) 50%, 
                        rgba(255, 255, 255, 0.1) 100%);
                    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
                    border-radius: 16px;
                    z-index: -1;
                    -webkit-backdrop-filter: blur(2px);
                            backdrop-filter: blur(2px);
                }

                .mobile-menu-item:hover::before {
                    left: 0;
                    background: linear-gradient(90deg, 
                        rgba(255, 215, 0, 0.2) 0%, 
                        rgba(255, 215, 0, 0.35) 50%, 
                        rgba(255, 215, 0, 0.2) 100%);
                    box-shadow: 
                        0 8px 32px rgba(255, 215, 0, 0.4),
                        inset 0 2px 8px rgba(255, 255, 255, 0.2);
                    -webkit-backdrop-filter: blur(4px);
                            backdrop-filter: blur(4px);
                }

                /* Magnifier lens effect */
                .mobile-menu-item::after {
                    content: '';
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    width: 0;
                    height: 0;
                    background: radial-gradient(circle, 
                        rgba(255, 215, 0, 0.3) 0%, 
                        rgba(255, 215, 0, 0.1) 40%,
                        transparent 70%);
                    border-radius: 50%;
                    transform: translate(-50%, -50%);
                    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
                    pointer-events: none;
                    z-index: 1;
                }

                .mobile-menu-item:hover::after {
                    width: 200px;
                    height: 200px;
                    background: radial-gradient(circle, 
                        rgba(255, 215, 0, 0.15) 0%, 
                        rgba(255, 215, 0, 0.08) 30%,
                        rgba(255, 255, 255, 0.05) 60%,
                        transparent 80%);
                }

                /* Enhanced link styling with magnifier text effect */
                .mobile-nav-link {
                    display: block;
                    color: #fff;
                    text-decoration: none;
                    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
                    position: relative;
                    padding: 16px 24px;
                    border-radius: 12px;
                    transform-origin: left center;
                    z-index: 2;
                    overflow: visible;
                }

                .link-text {
                    display: inline-block;
                    font-size: 24px;
                    line-height: 1.4;
                    text-transform: uppercase;
                    letter-spacing: 1.7px;
                    font-weight: 600;
                    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
                    transform-origin: left center;
                    position: relative;
                }

                /* Magnifier text enlargement effect */
                .mobile-nav-link:hover .link-text {
                    font-size: 32px;
                    font-weight: 700;
                    letter-spacing: 2.5px;
                    color: #FFD700;
                    text-shadow: 
                        0 0 10px rgba(255, 215, 0, 0.6),
                        0 2px 8px rgba(255, 215, 0, 0.4),
                        0 4px 16px rgba(255, 215, 0, 0.2);
                    transform: scale(1.15) translateX(20px);
                }

                /* Animated underline with magnifier effect */
                .mobile-nav-link::before {
                    content: '';
                    position: absolute;
                    bottom: 12px;
                    left: -100%;
                    width: 100%;
                    height: 4px;
                    background: linear-gradient(90deg, 
                        transparent 0%, 
                        #FFD700 20%, 
                        #FFA500 50%, 
                        #FFD700 80%, 
                        transparent 100%);
                    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
                    border-radius: 2px;
                    box-shadow: 0 0 12px rgba(255, 215, 0, 0.8);
                }

                .mobile-nav-link:hover::before {
                    left: 0;
                    height: 6px;
                    animation: shimmer 2s ease-in-out infinite;
                    box-shadow: 
                        0 0 20px rgba(255, 215, 0, 1),
                        0 2px 8px rgba(255, 215, 0, 0.6);
                }

                /* Enhanced shimmer animation */
                @keyframes shimmer {
                    0% {
                        background-position: -200% center;
                        transform: scaleX(0.8);
                    }
                    50% {
                        transform: scaleX(1.1);
                    }
                    100% {
                        background-position: 200% center;
                        transform: scaleX(0.8);
                    }
                }

                /* Pulse effect for active/focused states */
                .mobile-nav-link:focus,
                .mobile-nav-link:active {
                    outline: none;
                    animation: magnifierPulse 0.8s ease-in-out;
                }

                @keyframes magnifierPulse {
                    0% {
                        transform: scale(1);
                        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
                    }
                    50% {
                        transform: scale(1.05);
                        box-shadow: 0 0 0 15px rgba(255, 215, 0, 0.2);
                    }
                    100% {
                        transform: scale(1);
                        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
                    }
                }

                /* Responsive adjustments */
                @media (max-width: 480px) {
                    .link-text {
                        font-size: 22px;
                        letter-spacing: 1.5px;
                    }
                    
                    .mobile-nav-link:hover .link-text {
                        font-size: 28px;
                        letter-spacing: 2px;
                        transform: scale(1.1) translateX(15px);
                    }
                }

                @media (min-width: 768px) {
                    .link-text {
                        font-size: 26px;
                    }
                    
                    .mobile-nav-link:hover .link-text {
                        font-size: 34px;
                        letter-spacing: 3px;
                        transform: scale(1.2) translateX(25px);
                    }
                }

                /* Hide default navbar toggle on larger screens */
                @media (min-width: 992px) {
                    .mobile-menu-container {
                        display: none !important;
                    }
                }
/* Shared Header Utilities */
.main-header {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: background-color, backdrop-filter, box-shadow, border-bottom;
    background-color: transparent;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    box-shadow: none;
    border-bottom: none;
}

.main-header.no-transition {
    transition: none !important;
}

.main-header.fixed-header {
    background-color: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 174, 239, 0.1);
}

.animated-hamburger.hidden {
    display: none !important;
}

.header-logo-image {
    height: 60px;
    width: auto;
}

.header-logo-image--mobile {
    height: 32px;
    width: auto;
}

.lava-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    opacity: 0.8;
    pointer-events: none;
}
/* ========================================
   Mobile Navigation Refresh - October 2025
   ======================================== */
@media (max-width: 991px) {
    .mobile-menu-overlay {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 80px 16px 24px;
        background: rgba(4, 6, 18, 0.82);
        -webkit-backdrop-filter: blur(18px);
                backdrop-filter: blur(18px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-overlay .menu-background-layer,
    .mobile-menu-overlay .animated-shapes {
        display: none !important;
    }

    .mobile-navigation {
        position: relative;
        display: flex;
        flex-direction: column;
        width: min(92vw, 440px);
        max-height: calc(100vh - 120px);
        overflow: hidden;
        border-radius: 24px;
        background: rgba(10, 13, 28, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 25px 55px rgba(5, 10, 30, 0.45);
        padding: 28px 24px 36px;
        opacity: 0;
        transform: translateY(12vh);
        transition: transform 0.32s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.32s ease;
        pointer-events: none;
    }

    .mobile-navigation.active {
        opacity: 1;
        transform: translateY(8vh);
        pointer-events: auto;
    }

    .mobile-navigation::-webkit-scrollbar {
        width: 6px;
    }

    .mobile-navigation::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.18);
        border-radius: 3px;
    }

    .mobile-close-button {
        align-self: flex-end;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        font-weight: 500;
        line-height: 1;
        transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
        margin-bottom: 24px;
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .mobile-close-button .close-icon {
        font-size: inherit;
        font-weight: inherit;
        color: currentColor;
        text-shadow: none;
    }

    .mobile-close-button:hover,
    .mobile-close-button:focus-visible {
        background: rgba(255, 255, 255, 0.16);
        color: var(--primary-color, #00AEEF);
        transform: scale(1.05);
    }

    /* Profile image to top of mobile menu */
    .mobile-menu-list .user-info-mobile-item:first-child {
        order: -1; /* Force to top */
    }

    .mobile-menu-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        overflow-y: auto;
        max-height: calc(100% - 64px);
        padding-right: 6px;
    }

    .mobile-menu-item {
        opacity: 1 !important;
        transform: none !important;
        padding: 0;
        margin: 0;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.04);
        background: rgba(255, 255, 255, 0.03);
        transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    }

    .mobile-menu-item::before,
    .mobile-menu-item::after {
        display: none !important;
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 18px;
        color: #f0f4ff;
        font-size: 16px;
        font-weight: 500;
        letter-spacing: 0.2px;
        text-transform: capitalize;
        text-decoration: none;
        transition: color 0.2s ease, transform 0.2s ease;
        overflow: hidden; /* Prevent text overflow */
    }

    .mobile-nav-link::before,
    .mobile-nav-link::after {
        display: none !important;
    }

    .mobile-nav-link .link-text {
        font-size: 16px;
        font-weight: 500;
        letter-spacing: 0.2px;
        text-transform: none;
        transition: font-size 0.2s ease, font-weight 0.2s ease;
        will-change: font-size, font-weight;
    }

    .mobile-menu-item {
        overflow: hidden; /* Prevent horizontal scrollbar */
    }

    .mobile-menu-item:hover,
    .mobile-menu-item:focus-within {
        background: rgba(0, 174, 239, 0.15);
        border-color: rgba(0, 174, 239, 0.25);
        box-shadow: 0 18px 36px rgba(1, 30, 55, 0.35);
    }

    .mobile-menu-item:hover .mobile-nav-link,
    .mobile-menu-item:focus-within .mobile-nav-link {
        color: var(--primary-color, #00AEEF);
        transform: translateX(4px);
    }

    .mobile-menu-item:hover .link-text,
    .mobile-menu-item:focus-within .link-text {
        font-size: 17px; /* Smaller increase to prevent overflow */
        font-weight: 600;
    }

    .user-info-mobile-item {
        padding-bottom: 16px;
        margin-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        order: -1 !important; /* Force to top */
    }

    .user-info-mobile {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 8px 4px;
        color: #f0f4ff;
        text-decoration: none;
        border-radius: 12px;
        transition: background 0.2s ease, transform 0.2s ease;
        cursor: pointer;
    }

    .user-info-mobile:hover {
        background: rgba(0, 174, 239, 0.08);
        transform: translateX(2px);
    }

    .user-avatar-mobile {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(0, 174, 239, 0.22);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        color: #ffffff;
        font-size: 16px;
    }

    .user-info-mobile .user-avatar-image-wrapper {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .user-email-mobile {
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.2px;
        color: rgba(255, 255, 255, 0.85);
    }

    /* Action buttons (Clear Cache, Sign Out) - smaller and more compact */
    .mobile-action-item .mobile-nav-link {
        padding: 10px 16px !important;
        font-size: 14px !important;
    }

    .mobile-action-item .link-text {
        font-size: 14px !important;
        font-weight: 500 !important;
        letter-spacing: 0.1px !important;
    }

    .mobile-action-item:hover .link-text,
    .mobile-action-item:focus-within .link-text {
        font-size: 14px !important; /* Keep same size to prevent overflow */
        font-weight: 600 !important;
    }

    /* Override any conflicting styles for action items */
    .mobile-menu-item.mobile-action-item {
        padding: 0 !important;
        margin: 4px 0 !important;
    }

    /* Prevent transform on action items to avoid scrollbar */
    .mobile-action-item:hover .mobile-nav-link,
    .mobile-action-item:focus-within .mobile-nav-link {
        transform: none !important;
    }

    .mobile-action-item:hover .link-text,
    .mobile-action-item:focus-within .link-text {
        transform: none !important;
    }

    /* Mobile menu separator styling */
    .mobile-menu-separator {
        list-style: none;
        padding: 0 !important;
        margin: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        background: transparent !important;
        border: none !important;
    }

    .mobile-menu-separator hr {
        margin: 12px 0;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        opacity: 0.5;
    }

    .mobile-nav-link.sign-out-btn {
        color: #ffd2cb;
        background: none !important;
        border: none !important;
        width: 100%;
        text-align: left;
        cursor: pointer;
        padding: 14px 18px;
    }

    .mobile-nav-link.sign-out-btn:hover,
    .mobile-nav-link.sign-out-btn:focus {
        background: none !important;
        border: none !important;
    }

    .mobile-menu-item:hover .sign-out-btn,
    .mobile-menu-item:focus-within .sign-out-btn {
        color: #ff8675;
    }

    .mobile-menu-item:hover .sign-out-btn .link-text,
    .mobile-menu-item:focus-within .sign-out-btn .link-text {
        font-size: 17px;
        font-weight: 600;
    }

    @media (max-width: 575px) {
    .mobile-navigation {
        width: 100%;
        max-height: calc(100vh - 96px);
        padding: 24px 16px 28px;
        border-radius: 20px;
    }

    .mobile-menu-list {
        padding-right: 0;
    }

    .mobile-nav-link {
        padding: 12px 16px;
        font-size: 15px;
    }

    .mobile-nav-link .link-text {
        font-size: 15px;
    }

    .mobile-close-button {
        width: 36px;
        height: 36px;
        font-size: 20px;
        margin-bottom: 20px;
    }
    }
}

/* ========================================
   DESKTOP AUTH DROPDOWN MENU STYLES
   ======================================== */
.auth-dropdown-menu {
    background: rgba(10, 13, 28, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4) !important;
    padding: 8px 0 !important;
    min-width: 200px;
    margin-top: 8px !important;
    animation: dropdownFadeIn 0.2s ease-out;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-dropdown-item {
    color: #f0f4ff !important;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 18px !important;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.auth-dropdown-item i {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.15s ease;
}

.auth-dropdown-item:hover {
    background: rgba(0, 174, 239, 0.15) !important;
    color: #00AEEF !important;
}

.auth-dropdown-item:hover i {
    color: #00AEEF;
}

.auth-dropdown-item.accent:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #EF4444 !important;
}

.auth-dropdown-item.accent:hover i {
    color: #EF4444;
}

.auth-dropdown-divider {
    margin: 6px 0 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Desktop dropdown button styles */
.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transition: all 0.2s ease;
}

.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-1px);
}

.user-menu-btn .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: #333;
}

.user-menu-btn .user-avatar-image-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.user-menu-btn .user-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-menu-btn .user-email {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

/* ========================================
   LAVA LAMP HERO REWORK
   Global styles extracted from LavaLampRework component
   ======================================== */

                .main-hero-area {
                    position: relative;
                    min-height: 100vh;
                    min-height: 100dvh; /* Dynamic viewport height for mobile */
                    width: 100vw;
                    max-width: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    overflow: hidden;
                    padding: clamp(120px, 15vh, 200px) 1rem clamp(60px, 8vh, 100px);
                }

                /* Hero background with breathing animation - same blue for both themes */
                .main-hero-area {
                    background: linear-gradient(135deg, #00AEEF, #1565C0);
                    background-size: 200% 200%;
                    animation: heroBreathing 8s ease-in-out infinite;
                }

                /* Dark theme keeps the same blue hero background */
                .theme-dark .main-hero-area {
                    background: linear-gradient(135deg, #00AEEF, #1565C0);
                    background-size: 200% 200%;
                    animation: heroBreathing 8s ease-in-out infinite;
                }

                /* Unified breathing animation for both themes */
                @keyframes heroBreathing {
                    0%, 100% {
                        background-position: 0% 50%;
                        transform: scale(1);
                    }
                    50% {
                        background-position: 100% 50%;
                        transform: scale(1.002);
                    }
                }

                #lavaLamp {
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    width: 100vw;
                    height: 100vh;
                    min-width: 100%;
                    min-height: 100%;
                    cursor: pointer;
                    z-index: 1;
                }

                .lava-container {
                    filter: url('#gooey');
                    width: 100%;
                    height: 100%;
                }

                .hero-content {
                    position: relative;
                    z-index: 15;
                    color: white;
                    text-align: center;
                    max-width: 1200px;
                    width: 100%;
                    padding: 0 1rem;
                    animation: contentFloat 6s ease-in-out infinite;
                    transform-origin: center center;
                }

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

                .hero-subtitle {
                    color: rgba(255, 255, 255, 0.95);
                    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
                    margin-bottom: clamp(2rem, 4vh, 3rem);
                    max-width: min(90vw, 800px);
                    margin-left: auto;
                    margin-right: auto;
                    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
                    line-height: 1.6;
                    font-weight: 400;
                }

                /* Newsletter CTA Box */
                .newsletter-cta-box {
                    background: rgba(255, 255, 255, 0.15);
                    -webkit-backdrop-filter: blur(20px);
                            backdrop-filter: blur(20px);
                    border-radius: 24px;
                    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
                    margin: clamp(2rem, 4vh, 3rem) auto;
                    max-width: 900px;
                    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2),
                                0 8px 20px rgba(0, 0, 0, 0.15),
                                inset 0 1px 1px rgba(255, 255, 255, 0.3);
                    border: 2px solid rgba(255, 255, 255, 0.3);
                    animation: boxFloat 6s ease-in-out infinite;
                }

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

                .newsletter-badge {
                    display: inline-flex;
                    align-items: center;
                    gap: 8px;
                    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                    color: white;
                    padding: 8px 20px;
                    border-radius: 50px;
                    font-size: clamp(0.85rem, 2vw, 0.95rem);
                    font-weight: 600;
                    margin-bottom: 1.5rem;
                    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
                }

                .pulse-dot {
                    width: 8px;
                    height: 8px;
                    background: #fff;
                    border-radius: 50%;
                    animation: pulse 2s ease-in-out infinite;
                }

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

                .newsletter-headline {
                    color: #ffffff;
                    font-size: clamp(1.8rem, 5vw, 2.5rem);
                    font-weight: 700;
                    margin-bottom: 1rem;
                    line-height: 1.2;
                    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
                }

                .newsletter-description {
                    color: rgba(255, 255, 255, 0.95);
                    font-size: clamp(1rem, 2.5vw, 1.15rem);
                    margin-bottom: 2rem;
                    line-height: 1.6;
                    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
                }

                .newsletter-signup-form {
                    margin-bottom: 1.5rem;
                }

                .form-wrapper {
                    display: flex;
                    gap: 12px;
                    flex-wrap: wrap;
                    margin-bottom: 0.75rem;
                }

                .newsletter-email-input {
                    flex: 1 1;
                    min-width: 240px;
                    padding: 16px 24px;
                    border: 2px solid rgba(255, 255, 255, 0.3);
                    border-radius: 12px;
                    font-size: 1rem;
                    transition: all 0.3s ease;
                    background: rgba(255, 255, 255, 0.9);
                    color: #2d3748;
                }

                .newsletter-email-input::placeholder {
                    color: #718096;
                }

                .newsletter-email-input:focus {
                    outline: none;
                    border-color: rgba(255, 255, 255, 0.6);
                    background: #ffffff;
                    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
                }

                .value-props {
                    display: flex;
                    gap: clamp(1rem, 3vw, 1.5rem);
                    justify-content: center;
                    flex-wrap: wrap;
                    margin-bottom: 2rem;
                }

                .value-item {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    background: rgba(255, 255, 255, 0.2);
                    padding: 10px 18px;
                    border-radius: 50px;
                    border: 1px solid rgba(255, 255, 255, 0.3);
                    -webkit-backdrop-filter: blur(10px);
                            backdrop-filter: blur(10px);
                }

                .value-icon {
                    font-size: 1.2rem;
                }

                .value-text {
                    color: #ffffff;
                    font-size: clamp(0.85rem, 2vw, 0.95rem);
                    font-weight: 600;
                    white-space: nowrap;
                    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
                }

                .newsletter-submit-btn {
                    padding: 14px 28px;
                    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                    color: white;
                    border: none;
                    border-radius: 12px;
                    font-weight: 600;
                    cursor: pointer;
                    transition: all 0.3s ease;
                    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    gap: 2px;
                    min-height: 60px;
                }

                .btn-main-text {
                    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
                    font-weight: 700;
                    letter-spacing: 0.02em;
                }

                .btn-sub-text {
                    font-size: clamp(0.75rem, 2vw, 0.85rem);
                    font-weight: 500;
                    opacity: 0.9;
                }

                .newsletter-submit-btn:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
                }

                .trial-badge {
                    display: inline-block;
                    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
                    color: white;
                    padding: 3px 10px;
                    border-radius: 12px;
                    font-weight: 700;
                    font-size: 0.8rem;
                    text-transform: uppercase;
                    letter-spacing: 0.5px;
                    margin-right: 4px;
                }

                .newsletter-privacy-note {
                    color: rgba(255, 255, 255, 0.9);
                    font-size: 0.85rem;
                    margin: 0;
                    text-align: center;
                    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
                }

                .newsletter-social-proof {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 16px;
                    padding-top: 1.5rem;
                    border-top: 1px solid rgba(255, 255, 255, 0.2);
                }

                .proof-avatars {
                    display: flex;
                    align-items: center;
                }

                .proof-avatars .avatar {
                    width: 36px;
                    height: 36px;
                    background: linear-gradient(135deg, #667eea, #764ba2);
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 1.1rem;
                    margin-left: -8px;
                    border: 2px solid white;
                }

                .proof-avatars .avatar:first-child {
                    margin-left: 0;
                }

                .proof-avatars .avatar-more {
                    width: 36px;
                    height: 36px;
                    background: #4a5568;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 0.7rem;
                    font-weight: 700;
                    color: white;
                    margin-left: -8px;
                    border: 2px solid white;
                }

                .proof-text {
                    color: rgba(255, 255, 255, 0.9);
                    font-size: 0.9rem;
                    margin: 0;
                    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
                }

                .proof-text strong {
                    color: #ffffff;
                    font-weight: 700;
                }

                /* Coming Soon Section */
                .newsletter-coming-soon {
                    margin: 2rem 0;
                }

                .coming-soon-badge {
                    display: inline-flex;
                    align-items: center;
                    gap: 10px;
                    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                    color: white;
                    padding: 12px 28px;
                    border-radius: 50px;
                    font-size: clamp(0.95rem, 2vw, 1.1rem);
                    font-weight: 700;
                    margin-bottom: 1.5rem;
                    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
                    animation: comingSoonPulse 3s ease-in-out infinite;
                }

                @keyframes comingSoonPulse {
                    0%, 100% {
                        transform: scale(1);
                        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
                    }
                    50% {
                        transform: scale(1.05);
                        box-shadow: 0 12px 30px rgba(102, 126, 234, 0.6);
                    }
                }

                .coming-soon-message {
                    color: rgba(255, 255, 255, 0.95);
                    font-size: clamp(1rem, 2.5vw, 1.1rem);
                    margin-bottom: 2rem;
                    line-height: 1.6;
                    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
                }

                .waitlist-form {
                    margin-bottom: 1.5rem;
                }

                .coming-soon-btn {
                    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
                    position: relative;
                    overflow: hidden;
                }

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

                .coming-soon-btn:hover::before {
                    left: 100%;
                }

                /* Button Styles */
                .btn-outline-white {
                    background: transparent !important;
                    border: 2px solid rgba(255, 255, 255, 0.8) !important;
                    color: white !important;
                }

                .btn-outline-white:hover {
                    background: rgba(255, 255, 255, 0.1) !important;
                    border-color: white !important;
                }

                .btn-ghost {
                    background: rgba(255, 255, 255, 0.1) !important;
                    border: 2px solid transparent !important;
                    color: white !important;
                    -webkit-backdrop-filter: blur(10px);
                            backdrop-filter: blur(10px);
                }

                .btn-ghost:hover {
                    background: rgba(255, 255, 255, 0.2) !important;
                }

                .hero-content h3 {
                    color: rgba(255, 255, 255, 0.9);
                    font-size: clamp(1rem, 2.5vw, 1.3rem);
                    margin-bottom: clamp(0.8rem, 2vh, 1.2rem);
                    font-weight: 500;
                    letter-spacing: 0.5px;
                    animation: titlePulse 4s ease-in-out infinite;
                }

                @keyframes titlePulse {
                    0%, 100% {
                        opacity: 0.9;
                        transform: scale(1);
                    }
                    50% {
                        opacity: 1;
                        transform: scale(1.01);
                    }
                }

                .hero-content h2 {
                    color: white;
                    font-size: clamp(2.5rem, 8vw, 4.5rem);
                    font-weight: 700;
                    margin-bottom: clamp(1rem, 3vh, 2rem);
                    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
                    line-height: 1.1;
                    letter-spacing: -0.02em;
                    animation: mainTitleBreath 5s ease-in-out infinite;
                }

                @keyframes mainTitleBreath {
                    0%, 100% {
                        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
                    }
                    50% {
                        text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
                    }
                }

                .hero-content p {
                    color: rgba(255, 255, 255, 0.9);
                    font-size: clamp(1rem, 2.5vw, 1.2rem);
                    margin-bottom: clamp(2rem, 4vh, 3rem);
                    max-width: min(90vw, 700px);
                    margin-left: auto;
                    margin-right: auto;
                    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
                    line-height: 1.6;
                    font-weight: 400;
                    animation: descriptionGlow 7s ease-in-out infinite;
                }

                @keyframes descriptionGlow {
                    0%, 100% {
                        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
                    }
                    50% {
                        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
                    }
                }

                .hero-btns {
                    display: flex;
                    gap: clamp(0.8rem, 2vw, 1.5rem);
                    justify-content: center;
                    align-items: center;
                    flex-wrap: wrap;
                    animation: buttonsHover 6s ease-in-out infinite;
                }

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

                .dot-shape {
                    position: absolute;
                    top: 15%;
                    right: 0%;
                    z-index: 10;
                    opacity: 0.7;
                    animation: floatRight 8s ease-in-out infinite;
                    will-change: transform;
                }

                @keyframes floatRight {
                    0%, 100% {
                        transform: translate(0px, 0px) rotate(0deg) scale(1);
                        opacity: 0.7;
                    }
                    33% {
                        transform: translate(-5px, -10px) rotate(2deg) scale(1.05);
                        opacity: 0.8;
                    }
                    66% {
                        transform: translate(8px, -5px) rotate(-1deg) scale(0.98);
                        opacity: 0.75;
                    }
                }

                .dot-shape img {
                    width: clamp(50px, 8vw, 80px);
                    height: auto;
                    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
                    transition: filter 0.3s ease;
                }

                .dot-shape:hover img {
                    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4)) brightness(1.1);
                }

                .dot-shape2 {
                    position: absolute;
                    bottom: 15%;
                    left: 0%;
                    z-index: 10;
                    opacity: 0.7;
                    animation: floatLeft 10s ease-in-out infinite;
                    animation-delay: -2s;
                    will-change: transform;
                }

                @keyframes floatLeft {
                    0%, 100% {
                        transform: translate(0px, 0px) rotate(0deg) scale(1);
                        opacity: 0.7;
                    }
                    25% {
                        transform: translate(8px, -8px) rotate(-2deg) scale(1.02);
                        opacity: 0.8;
                    }
                    50% {
                        transform: translate(-3px, -12px) rotate(1deg) scale(0.96);
                        opacity: 0.75;
                    }
                    75% {
                        transform: translate(6px, -4px) rotate(-1deg) scale(1.01);
                        opacity: 0.8;
                    }
                }

                .dot-shape2 img {
                    width: clamp(40px, 6vw, 60px);
                    height: auto;
                    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
                    transition: filter 0.3s ease;
                }

                .dot-shape2:hover img {
                    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4)) brightness(1.1);
                }

                .blob {
                    transition: none;
                }

                .base-layer {
                    fill: url(#baseGradient);
                }

                .cloud-group {
                    will-change: transform;
                    transform-origin: center center;
                    z-index: 999;
                    position: relative;
                    pointer-events: none;
                }

                @keyframes cloudFloat {
                    0%, 100% {
                        transform: translateX(0) translateY(0);
                    }
                    25% {
                        transform: translateX(var(--move-x)) translateY(calc(-1 * var(--bounce-y)));
                    }
                    50% {
                        transform: translateX(calc(var(--move-x) * 0.6)) translateY(var(--bounce-y));
                    }
                    75% {
                        transform: translateX(calc(-1 * var(--move-x) * 0.3)) translateY(calc(-0.5 * var(--bounce-y)));
                    }
                }

                /* Enhanced SVG with parallax layers */
                #lavaLamp {
                    animation: svgParallax 12s ease-in-out infinite;
                    transform-origin: center center;
                }

                @keyframes svgParallax {
                    0%, 100% {
                        transform: translateY(0px) scale(1);
                    }
                    50% {
                        transform: translateY(-2px) scale(1.001);
                    }
                }

                .cloud-group {
                    animation-duration: calc(var(--duration) * 1.2) !important;
                    will-change: transform;
                }

                /* Responsive breakpoints for optimal viewing */

                /* Large desktop screens (1400px+) */
                @media (min-width: 1400px) {
                    .main-hero-area {
                        padding: clamp(180px, 18vh, 240px) 2rem clamp(80px, 10vh, 120px);
                    }

                    .hero-content {
                        max-width: 1400px;
                    }

                    .dot-shape {
                        right: 2%;
                    }

                    .dot-shape2 {
                        left: 2%;
                    }
                }

                /* Desktop (1024px - 1399px) */
                @media (min-width: 1024px) and (max-width: 1399px) {
                    .main-hero-area {
                        padding: clamp(160px, 16vh, 200px) 1.5rem clamp(70px, 9vh, 100px);
                    }

                    .dot-shape {
                        right: 1%;
                    }

                    .dot-shape2 {
                        left: 1%;
                    }
                }

                /* Tablet landscape (768px - 1023px) */
                @media (min-width: 768px) and (max-width: 1023px) {
                    .main-hero-area {
                        padding: clamp(140px, 14vh, 180px) 1.5rem clamp(60px, 8vh, 90px);
                    }

                    .hero-content h2 {
                        font-size: clamp(2.2rem, 7vw, 3.8rem);
                    }

                    .lava-container {
                        filter: url('#mobileGooey');
                    }
                }

                /* Mobile landscape and large phones (576px - 767px) */
                @media (min-width: 576px) and (max-width: 767px) {
                    .main-hero-area {
                        padding: clamp(120px, 12vh, 160px) 1rem clamp(50px, 7vh, 80px);
                    }

                    .hero-content {
                        padding: 0 1.5rem;
                    }

                    .hero-btns {
                        gap: 1rem;
                    }

                    .lava-container {
                        filter: url('#mobileGooey');
                    }

                    .cloud-group {
                        animation-duration: calc(var(--duration) * 1.5) !important;
                    }
                }

                /* Small mobile (320px - 575px) */
                @media (max-width: 575px) {
                    .main-hero-area {
                        padding: clamp(100px, 15vh, 140px) 0.75rem clamp(40px, 6vh, 70px);
                        min-height: 100vh;
                        min-height: 100dvh;
                    }

                    .newsletter-cta-box {
                        padding: 2rem 1.25rem;
                        border-radius: 20px;
                    }

                    .newsletter-headline {
                        font-size: clamp(1.5rem, 6vw, 2rem);
                    }

                    .newsletter-description {
                        font-size: clamp(0.95rem, 3vw, 1.05rem);
                    }

                    .value-props {
                        flex-direction: column;
                        align-items: stretch;
                        gap: 10px;
                        margin-bottom: 1.5rem;
                    }

                    .value-item {
                        justify-content: center;
                        padding: 12px 16px;
                    }

                    .form-wrapper {
                        flex-direction: column;
                        gap: 12px;
                    }

                    .newsletter-email-input {
                        width: 100%;
                        padding: 14px 20px;
                        font-size: 16px; /* Prevents zoom on iOS */
                    }

                    .newsletter-submit-btn {
                        width: 100%;
                        padding: 16px 24px;
                        min-height: 68px;
                    }

                    .btn-main-text {
                        font-size: 1rem;
                    }

                    .btn-sub-text {
                        font-size: 0.8rem;
                    }

                    .newsletter-privacy-note {
                        font-size: 0.8rem;
                        line-height: 1.5;
                    }

                    .trial-badge {
                        display: block;
                        margin-bottom: 6px;
                        text-align: center;
                    }

                    .newsletter-social-proof {
                        flex-direction: column;
                        gap: 12px;
                        text-align: center;
                    }

                    .hero-content {
                        padding: 0 1rem;
                    }

                    .hero-content h3 {
                        font-size: clamp(0.9rem, 3vw, 1.1rem);
                        margin-bottom: 0.8rem;
                    }

                    .hero-content h2 {
                        font-size: clamp(2rem, 9vw, 2.8rem);
                        margin-bottom: 1.2rem;
                        line-height: 1.2;
                    }

                    .hero-content p {
                        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
                        margin-bottom: 2rem;
                        line-height: 1.5;
                    }

                    .hero-btns {
                        flex-direction: column;
                        gap: 1rem;
                        width: 100%;
                    }

                    .hero-btns .theme-btn {
                        width: 100%;
                        max-width: 280px;
                        padding: 12px 24px;
                        font-size: 1rem;
                    }

                    .lava-container {
                        filter: url('#minimalGooey');
                    }

                    .dot-shape {
                        top: 10%;
                        right: 0%;
                    }

                    .dot-shape2 {
                        bottom: 10%;
                        left: 0%;
                    }

                    .dot-shape img {
                        width: clamp(40px, 10vw, 60px);
                    }

                    .dot-shape2 img {
                        width: clamp(35px, 8vw, 50px);
                    }
                }

                /* Extra small devices (below 320px) */
                @media (max-width: 319px) {
                    .main-hero-area {
                        padding: 90px 0.5rem 40px;
                    }

                    .hero-content h2 {
                        font-size: 1.8rem;
                    }

                    .hero-content p {
                        font-size: 0.9rem;
                    }
                }

                /* High DPI mobile optimizations */
                @media (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2), (max-width: 480px) and (min-resolution: 2dppx) {
                    .lava-container {
                        filter: url('#mobileGooey');
                    }

                    .hero-content {
                        transform: translateZ(0); /* Force GPU acceleration */
                    }
                }

                /* Low-end device optimizations */
                @media (max-width: 480px) and (-webkit-max-device-pixel-ratio: 1.5), (max-width: 480px) and (max-resolution: 1.5dppx) {
                    .lava-container {
                        filter: url('#minimalGooey');
                    }

                    /* Reduce animations on low-end devices */
                    .main-hero-area,
                    .hero-content,
                    .dot-shape,
                    .dot-shape2,
                    #lavaLamp {
                        animation-duration: 0.01ms !important;
                        animation-iteration-count: 1 !important;
                    }
                }

                /* Landscape orientation mobile */
                @media (max-width: 896px) and (max-height: 414px) and (orientation: landscape) {
                    .main-hero-area {
                        padding: 80px 1rem 40px;
                        min-height: 100vh;
                    }

                    .hero-content h2 {
                        font-size: clamp(1.8rem, 6vw, 2.5rem);
                        margin-bottom: 1rem;
                    }

                    .hero-content p {
                        font-size: 1rem;
                        margin-bottom: 1.5rem;
                    }
                }

                /* Reduced motion preferences */
                @media (prefers-reduced-motion: reduce) {
                    .main-hero-area,
                    .hero-content,
                    .dot-shape,
                    .dot-shape2,
                    #lavaLamp,
                    .cloud-group {
                        animation: none !important;
                        transform: none !important;
                        transition: none !important;
                    }
                }

                /* High contrast mode */
                @media (prefers-contrast: high) {
                    .hero-content h2,
                    .hero-content h3,
                    .hero-content p {
                        text-shadow: none;
                    }

                    .dot-shape img,
                    .dot-shape2 img {
                        filter: contrast(1.2);
                    }
                }
.hero-content-container {
    position: relative;
    z-index: 10;
}

