:root {
    --bg: #f5f7fb;
    --card: #ffffff;
    --primary: #2d8cff;
    --muted: #7b8a93;
    --vip: #ffd966;
    --danger: #ff4d4f;
    --border-radius: 10px;
    --shadow: 0 6px 12px rgba(0,0,0,0.08);
    --font: 'Inter', 'Segoe UI', Roboto, sans-serif;
}
body{font-family:Arial,sans-serif; margin:0; background:#f4f6f9; color:#333;}
.container{max-width:1000px; margin:20px auto; padding:0 10px;}
.container1{max-width:1200px; margin:20px auto; padding:0 10px;}
.header{display:flex; justify-content:space-between; align-items:center; background:#fff; padding:15px 20px; border-radius:8px; box-shadow:0 4px 12px rgba(0,0,0,0.05); margin-bottom:20px;}
.header h1{margin:0; font-size:1.8em;}
.header div a, .header div span{margin-left:10px; color:#555; text-decoration:none;}
.header div a:hover{color:#2d8cff;}
form.search-form {
    display: flex;
    justify-content: center;   /* center the whole form */
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

/* Smaller inputs */
form.search-form input,
form.search-form select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #c8c8c8;
    background: #f7f7f7;
    font-size: 13px;
    height: 32px;
    max-width: 600px;       /* LIMIT WIDTH — this makes them smaller */
    width: 100%;
}

/* Button */
form.search-form button {
    padding: 6px 16px;
    background: #2d8cff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    height: 32px;
    cursor: pointer;
    white-space: nowrap;
}

/* Mobile layout */
@media(max-width:600px){
    form.search-form {
        flex-direction: column;
        align-items: center;
    }
    form.search-form input,
    form.search-form select,
    form.search-form button {
        max-width: 300px;
        width: 100%;
    }
}
form {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    align-items: center;
}

/* Smaller inputs */
form input,
form select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #c8c8c8;
    background: #f7f7f7;
    font-size: 13px;
    height: 34px;
    transition: 0.25s;
}

/* Hover + Focus */
form input:hover,
form select:hover {
    border-color: #b0b0b0;
}

form input:focus,
form select:focus {
    border-color: #2d8cff;
    background: #fff;
    box-shadow: 0 0 5px rgba(45,140,255,0.25);
    outline: none;
}

/* Smaller button */
form button {
    padding: 6px 16px;
    background: #2d8cff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    height: 34px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.25s;
}

/* Button hover */
form button:hover {
    background: #1a6dd8;
}

/* Mobile */
@media(max-width:600px){
    form {
        flex-direction: column;
    }
    form button {
        width: 100%;
    }
}

/* --- Listing cards --- */
.listing{display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:20px;}
.card{background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 4px 12px rgba(0,0,0,0.05); transition:0.3s; display:flex; flex-direction:column;}
.card:hover{transform:translateY(-4px); box-shadow:0 6px 20px rgba(0,0,0,0.1);}
.card.vip{border:2px solid #ffbb00;}
.card img{width:100%; height:180px; object-fit:cover;}
.card h3{margin:12px 15px 0; font-size:1.2em;}
.card h3 a{text-decoration:none; color:#2d8cff;}
.card h3 a:hover{text-decoration:underline;}
.card .small{font-size:0.85em; color:#777; margin:5px 15px;}
.card p{margin:10px 15px 15px; font-size:0.95em; color:#555; flex:1;}

/* --- Pagination --- */
.pagination{margin-top:30px; text-align:center; font-size:1em;}
.pagination a{display:inline-block; padding:8px 12px; margin:0 4px; background:#fff; border-radius:6px; border:1px solid #ccc; text-decoration:none; color:#333;}
.pagination a:hover{background:#2d8cff; color:#fff;}
.ad-slider {
    max-width: 30%;
    position: relative;
    margin: auto;
    margin-top: 20px;
}

.ad-slide {
    display: none;
}

.ad-slide img {
    width: 100%;
    border-radius: 6px;
}

/* Arrows */
.ad-prev, .ad-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: bold;
    user-select: none;
}

.ad-prev { left: 0; }
.ad-next { right: 0; }

/* Dots */
.ad-dots {
    text-align: center;
    padding: 10px 0;
}

.ad-dot {
    height: 12px;
    width: 12px;
    margin: 0 4px;
    display: inline-block;
    border-radius: 50%;
    background-color: #bbb;
    cursor: pointer;
}

.active-dot {
    background-color: #555;
}

/* Fade effect */
.fade {
    animation: fadeEffect 1s ease-in-out;
}

@keyframes fadeEffect {
    from { opacity: 0.4; }
    to { opacity: 1; }
}
/* ===== NAVBAR ===== */

.home-logo {
    text-align: center;        /* center on page */
    margin: 60px 0 40px 0;     /* spacing from top/below */
}

.home-logo img {
    max-width: 500px;          /* responsive size */
    width: 190%;
    height: auto;              /* maintain aspect ratio */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hover effect */
.home-logo img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}
@media(max-width:600px){
    .home-logo img {
        max-width: 180px;
    }
}
.home-logo img {
    box-shadow: 0 6px 20px #f4f6f9(0,0,0,0.3);
    border-radius: 12px; /* optional rounded corners */
}
.beta-alert {
    width: auto;
    background: #ffeb3b;
    color: #222;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 2px solid #e0c900;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeSlide 0.4s ease-out;
}

.close-alert {
    cursor: pointer;
    font-size: 18px;
    padding-left: 20px;
    font-weight: bold;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}