/*
Theme Name: Oren-Juara-Dunia-2026
Theme URI: https://orenjuaradunia.com
Author: Admin
Author URI: https://orenjuaradunia2028.com
Description: Custom Theme converted from HTML for Betgede Slot Online.
Version: 1.6.0 (Overlay & Click Fix)
Text Domain: betgede
*/

/* ==========================================================================
   1. RESET & BASIC STYLES
   ========================================================================== */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

*, :after, :before { box-sizing: inherit; }

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    box-sizing: border-box;
    height: 100%;
}

body {
    margin: 0;
    color: #eaeaea;
    background: #0b0014; /* Deep Purple Default */
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: .1px;
    font-family: 'Lato', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Links */
a {
    background-color: transparent;
    text-decoration: none;
    color: #df9225;
    transition: all .2s linear;
}

a:active, a:focus, a:hover {
    outline: 0;
    color: #fff;
}

strong { font-weight: 700; color: #df9225; }
i { font-style: italic; }

img, amp-img, amp-anim {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0;
}

/* ==========================================================================
   2. INPUTS & FORMS
   ========================================================================== */

input {
    color: inherit;
    font: inherit;
    margin: 0;
    line-height: normal;
}

input[type=button], input[type=reset], input[type=submit], button {
    -webkit-appearance: button;
    appearance: button;
    cursor: pointer;
    border: 1px solid #df9225;
    border-radius: 4px;
    background: #df9225;
    padding: .6em 1em .4em;
    color: #fff;
    font-weight: bold;
}

input[type=email], input[type=password], input[type=search], 
input[type=tel], input[type=text], input[type=url] {
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: .75em;
    background: #fafafa;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

input:focus { outline: 2px solid #df9225; }

/* ==========================================================================
   3. LAYOUT & GRID SYSTEM
   ========================================================================== */

.sticky { display: block; height: 140px; } /* Spacer Header */
.page-content>:last-child { margin-bottom: 0; }

.container {
    max-width: 1170px;
    width: 100%;
    margin: auto;
    padding: 0 10px;
}

.row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.col-sm-2 {
    flex: 0 0 15.9%;
    max-width: 15.9%;
    margin: 5px 4px;
}

.col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* ==========================================================================
   4. COMPONENTS & MODULES
   ========================================================================== */

/* Typography Custom */
h1, h2, h3, .page-title {
    color: #df9225;
    line-height: 1.2;
    margin: 15px 0px;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
}
h1 { font-size: 28px; }
h2 { font-size: 24px; }

/* Icons */
.svg-menu {
    height: 20px;
    width: 20px;
    display: inline-block;
    background-size: 18px;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.svg-content {
    display: inline-block;
    width: 25px;
    height: 20px;
    background-size: 21px;
    background-repeat: no-repeat;
}
/* Icon Classes (Fallback) */
.svg-whatsapp { background-image: url("images/icon/icon-whatsapp.svg"); }
.svg-telegram { background-image: url("images/icon/icon-telegram.svg"); }
.svg-livechat { background-image: url("images/icon/icon-livechat.svg"); }
.svg-gift { background-image: url("images/icon/icon-gift.svg"); }
.svg-gacor { background-image: url("images/icon/icon-gacor.svg"); }
.svg-new { background-image: url("images/icon/icon-new.svg"); }
.svg-populer { background-image: url("images/icon/icon-populer.svg"); }
.svg-livechat-gray { background-image: url("images/icon/icon-livechat-gray.svg"); }

/* Section Title */
.title-row {
    margin: 21px auto;
    border-bottom: 3px solid #df9225;
    border-left: 5px solid #df9225;
    font-size: 19px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    color: #e5ff00;
    text-shadow: 0 0 5px rgba(229, 255, 0, 0.3);
}

/* Game Containers */
.bg-rounded, .ct-rounded {
    padding: 15px;
    background: #170029; /* Ungu Medium */
    border: 3px solid #df9225;
    margin: 10px auto;
    border-radius: 12px;
}

/* ==========================================================================
   5. HEADER STYLES
   ========================================================================== */

.header {
    width: 100%;
    z-index: 999999;
    position: fixed;
    background: #191919;
    top: 0;
    left: 0;
}

/* Top Header (Contact & Login) */
.top-header {
    height: 40px;
    background: #160026;
    border-bottom: 1px solid #3d005e;
}

.top-left { float: left; width: 40%; display: flex; align-items: center; height: 100%; }
.top-right { float: right; width: 60%; display: flex; justify-content: flex-end; align-items: center; height: 100%; }

.contact-us li {
    display: inline-block;
    margin-right: 20px;
    line-height: normal;
}
.contact-us li a {
    color: #e5ff00; /* Kuning Neon */
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Nav Bar (Logo & Menu) */
.nav-bar {
    background: linear-gradient(to bottom, #660099 0%, #3d005c 100%);
    border-top: 1px solid #2b2b2b;
    border-bottom: 1px solid #8a2be2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.nav-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 90px;
}

.site-logo img { max-height: 70px; width: auto; object-fit: contain; }

/* Desktop Menu */
.main-menu { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.main-menu li { position: relative; display: block; }
.main-menu li a {
    font-size: 13px;
    font-weight: 800;
    font-family: 'Lato', sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}
.main-menu li a:hover {
    color: #e5ff00;
    text-shadow: 0 0 10px rgba(229, 255, 0, 0.5);
    background: rgba(0,0,0,0.2);
}
.main-menu i { display: block; margin-bottom: 5px; width: 25px; height: 25px; background-size: contain; }

/* Login Buttons (Universal Style) */
.login-buttons, .login-mobile { padding: 0; margin: 0; list-style: none; display: flex; align-items: center; }
.login-buttons li, .login-mobile li {
    margin-left: 5px;
    padding: 0;
    background: none; border: none; /* Reset */
}
.login-buttons li a, .login-mobile li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}
.login-buttons li a:hover, .login-mobile li a:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
    color: #000;
}

/* Default Colors (Fallback if Customizer not used) */
.login-buttons .login a, .login-mobile .login a {
    background: #e5ff00; color: #000; border: 1px solid #c4da00;
}
.login-buttons .daftar a, .login-mobile .daftar a {
    background: #3e0066; color: #fff; border: 1px solid #660099;
}

/* ==========================================================================
   6. MAIN CONTENT & GAMES GRID
   ========================================================================== */

.slide { margin-bottom: 17px; }
.jackpot img { display: block; margin: 0 auto; border-radius: 9px; }

/* Game Box Desktop */
.ct-rounded .col-sm-2 {
    background: transparent;
    padding: 2px;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.ct-rounded .col-sm-2:hover {
    transform: translateY(-5px);
    z-index: 10;
}

.game-wrapper {
    position: relative;
    background: #240040;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.image-wrapper img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.game-wrapper:hover img { transform: scale(1.1); }

.title-games {
    font-size: 12px;
    padding: 8px 5px;
    color: #fff;
    text-align: center;
    background: #170029;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */

.footer { width: 100%; background: #0a0012; border-top: 2px solid #660099; padding-bottom: 20px; }
.disclaimer { border-top: 1px dotted #333; }
.footer-title, .col-title { font-size: 15px; color: #e5ff00; margin: 20px auto; font-weight: bold; }

.col-border {
    border: 1px solid #3d005e;
    border-radius: 7px;
    background: #130021;
    padding: 10px;
    margin-bottom: 20px;
}

.site-footer-wrapper { margin-bottom: 20px; text-align: center; }
.copyright { text-align: center; font-size: 13px; color: #888; padding: 10px 0; }

/* Livechat Desktop Floating */
.menu-livechat-menu-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}
.quick-footer { list-style: none; }
.quick-footer a {
    background: #e5ff00; color: #000;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}
.quick-footer a:hover { transform: translateY(-5px); background: #fff; }

/* Mobile Floating Menu (Hidden on Desktop) */
.menu-contact-floating-container { display: none; }

/* ==========================================================================
   8. RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */

@media only screen and (min-width: 769px) {
    .mobile { display: none !important; }
}

@media only screen and (max-width: 768px) {
    .desktop { display: none !important; }
    .mobile { display: block !important; }

    /* RESET FILTER GELAP (SOLUSI LAYAR GELAP - FIX UTAMA) */
    .page-content, body { filter: none !important; opacity: 1 !important; }

    /* Header Mobile */
    .header { height: 70px; background: #151515; }
    .sticky { height: 70px; }
    .nav-bar { border: 0 !important; background: #160026 !important; }
    .nav-bar .container { justify-content: center !important; min-height: 70px; position: relative; padding: 0 15px !important; }
    
    .site-logo { position: static; margin: 0 auto; }
    .site-logo img { max-height: 45px; }

    /* HAMBURGER BUTTON */
    input.tg { display: none !important; }
    .deploy-sidebar {
        position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
        width: 40px; height: 36px; background: transparent; border: 2px solid #df9225;
        border-radius: 6px; cursor: pointer; z-index: 100;
        display: flex; flex-direction: column; justify-content: center; align-items: center;
    }
    .deploy-sidebar::before {
        content: ""; display: block; width: 22px; height: 2px;
        background: #fff; box-shadow: 0 6px 0 #fff, 0 -6px 0 #fff;
    }

    /* OVERLAY (FIX LAYAR AGAR BISA DIKLIK)
       Trik: Defaultnya display none dan pointer-events: none agar klik tembus.
       Hanya aktif saat menu dibuka.
    */
    .sidebar-overlay {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.7); z-index: 99990;
        display: none !important; 
        opacity: 0;
        pointer-events: none; /* Klik tembus */
    }
    
    /* SIDEBAR (Menu Geser) */
    .page-sidebar {
        background: #1a1a1a; width: 280px; height: 100%;
        position: fixed; top: 0; right: -290px; z-index: 99999;
        transition: right 0.3s; border-left: 1px solid #df9225;
        overflow-y: auto; box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    
    /* Logic Saat Menu Terbuka */
    #side-opener:checked ~ .page-sidebar { right: 0 !important; }
    #side-opener:checked ~ .sidebar-overlay { 
        display: block !important; 
        opacity: 1; 
        pointer-events: auto; /* Baru bisa diklik saat menu buka */
        cursor: pointer;
    }
    
    /* Sidebar Content */
    .sidebar-header { padding: 15px 20px; border-bottom: 1px solid #333; display: flex; justify-content: space-between; align-items: center; background: #111; }
    .sidebar-title { color: #fff; font-weight: bold; }
    .close-sidebar-btn { font-size: 28px; color: #888; cursor: pointer; }
    .page-sidebar ul { list-style: none; padding: 0; }
    .page-sidebar li a { display: block; padding: 15px 25px; color: #ddd; border-bottom: 1px solid #333; font-weight: 700; }
    .page-sidebar li a:hover { color: #df9225; background: #222; }

    /* TOMBOL DAFTAR/LOGIN MOBILE (BESAR) */
    .menu-login-menu-container { width: 100%; padding: 5px 10px; box-sizing: border-box; }
    .login-mobile { display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 0; }
    .login-mobile li { flex: 1; }
    .login-mobile li a { width: 100%; height: 45px; font-size: 16px; font-weight: 800; color: #000; }
    .login-mobile .daftar a { color: #fff; }

    /* GRID GAMES MOBILE */
    .row { justify-content: space-between; margin: 0; }
    .col-sm-2 { flex: 0 0 32%; max-width: 32%; margin-bottom: 10px; }

    /* MENU BAWAH (HORIZONTAL KESAMPING FIX) */
    .menu-livechat-menu-container { display: none; }
    .footer { padding-bottom: 60px; }
    
    .menu-contact-floating-container {
        display: block !important;
        position: fixed; bottom: 0; left: 0; width: 100%; height: 60px;
        background: #160026; border-top: 2px solid #e5ff00; z-index: 999999;
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    /* Paksa Flex Horizontal */
    ul.contact-floating {
        display: flex !important;
        flex-direction: row !important; /* WAJIB ROW UNTUK KE SAMPING */
        justify-content: space-around !important;
        align-items: center !important;
        width: 100%; height: 100%; margin: 0; padding: 0; list-style: none;
    }
    
    ul.contact-floating li {
        flex: 1 !important; /* Bagi lebar rata */
        display: flex !important; justify-content: center; align-items: center;
        border-right: 1px solid rgba(255,255,255,0.05); margin: 0;
    }
    
    ul.contact-floating li a {
        display: flex !important; flex-direction: column !important; 
        align-items: center; justify-content: center;
        font-size: 10px; color: #bd9cd6; width: 100%; height: 100%;
        text-decoration: none;
    }
    ul.contact-floating li a:active, ul.contact-floating li a:hover { color: #e5ff00; }
    ul.contact-floating i { width: 22px; height: 22px; margin-bottom: 4px; display: block; }
}

/* 9. ALIGNMENTS */
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }