/* RESET & BASIC STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #ffffff;
    background-color: #0b0718;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

/* BACKGROUND FULLSCREEN */
.bg-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/background/ghek.jpg'); /* Ganti dengan link atau nama file foto kamu */
    background-size: cover;
    background-position: center;
    z-index: -2;
    /* Tambahkan efek kecerahan langsung pada foto */
    filter: brightness(1.2) contrast(1.05); 
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Ubah tingkat kegelapan overlay agar jauh lebih transparan/terang */
    background: radial-gradient(circle, rgba(15, 7, 34, 0.3) 0%, rgba(5, 2, 12, 0.6) 100%);
    z-index: -1;
}

/* NAVBAR */
.navbar {
    background: rgba(18, 10, 36, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    transition: background 0.3s;
}

.logo-wrapper:hover {
    background: rgba(255, 255, 255, 0.05);
}

.logo-full-img {
    height: 45px; /* Sesuaikan tinggi logo agar pas di navbar */
    width: auto;
    object-fit: contain;
}

.brand-title {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.gold-text {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.logo-hint {
    display: block;
    font-size: 0.7rem;
    color: #a0a0a0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-item {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-item:hover {
    color: #ffd700;
}

/* BUTTONS */
.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700, #ff8800);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #8a2be2, #4a00e0);
    color: #fff;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid #ffd700;
    color: #ffd700;
}

.btn-outline:hover {
    background: rgba(255, 215, 0, 0.1);
}

.btn-large {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.btn-full {
    width: 100%;
}

/* BANNER SLIDER */
.banner-section {
    margin: 30px 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.banner-slider {
    position: relative;
    height: 320px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.banner-caption h2 {
    color: #ffd700;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.banner-dots {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #ffd700;
}

/* GLASS CARD & RANDOMIZER */
.glass-card {
    background: rgba(25, 15, 45, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    margin-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.badge {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.section-header h2 {
    font-size: 2rem;
    margin: 10px 0;
}

.section-header p {
    color: #b0b0b0;
    font-size: 0.95rem;
}

.randomizer-box {
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 14px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    outline: none;
}

.input-group input:focus {
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.result-display {
    min-height: 180px;
    background: rgba(10, 5, 20, 0.8);
    border: 2px dashed rgba(255, 215, 0, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    padding: 20px;
    text-align: center;
}

.placeholder-state {
    color: #808080;
}

.placeholder-state i {
    margin-bottom: 10px;
}

.game-result-card {
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.game-provider-tag {
    color: #ffd700;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.game-title {
    font-size: 1.8rem;
    margin: 8px 0;
}

.rtp-badge {
    display: inline-block;
    background: #00c853;
    color: #000;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.player-info-text {
    color: #a0a0a0;
    font-size: 0.85rem;
}

/* PROVIDERS */
/* Judul Section Provider */
/* SECTION PROVIDER GAME */
.providers-section {
    margin: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 25px;
    color: #ffd700;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.4), 2px 2px 4px #000;
}

/* LAYOUT GRID (4 KOLOM BERSAMPINGAN) */
.provider-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Menjadikan 4 kolom sejajar */
    gap: 20px;
}

/* KARTU PROVIDER TERKUSTOMISASI RAPI */
.provider-card {
    background: linear-gradient(145deg, #160a2c, #0a0415);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 24px 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.provider-card:hover {
    transform: translateY(-6px);
    border-color: #ffd700;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.25);
    background: linear-gradient(145deg, #1f0d3d, #0d051c);
}

/* IKON EFEK GLOW */
.provider-card i {
    color: #ffd700;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
}

/* TEKS JUDUL PROVIDER */
.provider-card h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

/* TEKS DESKRIPSI GAME */
.provider-card p {
    font-size: 0.82rem;
    color: #d1d1d1;
    line-height: 1.4;
    font-weight: 400;
}

/* RESPONSIVE DESIGN UNTUK LAYAR KECIL / HP */
@media (max-width: 992px) {
    .provider-grid {
        grid-template-columns: repeat(2, 1fr); /* Layar tablet: 2 kolom */
    }
}

@media (max-width: 576px) {
    .provider-grid {
        grid-template-columns: repeat(2, 1fr); /* Layar HP: 2 kolom agar tetap rapi */
        gap: 12px;
    }
    .provider-card {
        padding: 16px 10px;
    }
    .provider-card h4 {
        font-size: 0.95rem;
    }
    .provider-card p {
        font-size: 0.75rem;
    }
}

/* FOOTER */
footer {
    background: rgba(10, 5, 20, 0.95);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    text-align: center;
    color: #707070;
    font-size: 0.9rem;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #150c2a;
    border: 1px solid #ffd700;
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #a0a0a0;
}

.close-btn:hover {
    color: #fff;
}

.modal h3 {
    margin-bottom: 20px;
    color: #ffd700;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #332050;
    background: #0a0514;
    color: #fff;
    outline: none;
}

.form-group input:focus {
    border-color: #ffd700;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: block;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.contact-item.wa { background: #25D366; }
.contact-item.tg { background: #0088cc; }
.contact-item.lc { background: #ff8800; }

/* ANIMATION */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Can be expanded for mobile drawer */
    }
    .banner-slider {
        height: 200px;
    }
    .banner-caption h2 {
        font-size: 1.2rem;
    }
}/* PENGATURAN KHUSUS TAMPILAN HP */
@media screen and (max-width: 768px) {
    body {
        padding: 0;
        margin: 0;
    }

    .container {
        padding: 0 12px;
        width: 100%;
    }

    /* Menyesuaikan ukuran kotak utama di HP */
    .glass-card {
        padding: 20px 15px;
        margin-top: 15px;
        border-radius: 12px;
    }

    /* Ukuran Judul di HP */
    .section-header h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .section-header p {
        font-size: 0.85rem;
    }

    /* Menyesuaikan ukuran logo di navbar HP */
    .logo-full-img {
        height: 38px;
    }

    /* Tombol agar pas di layar HP */
    .btn-large {
        padding: 12px;
        font-size: 1rem;
    }
}/* MEMASTIKAN HALAMAN PAS DI LAYAR HP (TIDAK LEBAR / TIDAK ZOOM OUT) */
@media screen and (max-width: 768px) {
    body {
        width: 100%;
        overflow-x: hidden;
    }
    
    .container {
        width: 100% !important;
        padding: 0 8px !important;
    }

    .glass-card {
        width: 100% !important;
        margin: 10px auto !important;
        padding: 15px 10px !important;
        box-sizing: border-box;
    }

    .navbar .container {
        padding: 0 10px !important;
    }
}