/* ============================================
   RTP SLOT CSS v8 — Orange/Yellow Theme
   ============================================ */
:root {
  --ro1:#FF6B00; --ro2:#CC4E00; --ro3:#FF8C00;
  --ry1:#FFD700; --ry2:#E6B800;
  --rd1:#0D0500; --rd2:#1A0A00; --rd3:#2D1400; --rd4:#3D1A00;
  --rb:#4A2800;
  --rtx:#FFF; --rtg:#FFD700; --rtm:#FFB347;
  --rsh:0 4px 20px rgba(255,107,0,.3);
}

/* ===== PROVIDER BAR ===== */
.prov-bar-wrap {
  position: sticky;
  top: 65px;
  z-index: 90;
  background: #100500;
  border-bottom: 2px solid var(--ry1);
  box-shadow: 0 3px 15px rgba(0,0,0,.7);
}
.prov-bar {
  display: flex;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}
.prov-scroll-btn {
  flex-shrink: 0;
  width: 32px;
  min-height: 80px;
  background: linear-gradient(90deg,#100500 60%,transparent);
  border: none; color: var(--ry1);
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: .2s;
  padding: 0 4px;
}
.prov-scroll-btn.right {
  background: linear-gradient(270deg,#100500 60%,transparent);
}
.prov-scroll-btn:hover { color: var(--ro1); }
.prov-bar-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  padding: 0;
  scroll-behavior: smooth;
}
.prov-bar-inner::-webkit-scrollbar { display: none; }
.prov-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  padding: 10px 8px 8px;
  min-width: 88px;
  max-width: 105px;
  color: rgba(255,255,255,.75);
  font-size: 9.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: all .2s;
  border-right: 1px solid rgba(255,200,0,.08);
  border-bottom: 3px solid transparent;
  flex-shrink: 0;
  letter-spacing: .4px;
  text-decoration: none;
  position: relative;
  text-transform: uppercase;
  background: transparent;
}
.prov-item:last-child { border-right: none; }
.prov-item:hover {
  color: #fff;
  background: rgba(255,200,0,.07);
  border-bottom-color: rgba(255,200,0,.4);
}
.prov-item.active {
  color: var(--ry1);
  background: rgba(255,200,0,.1);
  border-bottom: 3px solid var(--ry1);
}
.prov-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: #1c0900;
  border: 1px solid rgba(255,200,0,.15);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  font-size: 20px; color: var(--ry1);
  transition: .2s;
  margin-bottom: 6px;
  position: relative;
}
.prov-item:hover .prov-icon-wrap {
  border-color: rgba(255,200,0,.4);
  background: #2a1200;
}
.prov-item.active .prov-icon-wrap {
  border-color: var(--ry1);
  background: rgba(255,200,0,.12);
  box-shadow: 0 0 10px rgba(255,200,0,.2);
}
.prov-icon-wrap img {
  width: 100%; height: 100%;
  object-fit: contain; padding: 5px;
}
.prov-abbr {
  font-size: 13px; font-weight: 900;
  color: var(--ry1); line-height: 1;
  text-align: center; letter-spacing: -.3px;
}
.prov-name {
  font-size: 9px; font-weight: 800;
  color: rgba(255,255,255,.8);
  max-width: 88px;
  text-align: center;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prov-item.active .prov-name { color: var(--ry1); }

/* Badge HOT/NEW/TOP */
.prov-badge {
  position: absolute;
  top: 4px; right: 4px;
  font-size: 8px; font-weight: 900;
  padding: 1px 5px; border-radius: 3px;
  line-height: 1.5; z-index: 3;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.prov-badge-hot { background: #e00; color: #fff; }
.prov-badge-new { background: #00aa44; color: #fff; }
.prov-badge-top { background: var(--ro1); color: #fff; }

/* ===== FILTER BAR (under provider) ===== */
.prov-filter-bar {
  background: #1a0900;
  border-bottom: 1px solid rgba(255,200,0,.15);
}
.prov-filter-inner {
  display: flex;
  align-items: stretch;
  max-width: 1300px;
  margin: 0 auto;
  min-height: 44px;
}
.prov-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-right: 1px solid rgba(255,200,0,.12);
  flex: 1; min-width: 160px; max-width: 300px;
}
.prov-search-box i { color: var(--rtm); font-size: 13px; flex-shrink: 0; }
.prov-search-box input {
  background: none; border: none;
  color: #fff; font-size: 12.5px;
  outline: none; width: 100%;
}
.prov-search-box input::placeholder { color: rgba(255,179,71,.4); }
.prov-search-clear {
  background: none; border: none;
  color: rgba(255,179,71,.35); cursor: pointer;
  font-size: 13px; padding: 0; flex-shrink: 0;
  transition: .2s;
}
.prov-search-clear:hover { color: var(--ro1); }
.prov-filter-tabs {
  display: flex;
  align-items: stretch;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.prov-filter-tabs::-webkit-scrollbar { display: none; }
.prov-ftab {
  display: flex; align-items: center;
  padding: 0 22px;
  font-size: 12px; font-weight: 800;
  color: rgba(255,179,71,.55);
  letter-spacing: .8px;
  text-transform: uppercase;
  cursor: pointer;
  border: none; background: none;
  border-right: 1px solid rgba(255,200,0,.08);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all .2s;
  text-decoration: none;
  flex-shrink: 0;
}
.prov-ftab:hover { color: #fff; background: rgba(255,200,0,.05); }
.prov-ftab.active {
  color: var(--ry1);
  border-bottom-color: var(--ry1);
  background: rgba(255,200,0,.07);
}

/* ===== INFO BAR ===== */
.rtp-infobar {
  background: linear-gradient(90deg, var(--rd3), var(--rd4));
  border-bottom: 1px solid var(--rb);
  padding: 8px 0;
}
.rtp-infobar-inner {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 0 15px;
}
.rtp-infobar-left {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--rtm); font-weight: 500;
}
.rtp-update-icon { font-size: 13px; color: var(--ro1); }
.rtp-moon { font-size: 16px; }

/* ===== HEAD SECTION ===== */
.rtp-head-section {
  background: linear-gradient(180deg, var(--rd3), var(--rd2));
  padding: 14px 0 12px;
  border-bottom: 2px solid var(--ro1);
}
.rtp-page-title {
  font-size: 20px; font-weight: 900; color: var(--ry1);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 4px; line-height: 1.2;
  text-shadow: 0 0 20px rgba(255,107,0,.4);
}
.rtp-likes {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 14px; font-size: 13px;
}
.like-icon  { font-size: 15px; }
.like-text  { color: var(--rtm); font-weight: 600; }
.like-stars { color: #ffb300; font-size: 15px; letter-spacing: 2px; }

/* FILTER */
.rtp-filter {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; margin-bottom: 12px;
}
.rtp-search {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--rb);
  border-radius: 8px; padding: 9px 13px;
  flex: 1; min-width: 180px; transition: .2s;
}
.rtp-search:focus-within { border-color: var(--ro1); box-shadow: 0 0 0 3px rgba(255,107,0,.15); }
.rtp-search i { color: var(--rtm); font-size: 13px; }
.rtp-search input { background: none; border: none; color: #fff; font-size: 13px; outline: none; width: 100%; }
.rtp-search input::placeholder { color: rgba(255,179,71,.4); }

.rtp-sort {
  padding: 9px 13px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--rb);
  border-radius: 8px; color: var(--ry1);
  font-size: 13px; outline: none; cursor: pointer; transition: .2s;
}
.rtp-sort:focus { border-color: var(--ro1); }
.rtp-sort option { background: var(--rd3); }

.rtp-btn-filter {
  padding: 9px 18px;
  background: linear-gradient(135deg, var(--ro2), var(--ro1));
  color: #fff; border: none; border-radius: 8px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; gap: 7px;
  box-shadow: 0 3px 12px rgba(255,107,0,.35); transition: .2s;
  white-space: nowrap;
}
.rtp-btn-filter:hover { filter: brightness(1.1); transform: translateY(-1px); }

.rtp-btn-reset {
  padding: 9px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--rb);
  border-radius: 8px; color: var(--rtm);
  font-size: 12px; transition: .2s;
  display: flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.rtp-btn-reset:hover { color: #f44336; border-color: #f44336; }

/* TABS */
.rtp-tabs {
  display: flex; align-items: center;
  flex-wrap: wrap; gap: 6px;
}
.rtp-tab {
  padding: 7px 16px; border-radius: 24px;
  font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--rb);
  color: var(--rtm); cursor: pointer;
  transition: all .2s;
  display: flex; align-items: center; gap: 5px;
}
.rtp-tab:hover     { border-color: var(--ro1); color: #fff; }
.rtp-tab.active    { background: rgba(255,107,0,.15); color: var(--ry1); border-color: var(--ro1); }
.rtp-tab.tab-gacor.active { background: rgba(0,200,83,.12); color: #00e676; border-color: rgba(0,200,83,.4); }
.rtp-tab.tab-normal.active{ background: rgba(255,152,0,.12); color: #ffa000; border-color: rgba(255,152,0,.4); }
.rtp-tab.tab-rendah.active{ background: rgba(244,67,54,.12); color: #f44336; border-color: rgba(244,67,54,.4); }
.rtp-tab-count { font-size: 11px; color: var(--rtm); margin-left: auto; }
.rtp-tab-count b { color: var(--ro1); }

/* ===== BODY ===== */
.rtp-body {
  background: var(--rd1);
  padding: 14px 0 40px;
  min-height: 60vh;
}
.rtp-empty {
  text-align: center; padding: 60px 20px; color: var(--rtm);
}
.rtp-empty i { font-size: 40px; display: block; margin-bottom: 12px; opacity: .4; }
.rtp-empty a { color: var(--ro1); text-decoration: underline; }

/* ===== GAME GRID ===== */
.rtp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* ===== GAME CARD ===== */
.gc {
  background: var(--rd3);
  border: 1px solid var(--rb);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.gc:hover {
  border-color: var(--ro1);
  transform: translateY(-3px);
  box-shadow: var(--rsh);
}

/* RIBBON */
.gc-ribbon {
  position: absolute; top: 10px; left: 0;
  padding: 3px 10px 3px 7px;
  font-size: 10px; font-weight: 900;
  letter-spacing: .8px; z-index: 5;
  border-radius: 0 4px 4px 0;
  box-shadow: 2px 2px 6px rgba(0,0,0,.5);
}
.gc-hot { background: linear-gradient(135deg, var(--ro2), var(--ro1)); color: #fff; }
.gc-top { background: linear-gradient(135deg, var(--ry2), var(--ry1)); color: #000; }

/* INNER */
.gc-inner { display: flex; min-height: 148px; align-items: stretch; }

/* LEFT: IMAGE */
.gc-left {
  width: 42%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 7px 0 0 7px;
  align-self: stretch;
  min-height: 148px;
}
.gc-left img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.gc-noimg {
  width: 90%; height: 95px;
  background: rgba(0,0,0,.3); border-radius: 7px;
  border: 2px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: rgba(255,255,255,.2);
}
.gc-game-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  font-size: 10px; font-weight: 800;
  color: #fff; text-align: center;
  padding: 4px 5px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(2px);
  z-index: 2;
  width: 100%;
  line-height: 1.3; padding: 0 4px;
  text-shadow: 0 1px 4px rgba(0,0,0,.8);
}

/* RIGHT: POLA */
.gc-right {
  flex: 1; background: #1A0800;
  padding: 10px 10px 8px;
  display: flex; flex-direction: column; gap: 5px;
  border-left: 1px solid var(--rb);
}
.gc-pola-header {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10px; color: var(--rtm);
  font-weight: 700; margin-bottom: 4px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--rb);
}
.gc-pola-header i { font-size: 10px; margin-right: 3px; color: var(--ro1); }

.gc-pola-list { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.gc-pola-row  { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.gc-pola-text { font-size: 11px; color: #CCC; font-weight: 600; flex: 1; }
.gc-pola-dots { display: flex; gap: 3px; flex-shrink: 0; }
.pdot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.pdot-good    { background: #00c853; box-shadow: 0 0 5px rgba(0,200,83,.6); }
.pdot-bad     { background: #f44336; box-shadow: 0 0 5px rgba(244,67,54,.5); }
.pdot-neutral { background: #555; }

.gc-notavail {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start; gap: 4px; padding: 4px 0;
}
.gc-notavail-title { font-size: 11px; font-weight: 800; color: #ffa000; line-height: 1.3; }
.gc-notavail-desc  { font-size: 10px; color: #666; line-height: 1.4; }

.gc-jam {
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; color: var(--ro3); font-weight: 600;
  margin-top: auto; padding-top: 5px;
  border-top: 1px solid var(--rb);
}
.gc-jam-icon { font-size: 11px; }

/* ===== PROGRESS BAR ===== */
.gc-bar-wrap { background: #0D0500; border-top: 1px solid var(--rb); }
.gc-bar-track {
  position: relative; height: 26px;
  background: rgba(0,0,0,.4); overflow: hidden;
}
.gc-bar-fill {
  height: 100%; position: absolute; top: 0; left: 0;
  transition: width .8s cubic-bezier(.4,0,.2,1);
  min-width: 28px;
}
.gc-bar-pct {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 13px; font-weight: 900; color: #fff;
  text-shadow: 0 1px 5px rgba(0,0,0,.9);
  z-index: 2; letter-spacing: .5px; white-space: nowrap;
}

/* ===== RESPONSIVE ===== */
@media(max-width:1200px) {
  .rtp-grid { grid-template-columns: repeat(3,1fr); gap: 10px; }
}
@media(max-width:900px) {
  .rtp-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .prov-bar { top: 0; }
  .rtp-page-title { font-size: 17px; }
}
@media(max-width:768px) {
  .rtp-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .rtp-filter { flex-direction: column; }
  .rtp-search { min-width: 100%; }
  .rtp-sort   { width: 100%; }
  .prov-bar   { top: 0; }
  .rtp-infobar-right { display: none; }
  .rtp-btn-filter,.rtp-btn-reset { width: 100%; justify-content: center; }
  .gc-inner { min-height: 130px; }
  .gc-left  { width: 40%; }
  .gc-left img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: contain; }
  .gc-game-name { font-size: 9px; }
  .gc-right { padding: 8px 8px 7px; }
  .gc-pola-text { font-size: 10px; }
  .ldc-4d { font-size: 26px; }
}
@media(max-width:480px) {
  .rtp-grid { grid-template-columns: 1fr; gap: 8px; }
  .gc-inner { min-height: 120px; }
  .gc-left  { width: 38%; }
  .gc-left img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: contain; }
  .rtp-page-title { font-size: 15px; }
  .prov-item { padding: 8px 10px; }
  .prov-icon-wrap { width: 36px; height: 36px; }
  .prov-name { font-size: 8px; max-width: 65px; }
  .rtp-tabs { gap: 4px; }
  .rtp-tab  { padding: 6px 12px; font-size: 11px; }
  .gc-bar-track { height: 24px; }
  .gc-bar-pct   { font-size: 12px; }
}
@media(max-width:360px) {
  .rtp-grid { grid-template-columns: 1fr; }
  .gc-inner { flex-direction: column; min-height: unset; }
  .gc-left  { width: 100%; flex-direction: row; padding: 10px; gap: 10px; min-height: 70px; }
  .gc-left img { width: 65px; height: 65px; aspect-ratio: 1/1; object-fit: contain; }
  .gc-game-name { text-align: left; font-size: 12px; }
  .gc-right { border-left: none; border-top: 1px solid var(--rb); }
}
