/* =========================================
   Gemini Premium Aesthetics & Animations
   ========================================= */

/* 1. Global Gradient Animation */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

body {
    background: linear-gradient(-45deg, #1a1c2e, #2a2d4a, #1f2235, #131525);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    cursor: default;
    /* We will add custom cursor element later if needed */
}

/* 2. Mouse Tracking Glow Effect on Cards */
.deal-card,
.feature-card,
.search-container {
    position: relative;
    overflow: hidden;
}

.deal-card::before,
.feature-card::before,
.search-container::before {
    content: '';
    position: absolute;
    top: var(--y, -50%);
    left: var(--x, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.deal-card:hover::before,
.feature-card:hover::before,
.search-container:hover::before {
    opacity: 1;
}

/* 3. Improved Search Typography & Aesthetics */
.search-container {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.search-container:hover,
.search-container:focus-within {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.15);
    /* Gold glow */
    border-color: rgba(255, 215, 0, 0.5);
}

.search-input {
    font-family: 'Outfit', 'Inter', sans-serif;
    /* Modern font */
    font-size: 1.4rem;
    /* Larger text */
    font-weight: 500;
    color: #1a202c;
    letter-spacing: -0.02em;
}

.search-input::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

.search-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    /* Gold/Orange */
    color: #1a202c;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 5px 20px rgba(255, 165, 0, 0.4);
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

/* 4. Text Animations (Gemini Style) */
.hero-title span {
    background: linear-gradient(to right, #ffffff 20%, #FFD700 40%, #ffffff 60%, #ffffff 80%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* 5. Custom Cursor (Optional - subtle circle) */
.cursor-dot {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-dot.active {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 215, 0, 0.1);
    border-color: #FFD700;
}

/* ==================== PREMIUM NAVIGATION ==================== */

/* 1. Glassy Nav Container */
.nav {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(30px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1.2rem 3rem !important;
    /* Larger padding */
    width: 95% !important;
    /* Slightly wider */
    max-width: 1400px !important;
    border-radius: 24px !important;
    top: 30px !important;
}

.nav:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateX(-50%) translateY(2px);
}

/* 2. Logo Branding */
.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800 !important;
    font-size: 1.8rem !important;
    background: linear-gradient(135deg, #FFD700 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo span {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* 3. Navigation Links */
.nav-links {
    gap: 3rem !important;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-link:hover {
    color: #FFD700 !important;
}

.nav-link:hover::after {
    width: 100%;
}

/* 4. Auth Buttons (Glass & Solid) */
.glass-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50px !important;
    padding: 0.6rem 1.8rem !important;
    color: white !important;
    font-weight: 600 !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease !important;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: #FFD700 !important;
    color: #FFD700 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.solid-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 0.6rem 2rem !important;
    color: #1a202c !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    font-size: 0.9rem !important;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
    transition: all 0.3s ease !important;
}

.solid-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.6);
}

/* 5. Language Selector */
.lang-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50px !important;
    font-family: 'Outfit', sans-serif;
    color: rgba(255, 255, 255, 0.9) !important;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}