.rtp-card {
  position: relative;
  display: flex;
  gap: 8px;
  background: linear-gradient(145deg, rgba(50,168,234,0.06), transparent 55%), linear-gradient(180deg, #0f1826 0%, #0a1120 100%);
  border: 1px solid rgba(100,170,230,0.1);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.03);
  transition: 0.3s;
  overflow: hidden;
  height: 100%;
}
.rtp-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #32a8ea, #22d3ee, #32a8ea, transparent);
  opacity: 0.5; pointer-events: none;
}
.rtp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(50,168,234,0.4);
  box-shadow: 0 10px 28px rgba(0,0,0,0.5), 0 0 20px rgba(50,168,234,0.15);
}

.badge-hot, .badge-top {
  position: absolute;
  top: 0;
  z-index: 3;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.badge-hot i, .badge-top i { font-size: 10px; }
.badge-hot {
  left: 14px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.5);
}
.badge-top {
  right: 14px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.5);
  color: #0a0a0a;
}

.rtp-card__left {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.rtp-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;   
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(100,170,230,0.08);
}
.rtp-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;        
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.rtp-card:hover .rtp-card__img { transform: scale(1.06); }

.btn-play {
  position: absolute;
  bottom: 6px; left: 6px; right: 6px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 6px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, #22d3ee, #32a8ea);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 3px 12px rgba(50,168,234,0.55), inset 0 1px 0 rgba(255,255,255,0.3);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(6px);
  transition: 0.3s;
  text-decoration: none;
}
.btn-play i { font-size: 11px; }
.rtp-card:hover .btn-play { opacity: 1; transform: translateY(0); }
.btn-play:hover {
  background: linear-gradient(135deg, #32a8ea, #22d3ee);
  color: #fff;
}

.rtp-card__game-name {
  font-weight: 700;
  font-size: 11px;
  color: #f1f5fb;
  text-align: center;
  padding: 2px 4px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(90deg, transparent, rgba(50,168,234,0.08), transparent);
  border-radius: 4px;
}

.rtp-card__right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
  position: relative;
}

.rtp-widget__provider-icon { display: none; }

.rtp-widget__section { }

.rtp-widget__section-title {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6b7f99;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.rtp-widget__section-title i { color: #32a8ea; font-size: 10px; }

.rtp-widget__pola {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rtp-pola-row {
  padding: 2px 6px;
  background: linear-gradient(90deg, rgba(50,168,234,0.1), transparent 85%);
  border-left: 2px solid #32a8ea;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 500;
  color: #a0b4cc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}
.rtp-pola-row:nth-child(1) { border-left-color: #22d3ee; }
.rtp-pola-row:nth-child(2) { border-left-color: #32a8ea; }
.rtp-pola-row:nth-child(3) { border-left-color: #4a90ff; }

.rtp-widget__jam {
  padding: 4px 6px;
  background: linear-gradient(135deg, rgba(34,211,238,0.12), rgba(50,168,234,0.04));
  border: 1px solid rgba(50,168,234,0.25);
  border-radius: 5px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: #6cc5f5;
  letter-spacing: 0.03em;
  text-shadow: 0 0 6px rgba(50,168,234,0.3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rtp-widget__meter {
  margin-top: auto;
  padding: 5px 6px 4px;
  background: linear-gradient(135deg, rgba(50,168,234,0.08), rgba(10,18,32,0.6));
  border: 1px solid rgba(100,170,230,0.1);
  border-radius: 6px;
}
.rtp-widget__meter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}
.rtp-widget__label {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b7f99;
  font-family: 'JetBrains Mono', monospace;
}
.rtp-widget__status {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(107, 127, 153, 0.15);
  color: #6b7f99;
  border: 1px solid rgba(107, 127, 153, 0.3);
}

.rtp-widget__status.is-low {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: #fff;
  border-color: #ef4444;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  box-shadow: 0 2px 10px rgba(239,68,68,0.5);
}
.rtp-widget__status.is-mid {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #fff;
  border-color: #38bdf8;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 2px 10px rgba(50,168,234,0.5);
}
.rtp-widget__status.is-high {
  background: linear-gradient(135deg, #0891b2 0%, #22d3ee 100%);
  color: #fff;
  border-color: #22d3ee;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 2px 12px rgba(34,211,238,0.6);
  animation: statusPulse 1.6s ease-in-out infinite;
}
@keyframes statusPulse {
  0%,100% { box-shadow: 0 2px 12px rgba(34,211,238,0.6); }
  50%     { box-shadow: 0 2px 20px rgba(34,211,238,0.9), 0 0 0 3px rgba(34,211,238,0.2); }
}

.rtp-widget__bar {
  position: relative;
  width: 100%;
  height: 16px;
  background: rgba(10,18,32,0.8);
  border: 1px solid rgba(100,170,230,0.12);
  border-radius: 10px;
  overflow: hidden;
}
.rtp-widget__bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 10px;
  transition: width 1.2s cubic-bezier(0.22,1,0.36,1);
  background: linear-gradient(90deg, #6b7f99, #a0b4cc);
  position: relative;
}
.rtp-widget__bar-fill::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.1) 0 6px, transparent 6px 12px);
  animation: barStripes 1s linear infinite;
}
@keyframes barStripes {
  from { background-position: 0 0; } to { background-position: 12px 0; }
}
.rtp-widget__bar-fill.is-low {
  background: linear-gradient(90deg, #b91c1c, #dc2626, #ef4444) !important;
  box-shadow: 0 0 12px rgba(239,68,68,0.75), inset 0 1px 0 rgba(255,255,255,0.2);
}
.rtp-widget__bar-fill.is-mid {
  background: linear-gradient(90deg, #0369a1, #0ea5e9, #38bdf8) !important;
  box-shadow: 0 0 12px rgba(14,165,233,0.75), inset 0 1px 0 rgba(255,255,255,0.2);
}
.rtp-widget__bar-fill.is-high {
  background: linear-gradient(90deg, #0891b2, #22d3ee, #67e8f9) !important;
  background-size: 200% 100% !important;
  box-shadow: 0 0 14px rgba(34,211,238,0.85), inset 0 1px 0 rgba(255,255,255,0.25);
  animation: gacorFlow 2s linear infinite, barStripes 1s linear infinite;
}
@keyframes gacorFlow {
  0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; }
}

.rtp-widget__bar-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8), 0 0 5px rgba(0,0,0,0.5);
  font-family: 'JetBrains Mono', monospace;
}

@media (max-width: 767px) {
  .rtp-card {
    flex-direction: column;
    gap: 6px;
    padding: 6px;
  }

  .rtp-card__left {
    flex: 0 0 auto;
    width: 100%;
  }
  .rtp-card__image-wrap {
    aspect-ratio: 1 / 1;    
    border-radius: 6px;
  }
  .rtp-card__game-name {
    font-size: 10px;
    padding: 2px;
    letter-spacing: 0;
  }

  .rtp-card__right {
    flex: 0 0 auto;
    width: 100%;
    padding-top: 2px;
    gap: 5px;
  }

  .rtp-widget__provider-icon {
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
  }

  .rtp-pola-row { font-size: 10px; padding: 3px 6px; }
  .rtp-widget__jam { font-size: 10px; padding: 4px 6px; }
  .rtp-widget__meter { padding: 5px 6px; }
  .rtp-widget__bar { height: 18px; }
  .rtp-widget__bar-value { font-size: 11px; }
  .rtp-widget__section-title { font-size: 9px; }

  .btn-play {
    opacity: 1;
    transform: none;
    font-size: 10px;
    padding: 5px 6px;
  }

  .badge-hot, .badge-top {
    font-size: 9px;
    padding: 3px 7px;
  }
}

@media (max-width: 400px) {
  .rtp-card { gap: 5px; padding: 5px; }
  .rtp-card__game-name { font-size: 9px; }
  .rtp-pola-row { font-size: 9px; }
  .rtp-widget__jam { font-size: 9px; }
}
