* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
    background: #0D0F10;
    color: #FFFFFF;
    overflow-x: hidden;
}

.browse-wrapper {
    width: 100%;
    min-height: 100vh;
    padding-top: 90px;
}

.hero-search {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.05));
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
    pointer-events: none;
}

.hero-search-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-search-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 2.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #3B82F6, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-bar-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(26, 29, 31, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
}

.search-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A9ADB1;
    flex-shrink: 0;
}

.search-icon svg {
    width: 22px;
    height: 22px;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 1rem;
    font-size: 1rem;
    color: #FFFFFF;
    font-family: inherit;
}

.search-input:focus {
    outline: none;
}

.search-input::placeholder {
    color: #6B7280;
}

.search-btn {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border: none;
    border-radius: 50px;
    padding: 0.85rem 2rem;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    flex-shrink: 0;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.popular-searches {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.popular-label {
    font-size: 0.9rem;
    color: #6B7280;
    font-weight: 500;
}

.popular-searches a {
    font-size: 0.9rem;
    color: #A9ADB1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-searches a:hover {
    color: #3B82F6;
}

.section-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #FFFFFF;
}

.see-all-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #3B82F6;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.see-all-link:hover {
    gap: 0.75rem;
}

.see-all-link svg {
    width: 16px;
    height: 16px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: rgba(26, 29, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.category-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 0.9rem;
    color: #6B7280;
}

.gigs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gig-card {
    background: rgba(26, 29, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.gig-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.gig-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.gig-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gig-card:hover .gig-image img {
    transform: scale(1.05);
}

.gig-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

[dir="rtl"] .gig-badge {
    right: auto;
    left: 0.75rem;
}

.gig-badge.pro {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: #FFFFFF;
}

.gig-badge.trending {
    background: rgba(239, 68, 68, 0.9);
    color: #FFFFFF;
}

.gig-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gig-seller {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.seller-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.seller-info {
    flex: 1;
}

.seller-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
    display: block;
    margin-bottom: 0.15rem;
}

.seller-level {
    font-size: 0.75rem;
    color: #6B7280;
}

.gig-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gig-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: auto;
    padding-bottom: 1rem;
}

.rating-stars {
    font-size: 0.9rem;
    font-weight: 700;
    color: #F59E0B;
}

.rating-count {
    font-size: 0.85rem;
    color: #6B7280;
}

.gig-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gig-likes {
    cursor: pointer;
    transition: transform 0.2s ease;
    padding: 0.25rem;
}

.gig-likes:hover {
    transform: scale(1.1);
}

.gig-likes svg {
    width: 18px;
    height: 18px;
    color: #6B7280;
    transition: all 0.3s ease;
}

.gig-likes:hover svg {
    color: #EF4444;
}

.gig-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

[dir="rtl"] .gig-price {
    align-items: flex-start;
}

.price-from {
    font-size: 0.75rem;
    color: #6B7280;
    text-transform: uppercase;
}

.price-amount {
    font-size: 1.1rem;
    font-weight: 800;
    color: #FFFFFF;
}

.trending-section {
    background: rgba(13, 15, 16, 0.3);
}

.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.05));
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content {
    text-align: center;
    background: rgba(26, 29, 31, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 4rem 3rem;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: #A9ADB1;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .gigs-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .browse-wrapper {
        padding-top: 75px;
    }

    .hero-search {
        padding: 3rem 0 4rem;
    }

    .hero-search-container {
        padding: 0 1.5rem;
    }

    .search-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .search-icon {
        width: 40px;
        height: 40px;
    }

    .search-input {
        width: 100%;
        padding: 0.75rem 1rem;
        text-align: center;
    }

    .search-btn {
        width: 100%;
        border-radius: 12px;
    }

    .popular-searches {
        flex-direction: column;
        gap: 0.75rem;
    }

    .section-container {
        padding: 3rem 1.5rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .category-card {
        padding: 1.5rem 1rem;
    }

    .category-icon {
        font-size: 2.5rem;
    }

    .gigs-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cta-content {
        padding: 3rem 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-search-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 2.5rem 1.5rem;
    }

    .search-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}