: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: #ffe4a6;
    --text-first: #fff;
    --text-second: #000000;
    --first-color: #000;
    --second-color: #000;
    --third-color: #000;
    --fourth-color: #e910f1;
    --fifth-color: #ffe4a6;
    --g1: #8b8b8b;
    --g2: #ffe4a6;
}

body {
    background: var(--bg-color);
    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: linear-gradient(0deg, #ffe4a6 0%, var(--fifth-color) 100%);
    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;
}

.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 #000 inset;
}

.place-img-rtp:hover {
    cursor: pointer;
}

.btn-play {
    position: absolute;
    top: 50%;
    left: 50%;
    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, #000000 0%, var(--g2) 100%);
    color: var(--text-first);
}

.btn-play:hover {
    background: linear-gradient(0deg, var(--g2) 0%, var(--g1) 100%);
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-text {
    order: 1;
    margin: 0;
}

.footer-item-top {
    order: 0;
}

.footer-item-bottom {
    order: 2;
}

.pola-wrapper {
    background: #000000;
    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: #000000;
    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: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.slider {
    padding: 0;
    background: none;
    border: none;
}

.slider-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: none;
    background: none;
}

.slider-wrapper {
    background: none;
    height: auto;
    border: none;
    padding: 0;
}

.running-text-container {
    display: flex;
    align-items: center;
    background: linear-gradient(0deg, #000000 0%, var(--g2) 100%);
    padding: 0.3rem 0.5rem;
    border: 1px solid var(--first-color);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.running-icon {
    font-size: 1.2rem;
    color: var(--g1);
    margin-right: 0.5rem;
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

marquee {
    flex-grow: 1;
    font-size: var(--normal-font);
    color: var(--text-first);
    padding-left: 2.2rem;
}

.icon-prov {
    background: linear-gradient(0deg, #c7aa62 0%, var(--g2) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    gap: 1rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    max-width: 100%;
}

.item-prov {
    flex: 0 0 auto;
    text-align: center;
    position: relative;
    width: 100px; /* Fixed width for consistent sizing */
    height: 100px; /* Fixed height for consistent sizing */
}

.img-prov {
    width: 60px; /* Adjusted for better fit */
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.icon-card-bg {
    cursor: pointer;
    padding: 0.1rem;
    color: #000;
    text-decoration: none;
    background: linear-gradient(0deg, #727272 0%, #f0f0f0 100%); /* Background for icon card */
    border-radius: 8px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-card-bg:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: #000;
    text-decoration: none;
}

.icon-card-bg p {
    font-size: 0.73rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    margin: 0.3rem 0 0 0;
}

.icon-card-btn {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #fbff00, #f5dc00);
    color: #000;
    border: none;
    border-radius: 5px;
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    display: none; /* Hidden by default */
}

.icon-card-bg:hover .icon-card-btn {
    display: block; /* Show button on hover */
}

.icon-card-btn:hover {
    background: linear-gradient(90deg, #a6b800, #e4e000);
}

.btn-credit {
    background: linear-gradient(0deg, #c7aa62 0%, var(--g2) 100%);
    padding: 0.6rem;
    color: var(--text-second);
    border: none;
    font-weight: bold;
    border-right: 1px solid var(--first-color);
    cursor: pointer;
    transition: 0.3s;
}

.btn-credit:hover {
    background: linear-gradient(0deg, var(--g2) 0%, var(--g1) 100%);
}

.btn-login {
    background: linear-gradient(90deg, #fbff00, #f5dc00);
    color: #000;
    transition: all 0.3s ease;
    border: none;
}

.btn-login:hover {
    background: linear-gradient(90deg, #a6b800, #e4e000);
    color: #000;
}

.btn-daftar {
    background: linear-gradient(90deg, #ff0000, #c90000);
    color: #000;
    transition: all 0.3s ease;
    border: none;
}

.btn-daftar:hover {
    background: linear-gradient(90deg, #ffb347, #8a0000);
    color: #000;
}

.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(--g1) 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, #e90909 0%, var(--g2) 100%);
    cursor: pointer;
}

.item-nav-bottom p {
    margin: 0;
    padding: 0;
    margin-bottom: 0;
}

.btn-up {
    display: none;
    position: fixed;
    bottom: 3.8rem;
    left: 0;
    z-index: 99;
    font-size: 0.9rem;
}

.percent {
    height: 19px;
    margin-top: 10px !important;
    display: flex;
    overflow: hidden;
    font-size: .75rem;
    background-color: #e9ecef;
    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-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: #ffc107;
}

.great {
    background-color: #28a745;
}

.bad {
    background-color: #dc3545;
}

.content-home {
    padding: 1rem;
    margin-bottom: 4rem;
    background: var(--text-first);
    color: var(--text-second);
}

@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1100px !important;
    }
}