: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 & Base */
    --bg-color: #120002;
    --text-first: #ffffff;
    --text-first1: #fff5b8;
    --text-second: #1a0103;
    --text-tiga: rgb(255, 255, 255);

    /* Bright Scarlet Red Accents */
    --rtpicon-color: #ff1a35;
    --first-color: #9e0012;
    --second-color: #f7ca55;
    --third-color: #d1001a;
    --fourth-color: #ff0f2f;
    --fifth-color: #ff4760;

    /* Gradients */
    --g1: #a30014;
    --g2: #ff1738;
    --g3: #3b0007;
    --g5: #ffffff;

    /* Bright Gold & Ruby Accents */
    --gold-shine: #fffbe0;
    --gold-light: #fcd768;
    --gold-mid: #e8a72a;
    --gold-dark: #9e6409;
    --bright-ruby: linear-gradient(135deg, #c40018 0%, #ff1f3d 45%, #ff526c 70%, #ff8093 100%);
}

body {
    background: radial-gradient(circle at 50% 20%, #420008 0%, var(--bg-color) 85%);
    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(0 8px 18px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 20px rgba(255, 23, 56, 0.65));
}

/* Card RTP gradasi merah terang menyala */
.rtp-card {
    background: linear-gradient(180deg, #e6001a 0%, #7d000f 65%, #3d0006 100%);
    border: 2px solid var(--gold-light);
    box-shadow: 0 0 16px rgba(255, 23, 56, 0.6), inset 0 0 12px rgba(255, 115, 133, 0.5);
    padding: 0.8rem;
    text-align: center;
    width: 24rem;
    max-width: 100%;
    height: 100%;
    align-items: center;
    border-radius: 8px;
    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: 6px;
    border: 1px solid var(--gold-mid);
}

.place-img-rtp {
    width: 100%;
    padding: 0.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-items: center;
    border-radius: 6px;
    box-shadow: inset 0 0 8px 2px #000000;
}

.place-img-rtp:hover {
    cursor: pointer;
}

/* Tombol Play Gradasi Emas Terang */
.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: 6px;
    padding: 0.45rem;
    width: 12rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    max-width: 70%;
    border: 1.5px solid var(--gold-shine);
    background: linear-gradient(180deg, #fffbe0 0%, #f7c94c 45%, #b5740b 100%);
    color: #400006;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 14px rgba(247, 201, 76, 0.75);
}

.place-img-rtp:hover .btn-play {
    opacity: 1;
    visibility: visible;
}

.btn-play:hover {
    background: linear-gradient(180deg, #ffffff 0%, #ffe07a 45%, #d48b14 100%);
    color: #000000;
    box-shadow: 0 0 20px rgba(255, 224, 122, 1);
}

.pola-wrapper {
    background: linear-gradient(180deg, #2b0005 0%, #150002 100%);
    border: 1.5px solid #d1001a;
    padding: 0.9rem;
    width: 14rem;
    max-width: 100%;
    border-radius: 6px;
    position: relative;
    box-shadow: inset 0 0 8px rgba(255, 23, 56, 0.3);
}

.pola-wrapper h4 {
    font-size: 0.9rem;
    margin-bottom: 0 !important;
    color: var(--gold-light);
}

.pola-wrapper h5 {
    font-size: 0.7rem;
    color: #ffffff;
}

.pola-wrapper h4 i, .pola-wrapper h5 i {
    color: var(--gold-shine);
}

.jam-wrapper {
    background: #0d0002;
    border: 1.5px solid #ff1738;
    border-radius: 50%;
    padding: 0.6rem;
    box-shadow: 0 0 8px rgba(255, 23, 56, 0.5);
}

.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(180deg, #300006 0%, #120002 100%);
    height: 100%;
    border-bottom: 2px solid #ff1738;
}

.running-text {
    background: linear-gradient(90deg, #b80017 0%, #ff1f3d 50%, #b80017 100%);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: #ffffff;
    padding: 0.3rem 0;
    border-top: 1.5px solid var(--gold-light);
    border-bottom: 1.5px solid var(--gold-light);
    box-shadow: 0 0 10px rgba(255, 23, 56, 0.4);
}

.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.2rem !important;
    color: var(--text-second);
}

.icon-card-bg p {
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--gold-light);
    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(180deg, #ff1738 0%, #870010 100%);
    padding: 0.6rem;
    color: #ffffff;
    border: none;
    font-weight: bold;
    border-right: 1px solid var(--gold-mid);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-credit:hover {
    background: linear-gradient(180deg, #ff425e 0%, #ba0017 100%);
    color: var(--gold-shine);
}

.nav-bottom {
    position: fixed;
    bottom: 0;
    display: flex;
    z-index: 11;
    overflow: hidden;
    width: 100%;
    border-top: 2.5px solid var(--gold-light);
    box-shadow: 0 -3px 12px rgba(255, 23, 56, 0.3);
}

.item-nav-bottom {
    background: linear-gradient(180deg, #e0001a 0%, #61000b 100%);
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.4rem;
}

.item-nav-bottom:hover {
    background: linear-gradient(180deg, #ff2945 0%, #960012 100%);
    cursor: pointer;
}

.item-nav-bottom p {
    margin: 0;
    padding: 0;
    color: #ffffff;
}

.btn-up {
    display: none;
    position: fixed;
    bottom: 3.8rem;
    right: 0.8rem;
    z-index: 99;
    font-size: 1.2rem;
}

/* Percentage Bar */
.percent {
    height: 20px;
    margin-top: 10px !important;
    display: flex;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: #380006;
    border: 1.5px solid #ff1738;
    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: 12px;
    top: -15px;
    font-weight: 800;
    transform: translateY(14px);
    color: #ffffff;
    text-shadow: 0 0 4px #000000;
}

.percent-bar {
    background-image: linear-gradient(45deg, rgba(255,255,255,.25) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.25) 50%, rgba(255,255,255,.25) 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: #ffaa00;
}

.great {
    background-color: #00e038;
}

.bad {
    background-color: #ff0022;
}

/* Container */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1100px !important;
    }
}

.content-home {
    color: #f7e6e8;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    background: radial-gradient(circle at center, #2e0007 0%, #120002 100%);
    padding: 15px;
    margin-top: 15px;
    margin-bottom: 4rem;
    border: 2px solid #ff1738;
    border-radius: 12px;
    box-shadow: 0 0 18px rgba(255, 23, 56, 0.4), inset 0 0 12px rgba(255, 23, 56, 0.25);
}

.content-home a {
    color: #ff4760;
    text-decoration: none;
    font-weight: 600;
}

.content-home a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

.content-home h2, .content-home h3 {
    color: #ff2e49;
    text-shadow: 0 0 10px rgba(255, 23, 56, 0.6);
}

.content-home p, ol, ul {
    text-align: justify;
}

/* Table Header Gradasi Merah Menyala */
.table-header-style {
    text-align: center;
    border: 1px solid var(--gold-shine) !important;
    background: linear-gradient(135deg, #a80013 0%, #ff1f3d 35%, #fffbe0 50%, #ff1f3d 65%, #80000e 100%);
    background-size: 300% 300%;
    animation: gradient 4s ease infinite;
    box-shadow: inset 0 0 6px 2px #4a0008, 0 0 10px rgba(255, 23, 56, 0.5);
    color: #ffffff;
    text-shadow: 0 1px 3px #000000;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-transform: uppercase;
    font-weight: 800;
}

.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: 1.5px solid #ff1738;
    background: linear-gradient(180deg, #2b0005 0%, #120002 100%);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
    box-shadow: 0 0 8px rgba(255, 23, 56, 0.35);
}

.provider-btn:focus {
    outline: 2px solid var(--gold-light);
    outline-offset: 2px;
}

.caret {
    font-size: 12px;
    opacity: 0.9;
    margin-left: auto;
    color: var(--gold-light);
}

.provider-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 100%;
    background: #1c0004;
    border: 1.5px solid #ff1738;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 23, 56, 0.3);
    display: none;
    z-index: 999;
}

.provider-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.provider-menu a:hover,
.provider-menu a:focus {
    background: linear-gradient(90deg, #b80017 0%, #ff1f3d 100%);
    color: #ffffff;
    outline: none;
}

.provider-dropdown.is-open .provider-menu {
    display: block;
}