:root {
    --smaller-font: 0.7rem;
    --small-font: 0.87rem;
    --normal-font: 1rem;
    --medium-font: 1.1rem;
    --large-font: 1.7rem;
    --x-large-font: 2rem;
    --bg-color: #131313;
    --text-first: #ffffff;
    --text-first1: #ffffff;
    --text-second: #0a0a0a;
    --text-tiga: rgb(255, 255, 255);
    --rtpicon-color: #aaff00;
    --first-color: #a600ff;
    --second-color: #ffffff;
    --third-color: #27860a;
    --fourth-color: #00922c;
    --fifth-color: #7c0eaf;
    --g1: #9500ff;
    --g2: #d224f5;
    --g3: #000000;
    --g5: #ffffff;
 }

body {
    background: var(--bg-color);
    color: var(--text-first);
}

.logo img {
    width: 19rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 10pxrem;
    max-width: 600px;
}

.rtp-card {
    background: linear-gradient(0deg, var(--first-color) 0%, var(--fifth-color) 100%);
    padding: 0.8rem;
    text-align: center;
    width: 24rem;
    max-width: 100%;
    height: 100%;
    align-items: center;
    border-radius: 5px;
    margin-bottom: 0.7rem;
    position: relative;
    z-index: 1;
}

.rtp-card-img {
    max-width: 100%;
    width: 29rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}

.place-img-rtp {
    width: 100%;
    padding: 0.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-items: center;
    border-radius: 5px;
    box-shadow: 1px 0px 4px 2px #131313 inset;
}

.place-img-rtp:hover {
    cursor: pointer;
}

.btn-play {
    position: absolute;
    top: 50%;  /* position the top  edge of the element at the middle of the parent */
    left: 50%; /* position the left edge of the element at the middle of the parent */
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;                      /* TAMBAHKAN INI */
    visibility: hidden;              /* TAMBAHKAN INI */
    transition: all 0.3s ease;       /* TAMBAHKAN INI */
    border: none;
    border-radius: 5px;
    padding: 0.3rem;
    width: 12rem;
    font-size: 0.6rem;
    font-weight: bold;
    text-transform: capitalize;
    max-width: 70%;
    border: 2px solid var(--first-color);
    background: linear-gradient(0deg, var(--g1) 0%, var(--g2) 100%);
    color: #000000;
}

.place-img-rtp:hover .btn-play {   /* TAMBAHKAN RULE INI */
  opacity: 1;
  visibility: visible;
}

.btn-play:hover {
    background: linear-gradient(0deg, var(--g2) 0%, var(--g1) 100%);
}

.pola-wrapper {
    background: var(--text-second);
    padding: 0.9rem;
    width: 14rem;
    max-width: 100%;
    border-radius: 5px;
    position: relative;
}

.pola-wrapper h4 {
    font-size: 0.9rem;
    margin-bottom: 0 !important;
}

.pola-wrapper h5 {
    font-size: 0.7rem;
}

.pola-wrapper h4 i, .pola-wrapper h5 i {
    color: var(--rtpicon-color);
}

.jam-wrapper {
    background: #131313;
    border-radius: 50%;
    padding: 0.6rem;
}

.table-pola {
    max-width: 100%;
    width: 9rem;
}

.table-pola tr td {
    text-align: center;
    font-size: 0.7rem;
}

.top-game, .hot-game {
    background-repeat: no-repeat !important;
    position: absolute;
    width: 3rem;
    top: 0rem;
    z-index: 2;
    height: 2.9rem;
    left: 0.4rem;
}

.top-game {
    background: url('/img/top.gif');
}

.hot-game {
    background: url('/img/hot.gif');
}

.icon-providers {
    position: absolute;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 2rem;
    top: 0.5rem;
    right: 0.5rem;
}

.icon-providers img {
    width: 1.7rem;
}

.slider, .swiper {
    width: 50rem;
    max-width: 100%;
}

.slider-img {
    width: 40rem;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.slider-wrapper {
    background: linear-gradient(0deg, var(--text-second) 0%, var(--text-second) 100%);
    height: 100%;
    border-bottom: 1px dashed var(--first-color);
}

.running-text {
    background: var(--g1);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--text-first1);
    padding: 0.1rem;
}

.icon-prov {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: visible !important;
}

.icon-prov p {
    margin: 0 !important;
}

@media screen and (max-device-width: 480px) and (orientation: portrait) {
    .icon-prov {
        justify-content: space-between !important;
    }
}

.icon-card-bg {
    cursor: pointer;
    padding: 0.1rem !important;
    color: var(--text-second);
}

.icon-card-bg p {
    font-size: 0.73rem;
    font-weight: 700;
    color: var( --g5);
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
}

.img-prov {
display: block;
margin-right: auto;
margin-left: auto;
}

.item-prov {
    padding: 0 0.5rem;
}

.btn-credit {
    background: linear-gradient(0deg, var(--g1) 0%, var(--g2) 100%);
    padding: 0.6rem;
    color: var(--text-second);
    border: none;
    font-weight: bold;
    border-right: 1px solid var(--first-color);
}

.btn-credit:hover {
    background: linear-gradient(0deg, var(--g2) 0%, var(--g1) 100%);
}

.nav-bottom {
    position: fixed;
    bottom: 0;
    display: flex;
    z-index: 11;
    overflow: hidden;
    width: 100%;
    border-top: 3px solid var(--second-color);
}

.item-nav-bottom {
    background: linear-gradient(0deg, var(--g2) 0%, var(--first-color) 100%);
    color: var(--text-second);
    font-weight: bold;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.3rem;
}

.item-nav-bottom:hover {
    background: linear-gradient(0deg, var(--first-color) 0%, var(--g2) 100%);
    cursor: pointer;
}

.item-nav-bottom p {
    margin: 0;
    padding: 0;
    margin-bottom: 0;
    color: #e9ecef;
}

.btn-up {
  display: none;
  position: fixed;
  bottom: 3.8rem;
  right: .8rem;
  z-index: 99;
  font-size: 1.2rem;
}

/* Percentage */
.percent{
    height: 19px;
    margin-top: 10px !important;
    display: flex;
    overflow: hidden;
    font-size: .75rem;
    background-color: #e9ecef;
    /* border-radius: .25rem; */
    position: relative;
    z-index: 1;
    border-radius: 5px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.percent p{
    z-index: 15;    
    position: absolute;
    text-align: center;
    width: 100%;
    font-size: 13px;
    top: -15px;
    font-weight: bold;
    transform: translateY(14px);
    color: black;
}

.percent-bar{
    /* background-color: #ffc107; */
    background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    background-size: 1rem 1rem;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    /* background-color: #007bff; */
    transition: width .6s ease;
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 1s linear infinite;
    /* animation: ; */
    z-index: 10;
}

.good{
    background-color: #ffa407;
}

.great{
    background-color: #00c22d;
}

.bad{
    background-color: #c11526;
}

.content-home {
    padding: 1rem;
    margin-bottom: 4rem;
    background: var(--text-first);
    color: var(--text-second);
}

/* Container */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1100px !important;
    }
}
.content-home {
    color: rgb(211, 209, 209);
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    background-color: black;
    padding: 10px;
    margin-top: 15px;
    border: 2px solid #00ff0dcb;
    border-radius: 15px;
    box-shadow: 0 0 6px 2px #3b9904;
  }

  .content-home a {
    color: rgb(9, 255, 0);
    text-decoration: none;
  }

  .content-home h2,h3 {
    color: rgb(9, 255, 0);
}
   .content-home p, ol,ul {
    text-align: justify;
   }

.table-header-style {
        background-color: #ffffff;
        text-align: center;
        border: 1px;
        border-style: solid;
        border-color: #333;
        background: linear-gradient(195deg, #3ec001 11%, #14ee00 21%, #157e00 33%, #05490e 30%, #13a106 60%, #05ca36 73%, #f7f7f7 85%, #f7f7f7 100%);
        background-size: 400% 400%;
        animation: gradient 5s ease infinite;
        box-shadow: inset 0 0 5px 3px #004e00, inset 0 2px 0 0 #fff, inset 0 0 0 2px #2edf4b, 3px 3px 3px 1px rgba(0, 0, 0, .2);
        border: 1px solid #00ff00 !important;
        color: #FFFFFF;
        display: flex !important;
        justify-content: center !important;  
        align-items: center !important;  
        text-transform: uppercase; 
        font-weight: bold;
}
.table-row-style{
        text-transform: uppercase; 
        font-size: 14px;
}

.logo {
    width: auto;
    margin: 10px;

}
footer{
    margin-top: 15px;
}

/* Dropdown Provider */
.provider-dropdown {
  position: relative;
  display: inline-block;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.provider-btn {
  appearance: none;
  border: 1px solid #d0d7de;
  background: #fff;
  color: #111;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
}

.provider-btn:focus {
  outline: 2px solid #0969da;
  outline-offset: 2px;
}

.caret {
  font-size: 12px;
  opacity: 0.8;
  margin-left: auto;
}

.provider-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 100%;
  background: #fff;
  border: 1px solid #d0d7de;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  display: none;            /* default tertutup */
  z-index: 999;
}

.provider-menu a {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  color: #111;
  text-decoration: none;
  font-size: 14px;
}

.provider-menu a:hover,
.provider-menu a:focus {
  background: #f6f8fa;
  outline: none;
}

/* Dibuka lewat JS */
.provider-dropdown.is-open .provider-menu {
  display: block;
}



/* MY */
body {
    background-color: #13001f;
    color: var(--text-first);
    background-size: cover !important;
    background-attachment: fixed !important;
    background-position-x: center !important;
    background-position-y: center !important;
}

.table-header-style {
    background-color: #ffffff;
    text-align: center;
    padding: 15px;
    border: 1px;
    border-style: solid;
    border-color: #333;
}

.table-row-style {
    text-align: center;
    background-color: #131313;
    padding: 15px;
    border: 1px;
    border-style: solid;
    border-color: #333;
}

@media (max-width:767px) {
    .split-in-mobile {
        width: 50%;
    }
}

@media (min-width:768px) {
    .split-in-desktop {
        width: 25%;
    }
}

.land-see-hero-container {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .land-see-hero-container {
        max-width: 100%;
    }
}

.flex {
    display: -ms-flexbox;
    display: flex
}

.flex-wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

/* Provider Dropdown Styles */
.provider-dropdown {
    position: relative;
    display: inline-block;
    z-index: 100;
}

.provider-btn {
    background: linear-gradient(135deg, #17001df2 0%, #000000e6 100%);
    color: #fff;
    padding: 12px 24px;
    border: 1px solid #00fbff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.provider-btn:hover {
    background: linear-gradient(135deg, #17001df2 0%, #000000e6 100%);
    border-color: #aa28ff;
}

.provider-btn:focus {
    outline: 2px solid #aa28ff;
    outline-offset: 2px;
}

.provider-btn .caret {
    transition: transform 0.3s ease;
}

/* Rotate caret when dropdown is open */
.provider-dropdown.is-open .provider-btn .caret {
    transform: rotate(180deg);
}

.provider-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a2e;
    border: 1px solid #0f3460;
    border-radius: 8px;
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

/* Show menu when dropdown has is-open class */
.provider-dropdown.is-open .provider-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.provider-menu a {
    display: block;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.provider-menu a:hover,
.provider-menu a.active {
    background: #0f3460;
    color: #aa28ff;
}

.icon-prov {
    position: relative;
    z-index: 50;
}

/* Loading placeholder */
#game-container {
    min-height: 400px;
}

#game-container:empty::before {
    content: 'Loading games...';
    display: block;
    text-align: center;
    padding: 50px;
    color: #888;
}


/* Live Status Badge (di dalam site-info-card) */
.live-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #aa28ff;
}

/* Mobile: live-status lebih compact */
@media (max-width: 767px) {
    .live-status {
        margin-bottom: 12px;
        padding-bottom: 10px;
        gap: 6px;
    }
    
    .live-dot {
        width: 8px;
        height: 8px;
    }
    
    .live-text {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .time-display {
        font-size: 10px;
    }
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #e91b1b;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px #e91b1b;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.live-text {
    font-size: 12px;
    font-weight: 700;
    color: #e91b1b;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(239, 68, 68, 0.15);
    padding: 4px 10px;
    border-radius: 4px;
}

.time-display {
    font-size: 13px;
    color: #ffffff;
    font-weight: 500;
    margin-left: auto;
}



/* ======================================== */
/* Site Info Card - Modern Design */
/* ======================================== */
.site-info-section {
    padding: 16px 8px;
    position: relative;
    z-index: 200;
}

.site-info-card {
    background: linear-gradient(135deg, #17001df2 0%, #000000e6 100%);
    border: 1px solid #aa28ff;
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #ffffff08;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #aa28ff;
    transform: translateY(-2px);
}

.info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fb24ed33 0%, #f10bf51a 100%);
    border-radius: 10px;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 20px;
    color: #00fbff;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.info-label {
    font-size: 11px;
    font-weight: 600;
    color: #aa28ff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.info-value.highlight {
    background: linear-gradient(90deg, #00fbff, #00fbff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
    color: #000;
}

.info-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.info-btn:hover i {
    transform: translateX(4px);
}

/* Full Button Style (untuk Daftar/Login) */
.info-item-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(135deg, #4eff4e 0%, #07b609 100%);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-item-btn i {
    font-size: 18px;
    color: #000;
}

.info-item-btn span {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item-btn .arrow-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.info-item-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 138, 0, 0.4);
}

.info-item-btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Mobile: info-item-btn lebih compact */
@media (max-width: 767px) {
    .info-item-btn {
        padding: 10px;
        gap: 6px;
    }
    
    .info-item-btn i {
        font-size: 14px;
    }
    
    .info-item-btn span {
        font-size: 10px;
    }
}

/* Provider Selector Inline (dalam card yang sama) */
.provider-selector-inline {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #aa28ff;
}

.provider-selector-inline .icon-prov {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.selector-label {
    font-size: 14px;
    font-weight: 600;
    color: #aa28ff;
}

@media (max-width: 576px) {
    .provider-selector-inline .icon-prov {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .provider-selector-inline .provider-dropdown {
        width: 100%;
    }
    
    .provider-selector-inline .provider-btn {
        width: 100%;
        justify-content: space-between;
    }
}

/* Responsive for Site Info Card */
/* Mobile: tetap 2 kolom (kiri-kanan) */
@media (max-width: 767px) {
    .site-info-card {
        padding: 12px;
    }
    
    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .info-item {
        padding: 10px;
        gap: 8px;
    }
    
    .info-icon {
        width: 32px;
        height: 32px;
    }
    
    .info-icon i {
        font-size: 14px;
    }
    
    .info-label {
        font-size: 9px;
        letter-spacing: 0.5px;
    }
    
    .info-value {
        font-size: 11px;
    }
    
    .info-btn {
        padding: 6px 10px;
        font-size: 9px;
        gap: 4px;
    }
    
    .info-btn i {
        font-size: 10px;
    }
    
    .provider-selector-inline {
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .selector-label {
        font-size: 12px;
    }
}

/* Desktop: 4 kolom */
@media (min-width: 992px) {
    .info-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ======================================== */
/* Banner Card - Running Text + Slider Combined */
/* ======================================== */
.banner-card-section {
    padding: 8px 8px 0 8px;
}

.banner-card {
    background: linear-gradient(135deg, #17001df2 0%, #000000e6 100%);
    border: 1px solid #aa28ff;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid #aa28ff;
}

/* Running Text Row */
.running-text-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #aa28ff;
}

.running-text-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fb24ed33 0%, #f10bf51a 100%);
    border-radius: 8px;
    flex-shrink: 0;
}

.running-text-icon i {
    font-size: 16px;
    color: #00fbff;
}

.running-text-wrapper {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.running-text-content {
    display: flex;
    gap: 80px;
    animation: scrollText 15s linear infinite;
    white-space: nowrap;
}

.running-text-content span {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.966);
    letter-spacing: 0.3px;
}

@keyframes scrollText {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.banner-card:hover .running-text-content {
    animation-play-state: paused;
}

/* Slider Row */
.slider-row {
    padding: 0;
}

.slider-row .swiper {
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    width: 100%;
}

.slider-row .swiper-slide {
    width: 100% !important;
    margin-right: 0 !important;
}

.slider-row .slider-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 0;
}

/* Mobile: banner-card lebih compact */
@media (max-width: 767px) {
    .banner-card-section {
        padding: 6px 8px 0 8px;
    }
    
    .banner-card {
        border-radius: 12px;
    }
    
    .running-text-row {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .running-text-icon {
        width: 30px;
        height: 30px;
    }
    
    .running-text-icon i {
        font-size: 14px;
    }
    
    .running-text-content span {
        font-size: 11px;
    }
    
    .running-text-content {
        animation-duration: 20s;
    }
    
    .slider-row .swiper {
        border-radius: 0 0 12px 12px;
    }
}