:root {
    --smaller-font: 0.7rem;
    --small-font: 0.87rem;
    --normal-font: 1rem;
    --medium-font: 1.1rem;
    --large-font: 1.7rem;
    --x-large-font: 2rem;
    
    /* Background & Teks */
    --bg-color: #120305;              /* Latar belakang maroon sangat gelap/hampir hitam */
    --text-first: #ffffff;
    --text-first1: #ffd700;             /* Teks kuning emas */
    --text-second: #1d0508;            /* Maroon pekat */
    --text-tiga: rgb(255, 255, 255);
    
    /* Warna Aksen & Tombol */
    --rtpicon-color: #ffcc00;          /* Kuning terang untuk ikon */
    --first-color: #4a040d;            /* Maroon gelap dasar */
    --second-color: #ffd700;           /* Aksen border/garis kuning */
    --third-color: #5c0611;            /* Maroon menengah */
    --fourth-color: #720815;           /* Maroon sedikit terang */
    --fifth-color: #ffb703;            /* Aksen kuning gradasi */
    
    /* Gradasi Maroon ke Kuning */
    --g1: #380208;                     /* Maroon sangat gelap */
    --g2: #800e13;                     /* Maroon kaya/crimson maroon */
    --g3: #000000;
    --g-yellow: #ffb703;               /* Kuning gold */
    --g-yellow-light: #ffd000;         /* Kuning terang */
    --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: 10px;
    max-width: 600px;
    filter: drop-shadow(4px 6px 8px rgba(0, 0, 0, 0.8));
}

/* Kartu dengan gradasi Maroon Gelap ke Kuning */
.rtp-card {
    background: linear-gradient(135deg, var(--g1) 0%, var(--g2) 60%, var(--g-yellow) 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;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.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 #0a0102 inset;
}

.place-img-rtp:hover {
    cursor: pointer;
}

/* Tombol Play: Gradasi Maroon Gelap ke Kuning */
.btn-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    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(--g-yellow);
    background: linear-gradient(90deg, var(--g1) 0%, var(--g2) 50%, var(--g-yellow) 100%);
    color: var(--text-first);
    text-shadow: 1px 1px 2px #000;
}

.place-img-rtp:hover .btn-play {
    opacity: 1;
    visibility: visible;
}

.btn-play:hover {
    background: linear-gradient(90deg, var(--g-yellow) 0%, var(--g2) 50%, var(--g1) 100%);
    color: #fff;
}

.pola-wrapper {
    background: var(--text-second);
    padding: 0.9rem;
    width: 14rem;
    max-width: 100%;
    border-radius: 5px;
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.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: #0d0103;
    border-radius: 50%;
    padding: 0.6rem;
    border: 1px solid var(--first-color);
}

.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('../../imagestaticcontent.com/default/rtp-img/top.gif');
}

.hot-game {
    background: url('../../imagestaticcontent.com/default/rtp-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: 2px dashed var(--g-yellow);
}

.running-text {
    background: linear-gradient(90deg, var(--g1) 0%, var(--g2) 50%, var(--g1) 100%);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--text-first1);
    padding: 0.3rem;
    border-top: 1px solid var(--g-yellow);
    border-bottom: 1px solid var(--g-yellow);
}

.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) 70%, var(--g-yellow) 100%);
    padding: 0.6rem;
    color: var(--text-first);
    border: none;
    font-weight: bold;
    border-right: 1px solid var(--g-yellow);
}

.btn-credit:hover {
    background: linear-gradient(0deg, var(--g2) 0%, var(--g-yellow) 100%);
    color: #1a0003;
}

.nav-bottom {
    position: fixed;
    bottom: 0;
    display: flex;
    z-index: 11;
    overflow: hidden;
    width: 100%;
    border-top: 3px solid var(--g-yellow);
}

.item-nav-bottom {
    background: linear-gradient(0deg, var(--g1) 0%, var(--first-color) 60%, var(--g-yellow) 100%);
    color: var(--text-first);
    font-weight: bold;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.3rem;
}

.item-nav-bottom:hover {
    background: linear-gradient(0deg, var(--g2) 0%, var(--g-yellow) 100%);
    cursor: pointer;
}

.item-nav-bottom p {
    margin: 0;
    padding: 0;
    margin-bottom: 0;
    color: #fff8e7;
}

.btn-up {
    display: none;
    position: fixed;
    bottom: 3.8rem;
    right: 0.8rem;
    z-index: 99;
    font-size: 1.2rem;
    color: var(--g-yellow);
}

/* Percentage */
.percent {
    height: 19px;
    margin-top: 10px !important;
    display: flex;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: #2b060b;
    border: 1px solid var(--g-yellow);
    position: relative;
    z-index: 1;
    border-radius: 5px;
    width: 100%;
    margin: 0 auto;
}

.percent p {
    z-index: 15;
    position: absolute;
    text-align: center;
    width: 100%;
    font-size: 13px;
    top: -15px;
    font-weight: bold;
    transform: translateY(14px);
    color: #ffffff;
    text-shadow: 1px 1px 2px #000;
}

.percent-bar {
    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: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    transition: width .6s ease;
    animation: progress-bar-stripes 1s linear infinite;
    z-index: 10;
}

.good {
    background-color: #ff9900;
}

.great {
    background-color: #ffd700; /* Aksen Kuning Emas */
}

.bad {
    background-color: #5c0611; /* Maroon Gelap */
}

/* Container */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1100px !important;
    }
}

.content-home {
    color: rgb(240, 235, 235);
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    background-color: #140205;
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 4rem;
    border: 2px solid var(--g-yellow);
    border-radius: 15px;
    box-shadow: 0 0 10px 2px rgba(255, 215, 0, 0.35);
}

.content-home a {
    color: #ffd700;
    text-decoration: none;
}

.content-home h2, .content-home h3 {
    color: #ffd700;
}

.content-home p, ol, ul {
    text-align: justify;
}

/* Header Table dengan Gradasi Maroon Gelap & Kuning */
.table-header-style {
    background-color: #380208;
    text-align: center;
    border: 1px solid var(--g-yellow) !important;
    background: linear-gradient(135deg, #240105 0%, #5e0813 40%, #8c101d 65%, #ffd700 100%);
    background-size: 200% 200%;
    animation: gradient 5s ease infinite;
    box-shadow: inset 0 0 5px 2px #1f0104, inset 0 1px 0 0 #ffd700, 2px 2px 5px rgba(0, 0, 0, .5);
    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 var(--g-yellow);
    background: linear-gradient(180deg, #3d0309 0%, #1f0104 100%);
    color: #ffd700;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
    font-weight: 600;
}

.provider-btn:focus {
    outline: 2px solid var(--g-yellow);
    outline-offset: 2px;
}

.caret {
    font-size: 12px;
    opacity: 0.8;
    margin-left: auto;
    color: #ffd700;
}

.provider-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 100%;
    background: #240206;
    border: 1px solid var(--g-yellow);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
}

.provider-menu a {
    display: block;
    padding: 10px 10px;
    border-radius: 10px;
    color: #ffd700;
    text-decoration: none;
    font-size: 14px;
}

.provider-menu a:hover,
.provider-menu a:focus {
    background: #4a040d;
    color: #ffffff;
    outline: none;
}

.provider-dropdown.is-open .provider-menu {
    display: block;
}