:root {
    --primary: #ffd000; /* Oranye sesuai tema */
    --dark: #000000;
    --dark-2: #111111;
    --accent-orange: #ffa703;
    --text-light: #ffffff;
    --text-muted: #cccccc;
    --bg-body: #f4f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-image: linear-gradient(rgba(0, 0, 0, 0.563), rgba(0, 0, 0, 0.563)), url('https://veldrive.com/uxfQ3sfN/RAJACUAN/banner-maxwin-rajacuan.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }



/* ===== BACKGROUND CANVAS FIREWORK (TRANSPARAN) ===== */
#fireworks-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* ===== BACKGROUND METEOR SHOWER ===== */
#meteor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Background bintang / partikel */
.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, var(--primary), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, #e65c00, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 90px 40px, #d45300, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 130px 80px, var(--primary), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 160px 120px, #ff8233, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.4;
    animation: twinkle 5s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.2; }
    100% { opacity: 0.6; }
}

.meteor {
    position: absolute;
    top: -10vh; 
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary), 0 0 20px #e65c00, 0 0 30px #ff8233;
    animation: animateMeteor linear infinite;
}

.meteor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 120px;
    height: 1.5px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

/* Animasi Jatuh Diagonal - Diperlambat & Lebih Smooth */
@keyframes animateMeteor {
    0% {
        transform: translateX(0) translateY(0) rotate(215deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        /* Kurangi jarak agar tidak terlalu jauh (tetap full screen) */
        transform: translateX(1200px) translateY(800px) rotate(215deg); 
        opacity: 0;
    }
}

/* 10 Cara Bermain - 5 Kiri 5 Kanan Lurus Kebawah */
.play-guide-section {
    background: #ff6c0020;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 108, 0, 0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    margin-bottom: 40px;
}

.play-guide-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(255, 108, 0, 0.15);
}

.play-guide-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 30px;
    align-items: start;
}

.play-guide-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.play-guide-card {
    background: rgba(0, 0, 0, 0.40);
    padding: 16px 18px;
    border-radius: 10px;
    border-left: 4px solid #ff6c0020;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    min-height: 85px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.play-guide-card:hover {
    background: rgba(255, 108, 0, 0.06);
    border-left-color: #ff6c0020;
    transform: translateX(4px);
    box-shadow: 0 8px 25px rgba(255, 108, 0, 0.08);
}

.play-guide-number {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #e65c00;
    background: rgba(255, 108, 0, 0.10);
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 4px;
    border: 1px solid rgba(255, 108, 0, 0.15);
    width: fit-content;
}

.play-guide-card h4 {
    color: #ffffff;
    font-size: 15px;
    margin: 4px 0 3px;
    font-weight: 700;
}

.play-guide-card p {
    color: #d4c8b8;
    font-size: 12.5px;
    line-height: 1.5;
    margin: 0;
}

/* Responsive: jadi 1 kolom di HP */
@media (max-width: 768px) {
    .play-guide-grid-2col {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .play-guide-section {
        padding: 25px 15px;
    }
    .play-guide-title {
        font-size: 22px;
    }
    .play-guide-card {
        min-height: auto;
        padding: 14px 15px;
    }
}

@media (max-width: 480px) {
    .play-guide-card h4 {
        font-size: 14px;
    }
    .play-guide-card p {
        font-size: 12px;
    }
}