/* bukanhum666n */
/* Palette: Yellow (#ffea00), Gold (#ffd700), Deep Yellow (#ccaa00), Black (#000000) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #030303;
    color: #ffffff;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Header */
.header {
    background: linear-gradient(180deg, #1a1700 0%, #030303 100%);
    border-bottom: 2px solid #ccaa00;
    padding: 12px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Logo Animation (Hover Blinking, Shaking & Shining) */
.logo-box {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.main-logo {
    max-width: 200px;
    height: auto;
    transition: transform 0.3s ease;
    display: block;
}

.logo-box:hover .main-logo {
    transform: scale(1.08);
    animation: shaking 0.3s ease-in-out infinite, logoBlink 0.6s ease-in-out infinite alternate;
}

.logo-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 100%;
    height: 200%;
    background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.8) 50%, transparent 70%);
}

.logo-box:hover::after {
    animation: shine 0.8s ease-in-out;
}

@keyframes shine {
    0% { left: -150%; }
    100% { left: 150%; }
}

@keyframes shaking {
    0% { transform: translate(0, 0) scale(1.08); }
    20% { transform: translate(-2px, 2px) scale(1.08); }
    40% { transform: translate(-2px, -2px) scale(1.08); }
    60% { transform: translate(2px, 2px) scale(1.08); }
    80% { transform: translate(2px, -2px) scale(1.08); }
    100% { transform: translate(0, 0) scale(1.08); }
}

@keyframes logoBlink {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.4) drop-shadow(0 0 10px #ffea00); }
}

/* Buttons & Navigation Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn, .btn-nav {
    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;
    position: relative;
    overflow: hidden;
}

.btn-red {
    background: linear-gradient(180deg, #ccaa00 0%, #997a00 100%);
    color: #ffffff;
}

.btn-gold {
    background: linear-gradient(180deg, #ffea00 0%, #ffd700 100%);
    color: #000000;
}

.btn:hover, .btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 234, 0, 0.6);
    animation: shaking 0.3s ease-in-out infinite, btnBlink 0.6s ease-in-out infinite alternate;
}

.btn::after, .btn-nav::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 100%;
    height: 200%;
    background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
    pointer-events: none;
}

.btn:hover::after, .btn-nav:hover::after {
    animation: shine 0.8s ease-in-out;
}

@keyframes btnBlink {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.3); }
}

/* Banner Section & Animation */
.banner-section {
    margin: 15px 0;
    text-align: center;
    position: relative;
    width: 100%;
    display: inline-block;
    overflow: hidden;
}

.center-banner {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #ccaa00;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-section:hover .center-banner {
    animation: shaking 0.3s ease-in-out infinite, bannerBlink 0.6s ease-in-out infinite alternate;
    box-shadow: 0 0 20px rgba(255, 234, 0, 0.7);
}

.banner-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 100%;
    height: 200%;
    background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
    pointer-events: none;
}

.banner-section:hover::after {
    animation: shine 0.8s ease-in-out;
}

@keyframes bannerBlink {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.3) contrast(1.1); }
}

/* Clock Widget */
.clock-widget {
    text-align: center;
    margin: 10px 0 20px 0;
}

.clock-box {
    display: inline-block;
    background: linear-gradient(180deg, #1a1700 0%, #030303 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 (Full Black dengan Efek Blinking, Shaking, & Silver Shining) */
.section-title {
    color: #ffd700;
    text-align: center;
    border-bottom: 2px solid #ccaa00;
    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: #000000;
    border: 1px solid #ccaa00;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Efek Hover: Shaking, Blinking, dan Border Lebih Terang */
.card-pasaran:hover {
    border-color: #ffea00;
    box-shadow: 0 6px 20px rgba(255, 234, 0, 0.4);
    animation: shaking 0.3s ease-in-out infinite, cardBlink 0.6s ease-in-out infinite alternate;
}

/* Efek Kilau (Shining) Silver yang Diperlamat (6 detik) */
.card-pasaran::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    transform: rotate(25deg);
    animation: cardShine 6s infinite ease-in-out;
    pointer-events: none;
}

@keyframes cardShine {
    0% { left: -150%; }
    30% { left: 150%; }
    100% { left: 150%; }
}

@keyframes cardBlink {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.25); }
}

.pasaran-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 234, 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 (Full Black Background) */
.prediksi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background-color: #000000;
    border: 1px dashed #ccaa00;
    padding: 8px;
    border-radius: 6px;
    font-size: 11px;
}

.pred-item {
    background-color: #000000;
    padding: 4px 6px;
    border-radius: 3px;
    border: 1px solid #332b00;
    border-left: 2px solid #ffd700;
}

.pred-item.full-width {
    grid-column: span 2;
}

.pred-item label {
    color: #ccaa00;
    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: #030303;
    border-top: 2px solid #ccaa00;
    text-align: center;
    padding: 15px 0;
    font-size: 12px;
    color: #ccaa00;
}

/* Floating Livechat Button */
.floating-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #ffea00 0%, #ffd700 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, 234, 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, 234, 0, 0.8);
    color: #000000;
}

.chat-icon {
    width: 20px;
    height: 20px;
    fill: #000000;
    flex-shrink: 0;
}

@keyframes pulseChat {
    0% { box-shadow: 0 0 0 0 rgba(255, 234, 0, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(255, 234, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 234, 0, 0); }
}

/* Styling Tombol HOT! Live Slot */
.btn-hot-live {
    position: relative;
    background: linear-gradient(135deg, #ffea00 0%, #ccaa00 100%);
    color: #000000 !important;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    border: 1px solid #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.2s ease;
    animation: hotBlink 1.2s infinite alternate;
}

.btn-hot-live:hover {
    transform: scale(1.05);
    color: #000000;
}

.hot-badge {
    background-color: #000000;
    color: #ffea00;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 900;
    text-transform: uppercase;
    animation: badgeFlash 0.6s infinite alternate;
}

@keyframes hotBlink {
    0% {
        background: linear-gradient(135deg, #ffea00 0%, #ccaa00 100%);
        box-shadow: 0 0 5px #ffea00;
    }
    50% {
        background: linear-gradient(135deg, #ffd700 0%, #997a00 100%);
        box-shadow: 0 0 15px #ffea00, 0 0 25px #ccaa00;
    }
    100% {
        background: linear-gradient(135deg, #fff266 0%, #ffd700 100%);
        box-shadow: 0 0 8px #ffea00;
    }
}

@keyframes badgeFlash {
    from { opacity: 1; }
    to { opacity: 0.4; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-buttons, 
    .header-buttons, 
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 8px;
        padding: 0 10px;
    }

    .btn-nav {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .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;
    }

    .grid-pasaran {
        grid-template-columns: 1fr;
        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;
    }
}

@media (max-width: 480px) {
    .floating-chat {
        bottom: 15px;
        right: 15px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .chat-icon {
        width: 18px;
        height: 18px;
    }
}