: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: #202027; /* Solid deep black background */
    --text-first: #f0f0f0; /* Clean off-white for text readability */
    --text-second: #d4d4d4; /* Light gray for secondary text */
    --first-color: #262626; /* Solid dark charcoal */
    --second-color: #333333; /* Slightly lighter charcoal */
    --third-color: #4d4d4d; /* Solid medium gray for variety */
    --fourth-color: #32a87b ; /* Solid rich gold for highlights */
    --fifth-color: #32a87b; /* Solid pale gold for subtle accents */
    --sixth-color: #0d0d0d; /* Solid near-black for cards */
    --gold-accent: #575322 ; /* Solid rich gold for accents */
    --g1: #1a1a1a; /* Solid deep black for gradients */s
    --g2: #bfa75d ; /* Solid rich gold for gradients */
}

body {
    background: var(--bg-color); /* Solid black background */
    color: var(--text-first);
}

.logo img {
    width: 19rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.9rem;
    margin-bottom: 1rem;
}

.rtp-card {
    background: var(--sixth-color); /* Solid near-black */
    padding: 0.7rem;
    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;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4); /* Rich gold shadow */
    border: 1px solid var(--gold-accent); /* Gold border for fancy touch */
}

.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 #1a1a1a inset; /* Solid black inset shadow */
}

.place-img-rtp:hover {
    cursor: pointer;
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.btn-play {
    border-radius: 5px;
    padding: 0.3rem;
    width: 100%;
    font-size: 0.6rem;
    font-weight: bold;
    text-transform: capitalize;
    border: 2px solid var(--gold-accent); /* Solid gold border */
    background: linear-gradient(45deg, var(--g1) 0%, var(--g2) 100%); /* Black to gold gradient */
    color: var(--text-first);
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-play:hover {
    background: var(--fourth-color); /* Solid rich gold */
    border-color: var(--fifth-color); /* Pale gold border */
    transform: translateY(-2px);
}

.pola-wrapper {
    background: var(--sixth-color); /* Solid near-black */
    padding: 0.9rem;
    width: 100%;
    max-width: 100%;
    border-radius: 5px;
    position: relative;
    box-shadow: 0 2px 10px rgba(4, 155, 67, 0.3);
    border: 1px solid var(--gold-accent); /* Gold border */
}

.pola-wrapper h4 {
    font-size: 0.9rem;
}

.pola-wrapper h5 {
    font-size: 0.7rem;
}

.pola-wrapper h4 i, .pola-wrapper h5 i {
    color: var(--gold-accent); /* Solid rich gold for icons */
}

.jam-wrapper {
    background: var(--sixth-color); /* Solid near-black */
    border-radius: 50%;
    padding: 0.6rem;
    border: 1px solid var(--gold-accent); /* Gold border */
}

.table-pola {
    max-width: 100%;
    width: 100%;
}

.table-pola tr td {
    text-align: center;
    font-size: 0.6rem;
}

.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: 100%;
    max-width: 100%;
}

.slider-img {
    width: 100%;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.slider-wrapper {
    background: var(--sixth-color); /* Solid near-black */
    height: 100%;
    border-bottom: 1px dashed var(--gold-accent); /* Gold dashed border */
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

.running-text {
    background: linear-gradient(45deg, var(--g1) 0%, var(--g2) 100%); /* Black to gold gradient */
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--text-second);
    padding: 0.1rem;
}

.icon-prov {
    background: var(--first-color); /* Solid dark charcoal */
    display: flex;
    position: relative;
    overflow: auto !important;
    border: 1px solid var(--gold-accent); /* Gold border */
}

.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-login {
    background: var(--first-color); /* Solid dark charcoal */
    padding: 0.6rem;
    color: var(--text-second);
    border: 2px solid var(--gold-accent); /* Gold border */
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--fourth-color); /* Solid rich gold */
    border-color: var(--fifth-color); /* Pale gold border */
    transform: translateY(-2px);
}

.btn-daftar {
    background: var(--fourth-color); /* Solid rich gold */
    padding: 0.6rem;
    color: #1a1a1a; /* Solid black text for contrast */
    border: 2px solid var(--first-color); /* Charcoal border */
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-daftar:hover {
    background: var(--fifth-color); /* Solid pale gold */
    border-color: var(--gold-accent); /* Rich gold border */
    transform: translateY(-2px);
}

.nav-bottom {
    position: fixed;
    bottom: 0;
    display: flex;
    z-index mahdai11;
    overflow: hidden;
    width: 100%;
    border-top: 3px solid var(--gold-accent); /* Solid gold border */
}

.item-nav-bottom {
    background: var(--first-color); /* Solid dark charcoal */
    color: var(--text-second);
    font-weight: bold;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.3rem;
    transition: all 0.3s ease;
    border-right: 1px solid var(--gold-accent); /* Gold separator */
}

.item-nav-bottom:hover {
    background: var(--fourth-color); /* Solid rich gold */
    cursor: pointer;
}

.item-nav-bottom p {
    margin: 0;
    padding: 0;
    margin-bottom: 0;
}

.btn-up {
    display: none;
    position: fixed;
    bottom: 3.8rem;
    right: 0;
    z-index: 99;
    font-size: 0.9rem;
    background: var(--fourth-color); /* Solid rich gold */
    color: #1a1a1a; /* Black text */
    padding: 0.5rem;
    border-radius: 5px 0 0 5px;
    border: 1px solid var(--first-color); /* Charcoal border */
}

/* Percentage */
.percent {
    height: 19px;
    margin-top: 10px !important;
    display: flex;
    overflow: hidden;
    font-size: .75rem;
    background-color: #0d0d0d; /* Solid near-black */
    position: relative;
    z-index: 1;
    border-radius: 5px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid var(--gold-accent); /* Gold border */
}

.percent p {
    z-index: 15;
    position: absolute;
    text-align: center;
    width: 100%;
    font-size: 13px;
    top: -15px;
    font-weight: bold;
    transform: translateY(14px);
    color: var(--text-first);
}

.percent-bar {
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.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 0.6s ease;
    animation: progress-bar-stripes 1s linear infinite;
    z-index: 10;
}

.good {
    background-color: var(--fourth-color); /* Solid rich gold */
}

.great {
    background-color: var(--fifth-color); /* Solid pale gold */
}

.bad {
    background-color: #c62828; /* Solid deep red for contrast */
}

.content-home {
    padding: 1rem;
    margin-bottom: 4rem;
    background: var(--sixth-color); /* Solid near-black */
    color: var(--text-second);
    border: 1px solid var(--gold-accent); /* Gold border */
}

/* Container */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1100px !important;
    }
}