*{
    box-sizing:border-box;
}

body{
    font-family:Arial,sans-serif;
    background:#f5f7fb;
    margin:0;
    padding:0;
    color:#071b33;
}

/* NAVBAR */

.main-navbar{
    background:#4b136b;
    padding:14px 0;
}

/* HERO */

.hero-section{
    background:#efe7f6;
    padding:65px 0 45px;
}

.hero-title{
    font-size:52px;
    font-weight:700;
    margin-bottom:15px;
}

.hero-subtitle{
    font-size:20px;
    margin-bottom:25px;
}

/* SEARCH */

.search-box{
    background:#fff;
    padding:18px;
    border-radius:16px;
    box-shadow:0 2px 15px rgba(0,0,0,0.08);
}

.search-input{
    height:50px;
}

.search-btn{
    height:50px;
    border-radius:10px;
}

/* AJAX SEARCH */

#searchResult{
    position:absolute;
    left:0;
    top:55px;
    background:#fff;
    width:100%;
    z-index:9999;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,0.15);
    overflow:hidden;
}

.search-item{
    padding:12px 15px;
    border-bottom:1px solid #eee;
    cursor:pointer;
}

.search-item:hover{
    background:#f3f3f3;
}

/* CATEGORY SLIDER */

.category-slider-section{
    padding:45px 0;
    background:#f5f7fb;
}

.section-header h2{
    font-size:34px;
    font-weight:700;
    margin-bottom:18px;
}

.slider-wrapper{
    display:flex;
    align-items:center;
    gap:12px;
    width:100%;
}

.category-slider{
    display:flex !important;
    flex-direction:row !important;
    gap:20px;
    overflow-x:auto;
    scroll-behavior:smooth;
    width:100%;
    padding:12px 5px 25px;
    scrollbar-width:none;
    white-space:nowrap;
}

.category-slider::-webkit-scrollbar{
    display:none;
}

.category-slide-card{
    min-width:260px;
    max-width:260px;
    flex:0 0 260px;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 4px 18px rgba(0,0,0,0.10);
}

.category-slide-card img{
    width:100%;
    height:150px;
    object-fit:cover;
    display:block;
    background:#eee;
}

.slide-content{
    padding:15px;
    white-space:normal;
}

.slide-content h4{
    margin:0 0 6px;
    font-size:20px;
    font-weight:700;
}

.slide-content p{
    margin:0;
    color:#666;
    font-size:15px;
}

.slide-btn{
    flex:0 0 42px;
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:#fff;
    box-shadow:0 2px 12px rgba(0,0,0,0.25);
    z-index:5;
    font-size:28px;
    line-height:1;
    cursor:pointer;
}

/* FOOTER */

.footer-area{
    background:#4b136b;
    color:#fff;
    padding:20px 0;
    margin-top:30px;
}

/* MOBILE */

@media(max-width:768px){

    .hero-section{
        padding:35px 0;
    }

    .hero-title{
        font-size:34px;
    }

    .hero-subtitle{
        font-size:17px;
    }

    .search-box{
        padding:14px;
    }

    .category-slide-card{
        min-width:220px;
        max-width:220px;
        flex:0 0 220px;
    }

    .category-slide-card img{
        height:130px;
    }

    .slide-btn{
        display:none;
    }

    .section-header h2{
        font-size:28px;
    }
}

/* FRIEND ZONE BUTTON */

.friend-zone-btn{
    height:50px;
    background:linear-gradient(135deg,#ff4d6d,#ff758f);
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    text-decoration:none;
    color:#fff;
    padding:0 16px;
    box-shadow:0 4px 15px rgba(255,77,109,0.35);
    transition:.3s;
}

.friend-zone-btn:hover{
    transform:translateY(-2px);
    color:#fff;
}

.heart-icon{
    font-size:20px;
    animation:pulseHeart 1.5s infinite;
}

.friend-text{
    display:flex;
    flex-direction:column;
    line-height:1.1;
}

.friend-text small{
    font-size:11px;
    opacity:.9;
}

.friend-text strong{
    font-size:15px;
    font-weight:700;
}

@keyframes pulseHeart{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.18);
    }

    100%{
        transform:scale(1);
    }
}