*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

body{
    background:#0f172a;
    color:white;
}

header{
    text-align:center;
    padding:50px 20px;
}

header h1{
    font-size:3rem;
    color:#38bdf8;
}

header p{
    margin:15px 0;
}

#search{
    width:300px;
    padding:12px;
    border:none;
    border-radius:10px;
}

.kost-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 30px;
    max-width: 1400px;
    margin: auto;
}

.kost-card{
    width:100%;
    background:#1e293b;
    border-radius:20px;
    overflow:hidden;
    transition:.3s;
}

.kost-card:hover{
    transform:translateY(-10px);
}

.kost-card img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.content{
    padding:20px;
}

.price{
    color:#38bdf8;
    font-weight:bold;
    margin:10px 0;
}

button{
    padding:10px 20px;
    border:none;
    border-radius:10px;
    background:#38bdf8;
    color:white;
    cursor:pointer;
}

.modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.7);
}

.modal-content{
    background:#1e293b;
    width:90%;
    max-width:500px;
    margin:100px auto;
    padding:25px;
    border-radius:20px;
}

.close{
    float:right;
    font-size:25px;
    cursor:pointer;
}

.wa-btn{
    margin-top:20px;
    width:100%;
}
.stats{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:30px;
}

.stat-box{
    background:#1e293b;
    padding:20px;
    border-radius:15px;
    min-width:180px;
    text-align:center;
}

.favorite{
    cursor:pointer;
    float:right;
    font-size:22px;
}

#themeBtn{
    margin-top:20px;
}

#toast{
    position:fixed;
    top:20px;
    right:20px;
    background:#22c55e;
    color:white;
    padding:15px 25px;
    border-radius:10px;
    opacity:0;
    transition:.4s;
}

.light-mode{
    background:#f8fafc;
    color:#0f172a;
}

.light-mode .kost-card,
.light-mode .modal-content,
.light-mode .stat-box{
    background:white;
    color:black;
}
.wave{
    height:100px;
    background:url("https://svgshare.com/i/14rS.svg");
    background-size:cover;
}
.glow{
    position:fixed;
    border-radius:50%;
    filter:blur(120px);
    z-index:-1;
}

.glow1{
    width:300px;
    height:300px;
    background:#38bdf8;
    top:-100px;
    left:-100px;
}

.glow2{
    width:250px;
    height:250px;
    background:#0ea5e9;
    bottom:-100px;
    right:-100px;
}
.badge{
    padding:5px 12px;
    border-radius:20px;
    font-size:12px;
}

.premium{
    background:linear-gradient(
        45deg,
        #38bdf8,
        #0ea5e9
    );
}
.kost-card.featured{
    transform:scale(1.05);
    border:2px solid #38bdf8;
}
.kost-card{
    animation:fadeUp .8s ease;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo-icon{

    width:55px;
    height:55px;

    border-radius:15px;

    background:linear-gradient(
        135deg,
        #38bdf8,
        #0ea5e9
    );

    display:flex;
    justify-content:center;
    align-items:center;

    color:white;
    font-size:24px;
}

.logo h2{
    margin:0;
    color:#38bdf8;
}

.logo small{
    color:#94a3b8;
    letter-spacing:2px;
}
footer{
    margin-top:80px;
    padding:30px 20px;

    text-align:center;

    background:rgba(255,255,255,0.1);

    backdrop-filter:blur(10px);

    border-top:2px solid #38bdf8;

    color:#fff;
}
.footer-line{
    width:120px;
    height:4px;

    margin:auto;
    margin-bottom:20px;

    border-radius:10px;

    background:linear-gradient(
        90deg,
        #38bdf8,
        #0ea5e9
    );
}

footer h3{
    color:#38bdf8;
    margin-bottom:10px;
}

footer p{
    color:#cbd5e1;
    margin:8px 0;
}

.footer-social{
    margin:20px 0;
}

.footer-social a{

    text-decoration:none;

    font-size:28px;

    margin:0 10px;

    transition:.3s;
}

.footer-social a:hover{

    transform:translateY(-5px);

    display:inline-block;
}
@media (max-width:768px){

    .kost-container{
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
    }

    .kost-card{
        max-width: 100%;
        margin: 0;
    }

    .kost-card img{
        height: 200px;
    }

    .content { padding: 16px; }
    .content h3 { font-size: 17px; }
    .content p  { font-size: 14px; }

    .price { font-size: 17px; }

    button { width: 100%; padding: 12px; font-size: 14px; border-radius: 8px; }

    #search {
        width: 95%;
        padding: 12px;
        font-size: 14px;
    }

    .logo {
        justify-content: center;
        margin-bottom: 12px;
    }

    header { padding: 28px 16px; }
    header p { font-size: 13px; }

    .stats {
        gap: 12px;
        padding: 0 16px;
        margin-bottom: 20px;
    }

    .stat-box {
        min-width: calc(50% - 8px);
        padding: 16px;
        border-radius: 12px;
    }

    .stat-box h2 { font-size: 22px; }
    .stat-box p  { font-size: 12px; }

    .modal-content {
        width: 95%;
        margin: 60px auto;
        padding: 20px;
        border-radius: 16px;
    }

    .modal-content h2 { font-size: 18px; }
    .modal-content p  { font-size: 14px; }

    footer { padding: 24px 16px; margin-top: 40px; }
    footer h3 { font-size: 18px; }

    .footer-social a { font-size: 22px; margin: 0 8px; }

    #toast { top: 12px; right: 12px; padding: 10px 16px; font-size: 13px; }
}

@media (max-width: 480px) {
    .kost-container { padding: 12px; gap: 12px; }
    .kost-card img  { height: 170px; }
    .logo h2 { font-size: 18px; }
    header p { font-size: 12px; }
}