: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: #770000;
    --text-first: #fae884;
    --text-second: #fae884;
    --first-color: #ff9900;
    --second-color: #eb0000;
    --third-color: #ff9900;
    --fourth-color: #ff9900;
    --fifth-color: #f50808;
    --sixth-color: #720000;
    --g1: #ff9900;
    --g2: #ff9900;
    --marquee: #f70b0b;
 }

body {
    background: url('https://s14.gifyu.com/images/bxJKK.png') no-repeat center center fixed;
    background-size: cover;
    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, var(--first-color) 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 #ffe600 inset;
}

.place-img-rtp:hover {
    cursor: pointer;
}

@keyframes ledGlowBtn {
  0% {
    box-shadow: 0 0 5px #FDBD2D;
  }
  33% {
    box-shadow: 0 0 10px #FF8800;
  }
  66% {
    box-shadow: 0 0 15px #FF0000;
  }
  100% {
    box-shadow: 0 0 5px #FDBD2D;
  }
}

.btn-play {
  border-radius: 5px;
  padding: 0.3rem;
  width: 100%;
  font-size: 0.6rem;
  font-weight: bold;
  text-transform: capitalize;
  border: 2px solid var(--first-color);
  background: linear-gradient(0deg, var(--g1) 0%, var(--g2) 100%);
  color: var(--text-first);
  margin-top: 10px;

  /* Tambahan efek LED Glow */
  animation: ledGlowBtn 0.2s infinite;
}

.btn-play:hover {
  animation: ledGlowBtn 0.2s infinite;
}


.pola-wrapper {
    background: var(--sixth-color);
    padding: 0.9rem;
    width: 100%;
    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(--g2);
}

.jam-wrapper {
    background: #131313;
    border-radius: 50%;
    padding: 0.6rem;
}

.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: linear-gradient(0deg, var(--text-second) 0%, var(--text-second) 100%);
    height: 100%;
    border-bottom: 1px dashed var(--first-color);
}

.running-text {
    background: var(--marquee);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--text-second);
    padding: 0.1rem;
}

.icon-prov {
    background: linear-gradient(0deg, var(--first-color) 0%, var(--g2) 100%);
    display: flex;
    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-login {
    background: linear-gradient(0deg, var(--g1) 0%, var(--g2) 100%);
    padding: 0.6rem;
    color: var(--text-second);
    border: none;
    font-weight: bold;
}

.btn-login:hover {
    background: linear-gradient(0deg, var(--g2) 0%, var(--g1) 100%);
}

.btn-daftar {
    background: linear-gradient(0deg, #e9b304 0%, #e48304 100%);
    padding: 0.6rem;
    color: var(--text-second);
    border: none;
    font-weight: bold;
}

.btn-daftar:hover {
    background: linear-gradient(0deg, var(--g2) 0%, var(--g1) 100%);
}

.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(--first-color) 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, var(--first-color) 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;
  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: #ffee00;
}

.great{
    background-color: #00ff3c;
}

.bad{
    background-color: #ff0019;
}

.content-home {
    padding: 1rem;
    margin-bottom: 4rem;
    background: var(--text-first);
    color: var(--text-second);
}

/* Container */
.swiper {
  width: 100%;
  height: auto;
}

.swiper-slide img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1100px !important;
    }
        .swiper {
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .swiper-slide {
        transform-style: preserve-3d;
        backface-visibility: hidden;
        transition: transform 1s ease, opacity 1s ease;
    }

    .swiper-slide img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        display: block;
    }

    .swiper-slide-active {
        animation: rotateIn 1s forwards;
    }

    @keyframes rotateIn {
        0% {
            transform: rotateY(360deg);
            opacity: 0;
        }
        100% {
            transform: rotateY(0deg);
            opacity: 1;
        }
    }
    
    @keyframes ledGlow {
  0%, 100% {
    box-shadow: 
      0 0 5px #fdbd2d,
      0 0 10px #fdbd2d,
      0 0 20px #ff9900,
      0 0 30px #ff4500;
    border-color: #fdbd2d;
  }
  50% {
    box-shadow: 
      0 0 10px #ff9900,
      0 0 20px #ffcc00,
      0 0 40px #ff4500,
      0 0 60px #ff0000;
    border-color: #ffcc00;
  }
}

@keyframes slide-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

        @keyframes slide-left {
            0% {
                transform: translateX(100%);
            }
            100% {
                transform: translateX(-100%);
            }
        }

        @keyframes flicker {
            0% { opacity: 1; text-shadow: 0 0 6px #ff6600, 0 0 15px #ff3300; }
            25% { opacity: 0.8; text-shadow: 0 0 4px #ff9900, 0 0 12px #ff3300; }
            50% { opacity: 1; text-shadow: 0 0 5px #ff6600, 0 0 14px #ff4500; }
            75% { opacity: 0.9; text-shadow: 0 0 3px #ffcc00, 0 0 11px #ff3300; }
            100% { opacity: 1; text-shadow: 0 0 6px #ff6600, 0 0 15px #ff3300; }
        }

        .fire-flicker {
            animation: flicker 1s infinite;
        }

        @keyframes ledBorder {
            0% {
                background-position: 0 0;
            }
            100% {
                background-position: 4px 4px;
            }
        }

        .btn-credit {
            height: 60px;
            font-size: 20px;
            font-weight: bold;
            background-color: #ff9900;
            color: #FDBD2D;
            border: none;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            width: 100%;
            margin-bottom: 10px;
            border: 2px solid transparent;
            background-image: linear-gradient(45deg, #FFD700 25%, transparent 25%, transparent 50%, #FFD700 50%, #FFD700 75%, transparent 75%, transparent);
            background-size: 4px 4px;
            animation: ledBorder 1s infinite linear;
        }

        .btn-credit:hover {
            background-color: #ffc107;
            box-shadow: 0 0 15px #fff700, 0 0 25px #ffd700;
        }

        .btn-wrapper {
            padding: 0 5px;
        }

        @media (max-width: 768px) {
            .col-half {
                width: 100%;
                margin-bottom: 10px;
            }
        }

        @media (min-width: 769px) {
            .col-half {
                width: 50%;
            }
        }
        @keyframes ledGlow {
  0%, 100% {
    box-shadow:
      0 0 5px #fdbd2d,
      0 0 10px #fdbd2d,
      0 0 20px #ff9900,
      0 0 30px #ff4500;
    border-color: #fdbd2d;
  }
  50% {
    box-shadow:
      0 0 10px #ff9900,
      0 0 20px #ffcc00,
      0 0 40px #ff4500,
      0 0 60px #ff0000;
    border-color: #ffcc00;
  }
}

   .icon-prov {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
  background: linear-gradient(to right, #720000, #720000);
  border-radius: 8px;
  -webkit-overflow-scrolling: touch; /* untuk iOS */
  scrollbar-width: none; /* Firefox */
}

.icon-prov::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.item-prov {
  flex: 0 0 auto;
  width: 100px;
}

.icon-card-bg {
  background-color: #720000;
  border-radius: 8px;
  color: #FDBD2D;
  font-weight: bold;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 130px; /* Atur tinggi tetap agar semua simetris */
  text-align: center;
}

.icon-card-bg:hover {
  transform: scale(1.05);
  box-shadow: 0 0 8px #ffcc00;
}

.img-prov {
    width: 55px;
  height: 55px;
  object-fit: contain;
  margin-bottom: 8px;
}

.p-2 {
  padding: 0;
  margin: 0;
}
.icon-prov {
  background: linear-gradient(to right, #720000, #720000) !important;
}

.icon-card-bg {
  background-color: #720000 !important;
}

@media (max-width: 768px) {
  .icon-card-bg {
    background-color: #720000 !important;
  }

  .icon-prov {
    background: #720000 !important;
  }
}

/* Animasi LED berdenyut */
@keyframes glowPulse {
  0% {
    text-shadow:
      0 0 5px #ffd700,
      0 0 10px #ffa500,
      0 0 15px #ff4500;
  }
  50% {
    text-shadow:
      0 0 10px #ffa500,
      0 0 20px #ff6347,
      0 0 30px #ff0000;
  }
  100% {
    text-shadow:
      0 0 5px #ffd700,
      0 0 10px #ffa500,
      0 0 15px #ff4500;
  }
}

@keyframes ledGlow {
  0% {
    box-shadow: 0 0 5px #FDBD2D;
  }
  33% {
    box-shadow: 0 0 10px #FF8800;
  }
  66% {
    box-shadow: 0 0 15px #FF0000;
  }
  100% {
    box-shadow: 0 0 5px #FDBD2D;
  }
}

/* Style umum untuk floating menu item */
.floating-menu .menu-item a {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Floating Menu: Desktop */
.floating-menu {
  position: fixed;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #0e1014;
  border-radius: 55px;
  padding: 11px 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  top: 50%;
  left: 20px; /* ubah dari 280px agar tidak off-screen di laptop */
  transform: translateY(-50%);
}

.floating-menu .menu-item {
  color: white;
  text-align: center;
  margin: 11px 0;
  font-size: 13.2px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.floating-menu .menu-item i {
  font-size: 22px;
  margin-bottom: 5.5px;
}

/* BIG Rounded "Masuk" Button with Animation */
.floating-menu .menu-item.masuk {
  background: radial-gradient(circle at 50% 50%, #1f1f1f, #0f0f0f);
  border: 2px solid #FDBD2D;
  padding: 15.4px;
  border-radius: 50%;
  width: 66px;
  height: 66px;
  justify-content: center;
  animation: ledGlow 1.2s infinite;
}

.floating-menu .menu-item.masuk:hover {
  transform: scale(1.1);
}

.floating-menu .menu-item.masuk i {
  font-size: 26.4px;
  margin-bottom: 0;
}

.floating-menu .menu-item.masuk .label {
  margin-top: 5px;
  font-size: 13.2px;
  color: #fff;
  font-weight: bold;
}

/* Responsive Mobile: Bottom Center Floating */
@media (max-width: 768px) {
  .floating-menu {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    bottom: 15px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 15px;
    background: #770000;
    border-radius: 35px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    width: a

  }
}



}