/*
Theme Name: FSM-RTP
Theme URI: https://joker88.gratis/
Author: Custom Theme
Description: Tema WordPress FSM-RTP — Auth Bar orbit, navigasi glassmorphism, tabel RTP slot otomatis, pola gacor, cara bermain, jackpot ticker, slider berita, dan bottom nav.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rtp-slot-space
Tags: dark, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   RTP SLOT LOGO COLOR PALETTE
   ============================================================ */
:root {
  --rtp-bg-deep: #040810;
  --rtp-bg-main: #061018;
  --rtp-bg-card: #0a1628;
  --rtp-bg-elevated: #0e1d34;
  --rtp-cyan: #5fd0ff;
  --rtp-cyan-soft: #8fe8ff;
  --rtp-blue: #4a9eff;
  --rtp-purple: #7c5cff;
  --rtp-text: #eaf4ff;
  --rtp-text-muted: #9fd3ff;
  --rtp-border: rgba(95, 208, 255, 0.34);
  --rtp-border-soft: rgba(120, 170, 255, 0.2);
  --rtp-glow: rgba(74, 158, 255, 0.42);
  --rtp-glow-purple: rgba(124, 92, 255, 0.28);
  --rtp-red: #ff4d57;
  --rtp-red-deep: #d22f2b;
  --rtp-gold: #ffd700;
  --rtp-gold-soft: #ffe566;
  --rtp-gold-deep: #c9a000;
  --rtp-green: #00e676;
  --rtp-orange: #ff9100;
  --rtp-gradient-brand: linear-gradient(90deg, var(--rtp-gold-soft), var(--rtp-cyan-soft), var(--rtp-blue), var(--rtp-purple));
  --rtp-gradient-bg: linear-gradient(180deg, rgba(14, 29, 52, 0.95), rgba(6, 16, 32, 0.98));
  --rtp-gradient-gold: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(74, 158, 255, 0.1));
}

/* ============================================================
   BASE THEME
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--rtp-bg-deep);
  color: var(--rtp-text);
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--rtp-cyan);
  text-decoration: none;
}

a:hover {
  color: var(--rtp-cyan-soft);
}

#wrapper {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 12px;
}

.rtp-home-full #container {
  display: block;
  margin-top: 0;
}

.rtp-home-content {
  width: 100%;
  max-width: 100%;
}

#container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: transparent;
  border: none;
  box-shadow: none;
  margin-top: 4px;
}

#content {
  flex: 1 1 680px;
  min-width: 0;
  border-left: none;
  border-right: none;
  background: transparent;
}

#sidebar {
  flex: 0 0 280px;
  min-width: 260px;
  background: transparent;
}

.site-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.rtp-top-shell {
  width: 100%;
}

.site-logo-bar {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--rtp-gradient-bg);
  border: 1px solid var(--rtp-border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38), 0 0 28px var(--rtp-glow);
}
.site-logo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}
.site-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.site-logo-img,
.custom-logo {
  display: block;
  width: auto;
  max-width: min(280px, 88vw);
  height: var(--rtp-logo-height, 72px);
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(74, 158, 255, 0.35));
}
.custom-logo-link {
  display: inline-flex;
  line-height: 0;
}
.site-logo-text {
  max-width: 100%;
}
.site-logo-title {
  margin: 0;
  font-family: "Orbitron", "Roboto Condensed", sans-serif;
  font-size: clamp(16px, 2.4vw, 22px);
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #eaf4ff;
}
.site-logo-tagline {
  margin: 0;
  color: rgba(233, 242, 255, 0.62);
  font-size: 12px;
  line-height: 1.35;
  max-width: 680px;
}
.site-logo-tagline--solo {
  margin-top: 2px;
}

.site-branding {
  display: none;
}

.site-title {
  margin: 0;
  font-family: "Orbitron", "Roboto Condensed", sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
}

.site-title a {
  color: #eaf4ff;
  text-shadow: 0 0 16px rgba(95, 170, 255, 0.45);
}

.site-description {
  margin: 6px 0 0;
  color: rgba(233, 242, 255, 0.65);
  font-size: 13px;
}

.site-footer {
  margin: 24px 0 16px;
  padding: 18px 22px;
  text-align: center;
  color: rgba(233, 242, 255, 0.6);
  font-size: 13px;
  border-top: 1px solid rgba(120, 160, 255, 0.15);
}

.entry-title {
  margin: 0 0 12px;
  font-family: "Orbitron", "Roboto Condensed", sans-serif;
  font-size: 22px;
}

.entry-title a {
  color: #e9f2ff;
  text-shadow: 0 0 20px rgba(95, 170, 255, 0.2);
}

.entry-title a:hover {
  color: #7fe9ff;
}

.entry-meta {
  margin-bottom: 14px;
  color: rgba(233, 242, 255, 0.55);
  font-size: 13px;
}

.entry-content {
  color: #cdd5e3;
}

.entry-content p {
  margin: 0 0 14px;
}

.blog-view {
  background: linear-gradient(180deg, rgba(28, 42, 78, 0.5), rgba(12, 20, 42, 0.7));
  border: 1px solid rgba(120, 160, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.3);
  padding: 12px 16px;
  color: #e9f2ff;
  margin-bottom: 18px;
}

.blog-view .entry-date {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  background: rgba(74, 158, 255, 0.15);
  border: 1px solid rgba(74, 158, 255, 0.3);
  border-radius: 6px;
  color: #9fd3ff;
  font-size: 12px;
}

.blog-view .entry-date a {
  color: #9fd3ff;
}

.widget-sidebar {
  background: linear-gradient(180deg, rgba(28, 42, 78, 0.5), rgba(12, 20, 42, 0.7));
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(120, 160, 255, 0.15);
  margin-bottom: 18px;
}

.widget-sidebar .widget-title {
  margin: 0 0 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(26, 40, 74, 0.8), rgba(11, 19, 40, 0.9));
  border: 1px solid rgba(120, 160, 255, 0.3);
  border-radius: 8px;
  color: #e9f2ff;
  text-shadow: 0 0 10px rgba(74, 158, 255, 0.3);
  font-size: 15px;
}

.widget-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-sidebar li {
  border-bottom: 1px solid rgba(150, 200, 255, 0.1);
  color: #cdd5e3;
  padding: 8px 0;
}

.widget-sidebar a {
  color: #9fd3ff;
}

.widget-sidebar a:hover {
  color: #7fe9ff;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  word-wrap: normal !important;
}

@media (max-width: 900px) {
  #container {
    flex-direction: column;
  }

  #sidebar {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* ============================================================
   TAMBAHAN KUSTOM FSM-RTP
   ============================================================ */

/* ----- 1. AUTH BAR (Masuk/Daftar) dengan Efek Orbit ----- */
.space-auth-bar {
  position: sticky;
  top: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 22px;
  background: var(--rtp-gradient-bg);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--rtp-border);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 30px var(--rtp-glow);
  box-sizing: border-box;
}
.space-auth-bar.sa-scrolled {
  padding: 8px 22px;
}

.orbit-btn {
  flex: 1 1 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding: 2px;
  border-radius: 14px;
  text-decoration: none;
  isolation: isolate;
  transition: transform 0.18s ease, box-shadow 0.3s ease;
}
.orbit-btn::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(0deg);
  z-index: 0;
  background: conic-gradient(from 0deg, transparent 0deg 232deg, var(--ring) 286deg, var(--ring-hot) 320deg, #fff 333deg, var(--ring-hot) 346deg, var(--ring) 360deg);
  animation: orbit-spin 3.2s linear infinite;
  border-radius: 14px;
}
.orbit-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(180deg);
  z-index: 0;
  opacity: 0.5;
  background: conic-gradient(from 0deg, transparent 0deg 250deg, var(--ring) 300deg, var(--ring-hot) 330deg, var(--ring) 360deg);
  animation: orbit-spin 5s linear infinite reverse;
  border-radius: 14px;
}
@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-face {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border-radius: 12px;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;
  transition: filter 0.2s ease, color 0.2s ease;
}

.space-auth-bar .orbit-btn:first-child {
  --ring: var(--rtp-blue);
  --ring-hot: var(--rtp-cyan-soft);
  box-shadow: 0 4px 18px var(--rtp-glow);
}
.space-auth-bar .orbit-btn:first-child .orbit-face {
  background: linear-gradient(180deg, #0e1d34, #061018);
  color: var(--rtp-cyan-soft);
  text-shadow: 0 0 10px var(--rtp-glow);
}

.space-auth-bar .orbit-btn:last-child {
  --ring: var(--rtp-red);
  --ring-hot: #ffe2e0;
  box-shadow: 0 6px 22px rgba(255, 72, 72, 0.45);
}
.space-auth-bar .orbit-btn:last-child .orbit-face {
  background: linear-gradient(135deg, #ff6a64 0%, var(--rtp-red) 55%, var(--rtp-red-deep) 100%);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(80, 0, 0, 0.4);
}

.orbit-btn:hover {
  transform: translateY(-2px);
}
.orbit-btn:hover::before {
  animation-duration: 1.4s;
}
.orbit-btn:hover::after {
  animation-duration: 2.2s;
}
.orbit-btn:hover .orbit-face {
  filter: brightness(1.12);
}
.space-auth-bar .orbit-btn:first-child:hover {
  box-shadow: 0 8px 26px rgba(74, 158, 255, 0.5);
}
.space-auth-bar .orbit-btn:last-child:hover {
  box-shadow: 0 10px 30px rgba(255, 72, 72, 0.7);
}

/* ----- 2. NAVIGASI GLASSMORPHISM (SPACE NAV) ----- */
.spnav-wrap {
  position: relative !important;
  z-index: 999999 !important;
  width: 100%;
  overflow: visible !important;
  font-family: "Roboto Condensed", Arial, sans-serif;
  margin: 0;
}
.spnav-mobile-toggle {
  display: none;
}
.spnav-menu-panel {
  width: 100%;
}
.spnav-list {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0 4px;
  background: linear-gradient(180deg, rgba(26, 40, 74, 0.62), rgba(11, 19, 40, 0.88));
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(120, 160, 255, 0.28);
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 32px rgba(80, 140, 255, 0.22);
  overflow-x: auto !important;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 170, 255, 0.45) transparent;
}
.spnav-list::-webkit-scrollbar {
  height: 6px;
}
.spnav-list::-webkit-scrollbar-thumb {
  background: rgba(120, 170, 255, 0.45);
  border-radius: 999px;
}
.spnav-list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6fe0ff, #a98bff, #6fe0ff, transparent);
  background-size: 220% 100%;
  filter: drop-shadow(0 0 5px rgba(110, 200, 255, 0.8));
  animation: spnavAurora 5s linear infinite;
  border-radius: 12px 12px 0 0;
  z-index: 1;
  pointer-events: none;
}
@keyframes spnavAurora {
  0% { background-position: 0 0; }
  100% { background-position: 220% 0; }
}

.spnav-item {
  position: relative;
  list-style: none;
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
}
.spnav-link {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  color: #cdd5e3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border-right: 1px solid rgba(150, 200, 255, 0.12);
  transition: color 0.2s ease, background 0.2s ease;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spnav-item:last-child > .spnav-link {
  border-right: none;
}
.spnav-link:hover {
  color: #7fe9ff;
  background: rgba(120, 170, 255, 0.1);
}
.spnav-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}
.spnav-has-drop:hover > .spnav-link .spnav-caret {
  transform: rotate(180deg);
}

.spnav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  list-style: none;
  margin: 5px 0 0;
  padding: 6px 0;
  background: linear-gradient(180deg, rgba(24, 38, 74, 0.94), rgba(10, 18, 40, 0.97));
  -webkit-backdrop-filter: blur(14px) saturate(165%);
  backdrop-filter: blur(14px) saturate(165%);
  border: 1px solid rgba(120, 160, 255, 0.32);
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.65), 0 0 28px rgba(80, 140, 255, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, visibility 0.2s, transform 0.2s ease;
  pointer-events: none;
}
.spnav-has-drop:hover > .spnav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.spnav-drop-link {
  display: block;
  padding: 10px 18px;
  color: #cdd5e3;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease, padding-left 0.15s ease;
}
.spnav-drop-link:hover {
  color: #7fe9ff;
  background: rgba(120, 170, 255, 0.1);
  padding-left: 24px;
}
.spnav-drop-item {
  list-style: none;
}
.spnav-drop-item:not(:last-child) {
  border-bottom: 1px solid rgba(150, 200, 255, 0.1);
}

.spnav-hamburger {
  display: none;
}

/* ----- 3. TABEL PREDIKSI PARLAY (SPACE STYLE) ----- */
.sv-space-wrap {
  --sv-cyan: var(--rtp-cyan);
  --sv-blue: var(--rtp-blue);
  width: 100%;
  max-width: 100%;
  margin: 18px 0;
  padding: 14px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  color: #e9f2ff;
  background: linear-gradient(180deg, rgba(40, 60, 110, 0.72), rgba(16, 26, 54, 0.9)), radial-gradient(circle at top left, rgba(120, 170, 255, 0.18), transparent 30%), radial-gradient(circle at bottom right, rgba(169, 139, 255, 0.12), transparent 30%);
  border: 1px solid rgba(120, 160, 255, 0.26);
  border-top: 2px solid var(--sv-cyan);
  border-bottom: 2px solid var(--sv-blue);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 38px rgba(80, 140, 255, 0.18);
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
}
.sv-space-wrap * {
  box-sizing: border-box;
}
.sv-space-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(120, 170, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 170, 255, 0.055) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
  opacity: 0.42;
  z-index: 0;
}
.sv-space-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6fe0ff, #a98bff, #6fe0ff, transparent);
  background-size: 220% 100%;
  filter: drop-shadow(0 0 6px rgba(110, 200, 255, 0.8));
  animation: svSpaceAurora 5s linear infinite;
  pointer-events: none;
  z-index: 3;
}
@keyframes svSpaceAurora {
  from { background-position: 0 0; }
  to { background-position: 220% 0; }
}

.sv-space-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  color: #f4fbff;
  font-family: "Orbitron", "Roboto Condensed", Arial, sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.35px;
  text-shadow: 0 0 12px rgba(95, 170, 255, 0.42);
  position: relative;
  z-index: 2;
}
.sv-space-title span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sv-space-title span::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--sv-cyan);
  box-shadow: 0 0 0 0 rgba(95, 200, 255, 0.75);
  animation: svSpacePulse 1.4s infinite;
}
@keyframes svSpacePulse {
  0% { box-shadow: 0 0 0 0 rgba(95, 200, 255, 0.75); }
  70% { box-shadow: 0 0 0 7px rgba(95, 200, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 200, 255, 0); }
}

.sv-space-head {
  position: relative;
  z-index: 2;
  margin-bottom: 10px;
}
.sv-space-subtitle {
  margin: 0;
  color: rgba(233, 242, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.sv-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.32);
}
.sv-cancel {
  display: block;
  margin-bottom: 2px;
  font-size: 10px;
  font-weight: 900;
  color: #ff6b6b;
  text-transform: uppercase;
}
.sv-row-cancelled td {
  opacity: 0.72;
}

.rtp-seo-content {
  margin-top: 18px;
}
.rtp-seo-content h2,
.rtp-seo-content h3 {
  color: #eaf4ff;
  font-family: "Orbitron", "Roboto Condensed", sans-serif;
  margin: 18px 0 10px;
}
.rtp-seo-content p {
  color: #cdd5e3;
  margin: 0 0 12px;
}
.rtp-provider-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}
.rtp-provider-list li {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(120, 160, 255, 0.22);
  background: rgba(11, 19, 34, 0.65);
  color: #9fd3ff;
  font-weight: 700;
  text-align: center;
}

  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  overflow-y: hidden;
  position: relative;
  z-index: 2;
}
.sv-space-scroll::-webkit-scrollbar {
  display: none;
}

.sv-space-table {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 8px !important;
  margin: 0 !important;
  background: transparent !important;
  color: #e9f2ff !important;
  font: 13px/1.32 "Roboto Condensed", Arial, Helvetica, sans-serif !important;
}
.sv-space-table th,
.sv-space-table td {
  padding: 8px 6px !important;
  text-align: center !important;
  vertical-align: middle !important;
  border: 0 !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  background: transparent !important;
}
.sv-space-table thead th {
  background: linear-gradient(180deg, rgba(16, 26, 46, 0.98), rgba(11, 19, 34, 0.96)) !important;
  color: #9fd3ff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.45px !important;
  border-top: 1px solid rgba(150, 200, 255, 0.16) !important;
  border-bottom: 1px solid rgba(95, 208, 255, 0.22) !important;
}
.sv-space-table thead th:first-child {
  border-radius: 12px 0 0 12px !important;
}
.sv-space-table thead th:last-child {
  border-radius: 0 12px 12px 0 !important;
}
.sv-space-table tbody tr {
  background: linear-gradient(180deg, rgba(11, 19, 34, 0.92), rgba(5, 10, 22, 0.84)) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(150, 200, 255, 0.045);
}
.sv-space-table tbody tr:hover {
  background: linear-gradient(180deg, rgba(22, 35, 61, 0.98), rgba(11, 19, 34, 0.92)) !important;
}
.sv-space-table tbody tr td:first-child {
  border-radius: 13px 0 0 13px !important;
  color: #cfe6ff !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}
.sv-space-table tbody tr td:last-child {
  border-radius: 0 13px 13px 0 !important;
}

.sv-space-table th:nth-child(1),
.sv-space-table td:nth-child(1) { width: 10%; min-width: 72px; }
.sv-space-table th:nth-child(2),
.sv-space-table td:nth-child(2) { width: 23%; }
.sv-space-table th:nth-child(3),
.sv-space-table td:nth-child(3) { width: 5%; }
.sv-space-table th:nth-child(4),
.sv-space-table td:nth-child(4) { width: 23%; }
.sv-space-table th:nth-child(5),
.sv-space-table td:nth-child(5) { width: 14%; }
.sv-space-table th:nth-child(6),
.sv-space-table td:nth-child(6) { width: 9%; }
.sv-space-table th:nth-child(7),
.sv-space-table td:nth-child(7) { width: 16%; }

.sv-team-cell {
  min-width: 0 !important;
  white-space: normal !important;
}
.sv-team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
}
.sv-team-name {
  width: 100%;
  color: #f4fbff !important;
  font-size: 12.5px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.15px !important;
  text-transform: uppercase !important;
  white-space: normal !important;
  overflow: hidden !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sv-streak {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-wrap: wrap;
  max-width: 100%;
}
.sv-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.sv-badge-W { background: #16a34a; }
.sv-badge-D { background: #f59e0b; color: #111827; }
.sv-badge-L { background: #dc2626; }

.sv-pick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 72px;
  min-width: 0;
  padding: 5px 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15px;
  white-space: nowrap;
  margin: 0 auto;
}
.sv-pick-home {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.38);
}
.sv-pick-away {
  background: rgba(96, 165, 250, 0.18);
  color: #bfdbfe;
  border: 1px solid rgba(96, 165, 250, 0.38);
}
.sv-pick-draw {
  background: rgba(245, 158, 11, 0.18);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.38);
}

.sv-goal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 72px;
  min-width: 0;
  padding: 5px 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15px;
  white-space: nowrap;
  margin: 0 auto;
}
.sv-goal-over {
  background: rgba(168, 85, 247, 0.18);
  color: #ddd6fe;
  border: 1px solid rgba(168, 85, 247, 0.38);
}
.sv-goal-under {
  background: rgba(14, 165, 233, 0.18);
  color: #bae6fd;
  border: 1px solid rgba(14, 165, 233, 0.38);
}

.sv-section-row td {
  padding: 10px 12px !important;
  background: linear-gradient(90deg, rgba(95, 208, 255, 0.16), rgba(169, 139, 255, 0.16), rgba(95, 158, 255, 0.1)) !important;
  border-radius: 13px !important;
  text-align: left !important;
  box-shadow: inset 0 0 0 1px rgba(150, 200, 255, 0.08);
}
.sv-league-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 100%;
  color: #f4fbff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  white-space: normal !important;
}
.sv-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(95, 208, 255, 0.35));
}
.sv-league-country,
.sv-league-name,
.sv-league-sep {
  display: inline-flex;
  align-items: center;
}

/* ----- 4. SLIDER BERITA (BHL) ----- */
.bhl-wrap {
  position: relative;
  margin: 16px 0;
  border-radius: 16px;
  overflow: hidden;
  color: #e9f2ff;
  font-family: "Roboto Condensed", Arial, sans-serif;
  background: linear-gradient(180deg, rgba(28, 42, 78, 0.62), rgba(12, 20, 42, 0.84));
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(120, 160, 255, 0.28);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 42px rgba(80, 140, 255, 0.22);
}
.bhl-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #6fe0ff, #a98bff, #6fe0ff, transparent);
  background-size: 220% 100%;
  filter: drop-shadow(0 0 6px rgba(110, 200, 255, 0.8));
  animation: bhl-aurora 5s linear infinite;
  z-index: 4;
}
@keyframes bhl-aurora {
  0% { background-position: 0 0; }
  100% { background-position: 220% 0; }
}

.bhl-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px 8px;
}
.bhl-spark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #d6f0ff 0%, #5fd0ff 60%, transparent 72%);
  box-shadow: 0 0 10px #5fd0ff, 0 0 20px rgba(95, 210, 255, 0.7);
}
.bhl-title {
  margin: 0;
  font-family: "Orbitron", "Roboto Condensed", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #eaf4ff;
  text-shadow: 0 0 12px rgba(95, 170, 255, 0.55);
}

.bhl-stage {
  position: relative;
  padding: 6px 14px 16px;
}
.bhl-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.bhl-viewport::-webkit-scrollbar {
  display: none;
}
.bhl-track {
  display: flex;
  gap: 14px;
  padding: 4px 2px;
}
.bhl-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, #17243f, #0e1830);
  border: 1px solid rgba(120, 160, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.bhl-card:hover {
  transform: translateY(-4px);
  border-color: rgba(95, 210, 255, 0.6);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 26px rgba(80, 150, 255, 0.45);
}
.bhl-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #1b2d4f, #0c1626);
}
.bhl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.bhl-card:hover .bhl-thumb img {
  transform: scale(1.06);
}
.bhl-thumb-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(143, 194, 255, 0.55);
}
.bhl-card-title {
  padding: 11px 13px 14px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  color: #e9f2ff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}
.bhl-card:hover .bhl-card-title {
  color: #7fe9ff;
}

.bhl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  padding: 0 0 2px;
  color: #eaf4ff;
  background: rgba(16, 26, 54, 0.72);
  border: 1px solid rgba(120, 180, 255, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 18px rgba(80, 150, 255, 0.4);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, color 0.2s ease;
  border: 1px solid rgba(120, 180, 255, 0.5);
}
.bhl-nav:hover {
  background: rgba(74, 158, 255, 0.92);
  color: #04101f;
  box-shadow: 0 0 24px rgba(95, 200, 255, 0.75);
}
.bhl-prev { left: 6px; }
.bhl-next { right: 6px; }
.bhl-empty {
  padding: 18px;
  color: rgba(233, 242, 250, 0.8);
  font-weight: 700;
}

/* ----- 5. LIVESCORE BAR ----- */
.livescore-bar {
  width: 100%;
  margin: 0 0 12px;
  background: linear-gradient(180deg, rgba(13, 21, 40, 0.9), rgba(8, 12, 22, 0.92));
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(74, 158, 255, 0.3);
  border-radius: 8px;
  overflow: hidden;
  color: #e9f2ff;
}
.livescore-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  flex-wrap: nowrap;
}
.livescore-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.livescore-bar-ball {
  font-size: 20px;
}
.livescore-bar-title {
  font-weight: 700;
  font-size: 14px;
  color: #7fe9ff;
}
.livescore-bar-localtime {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  display: block;
}
.livescore-bar-live-info {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  background: rgba(255, 0, 0, 0.15);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.livescore-bar-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3333;
  animation: pulse-dot 1.2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}
.livescore-bar-feed {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.livescore-bar-marquee {
  overflow: hidden;
}
.livescore-bar-track {
  display: flex;
  gap: 30px;
  animation: scroll-livescore var(--livescore-bar-speed, 42s) linear infinite;
  width: max-content;
}
@keyframes scroll-livescore {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.livescore-bar-match {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
}
.livescore-bar-minute {
  color: #ff6b6b;
  font-weight: 700;
  font-size: 11px;
  min-width: 60px;
}
.livescore-bar-league {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}
.livescore-bar-team {
  font-weight: 600;
}
.livescore-bar-score {
  font-weight: 900;
  color: #ffd700;
  padding: 0 4px;
}

/* ----- 6. RESPONSIVE (Mobile) ----- */
@media (max-width: 768px) {
  .space-auth-bar {
    padding: 10px 12px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .orbit-face {
    padding: 13px 10px;
    font-size: 14px;
    letter-spacing: 0.3px;
  }

  .spnav-hbar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--rtp-cyan-soft);
    border-radius: 2px;
    transition: transform 0.26s ease, opacity 0.2s ease;
  }
  .spnav-wrap.spnav-open .spnav-hbar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .spnav-wrap.spnav-open .spnav-hbar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .spnav-wrap.spnav-open .spnav-hbar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .spnav-item {
    flex-direction: column;
  }
  .spnav-link {
    border-right: none;
    border-bottom: 1px solid rgba(150, 200, 255, 0.1);
    border-radius: 0;
    padding: 13px 16px;
    max-width: none;
    white-space: normal;
  }
  .spnav-dropdown {
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none;
    border: none;
    border-top: 1px solid rgba(150, 200, 255, 0.1);
    background: rgba(8, 13, 30, 0.6);
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
  }
  .spnav-has-drop:hover > .spnav-dropdown {
    display: none;
  }
  .spnav-item-open > .spnav-dropdown {
    display: block !important;
  }
  .spnav-drop-link {
    padding: 11px 16px 11px 30px;
  }
  .spnav-drop-link:hover {
    padding-left: 34px;
  }

  .sv-space-wrap {
    padding: 10px;
    border-radius: 16px;
    margin: 14px 0;
  }
  .sv-space-title {
    font-size: 14px;
    margin-bottom: 9px;
  }
  .sv-space-table {
    font-size: 12px !important;
    border-spacing: 0 6px !important;
  }
  .sv-space-table th,
  .sv-space-table td {
    padding: 7px 4px !important;
  }
  .sv-space-table thead th {
    font-size: 10px !important;
    letter-spacing: 0.25px !important;
  }
  .sv-team-name {
    font-size: 11.5px !important;
  }
  .sv-badge {
    width: 15px;
    height: 15px;
    font-size: 9px;
    border-radius: 4px;
  }
  .sv-pick,
  .sv-goal {
    font-size: 11px;
    padding: 4px 4px;
    max-width: 60px;
  }
  .sv-space-table th:nth-child(1),
  .sv-space-table td:nth-child(1) {
    width: 12%;
    min-width: 58px;
  }

  .bhl-card {
    flex-basis: 72%;
  }
  .bhl-title {
    font-size: 16px;
  }
  .bhl-nav {
    width: 34px;
    height: 34px;
    font-size: 21px;
  }

  .livescore-bar-inner {
    flex-wrap: wrap;
    padding: 8px 10px;
  }
  .livescore-bar-match {
    font-size: 11px;
    gap: 4px;
  }
  .livescore-bar-minute {
    min-width: 40px;
    font-size: 10px;
  }
  .livescore-bar-league {
    display: none;
  }
}

@media (max-width: 640px) {
  .sv-space-table th:nth-child(3),
  .sv-space-table td:nth-child(3) {
    display: none !important;
  }
  .sv-space-table th:nth-child(1),
  .sv-space-table td:nth-child(1) { width: 14%; min-width: 56px; }
  .sv-space-table th:nth-child(2),
  .sv-space-table td:nth-child(2) { width: 25%; }
  .sv-space-table th:nth-child(4),
  .sv-space-table td:nth-child(4) { width: 25%; }
  .sv-space-table th:nth-child(5),
  .sv-space-table td:nth-child(5) { width: 15%; }
  .sv-space-table th:nth-child(6),
  .sv-space-table td:nth-child(6) { width: 8%; }
  .sv-space-table th:nth-child(7),
  .sv-space-table td:nth-child(7) { width: 13%; }
  .sv-space-table th,
  .sv-space-table td {
    padding: 6px 3px !important;
  }
  .sv-space-table thead th {
    font-size: 9px !important;
  }
  .sv-team-name {
    font-size: 10px !important;
    letter-spacing: 0 !important;
  }
  .sv-badge {
    width: 13px;
    height: 13px;
    font-size: 8px;
    border-radius: 3px;
  }
  .sv-streak {
    gap: 2px;
  }
  .sv-pick,
  .sv-goal {
    font-size: 10px;
    padding: 3px 3px;
    max-width: 52px;
  }
  .sv-section-row td {
    padding: 9px 10px !important;
  }
  .sv-league-title {
    font-size: 12px !important;
    gap: 6px;
  }
  .sv-flag {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .space-auth-bar {
    padding: 8px 10px;
    gap: 6px;
  }
  .orbit-face {
    font-size: 12px;
    padding: 10px 8px;
    letter-spacing: 0.2px;
  }
  .sv-space-wrap {
    padding: 8px;
  }
  .sv-space-table {
    font-size: 11px !important;
  }
  .sv-space-table th,
  .sv-space-table td {
    padding: 5px 2px !important;
  }
  .sv-space-table th:nth-child(1),
  .sv-space-table td:nth-child(1) { width: 14%; min-width: 52px; }
  .sv-space-table th:nth-child(2),
  .sv-space-table td:nth-child(2) { width: 24%; }
  .sv-space-table th:nth-child(4),
  .sv-space-table td:nth-child(4) { width: 24%; }
  .sv-space-table th:nth-child(5),
  .sv-space-table td:nth-child(5) { width: 16%; }
  .sv-space-table th:nth-child(6),
  .sv-space-table td:nth-child(6) { width: 8%; }
  .sv-space-table th:nth-child(7),
  .sv-space-table td:nth-child(7) { width: 14%; }
  .sv-space-table tbody tr td:nth-child(1) {
    font-size: 11px !important;
  }
}

/* ----- 7. UTILITY - Reduced Motion ----- */
@media (prefers-reduced-motion: reduce) {
  .spnav-list::before,
  .sv-space-wrap::after,
  .bhl-wrap::before {
    animation: none;
  }
  .orbit-btn::before,
  .orbit-btn::after {
    animation: none;
  }
  .livescore-bar-track {
    animation: none;
  }
  .spnav-dropdown {
    transition: none;
  }
}

/* ----- 9. SEARCH, COMMENTS, PAGINATION ----- */
.rtp-search-form {
  display: flex;
  gap: 8px;
  margin: 12px 0 0;
}
.rtp-search-field {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(120, 160, 255, 0.35);
  background: rgba(11, 19, 34, 0.9);
  color: #e9f2ff;
  font-family: inherit;
}
.rtp-search-submit {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(74, 158, 255, 0.5);
  background: linear-gradient(180deg, #16243f, #0c1626);
  color: #dbe9fb;
  font-weight: 700;
  cursor: pointer;
}
.rtp-search-submit:hover {
  filter: brightness(1.1);
}

.comments-area {
  margin-top: 20px;
}
.comments-title {
  margin: 0 0 12px;
  font-size: 18px;
}
.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.comment-list .comment {
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(120, 160, 255, 0.15);
  border-radius: 10px;
  background: rgba(11, 19, 34, 0.55);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(120, 160, 255, 0.35);
  background: rgba(11, 19, 34, 0.9);
  color: #e9f2ff;
}
.comment-form .submit {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(74, 158, 255, 0.5);
  background: linear-gradient(180deg, #16243f, #0c1626);
  color: #dbe9fb;
  font-weight: 700;
  cursor: pointer;
}

.posts-navigation,
.post-navigation {
  margin: 18px 0;
}
.posts-navigation a,
.post-navigation a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(120, 160, 255, 0.25);
  background: rgba(11, 19, 34, 0.7);
}

.rtp-livescore-page {
  margin-top: 16px;
}

/* ----- 10. BOTTOM NAV FSM-RTP ----- */
.rtp-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000001;
  display: block;
  padding: 0;
  pointer-events: none;
}
.rtp-bottom-nav-inner {
  pointer-events: auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 10px 8px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--rtp-gradient-bg);
  border-top: 2px solid var(--rtp-border);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.55), 0 0 28px var(--rtp-glow);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  position: relative;
  overflow: hidden;
}
.rtp-bottom-nav-inner::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--rtp-gradient-brand);
  background-size: 220% 100%;
  animation: spnavAurora 5s linear infinite;
  border-radius: 18px 18px 0 0;
  opacity: 0.85;
}
.rtp-bnav-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 4px;
  border-radius: 12px;
  color: var(--rtp-text);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
}
.rtp-bnav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.rtp-bnav-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.rtp-bnav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.1;
  white-space: nowrap;
}
.rtp-bnav-item.is-active {
  color: var(--rtp-cyan-soft);
  background: rgba(74, 158, 255, 0.2);
  box-shadow: inset 0 0 0 1px var(--rtp-border), 0 0 18px var(--rtp-glow);
}
.rtp-bnav-item:hover {
  color: var(--rtp-cyan-soft);
  background: rgba(74, 158, 255, 0.12);
}

body {
  padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
}

.site-footer {
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .spnav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 12px;
    background: var(--rtp-gradient-bg);
    border: 1px solid var(--rtp-border);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px var(--rtp-glow);
  }

  .spnav-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .spnav-menu-panel {
    width: 100%;
    position: relative;
  }

  .spnav-hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 54px;
    height: 54px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(14, 29, 52, 0.95), rgba(8, 18, 36, 0.98));
    border: 2px solid var(--rtp-blue);
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 22px var(--rtp-glow);
    transition: background 0.2s, box-shadow 0.2s;
  }

  .spnav-menu-panel .spnav-list {
    display: none !important;
    flex-direction: column;
    align-items: stretch;
    margin-top: 8px;
    border-radius: 14px;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    background: var(--rtp-bg-card);
    border: 2px solid var(--rtp-border);
  }

  .spnav-wrap.spnav-open .spnav-menu-panel .spnav-list {
    display: flex !important;
  }
}

@media (min-width: 769px) {
  .spnav-hamburger,
  .spnav-mobile-toggle {
    display: none !important;
  }

  .spnav-menu-panel .spnav-list {
    display: flex !important;
  }
}

/* ============================================================
   RTP SLOT OTOMATIS — Luxury Components
   ============================================================ */

.rtp-slot-wrap {
  border: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 40px rgba(255, 215, 0, 0.08), 0 0 28px var(--rtp-glow);
}

.rtp-slot-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.rtp-live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--rtp-gradient-gold);
  border: 1px solid rgba(255, 215, 0, 0.4);
  font-family: Orbitron, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.rtp-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rtp-green);
  box-shadow: 0 0 8px var(--rtp-green);
  animation: rtp-pulse 1.4s ease-in-out infinite;
}

@keyframes rtp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.rtp-live-text { color: var(--rtp-gold); }
.rtp-updated-at { color: var(--rtp-text-muted); font-size: 10px; font-weight: 400; }

.rtp-provider-title {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.12), rgba(74, 158, 255, 0.08));
  border-left: 3px solid var(--rtp-gold);
}

.rtp-game-card {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rtp-game-icon { font-size: 18px; }
.rtp-game-name { font-weight: 700; color: var(--rtp-text); }

.rtp-value {
  font-family: Orbitron, sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--rtp-gold);
}

.rtp-trend-up { color: var(--rtp-green); }
.rtp-trend-down { color: var(--rtp-red); }
.rtp-prev { display: block; font-size: 10px; color: var(--rtp-text-muted); font-weight: 400; text-decoration: line-through; }

.rtp-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: Orbitron, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.rtp-status-gacor {
  background: rgba(0, 230, 118, 0.18);
  color: var(--rtp-green);
  border: 1px solid rgba(0, 230, 118, 0.5);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.25);
}

.rtp-status-panas {
  background: rgba(255, 145, 0, 0.18);
  color: var(--rtp-orange);
  border: 1px solid rgba(255, 145, 0, 0.5);
}

.rtp-status-normal {
  background: rgba(74, 158, 255, 0.15);
  color: var(--rtp-blue);
  border: 1px solid rgba(74, 158, 255, 0.4);
}

.rtp-status-dingin {
  background: rgba(255, 77, 87, 0.15);
  color: var(--rtp-red);
  border: 1px solid rgba(255, 77, 87, 0.4);
}

.rtp-pola-btn {
  padding: 4px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(74, 158, 255, 0.15));
  border: 1px solid rgba(255, 215, 0, 0.45);
  color: var(--rtp-gold);
  font-family: Orbitron, sans-serif;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.rtp-pola-btn:hover,
.rtp-pola-btn.is-open {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.35), rgba(74, 158, 255, 0.25));
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.3);
}

.rtp-pola-detail-row td {
  background: rgba(10, 22, 40, 0.95) !important;
  padding: 0 !important;
}

.rtp-pola-detail {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.rtp-pola-detail-title {
  margin: 0 0 12px;
  font-family: Orbitron, sans-serif;
  font-size: 14px;
  color: var(--rtp-gold);
}

.rtp-pola-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.rtp-pola-step {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--rtp-gradient-gold);
  border: 1px solid var(--rtp-border-soft);
}

.rtp-pola-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--rtp-gold);
  color: #0a1628;
  font-family: Orbitron, sans-serif;
  font-weight: 900;
  font-size: 12px;
}

.rtp-pola-info { display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.rtp-pola-info em { color: var(--rtp-text-muted); font-style: normal; font-size: 11px; }
.rtp-cara-inline { margin: 12px 0 0; font-size: 13px; color: var(--rtp-text-muted); }

.rtp-slot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  font-size: 11px;
  color: var(--rtp-text-muted);
}

/* ----- POLA GRID ----- */
.rtp-pola-wrap {
  margin: 24px 0;
  padding: 20px;
  border-radius: 16px;
  background: var(--rtp-gradient-bg);
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
}

.rtp-pola-title span {
  background: var(--rtp-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rtp-pola-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.rtp-pola-card {
  padding: 16px;
  border-radius: 14px;
  background: var(--rtp-bg-card);
  border: 1px solid var(--rtp-border-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}

.rtp-pola-card-gacor { border-color: rgba(0, 230, 118, 0.4); box-shadow: 0 0 20px rgba(0, 230, 118, 0.1); }
.rtp-pola-card-panas { border-color: rgba(255, 145, 0, 0.35); }
.rtp-pola-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }

.rtp-pola-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.rtp-pola-provider { font-size: 10px; color: var(--rtp-text-muted); text-transform: uppercase; letter-spacing: 1px; }
.rtp-pola-game { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--rtp-text); }
.rtp-pola-rtp { font-size: 13px; color: var(--rtp-text-muted); margin-bottom: 10px; }
.rtp-pola-rtp strong { color: var(--rtp-gold); font-family: Orbitron, sans-serif; }

.rtp-pola-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rtp-pola-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--rtp-border-soft);
  font-size: 12px;
}

.rtp-pola-step-num {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.2);
  color: var(--rtp-gold);
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.rtp-pola-details {
  margin-top: 10px;
  font-size: 12px;
  color: var(--rtp-text-muted);
}

.rtp-pola-details summary {
  cursor: pointer;
  color: var(--rtp-cyan);
  font-weight: 700;
}

/* ----- CARA BERMAIN ----- */
.rtp-cara-wrap {
  margin: 24px 0;
  padding: 24px;
  border-radius: 16px;
  background: var(--rtp-gradient-bg);
  border: 1px solid var(--rtp-border);
}

.rtp-cara-title span {
  background: var(--rtp-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rtp-cara-steps { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }

.rtp-cara-step {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--rtp-bg-card);
  border: 1px solid var(--rtp-border-soft);
}

.rtp-cara-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--rtp-gold), var(--rtp-blue));
  color: #0a1628;
  font-family: Orbitron, sans-serif;
  font-weight: 900;
  font-size: 14px;
}

.rtp-cara-step-body h3 { margin: 0 0 6px; color: var(--rtp-cyan-soft); font-size: 16px; }
.rtp-cara-step-body p { margin: 0; font-size: 14px; color: var(--rtp-text-muted); }

.rtp-cara-tips {
  padding: 16px;
  border-radius: 12px;
  background: var(--rtp-gradient-gold);
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.rtp-cara-tips ul { margin: 8px 0 0; padding-left: 20px; }
.rtp-cara-tips li { margin-bottom: 6px; font-size: 13px; color: var(--rtp-text-muted); }

.rtp-provider-showcase { margin-top: 20px; }
.rtp-provider-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.rtp-provider-tags span {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(74, 158, 255, 0.12);
  border: 1px solid var(--rtp-border);
  font-size: 12px;
  color: var(--rtp-cyan);
}

/* ----- JACKPOT TICKER ----- */
.rtp-ticker-bar {
  border-color: rgba(255, 215, 0, 0.3) !important;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.08) !important;
}

.rtp-ticker-icon { font-size: 22px; }
.rtp-ticker-match { gap: 10px; }
.rtp-ticker-player { color: var(--rtp-gold); font-weight: 700; }
.rtp-ticker-slot { color: var(--rtp-cyan); }
.rtp-ticker-amount { color: var(--rtp-green); font-family: Orbitron, sans-serif; font-weight: 800; }

/* ----- SEO CONTENT ----- */
.rtp-seo-content { margin-top: 24px; }
.rtp-provider-list { padding-left: 20px; }
.rtp-provider-list li { margin-bottom: 6px; color: var(--rtp-text-muted); }

@media (max-width: 640px) {
  .rtp-slot-head-row { flex-direction: column; }
  .rtp-pola-steps { grid-template-columns: 1fr; }
  .rtp-pola-grid { grid-template-columns: 1fr; }
  .rtp-cara-step { flex-direction: column; }
  .rtp-slot-legend { flex-direction: column; gap: 6px; }
  .rtp-card-grid { grid-template-columns: 1fr; }
  .rtp-card { flex-direction: column; }
  .rtp-card-media { width: 100%; min-height: 180px; }
}

/* ============================================================
   RTP CARD GRID — Elegant pola + win-rate layout
   ============================================================ */

.rtp-slot-grid-wrap {
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.08), rgba(6, 16, 24, 0.95));
}

.rtp-provider-block {
  margin-bottom: 28px;
}

.rtp-provider-block-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.rtp-provider-block-logo,
.rtp-provider-block-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.rtp-provider-block-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Orbitron, sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
}

.rtp-provider-block-title {
  margin: 0;
  font-family: Orbitron, sans-serif;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--rtp-gold);
}

.rtp-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* --- Luxury RTP cards (minimal + image pop) --- */
.rtp-slot-lux-wrap {
  --rtp-lux-gold: #f5d061;
  --rtp-lux-gold-soft: rgba(245, 208, 97, 0.18);
  --rtp-lux-panel: linear-gradient(165deg, rgba(24, 28, 40, 0.96), rgba(12, 15, 24, 0.98));
}

.rtp-provider-toolbar {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 280px);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 16px;
}

.rtp-provider-tabs-wrap {
  position: relative;
  padding: 2px;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(245, 208, 97, 0.35), rgba(56, 189, 248, 0.2), rgba(245, 208, 97, 0.35));
  background-size: 200% 200%;
  animation: rtpBorderGlow 4s ease infinite;
  overflow: hidden;
}

.rtp-provider-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(8, 10, 18, 0.92);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 208, 97, 0.35) transparent;
}

.rtp-provider-tabs::-webkit-scrollbar {
  height: 6px;
}

.rtp-provider-tabs::-webkit-scrollbar-thumb {
  background: rgba(245, 208, 97, 0.35);
  border-radius: 999px;
}

.rtp-provider-tab {
  position: relative;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 14px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.22s ease;
}

.rtp-provider-tab-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.22s ease, border-color 0.22s ease;
}

.rtp-provider-tab-glow {
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  opacity: 0;
  background: linear-gradient(135deg, #f5d061, #38bdf8, #86efac, #f5d061);
  background-size: 300% 300%;
  animation: rtpBorderGlow 3s linear infinite;
  transition: opacity 0.25s ease;
}

.rtp-provider-tab.is-active .rtp-provider-tab-glow {
  opacity: 1;
}

.rtp-provider-tab.is-active .rtp-provider-tab-inner {
  background: rgba(245, 208, 97, 0.1);
  border-color: rgba(245, 208, 97, 0.45);
  box-shadow: 0 0 18px rgba(245, 208, 97, 0.22);
}

.rtp-provider-tab.is-active {
  transform: translateY(-2px);
}

.rtp-provider-tab img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.rtp-game-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.rtp-game-search {
  width: 100%;
  height: 52px;
  padding: 0 42px 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(245, 208, 97, 0.18);
  background: rgba(8, 10, 18, 0.88);
  color: #f5f7fb;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rtp-game-search:focus {
  border-color: rgba(245, 208, 97, 0.5);
  box-shadow: 0 0 0 3px rgba(245, 208, 97, 0.12), 0 0 20px rgba(56, 189, 248, 0.15);
}

.rtp-game-search::placeholder {
  color: #7c8a9b;
}

.rtp-game-search-icon {
  position: absolute;
  right: 14px;
  font-size: 14px;
  opacity: 0.65;
  pointer-events: none;
}

.rtp-game-search-count {
  position: absolute;
  right: 38px;
  font-size: 10px;
  color: var(--rtp-lux-gold);
  font-weight: 700;
}

@keyframes rtpBorderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.rtp-provider-tab-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: Orbitron, sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--rtp-lux-gold);
}

.rtp-provider-block[hidden] {
  display: none !important;
}

.rtp-provider-block-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.rtp-provider-block-count {
  margin-left: auto;
  font-size: 11px;
  color: #9aa5b5;
  letter-spacing: 0.3px;
}

.rtp-lux-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rtp-lux-grid-more {
  display: contents;
}

.rtp-lux-card.is-popular {
  animation: rtpPopularFloat 3.2s ease-in-out infinite;
  z-index: 2;
}

.rtp-lux-card.is-popular .rtp-lux-card-border {
  opacity: 1;
  animation: rtpBorderGlow 2.4s ease infinite, rtpPopularPulse 2.4s ease-in-out infinite;
}

.rtp-lux-card.is-popular .rtp-lux-media {
  animation: rtpPopularShine 2.8s ease-in-out infinite;
}

.rtp-popular-sparkle {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 230, 120, 0.35), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, 0.22), transparent 30%);
  animation: rtpPopularSparkle 2.6s ease-in-out infinite;
}

.rtp-lux-ribbon.rtp-ribbon-popular,
.rtp-ribbon-popular {
  background: linear-gradient(135deg, #ff4d8d, #ffd166, #ffe566);
  color: #1a1408;
  animation: rtpPopularBadge 1.8s ease-in-out infinite;
  box-shadow: 0 0 18px rgba(255, 209, 102, 0.55);
}

.rtp-lux-title-visual {
  font-size: 12px;
  letter-spacing: 0.4px;
  color: #9aa5b5;
  font-weight: 700;
  text-transform: uppercase;
}

@keyframes rtpPopularFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes rtpPopularPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.18); }
}

@keyframes rtpPopularShine {
  0%, 100% { box-shadow: 0 16px 28px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.08); }
  50% { box-shadow: 0 18px 34px rgba(0, 0, 0, 0.48), 0 0 24px rgba(245, 208, 97, 0.35); }
}

@keyframes rtpPopularSparkle {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

@keyframes rtpPopularBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.rtp-lux-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-top: 18px;
  border-radius: 18px;
  background: var(--rtp-lux-panel);
  border: 1px solid rgba(245, 208, 97, 0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
  overflow: visible;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rtp-lux-card-border {
  position: absolute;
  inset: -1px;
  border-radius: 19px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(245, 208, 97, 0.55), rgba(56, 189, 248, 0.25), rgba(134, 239, 172, 0.35), rgba(245, 208, 97, 0.45));
  background-size: 260% 260%;
  animation: rtpBorderGlow 5s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.rtp-lux-card:hover .rtp-lux-card-border {
  opacity: 1;
}

.rtp-lux-card.is-popular:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.48), 0 0 32px rgba(245, 208, 97, 0.42);
}

.rtp-lux-card:not(.is-popular):hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 28px var(--rtp-lux-gold-soft);
}

.rtp-lux-ribbon,
.rtp-ribbon {
  position: absolute;
  top: 12px;
  left: 10px;
  z-index: 3;
  padding: 3px 10px;
  font-family: Orbitron, sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #1a1408;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.rtp-ribbon-gacor,
.rtp-lux-ribbon.rtp-ribbon-gacor {
  background: linear-gradient(135deg, #d4af37, #ffe082);
}

.rtp-ribbon-panas,
.rtp-lux-ribbon.rtp-ribbon-panas {
  background: linear-gradient(135deg, #ff9f1a, #ffd166);
}

.rtp-ribbon-normal,
.rtp-lux-ribbon.rtp-ribbon-normal {
  background: linear-gradient(135deg, #5eead4, #99f6e4);
  color: #0f172a;
}

.rtp-ribbon-dingin,
.rtp-lux-ribbon.rtp-ribbon-dingin {
  background: linear-gradient(135deg, #94a3b8, #cbd5e1);
  color: #0f172a;
}

.rtp-lux-media {
  position: relative;
  margin: -8px 12px 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 30% 15%, rgba(255, 255, 255, 0.22), transparent 48%),
    linear-gradient(160deg, var(--rtp-thumb-accent, #334155), #0f172a);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(-6px) scale(1.03);
  transition: transform 0.25s ease;
}

.rtp-lux-card:hover .rtp-lux-media {
  transform: translateY(-10px) scale(1.05);
}

.rtp-lux-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rtp-lux-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.rtp-lux-placeholder-icon {
  font-size: 34px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

.rtp-lux-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 12px;
}

.rtp-lux-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.rtp-lux-title {
  margin: 0;
  font-family: Orbitron, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

.rtp-lux-provider img,
.rtp-lux-provider-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Orbitron, sans-serif;
  font-size: 8px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.rtp-lux-pola {
  display: grid;
  gap: 4px;
}

.rtp-lux-pola-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--rtp-lux-gold);
}

.rtp-lux-pola-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.rtp-lux-pola-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 10px;
  font-weight: 600;
  color: #e5edf7;
}

.rtp-lux-signals {
  display: inline-flex;
  gap: 3px;
}

.rtp-lux-signal {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
}

.rtp-lux-signal-ok {
  background: #34d399;
  color: #052e1c;
}

.rtp-lux-signal-no {
  background: rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
}

.rtp-lux-pola-empty {
  margin: 0;
  font-size: 10px;
  color: #94a3b8;
}

.rtp-lux-jam {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #b6c2d1;
}

.rtp-lux-meters {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 2px;
}

.rtp-lux-rtp {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 52px;
}

.rtp-lux-rtp-label {
  font-size: 9px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #94a3b8;
}

.rtp-lux-rtp strong {
  font-family: Orbitron, sans-serif;
  font-size: 12px;
  color: var(--rtp-lux-gold);
}

.rtp-lux-winrate,
.rtp-card-winrate {
  min-width: 0;
}

.rtp-winrate-track {
  position: relative;
  height: 22px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.rtp-winrate-fill {
  position: relative;
  height: 100%;
  min-width: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 1.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.rtp-winrate-fill.is-animated {
  animation: rtpBarPulse 2.4s ease-in-out infinite;
}

.rtp-winrate-pulse {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-120%);
  animation: rtpWinrateShine 2.2s ease-in-out infinite;
}

@keyframes rtpBarPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}

.rtp-bar-high .rtp-winrate-fill {
  background: linear-gradient(90deg, #22c55e, #86efac, #4ade80);
}

.rtp-bar-mid .rtp-winrate-fill {
  background: linear-gradient(90deg, #f59e0b, #fcd34d, #fbbf24);
}

.rtp-bar-soft .rtp-winrate-fill {
  background: linear-gradient(90deg, #38bdf8, #7dd3fc, #60a5fa);
}

.rtp-winrate-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.45) 50%, transparent 80%);
  transform: translateX(-120%);
  animation: rtpWinrateShine 2.4s ease-in-out infinite;
}

@keyframes rtpWinrateShine {
  0% { transform: translateX(-120%); }
  55% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

.rtp-winrate-value {
  position: relative;
  z-index: 1;
  font-family: Orbitron, sans-serif;
  font-size: 10px;
  font-weight: 900;
  color: #0f172a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

.rtp-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.rtp-load-more-btn {
  border: 1px solid rgba(245, 208, 97, 0.28);
  background: rgba(245, 208, 97, 0.08);
  color: var(--rtp-lux-gold);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: Orbitron, sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rtp-load-more-btn:hover {
  background: rgba(245, 208, 97, 0.16);
  transform: translateY(-1px);
}

.rtp-lux-loading {
  grid-column: 1 / -1;
  padding: 28px 16px;
  text-align: center;
  font-size: 12px;
  color: #b6c2d1;
  letter-spacing: 0.3px;
}

.rtp-slot-legend-lux {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 215, 0, 0.12);
}

.rtp-winrate-demo {
  display: inline-block;
  width: 48px;
  height: 10px;
  border-radius: 999px;
  vertical-align: middle;
}

.rtp-winrate-demo.rtp-bar-high { background: linear-gradient(90deg, #22c55e, #86efac); }
.rtp-winrate-demo.rtp-bar-mid { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
.rtp-winrate-demo.rtp-bar-soft { background: linear-gradient(90deg, #38bdf8, #7dd3fc); }

@media (max-width: 1200px) {
  .rtp-lux-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .rtp-lux-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .rtp-provider-toolbar {
    grid-template-columns: 1fr;
  }

  .rtp-lux-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .rtp-lux-grid { grid-template-columns: 1fr; }
  .rtp-provider-tab { width: 48px; height: 48px; }
  .rtp-game-search { height: 48px; }
}

/* Legacy card aliases kept for inner pages */
.rtp-card {
  position: relative;
  display: flex;
  min-height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffd54f 0%, #ffb300 55%, #ff8f00 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rtp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 193, 7, 0.25);
}

.rtp-ribbon {
  position: absolute;
  top: 10px;
  left: -4px;
  z-index: 3;
  padding: 4px 14px 4px 10px;
  font-family: Orbitron, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.rtp-ribbon-gacor { background: linear-gradient(135deg, #d4af37, #ffe082); color: #1a1408; }
.rtp-ribbon-panas { background: linear-gradient(135deg, #ff9f1a, #ffd166); color: #1a1408; }
.rtp-ribbon-normal { background: linear-gradient(135deg, #5eead4, #99f6e4); color: #0f172a; }
.rtp-ribbon-dingin { background: linear-gradient(135deg, #94a3b8, #cbd5e1); color: #0f172a; }

.rtp-card-media {
  position: relative;
  flex: 0 0 38%;
  min-width: 120px;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), transparent 55%),
    linear-gradient(160deg, var(--rtp-thumb-accent, #1863dc), #111827);
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}

.rtp-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rtp-card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 10px;
  text-align: center;
}

.rtp-card-placeholder-icon {
  font-size: 34px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

.rtp-card-placeholder-name {
  font-family: Orbitron, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.rtp-card-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 12px 10px;
  background: linear-gradient(180deg, #1a1f2e 0%, #121722 100%);
  color: #f5f7fb;
}

.rtp-card-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rtp-card-pola-label {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.rtp-card-provider img,
.rtp-card-provider-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Orbitron, sans-serif;
  font-size: 8px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.rtp-card-pola-body {
  min-height: 72px;
}

.rtp-card-pola-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rtp-card-pola-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}

.rtp-card-signals {
  display: inline-flex;
  gap: 4px;
}

.rtp-signal {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.rtp-signal-ok {
  background: #00c853;
  color: #fff;
}

.rtp-signal-no {
  background: #ff1744;
  color: #fff;
}

.rtp-card-pola-warn {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  color: #ff5252;
}

.rtp-card-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #cfd8e3;
}

.rtp-card-winrate {
  margin-top: auto;
}

.rtp-winrate-track {
  position: relative;
  height: 26px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rtp-winrate-fill {
  height: 100%;
  min-width: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.6s ease;
}

.rtp-bar-high .rtp-winrate-fill {
  background: linear-gradient(90deg, #22c55e, #86efac);
}

.rtp-bar-mid .rtp-winrate-fill {
  background: linear-gradient(90deg, #f59e0b, #fcd34d);
}

.rtp-bar-soft .rtp-winrate-fill,
.rtp-bar-warn .rtp-winrate-fill {
  background: linear-gradient(90deg, #38bdf8, #7dd3fc);
}

.rtp-bar-danger .rtp-winrate-fill {
  background: linear-gradient(90deg, #38bdf8, #7dd3fc);
}

.rtp-winrate-value {
  font-family: Orbitron, sans-serif;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.rtp-card-title {
  margin: 0;
  font-family: Orbitron, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}

.rtp-card-meta {
  margin: 0;
  font-size: 10px;
  color: #9aa5b5;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.rtp-card-meta-dot { opacity: 0.6; }

.rtp-slot-legend-cards {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 215, 0, 0.15);
}

.rtp-winrate-demo {
  display: inline-block;
  width: 48px;
  height: 10px;
  border-radius: 999px;
  vertical-align: middle;
}

.rtp-winrate-demo.rtp-bar-high { background: linear-gradient(90deg, #22c55e, #86efac); }
.rtp-winrate-demo.rtp-bar-mid { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
.rtp-winrate-demo.rtp-bar-soft { background: linear-gradient(90deg, #38bdf8, #7dd3fc); }

@media (max-width: 1024px) {
  .rtp-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .rtp-card-grid { grid-template-columns: 1fr; }
}

