: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: #000000;
    --text-first: #fafafa;
    --text-second: #ffffff;
    
    --first-color: #1B1B1B;
    --second-color: #1B1B1B ;
    --third-color: #1B1B1B ;
    --fourth-color: #1B1B1B ;
    --fifth-color: #1B1B1B;
    --g1: #1B1B1B;
    --g2: #1B1B1B;
 }

body {
    background: var(--bg-color);
    color: var(--text-first);
}

.logo img {
    width: 19rem;
    display: block;
    margin: 1.9rem auto 1rem auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7))
            drop-shadow(0 0 12px rgba(255, 215, 0, 0.8))
            drop-shadow(0 0 25px rgba(255, 215, 0, 0.4));
}





.rtp-card {
    background: linear-gradient(180deg,
                #b8860b 0%,
                #ffd700 50%,
                #d4af37 100%);
    padding: 0.8rem;
    text-align: center;
    width: 24rem;
    max-width: 100%;
    height: 100%;
    align-items: center;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;

    /* border dan bayangan lembut */
    border: 1px solid rgba(255, 215, 0, 0.6);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25),
                inset 0 1px 2px rgba(255, 255, 255, 0.4);

    /* shimmer halus berjalan */
    background-size: 200% 200%;
    animation: shimmer-gold 6s linear infinite;

    /* transisi halus saat hover */
    transition: all 0.3s ease;
}

/* hover – sedikit lebih terang & naik */
.rtp-card:hover {
    background: linear-gradient(180deg,
                #ffd700 0%,
                #fff2a8 50%,
                #d4af37 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3),
                0 0 10px rgba(255, 230, 120, 0.4);
}

/* animasi shimmer lembut */
@keyframes shimmer-gold {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}


.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;
    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: var(--text-first);
}

.btn-play:hover {
    background: linear-gradient(0deg, var(--g2) 0%, var(--g1) 100%);
}

.pola-wrapper {
    background: #000; /* warna hitam */
    padding: 0.9rem;
    width: 14rem;
    max-width: 100%;
    border-radius: 5px;
    position: relative;
}


.pola-wrapper h4 {
    font-size: 0.9rem;
}

.pola-wrapper h5 {
    font-size: 0.7rem;
}

.pola-wrapper h4 i, .pola-wrapper h5 i {
    color: var(--first-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('../images/top.gif');
}

.hot-game {
    background: url('../images/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 {
    padding: 1rem;
}

.slider-img {
    width: 40rem;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.slider-wrapper {
    background: linear-gradient(0deg, #4a0a0a79 0%, #4a0a0a70 100%);
    height: 100%;
    border-bottom: 1px dashed #4a0a0a;
}


.running-text {
    padding: 0.4rem 1rem;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1rem;
    color: #fff;
    border: 1px solid #d4af37; /* garis emas */
    border-radius: 6px;
    text-align: center;
    display: inline-block;
    cursor: default;

    /* gradasi emas berkilau */
    background: linear-gradient(120deg, 
                #b8860b 0%, 
                #ffd700 20%, 
                #d4af37 40%, 
                #ffd700 60%, 
                #b8860b 80%);
    background-size: 200% 200%;
    animation: shimmer-gold 4s linear infinite;

    /* efek timbul / emboss */
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.4),
                inset 0 -2px 3px rgba(128,0,0,0.4),
                2px 3px 6px rgba(0,0,0,0.3);

    /* efek kedalaman teks */
    text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}

/* hover: lebih terang dan sedikit naik */
.running-text:hover {
    background: linear-gradient(120deg, 
                #ffd700 0%, 
                #fff5b0 50%, 
                #d4af37 100%);
    background-size: 200% 200%;
    animation: shimmer-gold 2s linear infinite;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* animasi shimmer berjalan */
@keyframes shimmer-gold {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}


.icon-prov {
    background: linear-gradient(0deg, var(--first-color) 0%, var(--g2) 100%);
    display: flex;
    justify-content: center;
    position: relative;
    overflow: auto !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(--text-second);
    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 {
    padding: 0.8rem 1.5rem;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #d4af37; /* gold border */
    cursor: pointer;

    border-radius: 6px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background: linear-gradient(120deg, 
                #b8860b 0%, 
                #ffd700 20%, 
                #d4af37 40%, 
                #ffd700 60%, 
                #b8860b 80%);
    background-size: 200% 200%;
    animation: shimmer 4s linear infinite;

    /* efek timbul */
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.4),
                inset 0 -2px 3px rgba(128,0,0,0.4),  /* sedikit maroon */
                2px 3px 6px rgba(0,0,0,0.3);

    /* teks menyatu */
    text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}

/* hover lebih terang */
.btn-credit:hover {
    background: linear-gradient(120deg, 
                #ffd700 0%, 
                #fff5b0 50%, 
                #d4af37 100%);
    background-size: 200% 200%;
    animation: shimmer 2s linear infinite;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* animasi shimmer (kilau berjalan) */
@keyframes shimmer {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}


.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(120deg,
                #b8860b 0%,
                #ffd700 50%,
                #b8860b 100%);
    color: #2b2100; /* teks gelap agar terbaca di latar emas terang */
    font-weight: 600;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
    border-top: 1px solid #d4af37;
    border-bottom: 1px solid #8b7500;
    border-radius: 6px 6px 0 0;

    /* kilau lembut */
    background-size: 200% 200%;
    animation: gold-glow 5s linear infinite;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

/* hover: sedikit lebih cerah dan naik */
.item-nav-bottom:hover {
    background: linear-gradient(120deg,
                #ffd700 0%,
                #fff2a8 50%,
                #d4af37 100%);
    transform: translateY(-2px);
    cursor: pointer;
}

/* teks di dalamnya */
.item-nav-bottom p {
    margin: 0;
    padding: 0;
}

/* animasi kilau halus */
@keyframes gold-glow {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}


.btn-up {
  display: none;
  position: fixed;
  bottom: 3.8rem;
  right: 0;
  z-index: 99;
  font-size: 0.9rem;
}

/* 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: #ffc107;
}

.great{
    background-color: #28a745;
}

.bad{
    background-color: #dc3545;
}

.content-home {
    padding: 1rem;
    margin-bottom: 4rem;
    background: rgba(128, 0, 0, 0.801); 
    color: #ffffff; 


/* Container */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1100px !important;
    }
}