.rtp-games-section {
  position: relative;
  padding: 90px 20px;
  background:
    radial-gradient(circle at 10% 12%, rgba(56, 189, 248, 0.24), transparent 34%),
    radial-gradient(circle at 90% 6%, rgba(37, 99, 235, 0.3), transparent 36%),
    linear-gradient(135deg, #020617 0%, #071b3a 46%, #0b3f88 100%);
  color: #ffffff;
  overflow: hidden;
}

.rtp-games-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent);
  pointer-events: none;
}

.rtp-games-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.rtp-games-heading {
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
}

.rtp-games-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(125, 211, 252, 0.45);
  color: #93c5fd;
  font-size: 14px;
  font-weight: 800;
}

.rtp-games-heading h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  color: #ffffff;
}

.rtp-games-heading p {
  margin: 0;
  color: #dbeafe;
  font-size: 16px;
  line-height: 1.8;
}

.rtp-games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.rtp-game-card {
  position: relative;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 45, 95, 0.76));
  border: 1px solid rgba(96, 165, 250, 0.28);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.rtp-game-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  top: -65px;
  right: -65px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.14);
  transition: transform 0.3s ease;
}

.rtp-game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.72);
  box-shadow: 0 30px 78px rgba(37, 99, 235, 0.28);
}

.rtp-game-card:hover::after {
  transform: scale(1.45);
}

.rtp-game-card.featured {
  background: linear-gradient(180deg, rgba(30, 64, 175, 0.96), rgba(2, 6, 23, 0.92));
  border-color: rgba(125, 211, 252, 0.58);
}

.rtp-game-icon {
  position: relative;
  z-index: 1;
  width: 74px;
  height: 74px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #1d4ed8, #38bdf8);
  font-size: 36px;
  box-shadow: 0 16px 35px rgba(56, 189, 248, 0.25);
}

.rtp-game-provider {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 10px;
  color: #7dd3fc;
  font-size: 13px;
  font-weight: 800;
}

.rtp-game-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 22px;
  color: #ffffff;
}

.rtp-game-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: #dbeafe;
  font-size: 15px;
  line-height: 1.7;
}

.rtp-game-meter {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.rtp-game-meter-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.rtp-game-meter-top span {
  color: #93c5fd;
  font-size: 13px;
  font-weight: 800;
}

.rtp-game-meter-top strong {
  color: #ffffff;
  font-size: 14px;
}

.rtp-game-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  overflow: hidden;
}

.rtp-game-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
}

.rtp-game-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.rtp-game-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.24);
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 700;
}

.rtp-game-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rtp-game-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(56, 189, 248, 0.4);
}

@media (max-width: 992px) {
  .rtp-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .rtp-games-section {
    padding: 70px 16px;
  }

  .rtp-games-heading {
    text-align: left;
    margin-bottom: 32px;
  }

  .rtp-games-heading h2 {
    font-size: 28px;
  }

  .rtp-games-heading p {
    font-size: 15px;
  }

  .rtp-games-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rtp-game-card {
    padding: 22px;
    border-radius: 22px;
  }

  .rtp-game-icon {
    width: 66px;
    height: 66px;
    font-size: 32px;
  }

  .rtp-game-card h3 {
    font-size: 20px;
  }

  .rtp-game-card p {
    font-size: 14px;
  }
}