/* ============================================================
   SYKAAA CASINO — GAMES SECTION STYLES
   Standalone module — can be loaded separately
   ============================================================ */

/* Game card */
.game-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.35s cubic-bezier(0.22,0.68,0,1.2), box-shadow 0.35s ease, border-color 0.3s;
  cursor: pointer;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 20px rgba(212,168,67,0.15);
  border-color: rgba(212,168,67,0.30);
  z-index: 2;
}

/* Game image area */
.game-card__img {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.game-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.game-card:hover .game-card__img img {
  transform: scale(1.06);
}

/* Overlay on hover */
.game-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7,7,14,0.92) 0%,
    rgba(7,7,14,0.4) 45%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-card:hover .game-card__overlay { opacity: 1; }

.game-card__play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4a843, #f5d060);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #1a0e00;
  box-shadow: 0 0 24px rgba(212,168,67,0.40);
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.22,0.68,0,1.2);
  border: none;
  cursor: pointer;
}
.game-card:hover .game-card__play-btn {
  transform: scale(1);
}

/* Game info bar */
.game-card__info {
  padding: 10px 12px;
  background: rgba(11,11,22,0.98);
  border-top: 1px solid rgba(212,168,67,0.10);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.game-card__name {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #f2eedc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-card__provider {
  font-size: 0.68rem;
  color: #7a7468;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Category badge on card */
.game-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 3;
}
.badge-slots     { background: rgba(192,40,40,0.80); color: #fff; }
.badge-live      { background: rgba(30,150,80,0.85); color: #fff; }
.badge-table     { background: rgba(50,100,200,0.80); color: #fff; }
.badge-jackpot   { background: rgba(212,168,67,0.85); color: #1a0e00; }
.badge-instant   { background: rgba(150,50,200,0.80); color: #fff; }

/* Hot badge */
.game-card__hot {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  background: linear-gradient(135deg, #e03535, #c02828);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 3;
}

/* RTP bar */
.game-card__rtp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.rtp-label { font-size: 0.62rem; color: #4a4640; text-transform: uppercase; letter-spacing: 0.08em; }
.rtp-value { font-size: 0.72rem; font-weight: 700; color: #c09030; }

/* Jackpot prize banner on card */
.game-card__jackpot-amount {
  position: absolute;
  bottom: 56px;
  left: 0; right: 0;
  background: linear-gradient(90deg, rgba(212,168,67,0.90), rgba(192,40,40,0.80));
  padding: 6px 12px;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Games section: category tabs filter */
.games-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.games-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  color: #7a7468;
  background: rgba(17,17,37,0.6);
  transition: all 0.2s;
  letter-spacing: 0.04em;
}
.games-tab:hover {
  border-color: rgba(212,168,67,0.25);
  color: #d4a843;
  background: rgba(212,168,67,0.06);
}
.games-tab.active {
  border-color: rgba(212,168,67,0.4);
  color: #d4a843;
  background: rgba(212,168,67,0.10);
}
.games-tab .count {
  background: rgba(212,168,67,0.12);
  color: #9a7320;
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 10px;
}

/* More games CTA */
.games-more {
  text-align: center;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.games-more p {
  font-size: 0.9rem;
  color: #7a7468;
  margin-bottom: 16px;
}

/* Provider logos strip */
.providers-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.provider-tag {
  padding: 5px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  font-size: 0.75rem;
  color: #4a4640;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.provider-tag:hover {
  border-color: rgba(212,168,67,0.2);
  color: #8a7440;
}

/* Responsive */
@media (max-width: 700px) {
  .game-card__play-btn { width: 44px; height: 44px; font-size: 1rem; }
}
