/* RTP SLOT GACOR HARI INI | Menggantikan download-apk-container.
 * Semua gambar diambil dari .popular-game-title-container, bukan aset baru.
 * Presentase adalah ilustrasi UI; bukan pengukuran RTP atau prediksi kemenangan.
 * Versi CSS-only, tidak perlu library atau JS baru.
 */
.rtp-showcase,
.rtp-showcase * {
    box-sizing: border-box;
}
.rtp-showcase {
    --rtp-gold: #f5d17e;
    --rtp-gold-deep: #bd8835;
    --rtp-ink: #080908;
    --rtp-card-width: 205px;
    --rtp-gap: 16px;
    --rtp-half-gap: 8px;
    --rtp-duration: 52s;
    position: relative;
    padding: 38px 0 32px;
    overflow: hidden;
    isolation: isolate;
    color: #ffeed0;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    border-top: 1px solid rgba(234, 183, 84, .27);
    border-bottom: 1px solid rgba(234, 183, 84, .27);
    background: radial-gradient(ellipse at 50% -28%, rgba(232, 178, 67, .20), transparent 66%),
                linear-gradient(180deg, #090908 0%, #1d180f 52%, #080808 100%);
}
.rtp-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(122deg, rgba(255, 215, 129, .016) 0 1px, transparent 1px 24px);
    pointer-events: none;
    z-index: -1;
}
.rtp-showcase__container {
    width: 100%;
    max-width: 1230px;
    padding: 0 18px;
    margin: 0 auto;
    min-width: 0;
}
.rtp-showcase__heading {
    margin: 0 auto 20px;
    text-align: center;
}
.rtp-showcase__kicker {
    color: #cfa85a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.4px;
}
.rtp-showcase__kicker > span { color: #f0c367; }
.rtp-showcase__title {
    margin: 7px 0 9px;
    color: #fbe1a1;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: clamp(23px, 2.8vw, 35px);
    font-weight: 900;
    line-height: 1.24;
    letter-spacing: .8px;
    text-shadow: 0 2px 1px #281a07, 0 0 22px rgba(214, 164, 59, .21);
}
.rtp-showcase__title::after {
    content: "";
    display: block;
    height: 2px;
    width: min(165px, 42%);
    margin: 13px auto 0;
    border-radius: 20px;
    background: linear-gradient(90deg, transparent, #eab34e, #ffedba, #eab34e, transparent);
}
.rtp-showcase__subtitle {
    color: #ad9e7c;
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
}
.rtp-showcase__frame {
    position: relative;
    overflow: hidden;
    padding: 17px 0;
    border: 1px solid rgba(230, 175, 72, .55);
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(14, 14, 14, .96), rgba(43, 32, 16, .95));
    box-shadow: 0 13px 32px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255, 226, 151, .055);
}
.rtp-showcase__frame::before,
.rtp-showcase__frame::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    width: 48px;
    pointer-events: none;
}
.rtp-showcase__frame::before {
    left: 0;
    background: linear-gradient(90deg, #130f0a 0%, transparent 100%);
}
.rtp-showcase__frame::after {
    right: 0;
    background: linear-gradient(270deg, #130f0a 0%, transparent 100%);
}
.rtp-showcase__viewport {
    overflow: hidden;
    width: 100%;
    min-width: 0;
}
.rtp-showcase__track {
    display: flex;
    align-items: stretch;
    width: max-content;
    max-width: none;
    gap: var(--rtp-gap);
    animation: rtp-showcase-loop var(--rtp-duration) linear infinite;
    will-change: transform;
}
.rtp-showcase__group {
    display: flex;
    flex: none;
    align-items: stretch;
    gap: var(--rtp-gap);
    width: max-content;
    max-width: none;
}
@keyframes rtp-showcase-loop {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(calc(-50% - var(--rtp-half-gap)), 0, 0); }
}
@media (hover: hover) {
    .rtp-showcase__frame:hover .rtp-showcase__track { animation-play-state: paused; }
}
.rtp-showcase__frame:focus-within .rtp-showcase__track { animation-play-state: paused; }
.rtp-showcase__card {
    display: flex;
    flex-direction: column;
    flex: 0 0 var(--rtp-card-width);
    width: var(--rtp-card-width);
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(217, 163, 69, .54);
    background: linear-gradient(165deg, #292013 0%, #101010 53%, #17130d 100%);
    box-shadow: 0 4px 16px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.08);
    color: #fff1d2;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.rtp-showcase__card:hover {
    border-color: #ffdc87;
    box-shadow: 0 6px 25px rgba(214, 165, 68, .16), 0 0 0 1px rgba(255, 211, 113, .2);
}
.rtp-showcase__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-width: 0;
    height: 158px;
    padding: 7px;
    background: radial-gradient(circle at 50% 37%, #46331c, #120e09 72%);
    border-bottom: 1px solid rgba(220, 170, 79, .22);
}
.rtp-showcase__media img {
    display: block;
    object-fit: contain;
    width: 100%;
    height: 100%;
    max-width: 100%;
    border-radius: 9px;
    color: #eac986;
    font-size: 11px;
}
.rtp-showcase__corner {
    position: absolute;
    top: 11px;
    left: 11px;
    padding: 4px 7px;
    border: 1px solid rgba(252, 219, 133, .4);
    border-radius: 5px;
    background: rgba(13, 9, 5, .78);
    color: #f9da8d;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .6px;
}
.rtp-showcase__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 13px 12px 12px;
}
.rtp-showcase__game-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    min-height: 36px;
    max-height: 38px;
    overflow: hidden;
    margin: 0 0 13px;
    color: #ffefca;
    font-size: 13px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}
.rtp-showcase__stats {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
    color: #c0ad80;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .3px;
}
.rtp-showcase__stats small {
    color: #867a60;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0;
}
.rtp-showcase__stats strong {
    color: #f7d06d;
    font-size: 17px;
    font-weight: 900;
    white-space: nowrap;
}
.rtp-showcase__progress {
    overflow: hidden;
    height: 9px;
    margin-bottom: 12px;
    border-radius: 99px;
    border: 1px solid rgba(239, 183, 73, .3);
    background: #050606;
    box-shadow: inset 0 2px 5px rgba(0,0,0,.65);
}
.rtp-showcase__progress > span {
    display: block;
    height: 100%;
    max-width: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #9c6b21, #e8ad41 58%, #ffe9a8);
    box-shadow: 0 0 9px rgba(242, 183, 67, .3);
}
.rtp-showcase__button,
.rtp-showcase__button:hover,
.rtp-showcase__button:focus {
    text-decoration: none;
}
.rtp-showcase__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 35px;
    margin-top: auto;
    padding: 8px;
    border: 1px solid #f2d17f;
    border-radius: 9px;
    background: linear-gradient(180deg, #ffde8a 0%, #e1aa49 50%, #ab7524 100%);
    color: #231500;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .65px;
    text-align: center;
    box-shadow: inset 0 1px rgba(255,255,255,.4), 0 3px 9px rgba(0,0,0,.2);
    transition: filter .2s ease, box-shadow .2s ease;
}
.rtp-showcase__button:hover,
.rtp-showcase__button:focus-visible {
    filter: brightness(1.13);
    color: #201303;
    box-shadow: 0 0 15px rgba(244, 196, 99, .3);
}
.rtp-showcase__button:focus-visible { outline: 2px solid #fff2cb; outline-offset: 2px; }
.rtp-showcase__disclaimer {
    margin: 12px 4px 0;
    color: #a69a81;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}
@media (max-width: 767px) {
    .rtp-showcase {
        --rtp-card-width: 186px;
        --rtp-gap: 12px;
        --rtp-half-gap: 6px;
        --rtp-duration: 50s;
        padding: 28px 0 27px;
    }
    .rtp-showcase__container { padding: 0 10px; }
    .rtp-showcase__heading { margin-bottom: 15px; }
    .rtp-showcase__title { font-size: clamp(22px, 5.7vw, 29px); }
    .rtp-showcase__subtitle { font-size: 11px; }
    .rtp-showcase__frame { padding: 12px 0; border-radius: 13px; }
    .rtp-showcase__frame::before,
    .rtp-showcase__frame::after { width: 22px; }
    .rtp-showcase__media { height: 145px; }
    .rtp-showcase__body { padding: 10px 10px 11px; }
    .rtp-showcase__game-name { font-size: 12px; min-height: 34px; }
    .rtp-showcase__disclaimer { font-size: 10px; }
}
@media (max-width: 360px) {
    .rtp-showcase { --rtp-card-width: 171px; }
    .rtp-showcase__container { padding: 0 8px; }
    .rtp-showcase__media { height: 134px; }
    .rtp-showcase__kicker { letter-spacing: 1.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .rtp-showcase__track { animation: none; will-change: auto; }
    .rtp-showcase__viewport { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .rtp-showcase__group[aria-hidden="true"] { display: none; }
    .rtp-showcase__card { transition: none; }
}
