/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --blue-dark: #001f4d;
    --blue-light: #003366;
    --gold-solid: #ffd700;
    --gold-accent: #f5deb3;
    --bg-body: #050505; /* Hitam pekat agar kontras */
    --text-white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-white);
    user-select: none;
    /* Corak halus di background */
    background-image: radial-gradient(circle at 50% 0%, rgba(0, 31, 77, 0.3) 0%, transparent 50%);
}

/* --- HEADER ROYAL BLUE --- */
.nav-container {
    background: linear-gradient(135deg, #001f4d 0%, #003366 100%);
    border-bottom: 2px solid var(--gold-solid);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
}
.nav-content {
    max-width: 1200px; margin: 0 auto; padding: 15px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; text-align: center;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px; font-weight: 700; color: var(--gold-solid);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    width: 100%; margin-bottom: 10px;
}
@media (min-width: 768px) { .logo { width: auto; margin-bottom: 0; } }

.nav-buttons { display: flex; gap: 10px; justify-content: center; }
.btn-nav {
    padding: 10px 24px; border-radius: 25px; font-weight: 600; font-size: 13px;
    cursor: pointer; border: none; transition: 0.3s; display: inline-flex;
    align-items: center; gap: 8px; text-decoration: none; text-transform: uppercase;
}
.btn-login { background: transparent; border: 2px solid var(--gold-solid); color: var(--gold-solid); }
.btn-login:hover { background: var(--gold-solid); color: var(--blue-dark); }
.btn-daftar { background: linear-gradient(135deg, var(--gold-solid), #b8860b); color: var(--blue-dark); box-shadow: 0 0 15px rgba(255, 215, 0, 0.4); }
.btn-daftar:hover { transform: translateY(-2px); }
.btn-livechat { background: #25D366; color: white; }

/* --- BANNER --- */
.slider-box { max-width: 1200px; margin: 20px auto; padding: 0 10px; border-radius: 15px; overflow: hidden; border: 2px solid rgba(255, 215, 0, 0.3); position: relative; }
.slider-inner { display: flex; transition: 0.6s; }
.slide { min-width: 100%; height: 200px; background-size: cover; background-position: center; background-color: #111; }
@media (min-width: 768px) { .slide { height: 280px; } }
.slider-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.6); color: var(--gold-solid); border: 1px solid var(--gold-solid); width: 35px; height: 35px; border-radius: 50%; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; }
.prev { left: 10px; } .next { right: 10px; }

/* --- CONTENT --- */
.main-content { max-width: 1200px; margin: 0 auto; padding: 20px 10px; }
.section-title { text-align: center; margin: 30px 0 20px; font-family: 'Playfair Display', serif; color: var(--gold-solid); font-size: 24px; }

.provider-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 30px; }
.prov-btn { background: #111; border: 1px solid #333; padding: 10px 20px; border-radius: 8px; color: #ccc; cursor: pointer; transition: 0.3s; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.prov-btn i { color: var(--gold-solid); }
.prov-btn:hover { background: #222; border-color: var(--gold-solid); color: #fff; }
.prov-btn.active { background: var(--gold-solid); color: var(--blue-dark); border-color: var(--gold-solid); box-shadow: 0 0 15px rgba(255, 215, 0, 0.4); }
.prov-btn.active i { color: var(--blue-dark); }

/* --- GAME LIST PREMIUM --- */
.game-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
@media (min-width: 500px) { .game-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .game-list { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .game-list { grid-template-columns: repeat(5, 1fr); } }

.game-card {
    background: linear-gradient(145deg, #111, #0a0a0a);
    border: 1px solid #222;
    border-radius: 12px; overflow: hidden; transition: 0.3s; position: relative;
}
.game-card:hover { transform: translateY(-5px); border-color: var(--gold-solid); box-shadow: 0 10px 25px rgba(0,0,0,0.5); }

.g-img { height: 100px; width: 100%; background-size: cover; background-position: center; background-color: #222; position: relative; }
@media (min-width: 768px) { .g-img { height: 120px; } }
/* Shine effect */
.g-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%); background-size: 200%; background-position: -100%; }
.game-card:hover .g-img::after { animation: shine 0.7s; }
@keyframes shine { from { background-position: 200%; } to { background-position: -100%; } }

.g-name { font-size: 12px; font-weight: 600; padding: 8px; text-align: center; color: #fff; }

.rtp-box { padding: 0 10px 12px; }
.progress-bg { background: #000; height: 6px; border-radius: 3px; overflow: hidden; margin-bottom: 5px; }
.progress-bar { height: 100%; width: 0%; background: #444; transition: width 1s; border-radius: 3px; }
.progress-bar.high { background: var(--gold-solid); box-shadow: 0 0 10px var(--gold-solid); }
.rtp-val { text-align: center; font-weight: 700; font-size: 13px; color: #fff; }
.badge-gacor { position: absolute; top: 8px; right: 8px; background: #ff4757; color: white; padding: 3px 8px; border-radius: 4px; font-size: 9px; font-weight: bold; z-index: 5; animation: pulse 2s infinite; }

/* --- FOOTER PREMIUM (FIXED LAYOUT) --- */
.main-footer {
    background: linear-gradient(135deg, #001f4d 0%, #003366 100%);
    color: #f5deb3; padding: 50px 20px; margin-top: 50px;
    position: relative; overflow: hidden; border-top: 3px solid var(--gold-solid);
}
.footer-pattern {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at top left, rgba(255, 215, 0, 0.15) 20%, transparent 70%);
    pointer-events: none; z-index: 0;
}
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; position: relative; z-index: 1; }
.footer-col { flex: 1; min-width: 280px; }

/* Title Style */
.footer-title { 
    border-bottom: 3px solid #ffd700; padding-bottom: 10px; margin-bottom: 20px; 
    font-weight: 700; color: #ffd700; font-size: 18px; text-transform: uppercase; letter-spacing: 1px;
}

/* Info List (Tentang Kami) - CLEAN LOOK */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { 
    display: flex; align-items: flex-start; margin-bottom: 12px; font-size: 14px; line-height: 1.5; 
    border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 8px;
}
.info-list li:last-child { border-bottom: none; }
.info-label { 
    min-width: 120px; font-weight: 600; color: #fff; margin-right: 10px; 
}
.info-val { color: #f5deb3; }

/* Links Style */
.footer-links { list-style: none; padding: 0; font-size: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #f5deb3; text-decoration: none; transition: 0.3s; display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: #ffd700; padding-left: 5px; }
.footer-links a i { color: var(--gold-solid); font-size: 12px; }

/* Contact Style */
.contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; font-size: 14px; }
.contact-item i { color: var(--gold-solid); font-size: 18px; width: 20px; text-align: center; }

.footer-badge-container { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 15px; }
.footer-badge {
    background: transparent; border: 1.5px solid #ffd700; padding: 8px 18px;
    border-radius: 20px; font-size: 12px; font-weight: 600; color: #ffd700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4); transition: 0.3s; cursor: default;
}
.footer-badge:hover { background: #ffd700; color: #001f4d; }

.footer-copyright { text-align: center; margin-top: 40px; font-size: 13px; color: #c2b280; position: relative; z-index: 1; border-top: 1px solid rgba(255,215,0,0.2); padding-top: 20px; }

.float-wa { position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: white; z-index: 999; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.5); text-decoration: none; }