* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a0a;
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ========== ROOT CONTAINER - WEBSITE BACKGROUND ========== */
#root {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    filter: blur(4px) brightness(0.4);
    pointer-events: none;
    user-select: none;
    transition: all 0.5s ease;
}

/* Saat popup ditutup, background website menjadi normal */
body.popup-closed #root {
    filter: blur(0) brightness(1);
    pointer-events: auto;
    user-select: auto;
}

/* ========== STYLE WEBSITE UTAMA (BIRU NEON) ========== */

/* Topbar */
.topbar {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border-bottom: 1px solid #00bfff;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.topbar-left {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.topbar-item {
    color: #00bfff;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.topbar-item i {
    font-size: 16px;
}

.topbar-item a {
    color: #00bfff;
    text-decoration: none;
}

.login-panel {
    display: flex;
    gap: 15px;
    align-items: center;
}

.login-panel a {
    color: #00bfff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    transition: 0.3s;
    cursor: pointer;
}

.login-panel a:first-child {
    border: 1px solid #00bfff;
    background: transparent;
}

.login-panel a:last-child {
    background: linear-gradient(135deg, #00bfff, #0080ff);
    color: #fff;
}

/* Site Header */
.site-header {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #333;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: 0.3s;
    font-size: 14px;
    cursor: pointer;
}

.nav-menu a:hover, .nav-menu a.active {
    background: linear-gradient(135deg, #00bfff, #0080ff);
    color: #fff;
}

/* Banner Carousel */
.banner-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-slide {
    display: none;
    width: 100%;
}

.banner-slide.active {
    display: block;
}

.banner-slide img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

/* Jackpot Section */
.jackpot-section {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    margin: 20px;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #00bfff;
}

.jackpot-value {
    font-size: 32px;
    font-weight: bold;
    color: #00bfff;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

/* Announcement */
.announcement {
    background: rgba(0,0,0,0.7);
    margin: 20px;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #00bfff;
}

.announcement h4 {
    color: #00bfff;
    margin-bottom: 10px;
}

.announcement p {
    color: #aaa;
    font-size: 13px;
}

/* Games Section */
.games-section {
    padding: 20px;
}

.section-title {
    font-size: 24px;
    color: #00bfff;
    margin-bottom: 20px;
    text-align: center;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.game-card {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #333;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: #00bfff;
}

.game-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.game-card .game-name {
    padding: 10px;
    color: #fff;
    font-size: 12px;
}

/* Provider Card */
.provider-card {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border-radius: 10px;
    padding: 30px 0;
    text-align: center;
    color: #00bfff;
    font-weight: bold;
    transition: 0.3s;
    border: 1px solid #333;
    cursor: pointer;
}

.provider-card:hover {
    transform: translateY(-5px);
    border-color: #00bfff;
    background: linear-gradient(135deg, #2a2a2a, #1d1d1d);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    padding: 30px 20px;
    margin-top: 30px;
    border-top: 1px solid #00bfff;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    color: #00bfff;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
}

.footer-col ul li a:hover {
    color: #00bfff;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 12px;
}

/* ========== FLOATING POPUP (LAYAR DEPAN) ========== */
.floating-popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: visible;
    opacity: 1;
    transition: all 0.3s ease;
}

.floating-popup-container.hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.popup-card {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid #00bfff;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 191, 255, 0.3);
    width: 90%;
    max-width: 450px;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.banner-img {
    width: 100%;
    display: block;
}

.site-title {
    color: #00bfff;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
    padding: 16px;
    margin: 0;
}

.btn-group {
    display: flex;
    gap: 12px;
    padding: 0 16px 16px;
}

.btn {
    flex: 1;
    height: 48px;
    line-height: 48px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-register {
    background: linear-gradient(135deg, #00bfff, #0080ff);
    color: #fff;
}

.btn-login {
    background: transparent;
    border: 2px solid #00bfff;
    color: #00bfff;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.info-table {
    width: calc(100% - 32px);
    background: #111;
    border-radius: 12px;
    border: 1px solid #00bfff;
    overflow: hidden;
    margin: 0 16px 16px;
}

.info-row {
    display: flex;
    border-bottom: 1px solid #333;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    padding: 12px;
    width: 40%;
    font-weight: bold;
    color: #00bfff;
}

.info-value {
    padding: 12px;
    width: 60%;
    color: #fff;
}

.popup-footer {
    text-align: center;
    font-size: 12px;
    color: #aaa;
    padding: 16px;
}

.popup-footer span {
    color: #00bfff;
}

.close-popup-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: #00bfff;
    border: 1px solid #00bfff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 1001;
}

.close-popup-btn:hover {
    background: #00bfff;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .topbar, .site-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-menu {
        justify-content: center;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .close-popup-btn {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}