/* Hero Section Styles */
    .hero-redesigned {
        background: #232147;
        min-height: 400px;
        position: relative;
        overflow: hidden;
    }
    
    /* Floating Elements Animation */
    .animate-float {
        animation: float 6s ease-in-out infinite;
    }
    
    @keyframes float {
        0%, 100% { transform: translateY(0) rotate(0deg); }
        50% { transform: translateY(-20px) rotate(5deg); }
    }
    
    .animation-delay-0 { animation-delay: 0ms; }
    .animation-delay-200 { animation-delay: 0.2s; }
    .animation-delay-400 { animation-delay: 0.4s; }
    .animation-delay-600 { animation-delay: 0.6s; }
    .animation-delay-800 { animation-delay: 0.8s; }
    .animation-delay-1000 { animation-delay: 1s; }
    
    /* Search Bar Styles - Smaller and Simpler */
    .search-container-modern {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        padding: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        border: 1px solid rgba(255,255,255,0.2);
        max-width: 600px;
        margin: 0 auto;
        position: relative;
    }
    
    .search-input-modern {
        background: rgba(255, 255, 255, 0.95);
        border: 0;
        border-radius: 8px;
        padding: 12px 12px 12px 40px;
        font-size: 16px;
        transition: all 0.3s;
    }
    
    .search-input-modern:focus {
        background: white;
        box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
        outline: none;
    }
    
    .search-icon {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #6b7280;
        font-size: 14px;
    }
    
    /* Autocomplete Search Results */
    .autocomplete-results {
        background: white;
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        margin-top: 8px;
        max-height: 400px;
        overflow-y: auto;
        z-index: 1000;
        display: none;
    }
    
    .autocomplete-results:not(:empty) {
        display: block;
        padding: 8px 0;
    }
    
    .autocomplete-results li {
        padding: 10px 16px;
        cursor: pointer;
        transition: background 0.2s;
        border-bottom: 1px solid #f3f4f6;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .autocomplete-results li:last-child {
        border-bottom: none;
    }
    
    .autocomplete-results li:hover {
        background: #f9fafb;
    }
    
    .autocomplete-results li.selected {
        background: #eff6ff;
    }
    
    .autocomplete-results li img {
        width: 32px;
        height: 32px;
        object-fit: contain;
        background: #f9fafb;
        padding: 4px;
        border-radius: 6px;
    }
    
    .autocomplete-results li .result-text {
        flex-grow: 1;
    }
    
    .autocomplete-results li .result-name {
        font-weight: 500;
        color: #1f2937;
        font-size: 14px;
        margin-bottom: 2px;
    }
    
    .autocomplete-results li .result-category {
        font-size: 12px;
        color: #6b7280;
    }
    
    /* Trending Topics */
    .trending-section {
        background: white;
        padding: 20px 0;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .trending-badge {
        background: #eff6ff;
        color: #3b82f6;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    
    .topic-pill {
        background: #f9fafb;
        color: #4b5563;
        padding: 6px 16px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.2s;
        text-decoration: none;
        display: inline-block;
    }
    
    .topic-pill:hover {
        background: #e5e7eb;
        color: #1f2937;
    }
    
    /* Product Cards - Smaller and Cleaner */
    .product-card-modern {
        background: white;
        border-radius: 12px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        transition: box-shadow 0.3s;
        overflow: hidden;
        padding: 16px;
    }
    
    .product-card-modern:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    }
    
    .product-image-container {
        width: 80px;
        height: 80px;
        border-radius: 10px;
        overflow: hidden;
        flex-shrink: 0;
        background: #f9fafb;
        padding: 8px;
    }
    
    .product-image-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .category-badge {
        background: #eff6ff;
        color: #3b82f6;
        padding: 3px 10px;
        border-radius: 16px;
        font-size: 13px;
        font-weight: 500;
        display: inline-block;
    }
    
    .tag-pill {
        background: #f3f4f6;
        color: #6b7280;
        padding: 3px 10px;
        border-radius: 16px;
        font-size: 12px;
        font-weight: 500;
        transition: all 0.2s;
    }
    
    .tag-pill:hover {
        background: #e5e7eb;
    }
    
    .vote-button {
        background: #f9fafb;
        border: none;
        border-radius: 18px;
        padding: 6px 12px;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: all 0.2s;
        cursor: pointer;
        font-size: 14px;
    }
    
    .vote-button:hover {
        background: #f3f4f6;
    }
    
    /* Star Rating Styles */
    .starrating {
        display: inline-flex;
        align-items: center;
        font-size: 14px;
    }
    
    .starrating i {
        font-size: 13px;
    }
    
    /* Featured Sidebar */
    .featured-sidebar {
        /*background: linear-gradient(to bottom right, #faf5ff, #fdf2f8);*/
        background: #EEF5FF;
        border-radius: 12px;
        padding: 20px;
        border: 1px solid rgba(147, 51, 234, 0.1);
    }
    
    .featured-card-small {
        background: white;
        border-radius: 10px;
        padding: 14px;
        cursor: pointer;
        transition: all 0.3s;
        display: none;
    }
    
    .featured-card-small.active {
        display: block;
    }
    
    .featured-card-small:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .featured-badge {
        background: #9333ea;
        color: white;
        padding: 3px 8px;
        border-radius: 16px;
        font-size: 11px;
        font-weight: 500;
    }
    
    /* Submit CTA */
    .submit-cta {
        background: linear-gradient(to bottom right, #eff6ff, #e0e7ff);
        border-radius: 12px;
        padding: 24px;
        border: 1px solid rgba(59, 130, 246, 0.1);
        text-align: center;
    }
    
    .submit-button {
        background: linear-gradient(to right, #3b82f6, #2563eb);
        color: white;
        border: none;
        border-radius: 10px;
        padding: 10px 18px;
        width: 100%;
        font-weight: 600;
        font-size: 15px;
        transition: all 0.3s;
        cursor: pointer;
    }
    
    .submit-button:hover {
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        transform: translateY(-1px);
    }
    
    /* Product Title and Description */
    .product-card-modern h3 {
        font-size: 18px;
        font-weight:600
    }
    
    .product-card-modern p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    /* Responsive */
    @media (max-width: 768px) {
        .hero-redesigned {
            min-height: 350px;
        }
        
        .product-image-container {
            width: 70px;
            height: 70px;
        }
        
        .search-container-modern {
            padding: 6px;
        }
        
        .search-input-modern {
            font-size: 15px;
            padding: 10px 10px 10px 36px;
        }
        
        .product-card-modern {
            padding: 14px;
        }
        
        .product-card-modern h3 {
            font-size: 16px;
        }
        
        .product-card-modern p {
            font-size: 13px;
        }
    }
    /* Search Bar Styles - Smaller and Simpler */
.search-container-modern {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 9998;
}

.search-input-modern {
    height: 56px;
    padding: 0 20px 0 50px;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-input-modern:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
    font-size: 18px;
}

/* Autocomplete Results Container */
.autocomplete-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 99999;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: none;
}

.autocomplete-results:not(:empty) {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Individual Result Item */
.autocomplete-results li {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
    list-style: none;
}

.autocomplete-results li:last-child {
    border-bottom: none;
}

.autocomplete-results li:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.autocomplete-results li:hover a {
    color: #ffffff !important;
}

.autocomplete-results li:hover .search-result-category {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.autocomplete-results li:hover .search-result-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Result Link Styling */
.autocomplete-results a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1f2937;
    gap: 12px;
}

/* Result Image */
.search-result-image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    background: #f9fafb;
    padding: 4px;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
}

/* Result Content */
.search-result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-result-name {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    color: inherit;
}

.search-result-description {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Badge in Search Results */
.search-result-category {
    display: inline-block;
    padding: 2px 8px;
    background: #f3f4f6;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* No Results Message */
.no-results-message {
    padding: 20px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

/* Loading State */
.search-loading {
    padding: 20px;
    text-align: center;
    color: #6b7280;
}

.search-loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    border-top-color: #667eea;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scrollbar Styling */
.autocomplete-results::-webkit-scrollbar {
    width: 6px;
}

.autocomplete-results::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 3px;
}

.autocomplete-results::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.autocomplete-results::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Active state for keyboard navigation */
.autocomplete-results li.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.autocomplete-results li.active a {
    color: #ffffff !important;
}

.autocomplete-results li.active .search-result-description {
    color: rgba(255, 255, 255, 0.9);
}

.autocomplete-results li.active .search-result-category {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.sidebar-sticky {
    position: sticky;
    top: 20px;
}

.sidebar-card {
    background: var(--white, #ffffff);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

/* Sponsors Section */
.sponsors-section {
    padding: 20px;
}

.sponsors-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #2d2e4a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sponsor-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: linear-gradient(135deg, #f9fafb 0%, #e8fce8 100%);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    border: 1px solid rgba(34, 197, 94, 0.1);
    position: relative;
}

.sponsor-card:hover {
    background: linear-gradient(135deg, #f3f4f6 0%, #dcfce7 100%);
    transform: translateX(3px);
    opacity: 0.95;
    text-decoration: none;
    color: inherit;
}

.sponsor-logo {
    width: 56px;
    height: 56px;
    background: #ffffff;
    border-radius: 10px;
    padding: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sponsor-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #5a5ce6;
}

.sponsor-content {
    flex: 1;
    min-width: 0;
}

.sponsor-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.sponsor-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d2e4a;
    line-height: 1.2;
}

.sponsor-stars {
    display: flex;
    gap: 2px;
}

.sponsor-stars i {
    color: #fbbf24;
    font-size: 10px;
}

.sponsor-external {
    color: #707375;
    font-size: 11px;
    opacity: 0.6;
}

.sponsor-description {
    font-size: 0.8rem;
    color: #707375;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Submit CTA */
.submit-cta {
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(59, 130, 246, 0.1);
    text-align: center;
    padding: 20px;
}

.cta-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #5a5ce6, #4a4bd6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 20px;
    color: #ffffff;
}

.cta-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2d2e4a;
}

.cta-description {
    font-size: 0.8rem;
    color: #707375;
    margin-bottom: 16px;
    line-height: 1.4;
}

.btn-submit {
    background: linear-gradient(135deg, #5a5ce6, #4a4bd6);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(90, 92, 230, 0.25);
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar-sticky {
        position: relative;
        top: 0;
        margin-top: 40px;
    }
    
    .sponsor-card {
        padding: 12px;
    }
    
    .sponsor-logo {
        width: 48px;
        height: 48px;
    }
}