/* Prevent scroll when modal open */
body.modal-open{
    overflow:hidden;
}

/* SECTION */
.advert-section{
    padding:60px 0;
    background:linear-gradient(135deg,#0a3d62,#0c2461);
    color:#fff;
    overflow:hidden;
}

.section-title{
    text-align:center;
    font-size:30px;
    font-weight:700;
    margin-bottom:40px;
    color:#f1c40f;
}

/* SLIDER */
.scroller-container{
    overflow:hidden;
    position:relative;
}

.scroller{
    display:flex;
    gap:25px;
    animation: scroll 35s linear infinite;
}

.scroller:hover{
    animation-play-state:paused;
}

@keyframes scroll{
    from { transform:translateX(0); }
    to { transform:translateX(-50%); }
}

/* CARD */
.ad-card{
    min-width:250px;
    height:300px;
    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(10px);
    border-radius:18px;
    padding:15px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,0.25);
    cursor:pointer;
    transition:0.3s ease;
    position:relative;
}

.ad-card:hover{
    transform:translateY(-8px);
}

/* Featured glow */
.ad-card.featured{
    border:2px solid #f1c40f;
    box-shadow:0 0 20px rgba(241,196,15,0.8);
}

/* Image */
.ad-card img{
    width:100%;
    height:140px;
    object-fit:cover;
    border-radius:12px;
}

/* Verified Badge */
.verified{
    position:absolute;
    top:10px;
    left:10px;
    background:#27ae60;
    padding:5px 10px;
    font-size:11px;
    border-radius:20px;
    color:#fff;
}

/* Rating */
.rating{
    color:#f39c12;
    font-size:14px;
    margin:5px 0;
}

/* MODAL */
.modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.6);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transition:0.4s;
    z-index:999;
}

.modal.active{
    opacity:1;
    visibility:visible;
}

.modal-content{
    background:#fff;
    width:90%;
    max-width:500px;
    border-radius:15px;
    padding:25px;
    text-align:center;
    transform:translateY(-40px);
    opacity:0;
    transition:0.4s;
    position:relative;
}

.modal.active .modal-content{
    transform:translateY(0);
    opacity:1;
}

.modal-content img{
    width:100%;
    height:200px;
    object-fit:cover;
    border-radius:12px;
}

.close{
    position:absolute;
    right:15px;
    top:10px;
    font-size:22px;
    cursor:pointer;
}

/* WhatsApp Button */
.whatsapp-btn{
    margin-top:15px;
    padding:12px;
    width:100%;
    border:none;
    background:#25D366;
    color:#fff;
    font-size:16px;
    border-radius:8px;
    cursor:pointer;
}