*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#f5f5f5;
    color:#222;
}

header{
    background:linear-gradient(135deg,#111,#333);
    color:white;
    min-height:100vh;
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 10%;
}
.nav-right{
    display:flex;
    align-items:center;
    gap:10px;
    margin-left:auto;
}

.mini-info{
    display:flex;
    gap:10px;
}

.logo{
    font-size:28px;
    font-weight:bold;
    color:#ffd700;
    display:flex;
    flex-direction:column;
    line-height:1.2;
}

.logo span{
    font-size:12px;
    font-weight:normal;
    color:#ddd;
}

.btn{
    background:#ffd700;
    color:#111;
    padding:12px 22px;
    border-radius:10px;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
}

.btn:hover{
    transform:translateY(-3px);
}

.hero{
    text-align:center;
    padding:120px 20px;
}

.hero h1{
    font-size:55px;
    margin-bottom:20px;
}

.hero p{
    max-width:700px;
    margin:auto;
    margin-bottom:30px;
    line-height:1.7;
}

.section{
    padding:80px 10%;
}

.section h2{
    text-align:center;
    margin-bottom:50px;
    font-size:38px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:white;
    padding:30px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card h3{
    margin-bottom:15px;
}

.dark{
    background:#1f1f1f;
    color:white;
}

.dark .card{
    background:#2b2b2b;
}

.voucher img{
    width:100%;
    border-radius:10px;
    margin-bottom:15px;
}

.cart{
    position:fixed;
    right:20px;
    bottom:20px;
    background:#ffd700;
    width:65px;
    height:65px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
    cursor:pointer;
    z-index:999;
}

.cart-menu{
    position:fixed;
    right:20px;
    bottom:95px;
    background:white;
    width:300px;
    border-radius:18px;
    padding:20px;
    box-shadow:0 5px 25px rgba(0,0,0,0.2);
    opacity:0;
    visibility:hidden;
    transform:translateY(20px) scale(0.95);
    transition:0.3s;
    z-index:999;
}

.cart-menu.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0) scale(1);
}

.cart-menu a{
    display:block;
    padding:12px;
    background:#f5f5f5;
    margin-bottom:10px;
    border-radius:10px;
    text-decoration:none;
    color:#111;
    font-weight:bold;
}

footer{
    background:#111;
    color:#aaa;
    text-align:center;
    padding:20px;
}

.trouble-table{
    width:100%;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.trouble-head,
.trouble-row{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
}

.trouble-head{
    background:#ffd700;
    font-weight:bold;
}

.trouble-head div,
.trouble-row div{
    padding:20px;
    border:1px solid #eee;
}

.trouble-row{
    background:white;
}

.problem{
    font-weight:bold;
}

.tutorial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:25px;
}

.tutorial-card{
    background:white;
    color:#222;
    padding:30px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    transition:0.3s;
}

.tutorial-card:hover{
    transform:translateY(-8px);
}

.step-number{
    width:60px;
    height:60px;
    margin:auto;
    margin-bottom:20px;
    border-radius:50%;
    background:#ffd700;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    font-weight:bold;
}

.tutorial-card img{
    width:100%;
    max-height:400px;
    object-fit:contain;
    border-radius:15px;
    margin-bottom:20px;
}

img{
    max-width:100%;
}

.pay-button{
    position:fixed;
    right:20px;
    bottom:100px;
    width:60px;
    height:60px;
    border-radius:50%;
    background:#00c853;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    text-decoration:none;
    box-shadow:0 5px 20px rgba(0,0,0,0.2);
    z-index:999;
}

.nav-right{
    display:flex;
    align-items:center;
    gap:10px;
    margin-left:auto;
}

.mini-info{
    display:flex;
    gap:10px;
}

.mini-info > div{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:160px;
    padding:10px 12px;
    background:#ffd700;
    border-radius:10px;
    font-weight:bold;
    color:#111;
    box-shadow:0 3px 10px rgba(0,0,0,0.15);
    transition:0.3s;
}

.mini-info > div:hover{
    transform:translateY(-3px);
}

.logo{
    display:flex;
    flex-direction:column;
    line-height:1.2;
}

.logo-main{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:28px;
    font-weight:bold;
    color:#ffd700;
}

.logo-main::before{
    content:"📶";
    font-size:22px;
    animation: pulse 1.5s infinite;
}

.logo span{
    font-size:12px;
    font-weight:normal;
    color:#ddd;
}

@keyframes pulse{
    0%{ opacity:0.6; transform:scale(1); }
    50%{ opacity:1; transform:scale(1.1); }
    100%{ opacity:0.6; transform:scale(1); }
}

/* =========================
   DNS PRIBADI TITLE & WARNING
========================= */

.dns-title{
    font-size:26px !important;
    line-height:1.3;
    padding:0 10px;
}

.dns-warning{
    display:inline-block;
    background:#ffd700;
    color:#111;
    font-weight:bold;
    font-size:15px;
    padding:12px 24px;
    border-radius:10px;
    max-width:90%;
    line-height:1.5;
    text-align:center;
    word-break:break-word;
}

/* =========================
   FIX TROUBLE TABLE MOBILE
========================= */

@media (max-width: 768px){

    nav{
        display:flex;
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
        flex-wrap:wrap;
        padding:15px;
    }

    .logo{
        font-size:18px;
        flex-shrink:0;
    }

    .hero h1{
        font-size:38px;
    }

    .section{
        padding:60px 20px;
    }

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

    .card{
        padding:25px;
    }

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

    .cart-menu{
        width:92%;
        right:4%;
        bottom:90px;
    }

    .cart{
        width:58px;
        height:58px;
        font-size:26px;
    }

    .pay-button{
        width:58px;
        height:58px;
        font-size:24px;
        bottom:90px;
    }

    .trouble-head,
    .trouble-row{
        grid-template-columns: 1fr;
    }

    .trouble-head{
        display:none;
    }

    .trouble-row{
        display:block;
        margin-bottom:15px;
        border-radius:12px;
        overflow:hidden;
    }

    .trouble-row div{
        display:block;
        width:100%;
        padding:12px;
        border:1px solid #eee;
    }

    .problem{
        background:#ffd700;
        padding:12px;
        font-weight:bold;
    }

    .dns-title{
        font-size:22px !important;
    }

    .dns-warning{
        font-size:13px;
        padding:10px 16px;
        max-width:100%;
    }
}

@media(max-width:480px){
    .mini-info > div{
        width:140px;
        font-size:10px;
    }

    .dns-title{
        font-size:20px !important;
    }

    .dns-warning{
        font-size:12px;
        padding:10px 12px;
    }
}
