/* bukanhum666n */
/* Palette: Red (#cc0000), Gold (#ffd700), Deep Red (#800000), Deep Gold (#b8860b) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #0d0000;
    color: #ffffff;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Header */
.header {
    background: linear-gradient(180deg, #800000 0%, #0d0000 100%);
    border-bottom: 2px solid #b8860b;
    padding: 12px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Logo Animation */
.logo-box {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.main-logo {
    max-width: 200px;
    height: auto;
    transition: transform 0.4s ease;
    display: block;
}

.logo-box:hover .main-logo {
    transform: scale(1.08);
}

.logo-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 100%;
    height: 200%;
    background: linear-gradient(60deg, transparent 30%, rgba(255, 215, 0, 0.6) 50%, transparent 70%);
}

.logo-box:hover::after {
    animation: shine 0.8s ease-in-out;
}

@keyframes shine {
    0% { left: -150%; }
    100% { left: 150%; }
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn {
    padding: 8px 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid #ffd700;
}

.btn-red {
    background: linear-gradient(180deg, #cc0000 0%, #800000 100%);
    color: #ffffff;
}

.btn-gold {
    background: linear-gradient(180deg, #ffd700 0%, #b8860b 100%);
    color: #000000;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

/* Banner */
.banner-section {
    margin: 15px 0;
    text-align: center;
}

.center-banner {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #b8860b;
}

/* Clock Widget */
.clock-widget {
    text-align: center;
    margin: 10px 0 20px 0;
}

.clock-box {
    display: inline-block;
    background: linear-gradient(180deg, #800000 0%, #0d0000 100%);
    border: 1px solid #ffd700;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* SEO Text */
.seo-text {
    text-align: center;
    margin-bottom: 20px;
}

.seo-text h1 {
    color: #ffd700;
    font-size: 20px;
    margin-bottom: 5px;
}

.seo-text p {
    font-size: 13px;
    color: #dddddd;
}

/* Grid Pasaran Rapat/Compact */
.section-title {
    color: #ffd700;
    text-align: center;
    border-bottom: 2px solid #cc0000;
    padding-bottom: 8px;
    margin-bottom: 15px;
    font-size: 18px;
}

.grid-pasaran {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.card-pasaran {
    background: linear-gradient(145deg, #1f0000, #380000);
    border: 1px solid #b8860b;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.6);
}

.pasaran-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 6px;
}

.pasaran-icon-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 5px;
}

.pasaran-title-box h3 {
    color: #ffd700;
    font-size: 15px;
    font-weight: bold;
}

.schedule-info {
    font-size: 10px;
    color: #cccccc;
}

.schedule-info span {
    color: #ffd700;
}

/* Prediction Box Details */
.prediksi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background-color: #080000;
    border: 1px dashed #cc0000;
    padding: 8px;
    border-radius: 6px;
    font-size: 11px;
}

.pred-item {
    background-color: rgba(128, 0, 0, 0.2);
    padding: 4px 6px;
    border-radius: 3px;
    border-left: 2px solid #ffd700;
}

.pred-item.full-width {
    grid-column: span 2;
}

.pred-item label {
    color: #b8860b;
    font-weight: bold;
    display: block;
    font-size: 10px;
    text-transform: uppercase;
}

.pred-item span {
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.shio-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shio-img {
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #ffd700;
}

/* Footer */
.footer {
    background-color: #050000;
    border-top: 2px solid #800000;
    text-align: center;
    padding: 15px 0;
    font-size: 12px;
    color: #b8860b;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .grid-pasaran {
        grid-template-columns: 1fr; /* 1 Kolom bersih di mobile agar jarak rapat & tulisan jelas */
        gap: 10px;
    }

    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .action-buttons {
        justify-content: center;
        width: 100%;
    }

    .btn {
        flex: 1 1 40%;
        text-align: center;
    }
}
/* bukanhum666n - Shining & Animation Card Pasaran */
.card-pasaran {
    background: linear-gradient(145deg, #1f0000, #380000);
    border: 1px solid #b8860b;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden; /* Menjaga efek kilau tidak meluap keluar kartu */
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Efek Hover: Card Sedikit Naik dan Border Menjadi Lebih Terang */
.card-pasaran:hover {
    transform: translateY(-4px);
    border-color: #ffd700;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

/* Elemen Garis Kilau (Shining Line) */
.card-pasaran::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 215, 0, 0.25) 50%,
        transparent 70%
    );
    transform: rotate(25deg);
    animation: cardShine 4s infinite ease-in-out;
    pointer-events: none; /* Mencegah kendala klik pada elemen di dalamnya */
}

/* Keyframes untuk Menggerakkan Efek Kilau Secara Otomatis */
@keyframes cardShine {
    0% {
        left: -150%;
    }
    20% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}
/* bukanhum666n - Floating Livechat Button Styling */
.floating-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #ffd700 0%, #b8860b 100%);
    color: #000000;
    padding: 10px 16px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
    animation: pulseChat 2s infinite;
}

.floating-chat:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.8);
    color: #000000;
}

.chat-icon {
    width: 20px;
    height: 20px;
    fill: #000000;
    flex-shrink: 0;
}

/* Animasi Denyut Emas */
@keyframes pulseChat {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

/* Penyesuaian Responsif Layar Mobile (HP) */
@media (max-width: 480px) {
    .floating-chat {
        bottom: 15px;
        right: 15px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .chat-icon {
        width: 18px;
        height: 18px;
    }
}
/* bukanhum666n - Responsif Mobile Menu Full Width */
@media (max-width: 768px) {
    /* Mengatur kontainer tombol navigasi di mobile */
    .nav-buttons, 
    .header-buttons, 
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 8px;
        padding: 0 10px;
    }

    /* Mengatur tombol 2 kolom atas (Daftar, Login, Alternatif, Livechat) */
    .btn-nav {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }

    /* Khusus Tombol HOT! Live Slot mengambil 1 baris penuh */
    .btn-hot-live {
        flex: 1 1 100% !important;
        width: 100% !important;
        text-align: center;
        justify-content: center;
        padding: 10px 0;
        margin-top: 2px;
        box-sizing: border-box;
    }
}
/* bukanhum666n - Styling Tombol HOT! Live Slot */
.btn-hot-live {
    position: relative;
    background: linear-gradient(135deg, #ff0000 0%, #ff6600 100%);
    color: #ffffff !important;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    border: 1px solid #ffcc00;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.2s ease;
    
    /* Menerapkan Animasi Kedip Glowing & Pulse */
    animation: hotBlink 1.2s infinite alternate;
}

.btn-hot-live:hover {
    transform: scale(1.05);
    color: #ffffff;
}

/* Badge Teks "HOT!" di Dalam Tombol */
.hot-badge {
    background-color: #ffcc00;
    color: #000000;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 900;
    text-transform: uppercase;
    animation: badgeFlash 0.6s infinite alternate;
}

/* Keyframes Animasi Kedip Berpendar (Blinking Effect) */
@keyframes hotBlink {
    0% {
        background: linear-gradient(135deg, #ff0000 0%, #ff6600 100%);
        box-shadow: 0 0 5px #ff0000;
    }
    50% {
        background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
        box-shadow: 0 0 15px #ff0000, 0 0 25px #ffcc00;
    }
    100% {
        background: linear-gradient(135deg, #ff3300 0%, #ff9900 100%);
        box-shadow: 0 0 8px #ffcc00;
    }
}

/* Keyframes Kedip Badge HOT! */
@keyframes badgeFlash {
    from {
        opacity: 1;
    }
    to {
        opacity: 0.4;
    }
}
/* bukanhum666n - Responsif Mobile Menu Full Width */
@media (max-width: 768px) {
    /* Mengatur kontainer tombol navigasi di mobile */
    .nav-buttons, 
    .header-buttons, 
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 8px;
        padding: 0 10px;
    }

    /* Mengatur tombol 2 kolom atas (Daftar, Login, Alternatif, Livechat) */
    .btn-nav {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }

    /* Khusus Tombol HOT! Live Slot mengambil 1 baris penuh */
    .btn-hot-live {
        flex: 1 1 100% !important;
        width: 100% !important;
        text-align: center;
        justify-content: center;
        padding: 10px 0;
        margin-top: 2px;
        box-sizing: border-box;
    }
}