/* =========================================================
   HOTWIN88 — Platform Slot
   Tema: Naga · Api · Roulette
   Palet: Merah (#C41E1E) · Hitam (#0A0A0A) · Orange (#FF6A00)
   ========================================================= */

.nx-dragon-theme {
    --nx-red: #c41e1e;
    --nx-red-deep: #8b1010;
    --nx-red-glow: rgba(196, 30, 30, 0.45);
    --nx-orange: #ff6a00;
    --nx-orange-soft: #ff8a00;
    --nx-orange-deep: #cc5500;
    --nx-black: #0a0a0a;
    --nx-black-2: #121212;
    --nx-black-3: #1a1a1a;
    --nx-panel: #141414;
    --nx-border: rgba(255, 106, 0, 0.28);
    --nx-border-red: rgba(196, 30, 30, 0.45);
    --nx-text: #f5f5f5;
    --nx-muted: #a0a0a0;
    --nx-gold: #ffb347;
    --nx-rtp: #ff8a00;
    --nx-radius: 12px;
    --nx-radius-sm: 8px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 50% at 10% 20%, rgba(196, 30, 30, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 80%, rgba(255, 106, 0, 0.14) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0a 0%, #120808 40%, #0a0a0a 100%);
    padding: 28px 0 36px;
    color: var(--nx-text);
}

/* ----- deco background ----- */
.nx-theme-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.nx-theme-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 12px,
            rgba(196, 30, 30, 0.5) 12px,
            rgba(196, 30, 30, 0.5) 13px
        );
}

.nx-ember {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nx-orange);
    box-shadow: 0 0 12px 4px var(--nx-orange-soft);
    opacity: 0.55;
    animation: nx-float 5s ease-in-out infinite;
}

.nx-ember-1 { left: 8%; bottom: 18%; animation-delay: 0s; }
.nx-ember-2 { left: 72%; bottom: 40%; width: 4px; height: 4px; animation-delay: 1.4s; }
.nx-ember-3 { left: 42%; bottom: 8%; width: 5px; height: 5px; animation-delay: 2.6s; }

@keyframes nx-float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-28px) scale(1.3); opacity: 0.85; }
}

.nx-roulette-deco {
    position: absolute;
    right: -60px;
    top: 40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 3px dashed rgba(255, 106, 0, 0.18);
    box-shadow:
        inset 0 0 0 18px rgba(196, 30, 30, 0.06),
        0 0 40px rgba(255, 106, 0, 0.08);
    animation: nx-spin 28s linear infinite;
    opacity: 0.7;
}

.nx-roulette-deco::after {
    content: "";
    position: absolute;
    inset: 28px;
    border-radius: 50%;
    border: 2px solid rgba(196, 30, 30, 0.2);
}

@keyframes nx-spin {
    to { transform: rotate(360deg); }
}

.nx-dragon-theme > .container {
    position: relative;
    z-index: 1;
}

/* ----- shared section header ----- */
.nx-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--nx-border);
}

.nx-section-head-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nx-icon-badge {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #2a1010 0%, #0a0a0a 70%);
    border: 1px solid var(--nx-border);
    box-shadow: 0 0 16px var(--nx-red-glow);
    flex-shrink: 0;
}

.nx-icon-roulette {
    box-shadow: 0 0 16px rgba(255, 106, 0, 0.35);
}

.nx-section-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1.2px;
    line-height: 1.2;
    background: linear-gradient(90deg, #fff 0%, #ffb347 45%, #ff6a00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ff8a00;
}

.nx-section-sub {
    margin: 3px 0 0;
    font-size: 12px;
    color: var(--nx-muted);
    letter-spacing: 0.4px;
}

.nx-theme-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.nx-pill {
    font-size: 11px;
    font-weight: 600;
    color: #ffd9b0;
    background: linear-gradient(180deg, #1f0c0c 0%, #120808 100%);
    border: 1px solid var(--nx-border-red);
    padding: 5px 10px;
    border-radius: 20px;
}

/* ----- OPSI 1 body ----- */
.nx-slot-section {
    background:
        linear-gradient(145deg, rgba(30, 8, 8, 0.92) 0%, rgba(10, 10, 10, 0.95) 55%, rgba(20, 8, 4, 0.92) 100%);
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius);
    padding: 18px 18px 20px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.5),
        0 12px 40px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 106, 0, 0.08);
    margin-bottom: 20px;
}

.nx-slot-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 18px;
    align-items: start;
}

/* visual kiri */
.nx-slot-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.nx-visual-frame {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nx-roulette-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    background:
        linear-gradient(var(--nx-black), var(--nx-black)) padding-box,
        conic-gradient(
            from 0deg,
            var(--nx-red) 0deg 30deg,
            var(--nx-black) 30deg 60deg,
            var(--nx-orange) 60deg 90deg,
            var(--nx-black) 90deg 120deg,
            var(--nx-red) 120deg 150deg,
            var(--nx-black) 150deg 180deg,
            var(--nx-orange) 180deg 210deg,
            var(--nx-black) 210deg 240deg,
            var(--nx-red) 240deg 270deg,
            var(--nx-black) 270deg 300deg,
            var(--nx-orange) 300deg 330deg,
            var(--nx-black) 330deg 360deg
        ) border-box;
    animation: nx-spin 18s linear infinite;
    box-shadow: 0 0 24px var(--nx-red-glow);
}

.nx-visual-img {
    position: relative;
    z-index: 1;
    width: 132px;
    height: 132px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--nx-orange);
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.4);
    background: var(--nx-black);
}

.nx-visual-glow {
    position: absolute;
    inset: 20%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.35) 0%, transparent 70%);
    z-index: 0;
    filter: blur(8px);
}

.nx-visual-label {
    text-align: center;
}

.nx-visual-label strong {
    display: block;
    font-size: 13px;
    letter-spacing: 1.5px;
    color: var(--nx-orange-soft);
}

.nx-visual-label span {
    font-size: 11px;
    color: var(--nx-muted);
}

/* main right */
.nx-slot-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

/* 2 hot cards */
.nx-hot-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.nx-hot-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: var(--nx-radius-sm);
    text-decoration: none !important;
    color: var(--nx-text) !important;
    background: linear-gradient(135deg, #1c0a0a 0%, #0e0e0e 55%, #1a0c05 100%);
    border: 1px solid var(--nx-border-red);
    box-shadow: inset 0 0 0 1px rgba(255, 106, 0, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nx-hot-card:hover {
    transform: translateY(-3px);
    border-color: var(--nx-orange);
    box-shadow: 0 8px 24px rgba(196, 30, 30, 0.35), 0 0 0 1px rgba(255, 106, 0, 0.2);
    color: var(--nx-text) !important;
}

.nx-hot-thumb {
    position: relative;
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 106, 0, 0.35);
}

.nx-hot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nx-tag {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 3px 7px;
    border-radius: 4px;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
}

.nx-tag-hot {
    background: linear-gradient(180deg, #e02424 0%, #9b1212 100%);
    box-shadow: 0 2px 8px rgba(196, 30, 30, 0.5);
}

.nx-tag-gacor {
    background: linear-gradient(180deg, #ff8a00 0%, #cc5500 100%);
    box-shadow: 0 2px 8px rgba(255, 106, 0, 0.45);
}

.nx-hot-thumb .nx-tag {
    position: absolute;
    top: 6px;
    left: 6px;
}

.nx-hot-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.nx-hot-provider {
    font-size: 11px;
    color: var(--nx-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nx-hot-name {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.nx-hot-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 11px;
    color: var(--nx-muted);
}

.nx-hot-stats b {
    color: #fff;
    font-weight: 700;
}

.nx-stat.rtp b {
    color: var(--nx-orange-soft);
}

.nx-stat.max b {
    color: var(--nx-gold);
}

.nx-hot-cta {
    margin-top: 6px;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    background: linear-gradient(180deg, #ff6a00 0%, #c41e1e 100%);
    box-shadow: 0 3px 10px rgba(196, 30, 30, 0.4);
}

/* recommend list */
.nx-rec-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: var(--nx-radius-sm);
    padding: 10px;
}

.nx-rec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 7px;
    background: linear-gradient(90deg, #161010 0%, #0e0e0e 100%);
    border: 1px solid transparent;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.nx-rec-item:hover {
    border-color: var(--nx-border);
    background: linear-gradient(90deg, #221010 0%, #141010 100%);
}

.nx-rec-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 106, 0, 0.25);
}

.nx-rec-info {
    flex: 1;
    min-width: 0;
}

.nx-rec-name {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nx-rec-meta {
    font-size: 11px;
    color: var(--nx-muted);
    margin-top: 2px;
}

.nx-rec-meta em {
    font-style: normal;
    color: var(--nx-orange);
    font-weight: 600;
}

.nx-rec-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.nx-rec-rtp {
    font-size: 13px;
    font-weight: 800;
    color: var(--nx-orange-soft);
    font-variant-numeric: tabular-nums;
}

.nx-rec-btn {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff !important;
    text-decoration: none !important;
    padding: 4px 11px;
    border-radius: 4px;
    background: linear-gradient(180deg, #e02424 0%, #8b1010 100%);
    transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.nx-rec-btn:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 10px var(--nx-red-glow);
    color: #fff !important;
}

/* =========================================================
   OPSI 4 — RTP LIVE / JAM GACOR + ANIMASI
   ========================================================= */
.nx-rtp-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(18, 6, 6, 0.96) 0%, rgba(8, 8, 8, 0.98) 50%, rgba(16, 8, 4, 0.96) 100%);
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius);
    padding: 18px;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 106, 0, 0.08);
}

/* garis api atas section */
.nx-rtp-fireline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #c41e1e 20%,
        #ff6a00 50%,
        #c41e1e 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: nx-fire-slide 2.8s linear infinite;
    z-index: 2;
}

@keyframes nx-fire-slide {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.nx-rtp-head {
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

/* ikon roulette berputar */
.nx-icon-spin {
    animation: nx-spin-icon 8s linear infinite;
}

@keyframes nx-spin-icon {
    to { transform: rotate(360deg); }
}

.nx-live-badge,
.nx-live-badge-anim {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #ffd9b0;
    background: rgba(196, 30, 30, 0.18);
    border: 1px solid var(--nx-border-red);
    padding: 6px 12px;
    border-radius: 20px;
}

.nx-live-badge-anim {
    animation: nx-badge-glow 2.2s ease-in-out infinite;
}

@keyframes nx-badge-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(196, 30, 30, 0.2);
        border-color: rgba(196, 30, 30, 0.45);
    }
    50% {
        box-shadow: 0 0 18px 2px rgba(255, 106, 0, 0.35);
        border-color: rgba(255, 106, 0, 0.55);
    }
}

.nx-live-clock {
    font-variant-numeric: tabular-nums;
    font-size: 11px;
    color: #ff8a00;
    padding-left: 8px;
    border-left: 1px solid rgba(255, 106, 0, 0.35);
    min-width: 62px;
}

.nx-live-text {
    animation: nx-live-blink 1.8s ease-in-out infinite;
}

@keyframes nx-live-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.nx-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3b3b;
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.6);
    animation: nx-pulse 1.5s infinite;
    flex-shrink: 0;
}

@keyframes nx-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(255, 59, 59, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); }
}

.nx-rtp-table-wrap {
    position: relative;
    z-index: 1;
    border-radius: var(--nx-radius-sm);
    border: 1px solid rgba(255, 106, 0, 0.15);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
}

.nx-rtp-table-head {
    display: grid;
    grid-template-columns: 100px 1fr 90px 90px 80px;
    gap: 8px;
    align-items: center;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--nx-orange);
    background: linear-gradient(90deg, rgba(196, 30, 30, 0.25) 0%, rgba(255, 106, 0, 0.08) 100%);
    border-bottom: 1px solid rgba(255, 106, 0, 0.2);
}

.nx-rtp-rows {
    display: flex;
    flex-direction: column;
}

.nx-rtp-row {
    display: grid;
    grid-template-columns: 100px 1fr 90px 90px 80px;
    gap: 8px;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    opacity: 0;
    transform: translateX(-18px);
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* stagger masuk saat section terlihat */
.nx-rtp-section.is-inview .nx-rtp-row {
    animation: nx-row-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--i, 0) * 0.1s);
}

@keyframes nx-row-in {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nx-rtp-row:last-child {
    border-bottom: none;
}

.nx-rtp-row:hover {
    background: rgba(196, 30, 30, 0.12);
}

.nx-rtp-row.status-hot {
    border-left: 3px solid var(--nx-red);
}

.nx-rtp-row.status-gacor {
    border-left: 3px solid var(--nx-orange);
}

/* ===== ROW AKTIF (jam sekarang) ===== */
.nx-rtp-row.is-active {
    background: linear-gradient(90deg, rgba(196, 30, 30, 0.28) 0%, rgba(255, 106, 0, 0.1) 55%, rgba(0, 0, 0, 0.15) 100%);
    box-shadow: inset 0 0 24px rgba(255, 106, 0, 0.12);
    z-index: 1;
    animation:
        nx-row-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        nx-active-glow 2s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.1s), 0.6s;
}

@keyframes nx-active-glow {
    0%, 100% {
        box-shadow:
            inset 0 0 18px rgba(255, 106, 0, 0.1),
            0 0 0 0 rgba(255, 106, 0, 0);
    }
    50% {
        box-shadow:
            inset 0 0 28px rgba(255, 106, 0, 0.22),
            0 0 16px rgba(196, 30, 30, 0.25);
    }
}

/* shimmer api melintas di baris aktif */
.nx-rtp-row.is-active::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 138, 0, 0.12),
        rgba(255, 255, 255, 0.08),
        rgba(196, 30, 30, 0.12),
        transparent
    );
    animation: nx-shimmer 2.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes nx-shimmer {
    0% { left: -40%; }
    100% { left: 110%; }
}

.nx-now-pill {
    display: none;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #fff;
    background: linear-gradient(90deg, #c41e1e, #ff6a00);
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 3px;
    width: fit-content;
    animation: nx-now-pulse 1.4s ease-in-out infinite;
}

.nx-rtp-row.is-active .nx-now-pill {
    display: inline-block;
}

@keyframes nx-now-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.06); opacity: 0.88; }
}

.nx-rtp-time {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.nx-rtp-time .nx-clock {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.nx-rtp-row.is-active .nx-clock {
    color: #ff8a00;
    text-shadow: 0 0 10px rgba(255, 106, 0, 0.55);
}

.nx-rtp-time small {
    font-size: 11px;
    color: var(--nx-muted);
}

.nx-rtp-time small::before {
    content: "→ ";
    color: var(--nx-orange);
}

.nx-rtp-game {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.nx-rtp-game img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(255, 106, 0, 0.3);
    flex-shrink: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nx-rtp-row:hover .nx-rtp-game img,
.nx-rtp-row.is-active .nx-rtp-game img {
    transform: scale(1.06);
    box-shadow: 0 0 12px rgba(255, 106, 0, 0.4);
}

.nx-rtp-game strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nx-rtp-game em {
    display: block;
    font-style: normal;
    font-size: 11px;
    color: var(--nx-muted);
    margin-top: 2px;
}

.nx-rtp-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--nx-orange-soft);
    font-variant-numeric: tabular-nums;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nx-rtp-val.is-counted {
    animation: nx-rtp-pop 0.4s ease;
}

.nx-rtp-row.is-active .nx-rtp-val {
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 138, 0, 0.7);
}

@keyframes nx-rtp-pop {
    0% { transform: scale(0.85); opacity: 0.5; }
    60% { transform: scale(1.12); }
    100% { transform: scale(1); opacity: 1; }
}

.nx-rtp-status {
    display: flex;
    justify-content: flex-start;
}

.nx-rtp-row.is-active .nx-tag {
    animation: nx-tag-bounce 1.6s ease-in-out infinite;
}

@keyframes nx-tag-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.nx-rtp-btn {
    display: inline-block;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: #fff !important;
    text-decoration: none !important;
    padding: 7px 0;
    border-radius: 5px;
    background: linear-gradient(180deg, #ff6a00 0%, #c41e1e 100%);
    background-size: 100% 200%;
    box-shadow: 0 2px 8px rgba(196, 30, 30, 0.35);
    transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.nx-rtp-row.is-active .nx-rtp-btn {
    animation: nx-btn-fire 1.8s ease-in-out infinite;
}

@keyframes nx-btn-fire {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(196, 30, 30, 0.35);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 4px 18px rgba(255, 106, 0, 0.55);
        filter: brightness(1.15);
    }
}

.nx-rtp-btn:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    color: #fff !important;
}

.nx-rtp-note {
    margin: 12px 0 0;
    font-size: 11px;
    color: #777;
    text-align: center;
    position: relative;
    z-index: 1;
}

.nx-rtp-note a {
    color: var(--nx-orange);
    text-decoration: none;
    font-weight: 600;
}

.nx-rtp-note a:hover {
    text-decoration: underline;
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
    .nx-rtp-fireline,
    .nx-icon-spin,
    .nx-live-badge-anim,
    .nx-live-text,
    .nx-pulse,
    .nx-rtp-section.is-inview .nx-rtp-row,
    .nx-rtp-row.is-active,
    .nx-rtp-row.is-active::after,
    .nx-now-pill,
    .nx-rtp-row.is-active .nx-tag,
    .nx-rtp-row.is-active .nx-rtp-btn {
        animation: none !important;
    }

    .nx-rtp-row {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 991px) {
    .nx-slot-body {
        grid-template-columns: 1fr;
    }

    .nx-slot-visual {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .nx-visual-frame {
        width: 140px;
        height: 140px;
    }

    .nx-visual-img {
        width: 100px;
        height: 100px;
    }

    .nx-rec-list {
        grid-template-columns: 1fr;
    }

    .nx-rtp-table-head {
        display: none;
    }

    .nx-rtp-row {
        grid-template-columns: 80px 1fr auto;
        grid-template-areas:
            "time game btn"
            "time rtp  btn"
            "time status btn";
        gap: 4px 10px;
        padding: 12px;
    }

    .nx-rtp-time { grid-area: time; }
    .nx-rtp-game { grid-area: game; }
    .nx-rtp-val { grid-area: rtp; font-size: 14px; }
    .nx-rtp-status { grid-area: status; }
    .nx-rtp-btn {
        grid-area: btn;
        align-self: center;
        padding: 8px 14px;
        min-width: 64px;
    }
}

@media (max-width: 640px) {
    .nx-dragon-theme {
        padding: 18px 0 24px;
    }

    .nx-slot-section,
    .nx-rtp-section {
        padding: 14px;
    }

    .nx-hot-row {
        grid-template-columns: 1fr;
    }

    .nx-section-title {
        font-size: 17px;
    }

    .nx-theme-pills {
        width: 100%;
    }

    .nx-hot-card {
        flex-direction: row;
    }

    .nx-hot-thumb {
        width: 84px;
        height: 84px;
    }

    .nx-rtp-row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "time btn"
            "game btn"
            "rtp status";
    }

    .nx-rtp-time {
        flex-direction: row;
        gap: 6px;
        align-items: baseline;
    }

    .nx-rtp-time small::before {
        content: "– ";
    }
}
