/* style.css - Scatter API x BOLANG588 */

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #3b0000, #1a0000);
    color: #ffd700;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  
  .rtp-container {
    max-width: 100vw;
    margin: auto;
    background: #2d0000;
    border: 3px solid #ff4500;
    border-radius: 0;
    padding: 10px;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
    text-align: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }
  
  .header-logo-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 360px;
    margin-bottom: 10px;
    padding: 0 10px;
  }
  
  .btn-login,
  .btn-daftar {
    background: linear-gradient(to right, #ff5f00, #ffaa00);
    color: #fff;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    text-shadow: 0 0 4px #000;
    box-shadow: 0 0 8px #ff6600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .btn-login:hover,
  .btn-daftar:hover {
    transform: scale(1.05);
  }
  
  .logo {
    max-width: 180px;
    height: auto;
  }
  
  .banner {
    width: 100%;
    height 80%
    border-radius: 8px;
    margin-bottom: 5px;
  }
  
  .rtp-title {
    font-size: 18px;
    color: #ffae00;
    font-weight: 600;
    text-shadow: 0 0 6px #ff4500;
    margin-bottom: 5px;
  }
  
  .rtp-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 5px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    width: 100%;
  }
  
  .rtp-game {
    flex: 0 0 48%;
    scroll-snap-align: start;
    background: #400000;
    border: 2px solid #660000;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(255, 100, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .rtp-game img {
    width: 80%;
    border-radius: 10px;
    margin-bottom: 8px;
    box-shadow: 0 0 6px #ff6600;
  }
  
  .game-name {
    font-size: 12px;
    font-weight: bold;
    color: #ffcc00;
    text-shadow: 0 0 4px #ff6600;
    margin-bottom: 8px;
  }
  
  .pola-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  
  .pola-step {
    flex: 1;
    text-align: left;
    white-space: normal;
    line-height: 1.3;
    font-size: 10px;
  }
  
  .pola-check {
    width: 60px; /* kontrol lebar agar sejajar */
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    font-size: 10px;
  }
  
  .pola-check span {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 4px;
  }
  
  .pola-check .check {
    color: #00ff7f;
  }
  
  .pola-check .fail {
    color: #ff4c4c;
  }
  
  
  
  .rtp-bar-container {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    height: 24px;
    box-shadow: inset 0 0 6px #000;
    width: 100%;
    margin-bottom: 8px;
  }
  
  .rtp-bar {
    height: 100%;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #ff0000, #ff6600, #ffaa00);
    border-radius: 20px;
    box-shadow: 0 0 12px #ff3300aa, inset 0 0 6px #ff9900;
    text-shadow: 0 0 3px #000;
    animation: shine 3s infinite linear, expandWidth 1.5s ease-out forwards;
    background-size: 200% auto;
    background-position: left center;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
  }
  
  .main-button {
    background: linear-gradient(to right, #ff5f00, #ffaa00);
    color: #fff;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 25px;
    margin-top: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    text-shadow: 0 0 4px #000;
    box-shadow: 0 0 10px #ff6600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    width: 100%;
    max-width: 180px;
  }
  
  .main-button:hover {
    transform: scale(1.05);
  }
  
  /* Popup Overlay */
  .popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .popup-content {
    background: #440000;
    padding: 5px;
    border-radius: 16px;
    max-width: 80%;
    text-align: center;
    color: #fff3d1;
    box-shadow: 0 0 20px #ff6600;
  }
  
  .popup-content img {
    max-width: 80%;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  
  .popup-content .popup-text {
    margin-bottom: 12px;
    font-size: 10px;
  }
  
  .popup-content .popup-button {
    background: #ff5f00;
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .popup-content .popup-button:hover {
    transform: scale(1.05);
  }
  
  @keyframes expandWidth {
    from { width: 0%; }
    to   { width: 100%; }
  }
  
  @keyframes shine {
    0% {
      background-position: -200px center;
    }
    100% {
      background-position: 200px center;
    }
  }
  .rtp-footer-title {
    font-size: 13px;
    color: #ffae00;
    font-weight: 600;
    text-shadow: 0 0 6px #ff4500;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .rtp-footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 360px;
    padding: 10px;
  }
  
  .btn-daftar-footer {
    background: linear-gradient(to right, #ff5f00, #ffaa00);
    color: #fff;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    text-shadow: 0 0 4px #000;
    box-shadow: 0 0 8px #ff6600;
    border: none;
    cursor: pointer;
    flex: 1;
  }
  
  .footer-image {
    flex: 1;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 100, 0, 0.4);
  }
  