/*
|--------------------------------------------------------------------------
| style.css - Enhanced for Attractive & Dynamic Look (Dark/Gold Theme)
|--------------------------------------------------------------------------
| Fokus pada: Visual Hierarchy, Hover Effects, dan Konsistensi Dark Mode
|
*/

@import url('https://fonts.googleapis.com/css2?family=Abel&family=Oswald&family=Ubuntu:wght@400;500;700&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html, body {
    font-family: 'Ubuntu', sans-serif;
    color: var(--text-color);
    font-size: var(--text-size-default);
    background: var(--primary-background);
}

/* -----------------------------------------------------------
| 1. SIDE NAVIGATION (KONTAK)
|----------------------------------------------------------- */

#mySidenav {
	position:fixed;
	top: 180px;
	right:100px;
	z-index: 999;
}

#mySidenav div#nav {
	position:absolute; 
	font-size: 20px;
	border-radius: 0 5px 5px 0;
	left: 36px;
	transition: 0.3s;
	display: flex;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
}
#mySidenav div#nav:hover {
    left: -138px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5); 
}

#kontak-title{
	width:189px; 
	margin-bottom: 10px; 
	border-radius:0px 4px 0px 0px; 
	padding-top:22px; 
	text-align:center; 
	height: 83px;
	line-height: 18px;
	background: var(--primary-theme-color, #000); 
    color: var(--highlight-text-color, #FFD700); 
    border-bottom: 2px solid var(--highlight-text-color, #FFD700);
}
#kontak-content{
	width: 190px; 
	padding:5px 10px 8px 10px; 
	font-size: 15px;
    background-color: var(--reverse-theme-color, #FFF); 
    color: var(--primary-theme-color, #000); 
}

/* -----------------------------------------------------------
| 2. UTILITY & BUTTONS
|----------------------------------------------------------- */
.abel {
    font-family: 'Abel', sans-serif;
}

.btn-black{
	font-size: .8rem;
	width:100%;
	cursor:pointer;
	font-weight: bold;
	padding: 10px 8px;
	color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid var(--text-color, #FFF); 
}

.btn-black:hover {
    color: var(--reverse-text-color);
    background:  var(--primary-color); 
    transform: translateY(-2px); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.btn-masuk {
    background: var(--button-masuk-color, #007bff)!important;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
.btn-masuk:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.4);
    filter: brightness(1.1);
}

.btn-daftar {
    background: var(--highlight-text-color, #FFD700)!important;
    color: var(--primary-theme-color, black); 
    font-weight: 700;
    box-shadow: 0 3px 6px rgba(255, 215, 0, 0.4); 
    transition: all 0.3s ease;
}
.btn-daftar:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 8px rgba(255, 215, 0, 0.6);
    filter: brightness(1.1);
}

.btn-promosi {
    background: linear-gradient(60deg, #b08432, #cfbe87, #b08432);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: gradient 2s ease infinite;
    border: 1px solid var(--highlight-text-color, #FFD700); 
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* -----------------------------------------------------------
| 3. LAYOUT & GRID (Wrapper, Header, Menu)
|----------------------------------------------------------- */

.menuleft {
	margin: 0px auto 0px;
	display: flex;
	flex-direction: column;
}

.menuleft > ul{
	padding: 0px;
	margin: 0px;
	list-style: none;
}

.wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
    "header"
    "devider"
    "marquee"
    "contentdata"
    "togel-desktop"
    "provider"
    "transaksi"
    "guidelines"
    "bantuan"
    "footer"
}

.wrapper>*>* {
    margin: auto;
    width: 1000px;
}

.header {
    background: var(--header-background);
    grid-area: header;
    height: 102px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4); 
}

.header-content {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr auto;

    grid-template-areas:
    "logo login login"
    "logo menu promosi"
}

.logoimg {
    height: 64px;
    width: 230px;
    object-fit: contain;
    object-position: left;
}

.menu {
    grid-area: menu;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px; 
    font-size: 1.1rem;
    font-weight: 500;
}

.menu-item>label {
    white-space: nowrap;
    color: var(--menu-item-color);
    transition: color 0.3s ease;
}

.menu-item>label:hover, .bantuan-item:hover {
    color: var(--primary-color, #FFD700);
    cursor: pointer;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); 
}

/* -----------------------------------------------------------
| 4. INFORMASI MODAL/SIDEBAR
|----------------------------------------------------------- */

#informasi-menu{
	margin:150px auto 0px; 
	width:714px; 
	padding: 0px 0px 0px 0px; 
	box-shadow:rgba(0,0,0,.5) 0px 10px 20px 15px; 
	border:1px solid #444; 
	border-radius: 10px;
	background: var(--informasi-menu-background);
}

#informasi-content {
    border-radius: 0px 9px 9px 0px;
    padding-left: 20px;
    width: 563px;
    background-color: var(--informasi-content-background);
}

#informasi-content-title {
    width: 240px;
    font-size: 1.3rem; 
    font-weight: bold;
    padding-bottom: 12px;
    margin-top: 20px;
    border-bottom: 4px var(--primary-color, #FFD700) solid; 
    color: var(--text-primary-color);
}

/* -----------------------------------------------------------
| 5. MARQUEE & RUNNING TEXT
|----------------------------------------------------------- */

.marquee {
    height: 35px; 
    color: var(--marquee-color);
    background: var(--marquee-background);
    grid-area: marquee;
    display: flex;
    font-size: .9rem; 
    width: 100%;
    border-top: 2px solid var(--line-color);
    border-bottom: 2px solid var(--line-color);
}

.running>.marquee-shadow {
    background: linear-gradient(90deg, var(--marquee-background) 0%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 90%, var(--marquee-background) 100%); 
    width: 100%; 
    height: 100%; 
    z-index: 999;
}

/* -----------------------------------------------------------
| 6. TABLES (Untuk data/hasil)
|----------------------------------------------------------- */

table {
    color: var(--text-primary-color)!important;
    border-collapse: separate;
    border-spacing: 0;
}

tr:nth-child(odd) {
    background: linear-gradient(0deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.08) 100%);
}

tbody, td, tfoot, th, thead, tr {
    border: none;
    padding: 8px; 
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    color: var(--text-primary-color);
}

/* -----------------------------------------------------------
| 7. FOOTER BUTTONS
|----------------------------------------------------------- */

.btn-footer {
    padding: 0px 8px;
    border: 1px solid var(--highlight-text-color, #FFD700); 
    border-radius: 4px; 
    height: 32px; 
    padding: 0 16px; 
    display: grid; 
    place-items: center; 
    color: var(--highlight-text-color, #FFD700);
    transition: all 0.3s ease;
}

.btn-footer:hover {
    background: var(--highlight-text-color, #FFD700);
    color: var(--primary-theme-color, #000); 
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6); 
}

/* -----------------------------------------------------------
| 8. HOVER MENU (Dropdown)
|----------------------------------------------------------- */
.hover {
    visibility:hidden;
    opacity:0;
    transition:visibility 0.3s linear,opacity 0.3s linear;
    
    display: flex;
    flex-direction: column;
    position: absolute;
    overflow: hidden;
    width: 100%; 
    background: var(--hover-background); 
    top: 105px; 
    z-index: 1000; 
    padding: 12px 0px;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.5); 
}

.hover:hover {
    visibility: visible!important;
    opacity: 1!important;
}

.hover-menu {
    display: none;
    flex-wrap: wrap;
    gap: 16px 8px;
    justify-content: center;
}

.hover-item {
    width: 108px;
    max-width: 108px;
    display: grid; 
    grid-template-rows: 1fr auto;
}

.hover-item>figure {
    height: 90px; 
    display: grid; 
    place-items: center;
    margin: 0px;
}

.hover-item>figure>img {
    height: 90px;
    width: 90px;
}

.hover-item>figcaption {
    border: 2px solid var(--highlight-text-color, #FFD700); 
    color: var(--highlight-text-color, #FFD700);
    width: 100%; 
    padding: 2px 0px; 
    display: grid; 
    place-items: center; 
    border-radius: 5px;
    font-size: .75rem;
    font-weight: 500;
}
.hover-item>figcaption:hover {
    background: var(--highlight-text-color, #FFD700);
    color: var(--primary-theme-color, #000);
}


/* --- (SISANYA DI PERTAHANKAN) --- */

.form-daftar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    font-size: 1rem
}

.form-daftar-full {
    grid-column: span 4;
}

.form-daftar-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-daftar-cell>label {
    font-weight: bold;
}

.form-daftar-cell>input {
    border-radius: 3px;
}

.footer-group {
    display: flex;
    align-items: center;
    gap: 32px;
}

.prepend {
    display: grid;
    place-items: center;
    background: var(--prepend-background); 
    width: 40px;
    border: var(--prepend-border) solid var(--bs-border-color);
   
}

.prepend-icon {
    font-size: 18px;
    color: var(--prepend-color);
}

.content-area {
    width: 1000px; 
    margin: auto; 
    padding: 8px 0;
}

.content-main {
    width: 1000px;
    margin: auto;
}

.content-box {
    width: 100%; 
    padding: 12px; 
    background: var(--content-box-background); 
    border-radius: 8px
}




.slideDown{
	animation-name: slideDown;
	-webkit-animation-name: slideDown;	

	animation-duration: 0.8s;	
	-webkit-animation-duration: 0.8s;

	animation-timing-function: ease;	
	-webkit-animation-timing-function: ease;	

	visibility: visible !important;						
}

@keyframes slideDown {
	0% {
		transform: translateY(-100%);
	}		
	100% {
		transform: translateY(0%);
	}		
}

@-webkit-keyframes slideDown {
	0% {
		-webkit-transform: translateY(-100%);
	}		
	100% {
		-webkit-transform: translateY(0%);
	}	
}



.page-link {
    background: var(--page-link-background);
    border: var(--page-link-border);
    color: var(--page-link-color);
}

.page-item+.active>*, .page-link:hover {
	border: var(--page-item-active-border);
	background: var(--page-item-active-background);
    color: var(--page-item-active-color);
}

.devider {
    background: var(--devider-color);
}

.fitur-header {
    font-size: 1.2rem; 
    font-weight: bold; 
    line-height: 1rem
}

.panel-body, .card-body {
    font-size: 1.1rem;
}

.contentbox {
    font-size: 1rem;
}

@media only screen and (max-width: 1000px) {

    .desktop-only {
        display: none!important;
    }
    
    .mobile-only {
        display: block!important;
    }

    .wrapper {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
        "appbar"
        "marquee"
        "header"
        "contentdata"
        "togel-mobile"
        "devider"
        "provider"
        "transaksi"
        "bantuan"
        "footer"
        "guidelines"
    }
    
    .appbar {
        grid-area: appbar;
        height: 72px;
        display: grid;
        place-items: center;
    }

    .wrapper>*>* {
        margin: auto;
        width: 100%;
        padding: 0 var(--mobile-padding-horizontal);
    }

    .marquee {
        border-top: 3px solid var(--line-color);
        height: 40px;
        font-size: 1rem;
    }

    .marquee-content {
        padding: 0px
    }

    .header {
        height: auto;
        padding: 0px;
    }

    .header-content {
        padding: 8px 0;
        height: 100%;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
        "marquee"
        "mslider"
        "menu-mobile"
        "menu-content"
        "login"
        "promosi"
    }
    
    .menu-mobile {
        grid-area: menu-mobile;
    }
    
    .menu-content {
        grid-area: menu-content;
    }
    
    .marquee-content {
        height: 100%;
    }

    .logo {
        display: none
        
    }
    
    /* Mobile */
    .logoimg {
        height: 64px;
        width: 230px;
        margin: 0px;
        object-position: center;
    }
    
    
    .mslider {
        grid-area: mslider;
        aspect-ratio: 600/280;
        background: var(--primary-theme-color);
    }
    

    .menu {
        display: none;
    }

    .menu-item {
        height: 100%;
        width: 100%;
        font-size: var(--text-size-default);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 6px;
        padding-top: 6px;
        background: linear-gradient(90deg, rgba(26,26,26,0.3) 0%, rgba(0,0,0,0.3) 10%, rgba(0,0,0,0.3) 100%), var(--primary-theme-color, #000);
        border-right: 1px solid #222;
    }
    
    
    .menu-item:hover {
        color: var(--text-color);
    }
    
    .menu-item>label {
        white-space: nowrap;
        color: var(--highlight-text-color, #FFD700); 
        font-weight: 600;
    }

    .menu-item>img {
        height: 30px;
    }

    .login {
        flex-direction: column;
    }

    .login-form {
        padding: 32px 0;
        margin: 0px 80px;
        display: flex;
        flex-direction: column;
    }

    .login-input-field {
        border-top-left-radius: 0!important;
        border-bottom-left-radius: 0!important;
        font-size: 1rem;
    }

    .login-field, .login-form>button, .btn-promosi {
        height: 44px; 
        width: 100%!important;
        border-radius: 8px;
        overflow: hidden;
    }

    .btn-masuk {
        font-size: 1.4rem;
        text-shadow: 1px 1px #000000;
        height: 48px!important;
        border-radius: 8px;
        font-weight: 700;
    }
    
    .btn-daftar {
        font-size: 1.4rem;
        text-shadow: 1px 1px #000000;
        height: 48px!important;
        border-radius: 8px;
        font-weight: 700;
    }


    .promosi {
        padding: 0 calc(var(--mobile-padding-horizontal) * 2);
        gap: 4px;
    }

    .promosi>* {
        width: 100%;
    }

    .btn-promosi {
        background-size: 300% 300%!important;
        background: var(--button-promosi-color);
        -webkit-text-fill-color: black;
        font-weight: bold!important;
        animation: gradient 10s ease infinite;
        border-radius: 3px;
        display: grid;
        place-items: center;
    }

    .contentdata {
        background: var(--primary-background);
        padding: 12px 0;
    }

    .banner {
        aspect-ratio: 3;
    }

    .banner>* {
        border-radius: 16px;
        border-collapse: separate;
        border: 2px solid gray;
    }

    .togel {
        padding: 24px;
        box-shadow: rgba(0,0,0,1) 0px 0px 10px 0px;
    }

    .togel-title {
        padding: 0px;
        padding-bottom: 20px;
        font-size: 1.2rem;
        font-weight: bold;
    }

    .content-main {
        width: 100%;
        padding: var(--mobile-padding-horizontal);
        padding-bottom: 0px;
        font-size: 1rem;
    }


    .provider-group {
        padding: var(--mobile-padding-horizontal);
    }
    
    .transaksi-kontak {
        display: flex;
        flex-direction: column;
    }


    .transaksi-content {
        display: flex;
        flex-direction: column;
    }
    


    .bantuan-content {
        flex-direction: column;
        list-style: disc;
        gap: 8px;
    }
    
    .footer {
        font-size: 1rem;
        padding-bottom: 96px;
    }

    .footer-group {
        flex-direction: column;
        width: 100%;
    }

    .copyright {
        flex-direction: column;
        font-size: 1rem;
        width: 100%;
    }
    .content-area {
        width: 100%;
    }
    
    .content-box {
        width: 100%; 
        padding: 0px; 
        background: transparent; 
        border-radius: 0px
    }

    .guidelines {
        grid-area: guidelines;
    }
    
    .guidelines-content>img {
        width: 100%;
    }

    .mobile-provider-group {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;

    }
    
    .provider-item {
        display: grid;
        place-items: center;
    }
    
    .provider-item>img {
        width: 100%;
        object-fit: contain;
        
    }
    
    .fitur-header {
        font-size: 1.4rem;
    }
    
    .panel-body, .card-body {
        font-size: 1.2rem;
    }

    #mobileregister {
        margin: 0px!important;
    }
    
    #mySidenav {
        display: none;
    }
    
}