/* DEAL88 — Live RTP Top Games */
.deal88-rtp-section {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(180deg, #0d0d0d 0%, #141414 45%, #0a0a0a 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.deal88-rtp-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.deal88-rtp-header h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #f5d76e;
  letter-spacing: 0.02em;
}

.deal88-rtp-header h2 span {
  color: #fff;
  font-weight: 600;
}

.deal88-rtp-sub {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.deal88-rtp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.deal88-rtp-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(184, 134, 11, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: #ffd700;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.deal88-rtp-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: deal88-rtp-pulse 1.4s ease-in-out infinite;
}

@keyframes deal88-rtp-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.85);
  }
}

.deal88-rtp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem 1.1rem;
  margin-top: 1.5rem;
}

@media (min-width: 990px) {
  .deal88-rtp-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.15rem;
  }
}

.deal88-rtp-card {
  position: relative;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  background: linear-gradient(145deg, #1c1c1c, #111);
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: visible;
  z-index: 1;
}

.deal88-rtp-card:hover,
.deal88-rtp-card:focus-visible,
.deal88-rtp-card.deal88-rtp-card--active {
  transform: translateY(-6px) scale(1.04);
  border-color: rgba(255, 215, 0, 0.65);
  box-shadow: 0 14px 32px rgba(184, 134, 11, 0.35);
  z-index: 5;
}

.deal88-rtp-thumb {
  position: relative;
  border-radius: 11px 11px 0 0;
  overflow: hidden;
  aspect-ratio: 1;
  background: #222;
}

.deal88-rtp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.deal88-rtp-card:hover .deal88-rtp-thumb img,
.deal88-rtp-card:focus-visible .deal88-rtp-thumb img,
.deal88-rtp-card.deal88-rtp-card--active .deal88-rtp-thumb img {
  transform: scale(1.12);
}

.deal88-rtp-rank {
  position: absolute;
  top: 6px;
  left: 6px;
  min-width: 1.5rem;
  padding: 0.15rem 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
  border-radius: 6px;
  background: linear-gradient(135deg, #b8860b, #ffd700);
  color: #111;
  z-index: 2;
}

.deal88-rtp-body {
  padding: 0.55rem 0.6rem 0.65rem;
}

.deal88-rtp-name {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  color: #f0f0f0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.deal88-rtp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.35rem;
}

.deal88-rtp-pct {
  font-size: 0.95rem;
  font-weight: 800;
  color: #4ade80;
  font-variant-numeric: tabular-nums;
}

.deal88-rtp-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.deal88-rtp-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b8860b, #4ade80, #ffd700);
  width: 0;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.deal88-rtp-refresh {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}
