/* Lufga Font from CDNFonts */
@import url('https://fonts.cdnfonts.com/css/lufga');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lufga', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

html {
    overflow-x: clip;
    max-width: 100vw;
    font-family: 'Lufga', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Lufga', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
    line-height: 1.6;
    color: #1a1a1a;
    background: #f8fafc;
    min-height: 100vh;
    position: relative;
    overflow-x: clip;
    max-width: 100vw;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(24, 119, 242, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(22, 111, 229, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(8, 102, 208, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 2px solid rgba(24, 119, 242, 0.08);
    color: #1a1a1a;
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow:
        0 8px 40px rgba(24, 119, 242, 0.08),
        0 4px 20px rgba(0,0,0,0.1),
        0 0 0 1px rgba(24, 119, 242, 0.05) inset,
        inset 0 1px 0 rgba(255,255,255,0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile - iOS scroll fix with 3D transform */
@media screen and (max-width: 768px) {
    .header {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

.header.scrolled {
    background: #ffffff;
    box-shadow:
        0 12px 50px rgba(24, 119, 242, 0.12),
        0 6px 25px rgba(0,0,0,0.15),
        0 0 0 1px rgba(24, 119, 242, 0.08) inset,
        inset 0 1px 0 rgba(255,255,255,1);
    border-bottom: 2px solid rgba(24, 119, 242, 0.12);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    min-height: 60px;
}

.nav-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.4rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    background: rgba(24, 119, 242, 0.08);
    box-shadow: 
        0 8px 30px rgba(24, 119, 242, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-2px) scale(1.02);
    border-radius: 18px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(24, 119, 242, 0.25));
    transition: all 0.3s ease;
}

/* Logo animation removed */

/* Creative Login Icon Styles - Facebook Blue Theme */
.login-icon-wrapper {
    position: relative;
    width: 38px;
    height: 38px;
    margin: 0 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-icon-circle {
    position: relative;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #e8f0fe 0%, #dce7f7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.login-icon-circle i {
    font-size: 18px;
    color: #1877f2;
    transition: all 0.3s ease;
}

/* Status dot - offline state */
.login-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #42b983;
    border: 2px solid white;
    border-radius: 50%;
    z-index: 3;
    transition: all 0.3s ease;
}

/* Subtle ripple effect */
.login-ripple,
.login-ripple-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #1877f2;
    opacity: 0;
    pointer-events: none;
}

.login-icon-wrapper:hover .login-ripple {
    animation: rippleEffect 1.5s ease-out;
}

.login-icon-wrapper:hover .login-ripple-2 {
    animation: rippleEffect 1.5s ease-out 0.3s;
}

@keyframes rippleEffect {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Hover effects */
.login-icon-wrapper:hover .login-icon-circle {
    background: linear-gradient(135deg, #1877f2 0%, #0d58c5 100%);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.login-icon-wrapper:hover .login-icon-circle i {
    color: white;
    transform: scale(1.1);
}

.login-icon-wrapper:hover .login-status-dot {
    background: #ffc107;
    animation: statusPulse 1s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Tooltip */
.login-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #1877f2;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}

.login-tooltip::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #1877f2;
    transform: translateX(-50%) rotate(45deg);
}

.login-icon-wrapper:hover .login-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
}

/* Active state */
.login-icon-wrapper:active .login-icon-circle {
    transform: scale(0.95);
}

/* Mobile login button hover */
.mobile-login-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(24, 119, 242, 0.4) !important;
    background: linear-gradient(135deg, #0d58c5 0%, #1877f2 100%) !important;
}

.mobile-login-btn:active {
    transform: scale(0.98);
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 25%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 75%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes premiumGlow {
    0% { 
        background-position: 0% 0%;
        box-shadow: 
            0 20px 60px rgba(231, 76, 60, 0.3),
            0 10px 30px rgba(192, 57, 43, 0.2),
            inset 0 2px 0 rgba(255, 255, 255, 0.3),
            inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    }
    50% { 
        background-position: 100% 50%;
        box-shadow: 
            0 30px 80px rgba(231, 76, 60, 0.4),
            0 15px 40px rgba(192, 57, 43, 0.3),
            inset 0 3px 0 rgba(255, 255, 255, 0.5),
            inset 0 -3px 0 rgba(0, 0, 0, 0.2);
    }
    100% { 
        background-position: 0% 0%;
        box-shadow: 
            0 20px 60px rgba(231, 76, 60, 0.3),
            0 10px 30px rgba(192, 57, 43, 0.2),
            inset 0 2px 0 rgba(255, 255, 255, 0.3),
            inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    }
}

@keyframes iconFloat {
    0% { 
        transform: translateY(0px) rotate(0deg);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }
    50% { 
        transform: translateY(-5px) rotate(0deg);
        filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
    }
    100% { 
        transform: translateY(0px) rotate(0deg);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }
}

@keyframes gradientWave {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 25%; }
    50% { background-position: 50% 100%; }
}

@keyframes searchBarFloat {
    0% { 
        opacity: 0;
        transform: translateX(-50%) translateY(30px) scale(0.9);
        filter: blur(10px);
    }
    20% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(15px) scale(0.95);
        filter: blur(5px);
    }
    60% {
        opacity: 0.8;
        transform: translateX(-50%) translateY(-5px) scale(1.02);
        filter: blur(1px);
    }
    100% { 
        opacity: 1;
        transform: translateX(-50%) translateY(0px) scale(1);
        filter: blur(0px);
    }
}

@keyframes floatPattern {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    33% { transform: translateY(-20px) translateX(10px) rotate(1deg); }
    66% { transform: translateY(-10px) translateX(-15px) rotate(-0.5deg); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes buttonGlow {
    0%, 100% { 
        background-position: 0% 50%;
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    }
    50% { 
        background-position: 100% 50%;
        box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
    }
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(220, 53, 69, 0.4));
}

.brand-text h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1a202c 0%, #1877f2 50%, #1a202c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -1px;
    font-family: 'Lufga', 'SF Pro Display', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    text-shadow: 0 2px 4px rgba(24, 119, 242, 0.1);
    transition: all 0.3s ease;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.brand-text h1:hover {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 50%, #0866d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(-1px) scale(1.02);
    text-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.brand-tagline {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    font-style: italic;
    color: #000000;
    text-transform: none;
    letter-spacing: 0.5px;
    margin-top: 0.15rem;
    font-family: 'Libre Baskerville', 'Crimson Text', 'Times New Roman', serif;
    opacity: 0.9;
    transition: all 0.3s ease;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    line-height: 1.2;
}

.logo:hover .brand-tagline {
    color: #000000;
    opacity: 1;
    transform: translateY(-0.5px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}


.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Location Selector - Header Style */
.location-selector {
    position: relative;
}

.current-location {
    background: linear-gradient(135deg, #1877f2, #166fe5);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
    min-width: 180px;
    justify-content: space-between;
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.current-location:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.5);
    background: linear-gradient(135deg, #166fe5, #1877f2);
}

.current-location i:first-child {
    color: white;
    font-size: 1rem;
}

.current-location i:last-child {
    transition: transform 0.3s;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
}

.location-selector.open .current-location i:last-child {
    transform: rotate(180deg);
}

.location-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999999;
    max-height: 300px;
    overflow-y: auto;
    min-width: 220px;
}

.location-selector.open .location-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.location-option {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(24, 119, 242, 0.1);
    color: #1a1a1a;
    font-weight: 500;
}

.location-option:last-child {
    border-bottom: none;
}

.location-option:hover {
    background: linear-gradient(135deg, #1877f2, #166fe5);
    color: white;
    transform: translateX(5px);
}

.location-option.selected {
    background: linear-gradient(135deg, #166fe5, #1877f2);
    color: white;
    font-weight: 600;
}

.location-option i {
    width: 20px;
    text-align: center;
    color: #1877f2;
    transition: all 0.3s;
    font-size: 1rem;
}

.location-option:hover i,
.location-option.selected i {
    color: white;
    transform: scale(1.2);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0.6rem;
    display: inline-block;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: #1877f2;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1877f2;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.cart-container {
    margin-left: 1rem;
}

.cart-btn {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    border: none;
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow:
        0 4px 15px rgba(24, 119, 242, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    z-index: 10000;
    pointer-events: auto;
}

.cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cart-btn:hover::before {
    left: 100%;
}

.cart-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 30px rgba(24, 119, 242, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #166fe5 0%, #0866d0 100%);
}

.cart-btn:active {
    transform: translateY(0);
}

.cart-count {
    background: #fff;
    color: #1877f2;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    box-shadow: 
        0 4px 12px rgba(24, 119, 242, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cart-text {
    font-size: 0.9rem;
}

.cart-btn::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    pointer-events: none;
    z-index: -1;
}

.cart-btn .desktop-fireworks {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    pointer-events: none;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.desktop-firework {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle,
        #ff6b6b 0%,
        #4ecdc4 25%,
        #45b7d1 50%,
        #96ceb4 75%,
        #ffeaa7 100%);
    animation: desktopFireworkExplode 2.5s cubic-bezier(0.17, 0.67, 0.83, 0.67) infinite;
    box-shadow: 0 0 12px currentColor, inset 0 0 3px rgba(255,255,255,0.8);
}

.desktop-firework:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
    background: radial-gradient(circle, #ff6b6b, #ff8787);
}

.desktop-firework:nth-child(2) {
    top: 15%;
    right: 25%;
    animation-delay: 0.3s;
    background: radial-gradient(circle, #4ecdc4, #6c5ce7);
}

.desktop-firework:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 0.6s;
    background: radial-gradient(circle, #45b7d1, #74b9ff);
}

.desktop-firework:nth-child(4) {
    bottom: 15%;
    right: 20%;
    animation-delay: 0.9s;
    background: radial-gradient(circle, #ffeaa7, #fdcb6e);
}

.desktop-firework:nth-child(5) {
    top: 50%;
    left: 10%;
    animation-delay: 1.2s;
    background: radial-gradient(circle, #fd79a8, #e84393);
}

.desktop-firework:nth-child(6) {
    top: 45%;
    right: 10%;
    animation-delay: 1.5s;
    background: radial-gradient(circle, #00b894, #55a3ff);
}

@keyframes desktopFireworkExplode {
    0% {
        transform: scale(0) translateY(0);
        opacity: 0;
        filter: blur(2px) brightness(2);
    }
    5% {
        transform: scale(0.2) translateY(-2px);
        opacity: 1;
        filter: blur(0px) brightness(3);
    }
    15% {
        transform: scale(0.8) translateY(-8px);
        opacity: 1;
        filter: blur(0px) brightness(2.5);
    }
    25% {
        transform: scale(1.8) translateY(-12px);
        opacity: 0.9;
        filter: brightness(2);
    }
    40% {
        transform: scale(2.8) translateY(-15px);
        opacity: 0.7;
        filter: brightness(1.5);
    }
    60% {
        transform: scale(3.5) translateY(-18px);
        opacity: 0.4;
        filter: brightness(1) blur(0.5px);
    }
    80% {
        transform: scale(4) translateY(-20px);
        opacity: 0.2;
        filter: brightness(0.8) blur(1px);
    }
    100% {
        transform: scale(4.5) translateY(-22px);
        opacity: 0;
        filter: brightness(0.5) blur(2px);
    }
}

.cart-btn .desktop-sprinkles {
    position: absolute;
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
    pointer-events: none;
    z-index: 5;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.desktop-sprinkle {
    position: absolute;
    width: 3px;
    height: 8px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: linear-gradient(135deg,
        #ff9a9e 0%,
        #fecfef 20%,
        #fecfef 40%,
        #a8edea 60%,
        #fed6e3 80%,
        #d299c2 100%);
    animation: desktopSprinkleFloat 3.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    box-shadow:
        0 0 10px rgba(255, 154, 158, 0.5),
        0 0 20px rgba(254, 207, 239, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.desktop-sprinkle:nth-child(1) {
    top: 5%;
    left: 30%;
    animation-delay: 0s;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
}

.desktop-sprinkle:nth-child(2) {
    top: 20%;
    right: 30%;
    animation-delay: 0.4s;
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.desktop-sprinkle:nth-child(3) {
    bottom: 25%;
    left: 25%;
    animation-delay: 0.8s;
    background: linear-gradient(135deg, #fecfef, #fecfef);
}

.desktop-sprinkle:nth-child(4) {
    bottom: 10%;
    right: 25%;
    animation-delay: 1.2s;
    background: linear-gradient(135deg, #d299c2, #fef9d7);
}

.desktop-sprinkle:nth-child(5) {
    top: 60%;
    left: 5%;
    animation-delay: 1.6s;
    background: linear-gradient(135deg, #fad0c4, #ffd1ff);
}

.desktop-sprinkle:nth-child(6) {
    top: 40%;
    right: 5%;
    animation-delay: 2s;
    background: linear-gradient(135deg, #a8edea, #ff9a9e);
}

.desktop-sprinkle:nth-child(7) {
    top: 80%;
    left: 50%;
    animation-delay: 2.4s;
    background: linear-gradient(135deg, #fed6e3, #d299c2);
}

.desktop-sprinkle:nth-child(8) {
    top: 30%;
    left: 60%;
    animation-delay: 2.8s;
    background: linear-gradient(135deg, #fecfef, #a8edea);
}

@keyframes desktopSprinkleFloat {
    0% {
        transform: translateY(0px) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        transform: translateY(-5px) rotate(45deg) scale(0.8);
        opacity: 1;
    }
    30% {
        transform: translateY(-12px) rotate(90deg) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translateY(-18px) rotate(180deg) scale(1);
        opacity: 0.8;
    }
    70% {
        transform: translateY(-22px) rotate(270deg) scale(0.9);
        opacity: 0.5;
    }
    90% {
        transform: translateY(-25px) rotate(360deg) scale(0.7);
        opacity: 0.2;
    }
    100% {
        transform: translateY(-27px) rotate(400deg) scale(0.5);
        opacity: 0;
    }
}

/* Login Button */
.login-btn {
    background: transparent;
    border: 1px solid rgba(24, 119, 242, 0.25);
    color: #1877f2;
    padding: 0.65rem 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    margin-left: 1rem;
    font-size: 0.9rem;
    min-width: 95px;
    justify-content: center;
    height: 38px;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 119, 242, 0.1);
    opacity: 0;
    transition: all 0.2s ease;
    z-index: -1;
    border-radius: 10px;
}

.login-btn:hover::before {
    opacity: 1;
    background: rgba(24, 119, 242, 0.08);
}

.login-btn:hover {
    transform: translateY(-1px);
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.4);
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.15);
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(24, 119, 242, 0.2);
}

.login-btn i {
    font-size: 0.9rem;
    margin-right: 0.2rem;
    transition: transform 0.2s ease;
}

.login-btn:hover i {
    transform: scale(1.1);
}

/* Fix login container background */
.login-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.nav-menu .login-container {
    position: relative;
    background: transparent;
    border-radius: 0;
}

/* Enhanced Hero Section */
.simple-hero {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 50%, #1877f2 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
    min-height: 80vh;
    position: relative;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    overflow: hidden;
}

.simple-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: floatPattern 20s linear infinite;
    pointer-events: none;
}

.simple-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 20%, rgba(255,255,255,0.08) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(255,255,255,0.06) 0%, transparent 50%);
    pointer-events: none;
    animation: shimmer 6s ease-in-out infinite;
}

.simple-hero .hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s ease-out;
}

.simple-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3), 0 8px 16px rgba(0,0,0,0.1);
    line-height: 1.1;
    color: #ffffff;
    animation: bounceIn 1s ease-out;
}

.simple-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1.6;
    animation: fadeInUp 1.2s ease-out 0.3s both;
    position: relative;
}

.simple-hero p::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    border-radius: 2px;
    animation: glowLine 2s ease-in-out infinite;
}

/* Floating elements for extra visual interest */
.simple-hero .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.simple-hero .floating-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.simple-hero .floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.simple-hero .floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.simple-hero .floating-element:nth-child(3) {
    top: 40%;
    left: 80%;
    animation-delay: 4s;
    animation-duration: 7s;
}

/* Keyframe Animations */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes floatPattern {
    0% { transform: translateX(-100px) translateY(-100px) rotate(0deg); }
    100% { transform: translateX(100px) translateY(100px) rotate(360deg); }
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes textShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes glowLine {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-50%) scaleX(0.5);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
        box-shadow: 0 0 15px #ffd700;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.3;
    }
    33% {
        transform: translateY(-30px) translateX(20px) rotate(120deg);
        opacity: 0.8;
    }
    66% {
        transform: translateY(10px) translateX(-20px) rotate(240deg);
        opacity: 0.5;
    }
}

/* Premium Search Bar */
.premium-search-container {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 2147483646 !important;
    margin: 0;
    padding: 0;
    animation: searchBarFloat 1.5s ease-out 0.8s both;
}

.premium-search-bar {
    position: relative;
    z-index: 10000001 !important;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 250, 252, 0.98) 25%,
        rgba(255, 255, 255, 0.96) 50%,
        rgba(248, 250, 252, 0.98) 75%,
        rgba(255, 255, 255, 0.95) 100%);
    -webkit-backdrop-filter: blur(60px) saturate(200%) brightness(110%);
    backdrop-filter: blur(60px) saturate(200%) brightness(110%);
    border-radius: 30px;
    padding: 1.8rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.7);
    overflow: visible;
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.12),
        0 20px 60px rgba(24, 119, 242, 0.08),
        0 10px 40px rgba(22, 111, 229, 0.06),
        inset 0 2px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(255, 255, 255, 0.6),
        inset 0 0 120px rgba(255, 255, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
}

.premium-search-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(110deg, 
        transparent 20%, 
        rgba(255,255,255,0.6) 40%, 
        rgba(24, 119, 242, 0.2) 50%,
        rgba(255,255,255,0.6) 60%, 
        transparent 80%);
    transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

.premium-search-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 28px;
    background: transparent;
    pointer-events: none;
}

.premium-search-bar:hover::before {
    left: 100%;
    opacity: 1;
}

.premium-search-bar:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 50px 150px rgba(0, 0, 0, 0.18),
        0 30px 80px rgba(24, 119, 242, 0.12),
        0 15px 50px rgba(22, 111, 229, 0.1),
        inset 0 3px 0 rgba(255, 255, 255, 1),
        inset 0 -2px 0 rgba(255, 255, 255, 0.8),
        inset 0 0 150px rgba(255, 255, 255, 0.4);
    border-color: rgba(24, 119, 242, 0.4);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 1) 25%,
        rgba(255, 255, 255, 0.99) 50%,
        rgba(248, 250, 252, 1) 75%,
        rgba(255, 255, 255, 0.98) 100%);
}

/* Main Search Section */
.search-main-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-input-container {
    flex: 1;
    position: relative;
    z-index: 10000000 !important;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(248, 250, 252, 0.95) 50%,
        rgba(255, 255, 255, 0.9) 100%);
    border-radius: 20px;
    border: 1.5px solid rgba(24, 119, 242, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 0 60px rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.search-input-container:focus-within {
    border-color: rgba(24, 119, 242, 0.5);
    box-shadow: 
        0 12px 40px rgba(24, 119, 242, 0.15),
        0 0 0 4px rgba(24, 119, 242, 0.08),
        inset 0 2px 0 rgba(255, 255, 255, 1),
        inset 0 0 80px rgba(255, 255, 255, 0.6);
    transform: translateY(-4px) scale(1.01);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 1) 50%,
        rgba(255, 255, 255, 0.95) 100%);
}

.search-icon-wrapper {
    padding: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon {
    color: #1877f2;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(24, 119, 242, 0.2));
}

.search-input-container:focus-within .search-icon {
    color: #166fe5;
    transform: scale(1.1);
}

.premium-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.1rem;
    color: #1f2937;
    font-weight: 500;
    padding: 1.2rem 0;
    font-family: 'Lufga', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.premium-search-input::placeholder {
    color: #9ca3af;
    font-style: italic;
    font-weight: 400;
}

.search-clear {
    padding: 0.5rem;
    cursor: pointer;
    color: #9ca3af;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.search-clear:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: scale(1.1);
}

/* Premium Search Dropdown - Maximum Priority */
#searchDropdown,
.premium-search-dropdown {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    right: 0 !important;
    background: white !important;
    border: 2px solid #1877f2 !important;
    border-radius: 20px !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4) !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 2147483647 !important;
    max-height: 400px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

#searchDropdown.show,
.premium-search-dropdown.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
    z-index: 2147483647 !important;
}

/* Force parent containers to allow overflow */
.premium-search-container,
.premium-search-bar,
.search-input-container,
.search-main-section {
    overflow: visible !important;
}

/* Ensure deals section doesn't block dropdown */
.deals-intro-section {
    position: relative !important;
    z-index: 1 !important;
}

.search-suggestions-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 1.5rem 0.8rem;
    color: #1877f2;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(24, 119, 242, 0.1);
}

.search-suggestions-header i {
    font-size: 1rem;
    color: #ff6b6b;
}

.search-suggestion {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.search-suggestion:hover {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.05) 0%, rgba(22, 111, 229, 0.05) 100%);
    transform: translateX(5px);
}

.search-suggestion i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1877f2, #166fe5);
    color: white;
    border-radius: 8px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.suggestion-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.suggestion-title {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.suggestion-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    opacity: 0.8;
}

.search-trending {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.trending-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
    color: #1877f2;
    font-weight: 600;
    font-size: 0.85rem;
}

.trending-header i {
    color: #10b981;
    font-size: 0.9rem;
}

.trending-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trending-tag {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.08), rgba(22, 111, 229, 0.08));
    color: #1877f2;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(24, 119, 242, 0.1);
}

.trending-tag:hover {
    background: linear-gradient(135deg, #1877f2, #166fe5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

/* Premium Search Results View */
.search-results-view {
    animation: fadeInResults 0.4s ease-out;
}

.search-results-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 1.5rem 0.8rem;
    color: #1877f2;
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(24, 119, 242, 0.1);
}

.search-results-header i {
    color: #1877f2;
    font-size: 1rem;
}

.results-count {
    background: linear-gradient(135deg, #1877f2, #166fe5);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    margin-left: auto;
    font-weight: 600;
}

.search-results-container {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(24, 119, 242, 0.3) transparent;
}

.search-results-container::-webkit-scrollbar {
    width: 6px;
}

.search-results-container::-webkit-scrollbar-track {
    background: transparent;
}

.search-results-container::-webkit-scrollbar-thumb {
    background: rgba(24, 119, 242, 0.3);
    border-radius: 3px;
}

.search-results-container::-webkit-scrollbar-thumb:hover {
    background: rgba(24, 119, 242, 0.5);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.search-result-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(24, 119, 242, 0.08), rgba(22, 111, 229, 0.08));
    transition: width 0.3s ease;
    z-index: 0;
}

.search-result-item:hover::before {
    width: 100%;
}

.search-result-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(24, 119, 242, 0.1);
}

.search-result-image {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.search-result-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.search-result-title {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.search-result-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    opacity: 0.8;
    margin-bottom: 0.3rem;
}

.search-result-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.search-result-price {
    color: #1877f2;
    font-weight: 700;
    font-size: 0.85rem;
}

.search-result-location {
    color: #64748b;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.search-result-rating {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: #fbbf24;
    font-size: 0.75rem;
}

.search-result-category {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.1), rgba(22, 111, 229, 0.1));
    color: #1877f2;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-view-all {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(24, 119, 242, 0.1);
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.view-all-btn {
    width: 100%;
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 25%, #0866d0 50%, #1877f2 75%, #166fe5 100%);
    background-size: 300% 300%;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 30px rgba(24, 119, 242, 0.3),
        0 4px 15px rgba(22, 111, 229, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    letter-spacing: 0.5px;
    animation: gradientShift 3s ease infinite;
}

.view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.view-all-btn:hover::before {
    left: 100%;
}

.view-all-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 50px rgba(24, 119, 242, 0.4),
        0 8px 25px rgba(22, 111, 229, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background-position: 100% 50%;
}

.view-all-btn i {
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(5px) rotate(10deg);
}

.view-all-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 
        0 8px 25px rgba(24, 119, 242, 0.3),
        0 4px 15px rgba(22, 111, 229, 0.2),
        inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes fadeInResults {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Search Location Selector */
.search-location-selector {
    position: relative;
    flex: 0 0 auto;
}

.search-location-selector .current-location {
    background: linear-gradient(135deg, 
        rgba(24, 119, 242, 0.95) 0%, 
        rgba(22, 111, 229, 0.98) 50%,
        rgba(24, 119, 242, 0.95) 100%);
    color: white;
    padding: 1.15rem 1.8rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 8px 32px rgba(24, 119, 242, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 0 60px rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    min-width: 180px;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-location-selector .current-location:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 15px 50px rgba(24, 119, 242, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 0 80px rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, 
        rgba(24, 119, 242, 1) 0%, 
        rgba(22, 111, 229, 1) 50%,
        rgba(24, 119, 242, 1) 100%);
}

.search-location-selector .current-location i:first-child {
    color: white;
    font-size: 1rem;
}

.search-location-selector .current-location i:last-child {
    transition: transform 0.3s;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    margin-left: auto;
}

.search-location-selector.open .current-location i:last-child {
    transform: rotate(180deg);
}

.search-location-selector .location-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(24, 119, 242, 0.1);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    z-index: 9999999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
    min-width: 220px;
}

.search-location-selector.open .location-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Premium Search Button */
.premium-search-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.4rem 2.5rem;
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 25%, #0866d0 50%, #1877f2 75%, #166fe5 100%);
    background-size: 300% 300%;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 25px rgba(79, 70, 229, 0.3),
        0 5px 15px rgba(124, 58, 237, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.premium-search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.premium-search-btn:hover::before {
    left: 100%;
}

.premium-search-btn:hover {
    background-position: 100% 50%;
    transform: translateY(-4px) scale(1.08);
    animation: gradientShift 2s ease-in-out infinite;
    box-shadow: 
        0 20px 50px rgba(79, 70, 229, 0.4),
        0 15px 35px rgba(124, 58, 237, 0.3),
        0 10px 25px rgba(236, 72, 153, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.premium-search-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Quick Categories */
.quick-categories {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Modern Dashboard Styles */
.dashboard-container {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(248,249,250,0.05) 100%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    margin: 2rem;
    box-shadow: 
        0 25px 80px rgba(0,0,0,0.1),
        0 10px 40px rgba(24, 119, 242, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.dashboard-header {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 50%, #0866d0 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.dashboard-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(248,249,250,0.1) 100%);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dashboard-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 60px rgba(0,0,0,0.15),
        0 8px 30px rgba(24, 119, 242, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Modern Modal Styles */
.auth-modal {
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(248,249,250,0.2) 100%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    backdrop-filter: blur(40px) saturate(180%);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 40px 120px rgba(0,0,0,0.2),
        0 20px 60px rgba(24, 119, 242, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.modal-header {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Enhanced Form Inputs */
.form-input {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: #1a1a1a;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-input:focus {
    outline: none;
    border-color: rgba(24, 119, 242, 0.5);
    box-shadow: 
        0 0 0 3px rgba(24, 119, 242, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.category-label {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
    margin-right: 0.5rem;
}

.category-chips {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.category-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: 2px solid rgba(24, 119, 242, 0.2);
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(255, 255, 255, 0.9));
    color: #4b5563;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.category-chip:hover {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.15), rgba(22, 111, 229, 0.15));
    border-color: rgba(24, 119, 242, 0.6);
    color: #1877f2;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
}

.category-chip.active {
    background: linear-gradient(135deg, #1877f2, #166fe5);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
    transform: translateY(-2px);
}

.category-chip i {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.category-chip:hover i,
.category-chip.active i {
    transform: scale(1.1);
}

/* Premium Search Suggestions */
.premium-suggestions {
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    right: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.15),
        0 12px 40px rgba(24, 119, 242, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    max-height: 400px;
}

.premium-suggestions.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.suggestions-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem 1rem 2rem;
    border-bottom: 2px solid rgba(24, 119, 242, 0.1);
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.05), rgba(22, 111, 229, 0.05));
}

.suggestions-header i {
    color: #fbbf24;
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.suggestions-header span {
    font-weight: 600;
    color: #374151;
    font-size: 1.1rem;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.5rem;
    padding: 1rem;
    max-height: 280px;
    overflow-y: auto;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    background: rgba(248, 250, 252, 0.3);
}

.suggestion-item:hover {
    background: linear-gradient(135deg, 
        rgba(24, 119, 242, 0.1), 
        rgba(22, 111, 229, 0.1));
    border-color: rgba(24, 119, 242, 0.2);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.15);
}

.suggestion-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1877f2, #166fe5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
    flex-shrink: 0;
}

.suggestion-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.suggestion-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.95rem;
    line-height: 1.3;
}

.suggestion-subtitle {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.suggestions-footer {
    padding: 1rem 2rem 1.5rem 2rem;
    border-top: 2px solid rgba(24, 119, 242, 0.1);
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.02), rgba(22, 111, 229, 0.02));
}

.view-all-suggestions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1877f2, #166fe5);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
    width: 100%;
    justify-content: center;
}

.view-all-suggestions:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}
.search-container-hero:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 25px 80px rgba(0,0,0,0.12), 
        0 12px 30px rgba(59, 130, 246, 0.25),
        inset 0 1px 0 rgba(255,255,255,1);
    border-color: rgba(59, 130, 246, 0.3);
}

.search-container-hero:focus-within {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 30px 100px rgba(0,0,0,0.15), 
        0 15px 40px rgba(59, 130, 246, 0.3),
        0 0 0 3px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255,255,255,1);
    border-color: rgba(59, 130, 246, 0.4);
}

.search-icon-wrapper {
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
}

.search-icon-hero {
    color: #3b82f6;
    font-size: 1.2rem;
    animation: pulse-search 3s infinite;
    transition: all 0.3s ease;
}

@keyframes pulse-search {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.7; 
        color: #3b82f6;
    }
    50% { 
        transform: scale(1.1); 
        opacity: 1; 
        color: #1d4ed8;
    }
}
.search-container-hero input {
    flex: 1;
    padding: 1.3rem 0;
    border: none;
    font-size: 1rem;
    outline: none;
    background: transparent;
    color: #1f2937;
    font-weight: 500;
    font-family: 'Lufga', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.search-container-hero input::placeholder {
    color: #9ca3af;
    font-style: normal;
    font-weight: 400;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.search-suggestions.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

.suggestion-item {
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: 8px;
    margin: 0.25rem 0.5rem;
}

.suggestion-item:last-child {
    border-bottom: none;
    margin-bottom: 0.5rem;
}

.suggestion-item:first-child {
    margin-top: 0.5rem;
}

.suggestion-item:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.suggestion-item i {
    width: 20px;
    text-align: center;
    color: #3b82f6;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.suggestion-item:hover i {
    color: #fbbf24;
    transform: scale(1.1);
}

.suggestion-item span {
    font-weight: 500;
    font-size: 0.875rem;
}

.search-btn-hero {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    background-size: 200% 200%;
    color: white;
    border: none;
    padding: 1.3rem 2rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0 24px 24px 0;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.search-btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.search-btn-hero:hover::before {
    left: 100%;
}

.search-btn-hero:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

.search-btn-hero:active {
    transform: scale(0.98);
}

/* Categories */
.categories {
    padding: 3rem 0 3rem 0;
    background: white;
}

.categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.categories h3 {
    font-size: 2rem;
    color: #1a1a1a;
    margin: 0;
}

.all-deals-badge {
    background: linear-gradient(135deg, 
        #e74c3c 0%, 
        #ff6b6b 15%, 
        #e74c3c 30%, 
        #c0392b 50%, 
        #e74c3c 70%, 
        #ff6b6b 85%, 
        #e74c3c 100%);
    background-size: 400% 400%;
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 20px 60px rgba(231, 76, 60, 0.3),
        0 10px 30px rgba(192, 57, 43, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: premiumGlow 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.all-deals-badge:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 30px 80px rgba(231, 76, 60, 0.5),
        0 15px 40px rgba(192, 57, 43, 0.4),
        0 5px 20px rgba(255, 107, 107, 0.3),
        inset 0 3px 0 rgba(255, 255, 255, 0.4),
        inset 0 -3px 0 rgba(0, 0, 0, 0.2);
    background-position: 100% 100%;
    animation-play-state: paused;
    letter-spacing: 1px;
}

.all-deals-badge i {
    font-size: 1.4rem;
    margin-right: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.all-deals-badge:hover i {
}

.all-deals-badge span {
    font-weight: 600;
    font-size: 1.1rem;
}

.deal-count {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 0.2rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Location Selector */
.location-selector {
    position: relative;
}

.current-location {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
    min-width: 180px;
    justify-content: space-between;
}

.current-location:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.current-location i:first-child {
    color: #ecf0f1;
}

.current-location i:last-child {
    transition: transform 0.3s;
    font-size: 0.8rem;
}

.location-selector.open .current-location i:last-child {
    transform: rotate(180deg);
}

.location-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(24, 119, 242, 0.1);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 9999999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    margin-top: 0.5rem;
    overflow: hidden;
}

.location-selector.open .location-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.location-option {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 1px solid #ecf0f1;
}

.location-option:last-child {
    border-bottom: none;
}

.location-option:hover {
    background: #f8f9fa;
    color: #3498db;
}

.location-option.selected {
    background: #e3f2fd;
    color: #2980b9;
    font-weight: 600;
}

.location-option i {
    width: 20px;
    text-align: center;
    color: #7f8c8d;
}

.location-option:hover i,
.location-option.selected i {
    color: #3498db;
}

/* Categories Carousel */
.categories-carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1200px;
}

.categories-carousel-container {
    overflow: hidden;
    margin: 0 60px; /* Space for navigation buttons */
    position: relative;
}

.categories-carousel {
    display: grid;
    grid-template-columns: repeat(8, 150px);
    grid-template-rows: repeat(2, 180px);
    grid-auto-flow: column;
    gap: 1rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    height: auto;
    min-height: 400px;
    width: max-content;
}

/* Premium Carousel Navigation Buttons - Facebook Blue Theme */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 15;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 8px 25px rgba(24, 119, 242, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.carousel-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 100%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #166fe5 0%, #0866d0 100%);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(24, 119, 242, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.25);
}

.carousel-btn:hover::before {
    opacity: 1;
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
    transition: all 0.1s ease;
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    box-shadow: 
        0 4px 12px rgba(100, 116, 139, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
}

.carousel-btn:disabled:hover {
    transform: translateY(-50%);
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    box-shadow: 
        0 4px 12px rgba(100, 116, 139, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    width: 30px;
    border-radius: 5px;
}

.indicator:hover {
    background: #bbb;
}

.category-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    padding: 1.5rem 1rem;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    border: 2px solid rgba(24, 119, 242, 0.1);
    min-width: 150px;
    width: 150px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px rgba(24, 119, 242, 0.1),
        0 4px 16px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.category-card:hover {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 50%, #0866d0 100%);
    color: white;
    box-shadow:
        0 20px 60px rgba(24, 119, 242, 0.4),
        0 10px 30px rgba(24, 119, 242, 0.3),
        0 4px 20px rgba(24, 119, 242, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(24, 119, 242, 0.05) 50%, transparent 100%);
    opacity: 0;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card i {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    display: block;
    position: relative;
    z-index: 2;
}

/* Premium colorful category icons for desktop */
.category-card[data-category="Food & Dining"] i {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(255, 107, 107, 0.4));
}

.category-card[data-category="Beauty & Spas"] i {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(255, 154, 158, 0.4));
}

.category-card[data-category="Activities"] i {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(78, 205, 196, 0.4));
}

.category-card[data-category="Trains"] i {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.4));
}

.category-card[data-category="Flights"] i {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(24, 119, 242, 0.4));
}

.category-card[data-category="Vacations"] i {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(24, 119, 242, 0.4));
}

.category-card[data-category="Transportation"] i {
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(137, 247, 254, 0.4));
}

.category-card[data-category="Car Hire"] i {
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(137, 247, 254, 0.4));
}

.category-card[data-category="Experiences"] i {
    background: linear-gradient(135deg, #ffd93d 0%, #ff6b6b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(255, 217, 61, 0.4));
}

.category-card[data-category="Accommodation"] i {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(168, 237, 234, 0.4));
}

.category-card[data-category="Health & Wellness"] i {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(67, 233, 123, 0.4));
}

.category-card[data-category="Car Sales"] i {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(250, 112, 154, 0.4));
}

.category-card[data-category="Hotels Booking"] i {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(255, 236, 210, 0.4));
}

.category-card[data-category="Gifting"] i {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(210, 153, 194, 0.4));
}

.category-card[data-category="Shopping"] i {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(240, 147, 251, 0.4));
}

.category-card:hover i {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.5));
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes iconBounce {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.15) rotate(3deg);
    }
    100% {
        transform: scale(1.1) rotate(5deg);
    }
}

.category-card span {
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    color: #1a1a1a;
    letter-spacing: 0.3px;
}

.category-card:hover span {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


/* Premium Hero Carousel */
.premium-hero-carousel {
    margin: 0 0 4rem 0;
    padding: 0;
    background: #f8f9fa;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.hero-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.hero-carousel-slides {
    position: relative;
    height: 500px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 0.8s ease-in-out;
    transform: scale(1.05);
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.6) 100%);
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    animation: slideContent 1.2s ease-out;
    max-width: 600px;
    padding: 0 2rem;
}

.hero-category {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
}

@keyframes slideContent {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.7);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.5);
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, 
        #e74c3c 0%, 
        #ff6b6b 15%, 
        #ff4757 30%, 
        #ff3742 45%, 
        #e74c3c 60%, 
        #c0392b 75%, 
        #a93226 90%, 
        #922b21 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 15px 40px rgba(231, 76, 60, 0.35),
        0 8px 20px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px) saturate(1.5);
    -webkit-backdrop-filter: blur(15px) saturate(1.5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

/* Premium shimmer effect for hero CTA */
.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
    z-index: 1;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 25px 60px rgba(24, 119, 242, 0.5),
        0 15px 35px rgba(0, 0, 0, 0.15),
        inset 0 3px 6px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    animation-play-state: paused;
}

.hero-cta:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s ease;
}

.hero-cta i {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.hero-cta span {
    position: relative;
    z-index: 2;
}

/* Hero Navigation */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 5px 20px rgba(24, 119, 242, 0.4);
}

.hero-nav:hover {
    background: linear-gradient(135deg, #166fe5 0%, #0866d0 100%);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.5);
}

.hero-nav-prev {
    left: 20px;
}

.hero-nav-next {
    right: 20px;
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-indicator.active {
    background: white;
    width: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* Responsive Design for Hero Carousel */
@media (max-width: 768px) {
    .hero-carousel-container {
        border-radius: 0;
        height: 100vh;
        overflow: visible;
    }
    
    .hero-carousel-slides {
        height: 100vh;
    }
    
    .hero-slide-content {
        top: 45% !important;
        transform: translate(-50%, -50%) !important;
        padding: 0 1.5rem !important;
        max-width: 90% !important;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .hero-category {
        margin-bottom: 1.2rem;
        font-size: 0.85rem;
        padding: 0.4rem 1.2rem;
    }
    
    .hero-cta {
        padding: 16px 36px;
        font-size: 1rem;
        margin-top: 0.5rem;
        border-radius: 50px;
        gap: 0.7rem;
    }
    
    .hero-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .hero-nav-prev {
        left: 10px;
    }
    
    .hero-nav-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-carousel-container {
        height: 100vh;
    }
    
    .hero-carousel-slides {
        height: 100vh;
    }
    
    .hero-slide-content {
        top: 40% !important;
        padding: 0 1rem !important;
        max-width: 95% !important;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        line-height: 1.3;
    }
    
    .hero-category {
        margin-bottom: 1rem;
        font-size: 0.8rem;
        padding: 0.3rem 1rem;
    }
    
    .hero-cta {
        padding: 14px 30px;
        font-size: 0.95rem;
        border-radius: 45px;
        gap: 0.6rem;
    }
}

/* Vacation Pills Section */
.vacation-pills-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
}

.vacation-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.vacation-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.vacation-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: #1877f2;
}

.vacation-pill.active {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    color: white;
    border-color: transparent;
}

.vacation-pill i {
    font-size: 1.2rem;
}

.vacation-pill span {
    font-weight: 600;
    white-space: nowrap;
}

.vacation-pill .pill-count {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: bold;
}

.vacation-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.3);
}

/* Filters */
.filters {
    background: #ecf0f1;
    padding: 1.5rem 0;
}

.filter-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.25rem;
    border-radius: 8px;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-tab:hover {
    background: #e9ecef;
    color: #333;
}

.filter-tab.active {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%) !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(24, 119, 242, 0.3) !important;
}

.filter-tab i {
    font-size: 1rem;
}

.filter-controls select {
    padding: 0.8rem 1.5rem;
    border: 1px solid #bdc3c7;
    border-radius: 8px;
    background: white;
    font-size: 1rem;
    cursor: pointer;
}

.results-count {
    font-weight: 600;
    color: #1a1a1a;
}

/* Deals Grid */
.deals {
    padding: 3rem 0;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
    gap: 2rem;
    padding: 0 1rem;
    box-sizing: border-box;
}

.deal-card {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(248, 250, 252, 0.95) 30%,
        rgba(24, 119, 242, 0.02) 50%,
        rgba(248, 250, 252, 0.95) 70%,
        rgba(255, 255, 255, 0.98) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 15px 50px rgba(24, 119, 242, 0.08),
        0 8px 25px rgba(0, 0, 0, 0.06),
        0 4px 12px rgba(22, 111, 229, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(24, 119, 242, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.deal-card * {
    pointer-events: none;
}

.deal-card button,
.deal-card a,
.deal-card .carousel-nav,
.deal-card .carousel-dot {
    pointer-events: auto;
}

.item-type-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.deal-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.product-badge {
    background: linear-gradient(135deg, #4834d4, #686de0);
    color: white;
}

.service-badge {
    background: linear-gradient(135deg, #00d2d3, #54a0ff);
    color: white;
}

.merchant-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

/* Merchant card specific styles */
.merchant-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.merchant-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.merchant-card .merchant-cover-image img {
    transition: transform 0.3s ease;
}

.merchant-card:hover .merchant-cover-image img {
    transform: scale(1.05);
}

.merchant-contact {
    font-size: 0.85rem;
    color: #667eea;
    font-weight: 500;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.deal-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 70px rgba(24, 119, 242, 0.15),
        0 15px 35px rgba(0, 0, 0, 0.10),
        0 6px 20px rgba(22, 111, 229, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(24, 119, 242, 0.15);
}

.deal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(24, 119, 242, 0.02) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.deal-card:hover::before {
    opacity: 1;
}

.event-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border: 2px solid #1877f2;
}

.deal-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.deal-card:hover .deal-image {
    transform: scale(1.05);
}

/* Deal Image Carousel */
.deal-image-carousel {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f8f9fa;
    z-index: 1;
}

.carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
    transform: scale(1.05);
    z-index: 1;
}

.carousel-image.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(24, 119, 242, 0.9);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 10;
    aspect-ratio: 1/1;
    padding: 0;
    flex-shrink: 0;
}

.deal-image-carousel:hover .carousel-nav {
    opacity: 1;
}

.carousel-nav:hover {
    background: #1877f2;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

/* Mobile-specific carousel button fixes */
@media (max-width: 768px) {
    .carousel-nav {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        border-radius: 50% !important;
        aspect-ratio: 1/1 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 0.8;
    }

    .deal-image-carousel:hover .carousel-nav,
    .deal-image-carousel .carousel-nav {
        opacity: 0.8;
    }

    .carousel-nav i {
        font-size: 14px;
        margin: 0;
        padding: 0;
    }

    .carousel-prev {
        left: 5px;
    }

    .carousel-next {
        right: 5px;
    }

    .carousel-nav:active {
        transform: translateY(-50%) scale(0.95);
    }
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: white;
    width: 20px;
    border-radius: 4px;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.deal-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.90) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.deal-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.deal-card:hover .deal-title {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(-1px);
}

.deal-discount {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 50%, #0866d0 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deal-card:hover .deal-discount {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.deal-description {
    color: #7f8c8d;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.deal-location {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.deal-pricing {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.original-price {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 1.1rem;
}

.discount-price {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 50%, #0866d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(24, 119, 242, 0.2));
}

.deal-card:hover .discount-price {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(24, 119, 242, 0.3));
}

.deal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.deal-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #f39c12;
}

.deal-stats {
    color: #7f8c8d;
}

.deal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.time-left {
    color: #e74c3c;
    font-weight: 600;
    font-size: 0.9rem;
}

.buy-btn {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 25%, #0866d0 50%, #1877f2 75%, #166fe5 100%);
    background-size: 300% 300%;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 6px 20px rgba(24, 119, 242, 0.3),
        0 3px 10px rgba(22, 111, 229, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    animation: gradientShift 3s ease infinite;
    position: relative;
    z-index: 2;
}

.buy-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(24, 119, 242, 0.4),
        0 6px 20px rgba(22, 111, 229, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background-position: 100% 50%;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: linear-gradient(135deg, 
        rgba(24, 119, 242, 0.15) 0%, 
        rgba(0, 0, 0, 0.7) 50%, 
        rgba(22, 111, 229, 0.15) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: modalBackdropFadeIn 0.4s ease-out;
}

@keyframes modalBackdropFadeIn {
    from { 
        opacity: 0; 
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    to { 
        opacity: 1; 
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

.modal-content {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    margin: 3% auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 650px;
    border-radius: 25px;
    position: relative;
    box-shadow: 
        0 25px 80px rgba(24, 119, 242, 0.25),
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(24, 119, 242, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(24, 119, 242, 0.05);
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #1877f2 0%, 
        #166fe5 25%, 
        #0866d3 50%, 
        #166fe5 75%, 
        #1877f2 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

@keyframes modalSlideIn {
    from { 
        opacity: 0; 
        transform: translateY(-100px) scale(0.8) rotateX(15deg);
        filter: blur(5px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1) rotateX(0deg);
        filter: blur(0px);
    }
}

.close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    color: #6c757d;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.close:hover {
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 25px rgba(24, 119, 242, 0.2);
}

.close:active {
    transform: scale(0.95) rotate(90deg);
}

#modalContent {
    padding: 2.5rem;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.90) 100%);
    border-radius: 20px;
    position: relative;
}

#modalContent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(24, 119, 242, 0.02) 0%, 
        transparent 50%, 
        rgba(22, 111, 229, 0.02) 100%);
    border-radius: 20px;
    pointer-events: none;
}

.modal-deal-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(24, 119, 242, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.modal-deal-image:hover {
    transform: scale(1.02);
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.2),
        0 8px 20px rgba(24, 119, 242, 0.15);
}

.modal-deal-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 50%, #1877f2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.modal-deal-pricing {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(248, 250, 252, 0.6) 100%);
    border-radius: 20px;
    border: 1px solid rgba(24, 119, 242, 0.1);
    box-shadow: 
        0 8px 25px rgba(24, 119, 242, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

.modal-original-price {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 1.4rem;
    font-weight: 500;
    opacity: 0.8;
}

.modal-discount-price {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 50%, #0866d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(24, 119, 242, 0.3));
}

.modal-discount {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 50%, #0866d0 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 6px 20px rgba(24, 119, 242, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow:
            0 6px 20px rgba(24, 119, 242, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow:
            0 8px 30px rgba(24, 119, 242, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes bounce-badge {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.05);
    }
}

/* Premium Grab Deal Button */
.grab-deal-btn {
    position: relative;
    overflow: hidden;
}

.grab-deal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.grab-deal-btn:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 15px 45px rgba(39, 174, 96, 0.5), 0 8px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.grab-deal-btn:hover::before {
    left: 100%;
}

.grab-deal-btn:active {
    transform: translateY(-1px) scale(1) !important;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4), 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #bdc3c7;
    border-radius: 8px;
}

.quantity-btn {
    background: #ecf0f1;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.quantity-btn:hover {
    background: #bdc3c7;
}

.quantity-input {
    border: none;
    padding: 0.5rem;
    width: 60px;
    text-align: center;
    font-size: 1rem;
}

.add-to-cart-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.add-to-cart-btn:hover {
    background: #229954;
}

/* Cart Sidebar */
/* Cart Sidebar - Awesome Side Popup */
.cart-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    right: -450px;
    top: 0;
    width: 450px;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10002;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.2);
    position: relative;
    overflow: visible;
    flex-shrink: 0;
}

.cart-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cart-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.cart-header h3 .cart-badge {
    pointer-events: none;
}

.cart-header h3::before {
    content: '\f07a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.3rem;
}

.cart-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.close-cart {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 100;
    pointer-events: auto;
    flex-shrink: 0;
}

.close-cart:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: white;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    height: 100%;
}

.cart-empty-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.1) 0%, rgba(24, 119, 242, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cart-empty-icon i {
    font-size: 3rem;
    color: rgba(24, 119, 242, 0.4);
}

.cart-empty h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.cart-empty p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 15px;
    background: white;
    border: 1px solid #ecf0f1;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cart-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #1877f2, #0d5dbf);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-item:hover {
    box-shadow: 0 5px 20px rgba(24, 119, 242, 0.1);
    border-color: rgba(24, 119, 242, 0.2);
    transform: translateX(-3px);
}

.cart-item:hover::before {
    opacity: 1;
}

.cart-item-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cart-item-title {
    font-weight: 700;
    font-size: 1rem;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
}

.cart-item-business {
    font-size: 0.85rem;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-item-business i {
    font-size: 0.75rem;
}

.cart-item-price {
    color: #1877f2;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0.25rem 0;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8f9fa;
    padding: 6px 10px;
    border-radius: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: white;
    color: #1877f2;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.qty-btn:hover {
    background: #1877f2;
    color: white;
    transform: scale(1.1);
}

.qty-btn:active {
    transform: scale(0.95);
}

.cart-item-quantity span {
    min-width: 25px;
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.remove-item-btn:hover {
    background: rgba(231, 76, 60, 0.1);
    transform: scale(1.15);
}

.cart-footer {
    padding: 1.5rem;
    background: white;
    border-top: 2px solid #ecf0f1;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

.cart-summary {
    margin-bottom: 1rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: #5a6c7d;
    font-size: 0.95rem;
}

.cart-summary-row.subtotal {
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.08) 0%, rgba(24, 119, 242, 0.05) 100%);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.cart-total-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.cart-total-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1877f2;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 1.1rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.checkout-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(231, 76, 60, 0.4);
}

.checkout-btn:hover::before {
    transform: translateX(100%);
}

.checkout-btn:active {
    transform: translateY(0);
}

.checkout-btn i {
    font-size: 1.2rem;
}

/* Cart Mobile Responsive */
@media (max-width: 768px) {
    .cart-sidebar-overlay {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
        background: white;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .cart-sidebar.open {
        right: 0;
    }

    .cart-header {
        padding: 1.5rem 1rem;
        flex-shrink: 0;
    }

    .cart-header h3 {
        font-size: 1.3rem;
    }

    .cart-items {
        overflow-y: scroll;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        flex: 1;
        min-height: 0;
        background: white;
        padding: 1rem;
        overscroll-behavior-y: contain;
        position: relative;
    }

    .cart-items::-webkit-scrollbar {
        width: 4px;
    }

    .cart-items::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .cart-items::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 2px;
    }

    .cart-empty {
        overflow: visible;
        min-height: 300px;
    }

    .cart-item {
        padding: 1rem;
        background: white;
        margin-bottom: 0.75rem;
        border: 1px solid #ecf0f1;
        border-radius: 10px;
    }

    .cart-item-image {
        width: 75px;
        height: 75px;
    }

    .cart-item-title {
        font-size: 0.95rem;
    }

    .cart-footer {
        padding: 1.25rem;
        background: white;
        flex-shrink: 0;
        border-top: 2px solid #ecf0f1;
    }
}

@media (max-width: 480px) {
    .cart-header h3 {
        font-size: 1.2rem;
        gap: 8px;
    }

    .cart-badge {
        font-size: 0.75rem;
        padding: 3px 10px;
    }

    .cart-item {
        padding: 0.85rem;
        gap: 0.75rem;
    }

    .cart-item-image {
        width: 65px;
        height: 65px;
    }

    .cart-item-title {
        font-size: 0.9rem;
    }

    .cart-item-business {
        font-size: 0.8rem;
    }

    .cart-item-price {
        font-size: 1rem;
    }

    .qty-btn {
        width: 26px;
        height: 26px;
    }

    .cart-total-label {
        font-size: 1rem;
    }

    .cart-total-amount {
        font-size: 1.3rem;
    }

    .checkout-btn {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Loading */
.loading {
    text-align: center;
    padding: 3rem;
    color: #7f8c8d;
}

.loading i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #7f8c8d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #bdc3c7;
}

/* Events Section */
.events-section {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    padding: 3rem 0;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

/* Premium Event Cards */
.premium-event-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    min-width: 380px;
    max-width: 380px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 380px;
    flex-shrink: 0;
    height: auto;
}

/* Mobile override for event cards */
@media screen and (max-width: 768px) {
    .premium-event-card {
        height: 85vh !important;
        min-height: 600px !important;
        display: flex !important;
        flex-direction: column !important;
    }
}


.premium-event-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 15px 40px rgba(0, 0, 0, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.9);
}

.event-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.premium-event-card:hover .event-image {
    transform: scale(1.05);
}

.event-date-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 12px 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.date-day {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.event-category-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.urgent-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.event-content {
    padding: 24px;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.event-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    margin-right: 12px;
}

.event-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.rating-stars {
    color: #ffd700;
    font-size: 0.9rem;
}

.rating-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
}

.event-venue-info,
.event-time-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #64748b;
}

.event-venue-info i,
.event-time-info i {
    color: #e74c3c;
    width: 16px;
    text-align: center;
}

.elegant-pricing-section {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05) 0%, rgba(192, 57, 43, 0.03) 100%);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(231, 76, 60, 0.1);
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.pricing-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-range {
    font-size: 1.1rem;
    font-weight: 800;
    color: #e74c3c;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ticket-types-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-type-mini {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border-left: 3px solid #e74c3c;
    transition: all 0.3s ease;
}

.ticket-type-mini:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(4px);
}

.ticket-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.ticket-price {
    font-weight: 700;
    color: #e74c3c;
    font-size: 0.9rem;
}

.ticket-badge {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.more-tickets {
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px;
    background: rgba(100, 116, 139, 0.1);
    border-radius: 8px;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(100, 116, 139, 0.1);
}

.tickets-availability {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #64748b;
}

.tickets-availability.urgent {
    color: #e74c3c;
}

.tickets-availability i {
    color: #e74c3c;
}

.urgent-text {
    font-weight: 700;
    color: #e74c3c;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-buy-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-buy-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

.premium-buy-btn i {
    transition: transform 0.3s ease;
}

.premium-buy-btn:hover i {
    transform: translateX(4px);
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.3;
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.events-title {
    color: white;
}

.events-title i {
    font-size: 2rem;
    margin-right: 1rem;
    color: white;
    animation: pulse 2s infinite;
}

.events-title h2 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.events-subtitle {
    display: block;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
    font-style: italic;
}

.view-all-events {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all-events:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.events-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 25%,
        rgba(240, 244, 248, 0.95) 50%,
        rgba(248, 250, 252, 0.98) 75%,
        rgba(255, 255, 255, 0.95) 100%);
    -webkit-backdrop-filter: blur(30px) saturate(200%) brightness(105%);
    backdrop-filter: blur(30px) saturate(200%) brightness(105%);
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.12),
        0 20px 60px rgba(24, 119, 242, 0.08),
        0 10px 40px rgba(22, 111, 229, 0.06),
        inset 0 2px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(255, 255, 255, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    margin: 2rem 0;
    padding: 2rem;
    position: relative;
}

/* Mobile-Responsive Carousel */
@media (max-width: 768px) {
    .events-carousel {
        padding: 0.5rem;
        margin: 1rem 0;
        border-radius: 20px;
        position: relative;
        overflow: visible;
    }
    
    .events-track {
        display: flex;
        gap: 1rem;
        padding: 1rem 0.25rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        transition: none;
    }
    
    .events-track::-webkit-scrollbar {
        display: none;
    }
    
    .premium-event-card {
        min-width: 95vw !important;
        max-width: 95vw !important;
        width: 95vw !important;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
    
    /* Show carousel buttons on mobile but make them smaller */
    .carousel-btn {
        display: flex !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
        border-radius: 10px !important;
        background: linear-gradient(135deg, rgba(231, 76, 60, 0.9) 0%, rgba(192, 57, 43, 0.9) 100%) !important;
        color: white !important;
        border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 6px 20px rgba(231, 76, 60, 0.25) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        z-index: 10;
    }
    
    .carousel-btn:hover {
        background: linear-gradient(135deg, rgba(192, 57, 43, 0.95) 0%, rgba(169, 50, 38, 0.95) 100%) !important;
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 12px 35px rgba(231, 76, 60, 0.4);
    }
    
    .carousel-btn.prev {
        left: 10px !important;
        top: 50% !important;
    }
    
    .carousel-btn.next {
        right: 10px !important;
        top: 50% !important;
    }
}

@media (max-width: 480px) {
    .premium-event-card {
        min-width: 92vw !important;
        max-width: 92vw !important;
        width: 92vw !important;
        height: auto;
        max-height: 520px;
    }
    
    .event-image-container {
        height: 140px;
    }
    
    .event-content {
        padding: 12px;
    }
    
    .event-title {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 8px;
    }
    
    .event-venue-info,
    .event-time-info {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .elegant-pricing-section {
        padding: 12px;
        margin: 12px 0;
    }
    
    .pricing-header {
        margin-bottom: 10px;
    }
    
    .pricing-label {
        font-size: 0.8rem;
    }
    
    .price-range {
        font-size: 1rem;
    }
    
    .ticket-types-preview {
        gap: 8px;
    }
    
    .ticket-type-mini {
        padding: 6px 10px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }
    
    .ticket-name {
        font-size: 0.8rem;
    }
    
    .ticket-price {
        font-size: 0.8rem;
    }
    
    .event-footer {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .tickets-availability {
        font-size: 0.8rem;
        justify-content: center;
    }
    
    .premium-buy-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

.events-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(24, 119, 242, 0.02) 25%,
        rgba(22, 111, 229, 0.03) 50%,
        rgba(24, 119, 242, 0.02) 75%,
        transparent 100%);
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
}

.events-carousel::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(24, 119, 242, 0.1) 0%,
        rgba(22, 111, 229, 0.05) 25%,
        rgba(8, 102, 208, 0.08) 50%,
        rgba(22, 111, 229, 0.05) 75%,
        rgba(24, 119, 242, 0.1) 100%);
    border-radius: 36px;
    z-index: -1;
    filter: blur(1px);
}

.events-track {
    display: flex;
    gap: 2.5rem;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 2rem 0;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.event-card {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.99) 0%, 
        rgba(251, 253, 255, 0.97) 25%,
        rgba(24, 119, 242, 0.02) 50%,
        rgba(251, 253, 255, 0.97) 75%,
        rgba(255, 255, 255, 0.99) 100%);
    border-radius: 32px;
    overflow: hidden;
    min-width: 380px;
    flex: 0 0 380px;
    box-shadow: 
        0 32px 90px rgba(24, 119, 242, 0.16),
        0 18px 45px rgba(0, 0, 0, 0.08),
        0 8px 28px rgba(22, 111, 229, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.95),
        inset 0 -1px 2px rgba(24, 119, 242, 0.03);
    border: 2px solid rgba(24, 119, 242, 0.12);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    cursor: pointer;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.event-card:hover {
    transform: translateY(-20px) scale(1.04) rotateX(2deg);
    box-shadow: 
        0 45px 120px rgba(24, 119, 242, 0.25),
        0 30px 70px rgba(0, 0, 0, 0.12),
        0 15px 40px rgba(22, 111, 229, 0.15),
        inset 0 3px 6px rgba(255, 255, 255, 1),
        inset 0 -2px 4px rgba(24, 119, 242, 0.05);
    border-color: rgba(24, 119, 242, 0.3);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(24, 119, 242, 0.02) 0%, 
        rgba(22, 111, 229, 0.04) 30%,
        rgba(8, 102, 208, 0.03) 70%,
        rgba(24, 119, 242, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    border-radius: inherit;
}

.event-card:hover::before {
    opacity: 1;
}

.event-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, 
        rgba(24, 119, 242, 0.08) 0%,
        rgba(22, 111, 229, 0.04) 25%,
        rgba(8, 102, 208, 0.06) 50%,
        rgba(22, 111, 229, 0.04) 75%,
        rgba(24, 119, 242, 0.08) 100%);
    border-radius: 34px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.event-card:hover::after {
    opacity: 1;
}

.event-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    position: relative;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
    border-radius: 0;
}

.event-card:hover .event-image {
    transform: scale(1.08) rotateZ(1deg);
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
}

.event-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 50%, #d63031 100%);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 3;
    box-shadow: 
        0 8px 25px rgba(238, 90, 36, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
}

.event-content {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(251, 253, 255, 0.95) 30%,
        rgba(248, 250, 252, 0.92) 70%,
        rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(24, 119, 242, 0.08);
}

.event-category {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.12) 0%, rgba(22, 111, 229, 0.18) 50%, rgba(8, 102, 208, 0.15) 100%);
    color: #1877f2;
    padding: 0.6rem 1.3rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 1.2rem;
    border: 2px solid rgba(24, 119, 242, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 
        0 4px 15px rgba(24, 119, 242, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.event-card:hover .event-category {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.2) 0%, rgba(22, 111, 229, 0.25) 50%, rgba(8, 102, 208, 0.22) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(24, 119, 242, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
    border-color: rgba(24, 119, 242, 0.35);
}

.event-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #1a1a1a;
    line-height: 1.25;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 50%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.event-card:hover .event-title {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 50%, #0866d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(-2px) scale(1.02);
    text-shadow: 0 2px 8px rgba(24, 119, 242, 0.2);
}

.event-date-time {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    color: #666;
    font-size: 0.9rem;
}

.event-venue {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.event-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.event-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-final-price {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 50%, #0866d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(24, 119, 242, 0.2));
}

.event-card:hover .event-final-price {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(24, 119, 242, 0.3));
}

.ticket-categories {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ticket-type {
    font-weight: 600;
    opacity: 0.8;
}

.ticket-type small {
    font-size: 0.85rem;
}

.event-discount {
    background: #ff6b6b;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.event-tickets-left {
    background: #fff3cd;
    color: #856404;
    padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.event-tickets-left.urgent {
    background: #f8d7da;
    color: #721c24;
    animation: pulse 2s infinite;
}

.buy-ticket-btn {
    width: 100%;
    background: linear-gradient(135deg, #1877f2, #166fe5);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-ticket-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Category Page Styles */
.category-page {
    padding: 2rem 0;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    margin-top: 80px;
}

.category-header {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.category-header h1 {
    font-size: 2.5rem;
    margin: 1rem 0 0.5rem 0;
    font-weight: 700;
}

.category-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.category-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-filters .search-bar {
    display: flex;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-filters .search-bar input {
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 300px;
    outline: none;
}

.category-filters .search-bar button {
    background: #1877f2;
    border: none;
    color: white;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.category-filters .search-bar button:hover {
    background: #5a6fd8;
}

.category-filters select {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 25px;
    background: white;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    outline: none;
}

.category-results {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#categoryResultsCount {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Success and Error Messages */
.success-message, .error-message {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

.success-message {
    background: #28a745;
}

.error-message {
    background: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Empty State Styling */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.empty-state p {
    font-size: 1rem;
    color: #666;
}

/* Category Page Mobile Responsiveness */
@media (max-width: 768px) {
    .category-header h1 {
        font-size: 2rem;
    }
    
    .category-filters {
        flex-direction: column;
        gap: 1rem;
    }
    
    .category-filters .search-bar input {
        width: 250px;
    }
    
    .category-results {
        padding: 1rem;
        margin: 0 1rem;
    }
    
    .category-page {
        margin-top: 70px;
        padding: 1rem 0;
    }
    
    .category-header h1 {
        font-size: 1.8rem;
    }
    
    .category-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .header .container {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem 1rem;
    }

    .hero {
        margin-top: 120px; /* Increase margin for mobile stacked header */
    }

    .logo {
        gap: 0.5rem;
    }

    .logo-icon {
        width: 60px;
        height: 60px;
    }

    .brand-text h1 {
        font-size: 1.8rem;
    }

    .nav-center {
        order: 3;
        width: 100%;
    }

    .location-filter {
        width: 100%;
        justify-content: center;
    }

    .nav-menu {
        order: 2;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }

    .cart-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .login-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        margin-left: 0.5rem;
        min-width: 80px;
        height: 32px;
        border-radius: 8px;
        background: transparent;
    }
    
    .login-container {
        background: transparent !important;
    }
    
    .login-btn span {
        display: none;
    }
    
    .login-btn i {
        font-size: 0.8rem;
        margin-right: 0;
    }

    .cart-text {
        display: none;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .search-bar {
        flex-direction: column;
        gap: 1rem;
    }

    .search-bar input {
        width: 100%;
    }

    /* Remove old grid reference */

    .deals-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        flex-direction: column;
        gap: 1rem;
    }

    .sort-filter {
        width: 100%;
    }

    .events-carousel {
        padding: 2rem 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        border-radius: 24px;
        margin: 2rem 0;
        -webkit-overflow-scrolling: touch;
    }

    .events-track {
        gap: 1rem;
        padding: 1rem 0.5rem;
    }

    .event-card {
        min-width: 280px;
        scroll-snap-align: start;
    }
    /* Filter Tabs Mobile */
    .filter-tabs {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .filter-tab {
        flex: 1;
        min-width: 80px;
        padding: 0.5rem 0.3rem;
        font-size: 0.8rem;
    }

    .filter-tab span {
        display: none;
    }

    .filter-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    /* Removed duplicate cart-sidebar rule - see line 4703 for correct mobile styles */

    .modal-content {
        margin: 2% auto;
        width: 96%;
        padding: 0;
        max-height: 95vh;
        overflow-y: auto;
        border-radius: 20px;
        box-shadow: 
            0 20px 60px rgba(24, 119, 242, 0.3),
            0 10px 30px rgba(0, 0, 0, 0.2),
            0 5px 15px rgba(24, 119, 242, 0.15);
    }
    
    #modalContent {
        padding: 1.5rem;
        max-height: calc(95vh - 3rem);
        overflow-y: auto;
    }
    
    .close {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
        position: fixed;
        z-index: 2001;
    }
    
    .modal-deal-image {
        height: 250px;
        margin-bottom: 1.5rem;
        border-radius: 15px;
    }
    
    .modal-deal-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .modal-deal-pricing {
        padding: 1rem;
        margin-bottom: 1.5rem;
        border-radius: 15px;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .modal-discount-price {
        font-size: 2rem;
    }
    
    .modal-original-price {
        font-size: 1.2rem;
    }

    /* Event Modal Mobile */
    .event-info {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }

    .event-info > div {
        margin-bottom: 0.5rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .deals-grid {
        gap: 0.75rem !important;
        padding: 0.25rem !important;
    }

    .deal-card {
        width: calc(100vw - 1rem) !important;
        max-width: calc(100vw - 1rem) !important;
        margin: 0 auto !important;
    }

    .deal-content {
        padding: 0.75rem !important;
    }

    .deal-image,
    .deal-image-carousel {
        height: 180px !important;
        min-height: 180px !important;
    }

    .deal-image img,
    .carousel-image,
    .carousel-images {
        height: 180px !important;
        min-height: 180px !important;
    }

    .simple-hero h1 {
        font-size: 2rem;
    }

    .simple-hero p {
        font-size: 1rem;
    }

    .events-title h2 {
        font-size: 1.5rem;
    }

    .events-title i {
        font-size: 1.5rem;
    }

    .event-card {
        min-width: 260px;
    }

    .event-title {
        font-size: 1.1rem;
    }

    .event-date-time {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .filter-tab {
        padding: 0.4rem;
        font-size: 0.75rem;
    }

    .category-card {
        padding: 1rem;
    }

    .category-card i {
        font-size: 1.5rem;
    }

    .category-card span {
        font-size: 0.8rem;
    }

    /* Navigation Small Mobile */
    .navbar {
        padding: 0.4rem 0.5rem;
    }

    .nav-links a {
        font-size: 0.75rem;
        padding: 0.25rem 0.4rem;
    }

    .cart-icon {
        font-size: 1.1rem;
    }

    /* Search Bar Small Mobile */
    .search-bar input {
        padding: 0.7rem;
        font-size: 0.85rem;
    }

    .search-bar button {
        padding: 0.7rem;
        font-size: 0.85rem;
    }

    /* Deal Cards Small Mobile */
    .deal-card img {
        height: 160px;
    }

    .deal-content {
        padding: 0.7rem;
    }

    .deal-title {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .deal-description {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .deal-price .discount-price {
        font-size: 1rem;
    }

    .deal-price .original-price {
        font-size: 0.75rem;
    }

    .deal-location {
        font-size: 0.75rem;
    }

    .deal-footer button {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    /* Event Cards Small Mobile */
    .event-card {
        min-width: 240px;
    }

    .event-content {
        padding: 0.8rem;
    }

    .event-title {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .event-date-time span {
        font-size: 0.75rem;
    }

    .event-venue {
        font-size: 0.75rem;
    }

    .event-discount-price {
        font-size: 1rem;
    }

    .event-original-price {
        font-size: 0.8rem;
    }

    .buy-ticket-btn {
        padding: 0.5rem;
        font-size: 0.75rem;
    }

    /* Filter Tabs Small Mobile */
    .filter-tab {
        padding: 0.4rem 0.2rem;
        font-size: 0.7rem;
        min-width: 50px;
    }

    /* Modal Small Mobile */
    .modal-content {
        margin: 1% auto;
        width: 99%;
        padding: 0.6rem;
        border-radius: 10px;
    }

    .modal-header h2 {
        font-size: 1.1rem;
    }

    .modal-body img {
        height: 150px;
        border-radius: 8px;
    }

    .close {
        font-size: 1.5rem;
        top: 0.5rem;
        right: 0.8rem;
    }
}

/* Page Title Section */
.page-title {
    background: linear-gradient(135deg, #1877f2, #166fe5);
    color: white;
    padding: 3rem 0;
    margin-top: 80px;
}

.title-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.title-icon {
    background: rgba(255,255,255,0.2);
    padding: 1.5rem;
    border-radius: 50%;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.title-icon i {
    font-size: 2rem;
    color: white;
}

.title-text h1 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 700;
}

.title-text p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Events Grid Section */
.events-grid-section {
    padding: 2rem 0;
    background: #f8f9fa;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Enhanced Search and Sort Styling */
.enhanced-search-container {
    flex: 1;
    max-width: 400px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-wrapper .search-icon {
    position: absolute;
    left: 1rem;
    color: #1877f2;
    font-size: 1rem;
    z-index: 2;
}

.search-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid rgba(24, 119, 242, 0.15);
    border-radius: 25px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(24, 119, 242, 0.1);
}

.search-wrapper input:focus {
    border-color: #1877f2;
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.2);
    transform: translateY(-1px);
}

.search-wrapper input::placeholder {
    color: #9e9e9e;
    font-style: italic;
}

.clear-search {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.clear-search:hover {
    background: #f5f5f5;
    color: #1877f2;
}

.enhanced-sort-container {
    position: relative;
}

.sort-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.sort-wrapper .sort-icon {
    position: absolute;
    left: 1rem;
    color: #1877f2;
    font-size: 1rem;
    z-index: 2;
    pointer-events: none;
}

.sort-wrapper select {
    appearance: none;
    padding: 1rem 3rem 1rem 3rem;
    border: 2px solid rgba(24, 119, 242, 0.15);
    border-radius: 25px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(24, 119, 242, 0.1);
    min-width: 200px;
}

.sort-wrapper select:focus,
.sort-wrapper select:hover {
    border-color: #1877f2;
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.2);
    transform: translateY(-1px);
}

.sort-wrapper .dropdown-arrow {
    position: absolute;
    right: 1rem;
    color: #1877f2;
    font-size: 0.8rem;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.sort-wrapper select:focus + .dropdown-arrow {
    transform: rotate(180deg);
}

.sort-wrapper select option {
    background: white;
    color: #1a1a1a;
    padding: 1rem;
    font-weight: 500;
}

.results-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #1877f2;
    background: linear-gradient(135deg, #f8f9fa, rgba(24, 119, 242, 0.05));
    padding: 1rem 1.5rem;
    border-radius: 25px;
    border: 2px solid rgba(24, 119, 242, 0.15);
    min-width: 150px;
    justify-content: center;
}

.results-count i {
    color: #166fe5;
}

/* Touch and Interaction Improvements */
@media (max-width: 768px) {
    /* Mobile Hero Carousel Overflow Fix */
    .premium-hero-carousel {
        overflow: visible;
    }
    
    /* Better touch targets */
    button, .btn, .filter-tab, .category-card {
        min-height: 44px;
        touch-action: manipulation;
    }

    /* Prevent zoom on input focus */
    input, select, textarea {
        font-size: 16px;
    }

    /* Smooth scrolling for carousels */
    .events-carousel {
        scroll-behavior: smooth;
    }

    /* Better spacing for touch */
    .nav-links a {
        padding: 0.8rem 1rem;
        margin: 0 0.2rem;
        font-size: 0.9rem;
    }

    .cart-icon {
        font-size: 1.2rem;
    }

    /* Simple Hero Section Mobile */
    .simple-hero {
        min-height: 60vh;
        padding: 2rem 1rem;
    }

    .simple-hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .simple-hero p {
        font-size: 1.1rem;
        margin: 1rem 0;
    }

    /* Premium Search Bar Mobile */
    .premium-search-container {
        width: calc(100% - 2rem);
        bottom: -30px;
        margin: 0;
        max-width: none;
        padding: 0;
        overflow: visible;
    }

    .premium-search-bar {
        padding: 1.3rem 1.8rem;
        border-radius: 24px;
        margin: 0 1rem;
        overflow: visible;
    }

    .premium-search-bar:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .search-input-container {
        border-radius: 18px;
        padding: 0.3rem 0;
    }
    
    .search-location-selector .current-location {
        padding: 1rem 1.5rem;
        border-radius: 18px;
        min-width: 140px;
        font-size: 0.9rem;
    }
    
    .search-location-selector {
        overflow: visible;
    }
    
    .search-location-selector .location-dropdown {
        max-height: 600px !important;
        z-index: 9999999 !important;
    }

    .search-main-section {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Premium Search Dropdown Mobile */
    .premium-search-dropdown {
        left: -1rem;
        right: -1rem;
        border-radius: 16px;
        margin-top: 0.5rem;
        max-height: 600px !important;
        z-index: 999999 !important;
    }
    
    .search-suggestion {
        padding: 0.8rem 1rem;
    }
    
    .search-suggestion i {
        width: 18px;
        height: 18px;
        font-size: 0.8rem;
    }
    
    .suggestion-title {
        font-size: 0.9rem;
    }
    
    .suggestion-subtitle {
        font-size: 0.75rem;
    }
    
    .trending-tags {
        gap: 0.4rem;
    }
    
    .trending-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Premium Search Results Mobile */
    .search-result-item {
        padding: 0.8rem 1rem;
        gap: 0.8rem;
    }
    
    .search-result-image {
        width: 45px;
        height: 45px;
        border-radius: 10px;
    }
    
    .search-result-title {
        font-size: 0.9rem;
    }
    
    .search-result-subtitle {
        font-size: 0.75rem;
    }
    
    .search-result-meta {
        gap: 0.6rem;
        flex-wrap: wrap;
    }
    
    .search-result-price {
        font-size: 0.8rem;
    }
    
    .search-result-location {
        font-size: 0.7rem;
    }
    
    .search-result-rating {
        font-size: 0.7rem;
    }
    
    .search-result-category {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }
    
    .view-all-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .search-input-container {
        order: 1;
    }

    .location-search-wrapper {
        order: 2;
        align-self: stretch;
        justify-content: center;
    }

    .premium-location-select {
        min-width: auto;
        width: 100%;
        text-align: center;
    }

    .premium-search-btn {
        order: 3;
        padding: 1rem 1.5rem;
        align-self: stretch;
        justify-content: center;
    }

    .quick-categories {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .category-chips {
        display: none;
    }

    .category-chip {
        display: none;
    }

    .premium-suggestions {
        margin: 0 1rem;
        border-radius: 16px;
    }

    .suggestions-header {
        padding: 1rem 1.5rem 0.75rem 1.5rem;
    }

    .suggestions-grid {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        padding: 0.75rem;
    }

    .suggestion-item {
        padding: 0.75rem;
    }

    .suggestion-icon {
        width: 35px;
        height: 35px;
    }

    .suggestions-footer {
        padding: 0.75rem 1.5rem 1rem 1.5rem;
    }

    /* Categories Mobile */
    .categories {
        padding: 2rem 0 1rem 0;
    }

    .categories-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .header-controls {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .location-selector {
        width: 100%;
        overflow: visible;
    }

    .current-location {
        width: 100%;
        justify-content: center;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .location-dropdown {
        max-height: 600px !important;
        z-index: 9999999 !important;
    }

    /* Categories Carousel Mobile */
    .categories-carousel-wrapper {
        margin: 0;
        overflow: visible;
        padding: 0 15px;
    }

    .categories-carousel-container {
        margin: 0;
        overflow-x: visible;
        overflow-y: visible;
        padding: 0;
    }

    .categories-carousel-container::-webkit-scrollbar {
        display: none;
    }

    .categories-carousel {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: auto !important;
        grid-auto-rows: auto !important;
        grid-auto-flow: row !important;
        gap: 16px !important;
        padding: 10px 0 !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        transition: none !important;
    }

    .categories-carousel::-webkit-scrollbar {
        display: none;
    }
    
    .carousel-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    .carousel-btn-prev {
        left: 0 !important;
    }
    
    .carousel-btn,
    .carousel-btn-prev,
    .carousel-btn-next {
        display: none !important;
    }

    .category-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 140px !important;
        padding: 25px 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .category-card i {
        font-size: 34px !important;
        margin-bottom: 10px !important;
    }

    .category-card span {
        font-size: 14px !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }

    /* Events Section Mobile */
    .events-section {
        padding: 2rem 0;
        margin: 0.5rem 0 1rem 0;
    }

    .events-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 1rem;
    }

    .events-title h2 {
        font-size: 1.8rem;
    }

    .events-subtitle {
        font-size: 1rem;
    }

    .events-carousel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 1rem;
    }

    .events-track {
        gap: 1rem;
        padding: 1rem 0;
    }

    .event-card {
        min-width: 280px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }
    .view-all-events {
        margin: 1rem;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Deals Section Mobile */
    .deals-section {
        padding: 2rem 0;
    }

    .section-header {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Filter Tabs Mobile */
    .filter-tabs {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        margin: 0 1rem;
        border-radius: 25px;
        overflow: hidden;
    }

    .filter-tab {
        flex: 1;
        min-width: 80px;
        padding: 0.6rem 0.3rem;
        font-size: 0.8rem;
        border-radius: 0;
    }

    .filter-tab span {
        display: none;
    }

    .filter-tab i {
        margin-right: 0;
    }

    .filter-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 0 1rem;
    }
    .events-section {
        padding: 2rem 0;
        margin: 1rem 0;
    }

    .events-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .events-title h2 {
        font-size: 1.8rem;
    }

    .events-subtitle {
        font-size: 1rem;
    }

    .events-carousel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .events-track {
        gap: 1rem;
        padding: 1rem 0.5rem;
    }

    .event-card {
        min-width: 280px;
        scroll-snap-align: start;
    }
    /* Filter Tabs Mobile */
    .filter-tabs {
        width: 100%;
        justify-content: center;
    }

    .filter-tab {
        flex: 1;
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .filter-tab span {
        display: none;
    }

    /* Mobile responsive adjustments */
@media (max-width: 768px) {
    /* HTML should not scroll - prevents dual scroller conflict */
    html {
        overflow: hidden;
        max-width: 100vw;
        height: 100%;
        position: fixed;
    }

    /* Body is the only scroller */
    body {
        overflow-x: hidden;
        overflow-y: auto;
        max-width: 100vw;
        height: 100%;
        box-sizing: border-box;
    }

    * {
        box-sizing: border-box;
    }

    .deals-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        padding: 0.5rem;
        margin: 0 auto;
        max-width: 100%;
        box-sizing: border-box;
    }

    .deal-card {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }

    .deal-image,
    .deal-image-carousel {
        width: 100% !important;
        max-width: 100% !important;
        height: 200px !important;
        min-height: 200px !important;
        overflow: hidden;
        position: relative !important;
        background: #f0f0f0 !important;
    }

    .deal-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: 200px !important;
        min-height: 200px !important;
        object-fit: cover !important;
        display: block !important;
        position: relative !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .carousel-image {
        width: 100% !important;
        max-width: 100% !important;
        height: 200px !important;
        min-height: 200px !important;
        object-fit: cover !important;
        display: block !important;
        /* Don't force opacity/visibility on all carousel images - let active state control it */
        position: absolute !important;
    }

    .carousel-images {
        width: 100% !important;
        height: 200px !important;
        min-height: 200px !important;
        position: relative !important;
    }

    /* Ensure carousel images are visible */
    .deal-card .carousel-image.active {
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 2 !important;
    }

    .category-chips {
        display: none;
    }

    .category-chip {
        display: none;
    }
    
    /* Resize View All Deals button for mobile */
    .all-deals-badge {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
        border-radius: 16px !important;
        transform: scale(0.85) !important;
    }
    
    .all-deals-badge i {
        font-size: 1rem !important;
        margin-right: 0.3rem !important;
    }
    
    .all-deals-badge span {
        font-size: 0.8rem !important;
        font-weight: 500 !important;
    }
    
    .deal-count {
        font-size: 0.7rem !important;
        padding: 0.2rem 0.5rem !important;
        margin: 1rem auto !important;
        max-width: 200px !important;
        letter-spacing: 0.3px !important;
    }
}

    .deal-content {
        padding: 1rem;
    }

    .deal-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .deal-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .deal-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .deal-location {
        font-size: 0.85rem;
    }

    /* Cart Mobile */
    /* Removed duplicate cart-sidebar and cart-items rules - see line 4703 for correct mobile styles */

    .cart-item-info h4 {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .cart-item-info p {
        font-size: 0.8rem;
    }

    .cart-total {
        padding: 1rem;
        border-top: 2px solid #eee;
        position: sticky;
        bottom: 0;
        background: white;
    }

    /* Modal Mobile */
    .modal-content {
        margin: 2% auto;
        width: 98%;
        padding: 1rem;
        max-height: 96vh;
        overflow-y: auto;
        border-radius: 15px;
    }

    .modal-header {
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .modal-header h2 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .modal-body {
        padding: 0;
    }

    .modal-body img {
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
    }

    /* Event Modal Mobile */
    .event-info {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .event-info > div {
        margin-bottom: 1rem;
        padding: 0.8rem;
        background: #f8f9fa;
        border-radius: 8px;
    }

    .event-info h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .event-info p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .deals-grid {
        gap: 0.75rem !important;
        padding: 0.25rem !important;
    }

    .deal-card {
        width: calc(100vw - 1rem) !important;
        max-width: calc(100vw - 1rem) !important;
        margin: 0 auto !important;
    }

    .deal-content {
        padding: 0.75rem !important;
    }

    .deal-image,
    .deal-image-carousel {
        height: 180px !important;
        min-height: 180px !important;
    }

    .deal-image img,
    .carousel-image,
    .carousel-images {
        height: 180px !important;
        min-height: 180px !important;
    }

    .simple-hero h1 {
        font-size: 2rem;
    }

    .simple-hero p {
        font-size: 1rem;
    }

    .events-title h2 {
        font-size: 1.5rem;
    }

    .events-title i {
        font-size: 1.5rem;
    }

    .event-card {
        min-width: 260px;
    }

    .event-title {
        font-size: 1.1rem;
    }

    .event-date-time {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .filter-tab {
        padding: 0.4rem;
        font-size: 0.75rem;
    }

    .categories-carousel {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: auto !important;
        grid-auto-rows: auto !important;
        grid-auto-flow: row !important;
        gap: 12px !important;
        padding: 10px 0 !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        transition: none !important;
    }

    .category-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 130px !important;
        padding: 20px 12px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .category-card i {
        font-size: 32px !important;
        margin-bottom: 8px !important;
    }

    .category-card span {
        font-size: 13px !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.deal-card {
    animation: fadeIn 0.5s ease-in;
}

/* Success/Error Messages */
.message {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 2000;
    animation: slideIn 0.3s ease-out;
}

.message.success {
    background: #27ae60;
}

.message.error {
    background: #e74c3c;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* View All Deals Section */
.view-all-deals-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.view-all-header {
    text-align: center;
    margin-bottom: 3rem;
}

.deals-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.deals-title i {
    font-size: 2.5rem;
    color: #e74c3c;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.deals-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-shadow: 0 2px 20px rgba(24, 119, 242, 0.3);
}

.deals-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 0.5rem;
    display: block;
}

/* Responsive for deals title */
@media (max-width: 768px) {
    .deals-title {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .deals-title h2 {
        font-size: 2rem;
    }
    
    .deals-title i {
        font-size: 2rem;
    }
    
    .deals-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #ecf0f1;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
}

.footer-brand-text h3 {
    margin: 0;
    color: #e74c3c;
    font-size: 1.4rem;
}

.footer-brand-text span {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin: 1rem 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e74c3c;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #bdc3c7;
}

.footer-contact .contact-item i {
    color: #e74c3c;
    width: 16px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-content p {
    color: #bdc3c7;
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #e74c3c;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

/* Premium Mobile Floating Banner - Ultra Modern Design */
.mobile-floating-banner {
    display: none;
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 9999;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    will-change: transform, opacity;
}

.mobile-floating-banner.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-floating-banner.hiding {
    transform: translateX(-50%) translateY(20px) scale(0.9);
    opacity: 0;
}

.floating-banner-container {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-radius: 35px;
    padding: 18px 25px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.9),
        inset 0 0 20px rgba(255, 255, 255, 0.8);
    display: flex;
    gap: 35px;
    align-items: center;
    justify-content: space-evenly;
    position: relative;
    overflow: visible;
    min-width: auto;
    width: fit-content;
    max-width: 85vw;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Animated gradient border */
.floating-banner-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        90deg,
        #ff6b6b,
        #4ecdc4,
        #45b7d1,
        #f9ca24,
        #f0932b,
        #eb4d4b,
        #6ab04c,
        #667eea,
        #ff6b6b
    );
    border-radius: 35px;
    z-index: -1;
    background-size: 300% 100%;
    animation: rainbowBorder 8s linear infinite;
    opacity: 0.6;
}

@keyframes rainbowBorder {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}


.floating-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    -webkit-tap-highlight-color: transparent;
    padding: 8px;
    min-width: 65px;
}

.floating-action-item:hover {
    transform: translateY(-5px);
}

.floating-action-item:active {
    transform: scale(0.95);
}

.action-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: visible;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.08),
        inset 0 1px 3px rgba(255, 255, 255, 1);
}

/* Pulsing glow effect on hover */
.action-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease;
}

.floating-action-item:hover .action-icon-wrapper::before {
    transform: scale(1.3);
    opacity: 0.4;
}

/* Beautiful colorful gradient icons */
.action-icon-wrapper i {
    font-size: 24px;
    z-index: 2;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Search icon - Advanced 3D rotation with morphing */
.floating-action-item:nth-child(1) i {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: floatAndRotate 6s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
    transform-style: preserve-3d;
}

@keyframes floatAndRotate {
    0%, 100% {
        transform: translateY(0) rotateY(0deg) scale(1);
    }
    25% {
        transform: translateY(-5px) rotateY(90deg) scale(1.05);
    }
    50% {
        transform: translateY(0) rotateY(180deg) scale(1);
    }
    75% {
        transform: translateY(-5px) rotateY(270deg) scale(1.05);
    }
}

.floating-action-item:nth-child(1):hover i {
    animation: magneticPull 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes magneticPull {
    0% {
        transform: scale(1) rotate(0deg);
    }
    20% {
        transform: scale(0.9) rotate(-15deg);
    }
    40% {
        transform: scale(1.3) rotate(15deg);
    }
    60% {
        transform: scale(1.1) rotate(-10deg);
    }
    80% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

/* Wishlist icon - Realistic heartbeat with elastic bounce */
.floating-action-item:nth-child(2) i {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: realisticHeartbeat 2s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
    transform-origin: center;
}

@keyframes realisticHeartbeat {
    0%, 12%, 28%, 40%, 100% {
        transform: scale(1) rotate(0deg);
    }
    8%, 24% {
        transform: scale(1.25) rotate(-5deg);
    }
    16%, 32% {
        transform: scale(0.95) rotate(3deg);
    }
    36% {
        transform: scale(1.15) rotate(-3deg);
    }
}

.floating-action-item:nth-child(2):hover i {
    animation: heartExplode 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes heartExplode {
    0% {
        transform: scale(1);
        filter: hue-rotate(0deg);
    }
    25% {
        transform: scale(1.4) rotate(-15deg);
        filter: hue-rotate(-20deg);
    }
    50% {
        transform: scale(0.8) rotate(10deg);
        filter: hue-rotate(20deg);
    }
    75% {
        transform: scale(1.3) rotate(-5deg);
        filter: hue-rotate(-10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(0deg);
    }
}

/* Sign In icon - Liquid morph animation */
.floating-action-item:nth-child(3) i {
    background: linear-gradient(135deg, #1877f2 0%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: liquidMorph 8s ease-in-out infinite;
    transform-origin: center;
}

@keyframes liquidMorph {
    0%, 100% {
        transform: scale(1) skew(0deg, 0deg);
        filter: blur(0);
    }
    20% {
        transform: scale(1.1, 0.9) skew(5deg, 0deg);
        filter: blur(0.5px);
    }
    40% {
        transform: scale(0.9, 1.1) skew(-5deg, 0deg);
        filter: blur(0);
    }
    60% {
        transform: scale(1.05) skew(0deg, 3deg);
        filter: blur(0.3px);
    }
    80% {
        transform: scale(0.95) skew(0deg, -3deg);
        filter: blur(0);
    }
}

.floating-action-item:nth-child(3):hover i {
    animation: vortexSpin 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes vortexSpin {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(0.4) rotate(180deg);
        opacity: 0.6;
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 1;
    }
}

/* Enhanced hover effect for all icon wrappers */
.floating-action-item:hover .action-icon-wrapper {
    animation: rippleGlow 0.8s ease-out;
}

@keyframes rippleGlow {
    0% {
        box-shadow:
            0 4px 15px rgba(0, 0, 0, 0.08),
            inset 0 1px 3px rgba(255, 255, 255, 1);
    }
    25% {
        box-shadow:
            0 0 0 5px rgba(102, 126, 234, 0.3),
            0 4px 20px rgba(102, 126, 234, 0.4),
            inset 0 1px 3px rgba(255, 255, 255, 1);
    }
    50% {
        box-shadow:
            0 0 0 10px rgba(102, 126, 234, 0.1),
            0 8px 30px rgba(102, 126, 234, 0.3),
            inset 0 1px 3px rgba(255, 255, 255, 1);
    }
    75% {
        box-shadow:
            0 0 0 15px rgba(102, 126, 234, 0.05),
            0 6px 25px rgba(102, 126, 234, 0.2),
            inset 0 1px 3px rgba(255, 255, 255, 1);
    }
    100% {
        box-shadow:
            0 0 0 20px rgba(102, 126, 234, 0),
            0 4px 15px rgba(0, 0, 0, 0.08),
            inset 0 1px 3px rgba(255, 255, 255, 1);
    }
}

/* Staggered entrance animation for icons */
.floating-action-item:nth-child(1) {
    animation: slideInBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.1s backwards;
}

.floating-action-item:nth-child(2) {
    animation: slideInBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s backwards;
}

.floating-action-item:nth-child(3) {
    animation: slideInBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s backwards;
}

@keyframes slideInBounce {
    0% {
        transform: translateY(30px) scale(0.5);
        opacity: 0;
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
    70% {
        transform: translateY(5px) scale(0.95);
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Action labels */
.action-label {
    font-size: 11px;
    font-weight: 600;
    color: #4a5568;
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s ease;
}

/* Hover effects */
.floating-action-item:hover .action-icon-wrapper {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.floating-action-item:hover .action-label {
    color: #1a202c;
}

/* Ripple effect */
.action-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    pointer-events: none;
}

.floating-action-item:active .action-ripple {
    animation: rippleEffect 0.6s ease-out;
}

@keyframes rippleEffect {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Wishlist counter */
.wishlist-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    border: 2px solid white;
    padding: 2px;
    animation: pulse 2s infinite;
    z-index: 3;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Mobile only display - IMPORTANT */
@media (max-width: 768px) {
    .mobile-floating-banner {
        display: block !important;
    }

    /* Force initial visibility on mobile */
    .mobile-floating-banner:not(.hiding) {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

/* Adjust for smaller screens */
@media (max-width: 420px) {
    .floating-banner-container {
        padding: 10px 15px;
        gap: 20px;
        min-width: auto;
        width: calc(100vw - 40px);
    }

    .action-icon-wrapper {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .action-icon-wrapper i {
        font-size: 16px;
    }

    .action-label {
        font-size: 10px;
    }

    .floating-action-item {
        min-width: 50px;
    }
}

@media (max-width: 360px) {
    .floating-banner-container {
        padding: 10px 20px;
        gap: 30px;
        min-width: 260px;
    }

    .action-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .action-icon-wrapper i {
        font-size: 17px;
    }

    .action-label {
        font-size: 10px;
    }
}

/* Hide when keyboard is visible (approximate) */
@media (max-height: 500px) and (max-width: 768px) {
    .mobile-floating-banner {
        display: none !important;
    }
}

/* Event Modal Styles - Beautiful & Comprehensive */
.event-modal-header {
    margin: -2rem -2rem 2rem -2rem;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.event-modal-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.event-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-modal-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
}

.event-modal-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.95), rgba(22, 111, 229, 0.95));
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-urgency-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.event-modal-body {
    position: relative;
}

.event-modal-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 50%, #1877f2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.event-modal-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.event-modal-rating .stars {
    display: flex;
    gap: 4px;
}

.event-modal-rating .stars i {
    color: #ddd;
    font-size: 1.1rem;
}

.event-modal-rating .stars i.filled {
    color: #ffc107;
}

.event-modal-rating .rating-text {
    font-weight: 600;
    color: #2c3e50;
}

.event-modal-rating .event-viewers {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #27ae60;
    font-weight: 600;
    font-size: 0.9rem;
}

.event-modal-quick-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.05), rgba(22, 111, 229, 0.03));
    border-radius: 20px;
    border: 1px solid rgba(24, 119, 242, 0.1);
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1877f2, #166fe5);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.quick-info-content {
    flex: 1;
}

.quick-info-label {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.quick-info-value {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
}

.event-modal-description {
    margin-bottom: 2rem;
}

.event-modal-description h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-modal-description h3 i {
    color: #1877f2;
}

.event-modal-description p {
    color: #5a6c7d;
    line-height: 1.7;
    font-size: 1rem;
}

.event-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.event-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.1), rgba(22, 111, 229, 0.05));
    border: 1px solid rgba(24, 119, 242, 0.2);
    border-radius: 20px;
    color: #1877f2;
    font-weight: 600;
    font-size: 0.85rem;
}

.event-modal-features {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.05), rgba(46, 213, 115, 0.03));
    border-radius: 20px;
    border: 1px solid rgba(39, 174, 96, 0.1);
}

.event-modal-features h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-modal-features h3 i {
    color: #27ae60;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #5a6c7d;
    font-size: 0.95rem;
}

.features-list li i {
    color: #27ae60;
    font-size: 1.1rem;
}

.event-modal-pricing-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8));
    border-radius: 20px;
    border: 2px solid rgba(24, 119, 242, 0.15);
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.1);
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.pricing-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
}

.low-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    animation: pulse 2s ease-in-out infinite;
}

.event-pricing-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 1rem;
}

.event-pricing-display-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.1), rgba(22, 111, 229, 0.05));
    border-radius: 15px;
    border: 2px solid rgba(24, 119, 242, 0.2);
}

.price-current {
    text-align: center;
}

.price-amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1877f2, #166fe5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

/* Ticket Tiers Grid */
.ticket-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.ticket-tier-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ticket-tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.ticket-tier-card.selected {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.08), rgba(22, 111, 229, 0.05));
    border: 2px solid #1877f2;
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.25);
    transform: translateY(-5px) scale(1.02);
}

.tier-selection-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: #1877f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.ticket-tier-card.selected .tier-selection-indicator {
    opacity: 1;
    transform: scale(1);
}

.tier-badge {
    display: inline-block;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.tier-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.75rem 0;
}

.tier-description {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.tier-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1877f2;
    margin-bottom: 0.75rem;
}

.tier-availability {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #27ae60;
    font-size: 0.85rem;
    font-weight: 600;
}

.tier-availability i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .ticket-tiers-grid {
        grid-template-columns: 1fr;
    }
}

.price-original {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: rgba(127, 140, 141, 0.1);
    border-radius: 15px;
}

.original-label {
    display: block;
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.original-amount {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #95a5a6;
    text-decoration: line-through;
}

.price-arrow {
    font-size: 1.5rem;
    color: #1877f2;
}

.price-discounted {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.15), rgba(22, 111, 229, 0.1));
    border-radius: 15px;
    border: 2px solid rgba(24, 119, 242, 0.3);
    position: relative;
}

.discount-badge {
    position: absolute;
    top: -12px;
    right: 10px;
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.discount-amount {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1877f2, #166fe5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3px;
}

.per-ticket {
    display: block;
    font-size: 0.75rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.savings-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(46, 213, 115, 0.05));
    border-radius: 12px;
    color: #27ae60;
    font-weight: 700;
    font-size: 0.95rem;
}

.event-modal-ticket-selector {
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.05), rgba(22, 111, 229, 0.03));
    border-radius: 20px;
    border: 1px solid rgba(24, 119, 242, 0.1);
}

.ticket-selector-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.ticket-selector-label i {
    color: #1877f2;
}

.ticket-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.ticket-qty-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1877f2, #166fe5);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.ticket-qty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.ticket-qty-btn:active {
    transform: translateY(0);
}

.ticket-quantity-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.ticket-qty-input {
    width: 80px;
    height: 50px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    border: 2px solid rgba(24, 119, 242, 0.2);
    border-radius: 15px;
    background: white;
    color: #2c3e50;
}

.qty-label {
    font-size: 0.75rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.total-price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.1), rgba(22, 111, 229, 0.05));
    border-radius: 15px;
    border: 2px solid rgba(24, 119, 242, 0.2);
}

.total-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
}

.total-amount {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1877f2, #166fe5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.event-modal-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
}

.buy-tickets-btn {
    flex: 2;
    padding: 18px 30px;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.buy-tickets-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(39, 174, 96, 0.5);
}

.buy-tickets-btn:active {
    transform: translateY(-1px);
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.add-wishlist-btn {
    flex: 1;
    padding: 18px;
    background: white;
    color: #1877f2;
    border: 2px solid #1877f2;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.add-wishlist-btn:hover {
    background: #1877f2;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.3);
}

.event-modal-footer-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.05), rgba(22, 111, 229, 0.03));
    border-radius: 15px;
}

.event-modal-footer-info .info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5a6c7d;
    font-size: 0.85rem;
    font-weight: 600;
}

.event-modal-footer-info .info-item i {
    color: #27ae60;
    font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .event-modal-image-container {
        height: 250px;
    }

    .event-modal-title {
        font-size: 1.6rem;
    }

    .event-modal-quick-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .event-pricing-display {
        flex-direction: column;
        gap: 15px;
    }

    .price-arrow {
        transform: rotate(90deg);
    }

    .event-modal-actions {
        flex-direction: column;
    }

    .add-wishlist-btn {
        flex: 1;
    }

    .event-modal-footer-info {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
