/* ============ GAMES UI OVERHAUL V7 - COMPLETE PREMIUM REDESIGN ============ */
/* This replaces ALL previous game card, grid, and page styles */

/* ===================== VARIABLES ===================== */
:root {
  --gc-gold: #E8B730;
  --gc-gold-light: #F5D261;
  --gc-dark: #0A0714;
  --gc-dark-card: rgba(18, 13, 45, 0.95);
  --gc-purple: #7C3AED;
  --gc-glass: rgba(255,255,255,0.03);
}

/* ===================== GAMES HUB SECTION ===================== */
.games-hub-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* === HERO HEADER === */
.games-hub-header {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 32px;
  padding: 50px 30px 40px;
  background: linear-gradient(165deg, rgba(124,58,237,0.15) 0%, rgba(10,7,20,0.95) 50%, rgba(232,183,48,0.08) 100%);
  border: 1px solid rgba(232,183,48,0.08);
}
.games-hub-header-bg {
  position: absolute; inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(124,58,237,0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(232,183,48,0.08) 0%, transparent 40%);
  pointer-events: none;
}
.games-hub-header-content {
  position: relative; z-index: 2;
  text-align: center;
}
.games-hub-icon {
  width: 72px; height: 72px;
  margin: 0 auto 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(232,183,48,0.15), rgba(124,58,237,0.15));
  border: 1px solid rgba(232,183,48,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--gc-gold);
}
.games-hub-title {
  font-size: 2.8rem !important;
  font-weight: 900 !important;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.games-hub-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.games-hub-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 24px;
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  width: fit-content;
  margin: 0 auto;
}
.games-hub-stat { text-align: center; }
.games-hub-stat-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gc-gold);
}
.games-hub-stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.games-hub-stat-divider {
  width: 1px; height: 32px;
  background: rgba(255,255,255,0.08);
}

/* ===================== FILTER BAR ===================== */
.games-filter-bar {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 0 10px;
}
.games-filter-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.games-filter-chip:hover {
  background: rgba(232,183,48,0.06);
  border-color: rgba(232,183,48,0.15);
  color: rgba(255,255,255,0.85);
}
.games-filter-chip.active {
  background: linear-gradient(135deg, rgba(232,183,48,0.12), rgba(232,183,48,0.06));
  border-color: rgba(232,183,48,0.3);
  color: var(--gc-gold);
  box-shadow: 0 0 20px rgba(232,183,48,0.08);
}
.games-filter-chip-emoji { font-size: 1rem; }
.games-filter-chip-count {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.4);
  font-weight: 700;
}
.games-filter-chip.active .games-filter-chip-count {
  background: rgba(232,183,48,0.15);
  color: var(--gc-gold);
}

/* ===================== GAMES GRID ===================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}

/* ===================== GAME CARD ===================== */
.gc-card {
  background: var(--gc-dark-card);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.175,0.885,0.32,1.275), 
              box-shadow 0.35s ease, 
              border-color 0.35s ease;
  position: relative;
  contain: layout style paint;
  animation: gcFadeIn 0.5s ease both;
}
@keyframes gcFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.gc-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 22px;
  padding: 1.5px;
  background: linear-gradient(135deg, transparent 30%, rgba(232,183,48,0.3) 50%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none; z-index: 2;
}
.gc-card:hover::before { opacity: 1; }
.gc-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(232,183,48,0.2);
  box-shadow: 
    0 24px 48px rgba(0,0,0,0.4),
    0 0 40px rgba(232,183,48,0.06);
}

/* === Card Image === */
.gc-image-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(22,16,58,0.8));
}
.gc-image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.8) saturate(1.15);
}
.gc-card:hover .gc-image {
  transform: scale(1.08);
  filter: brightness(0.9) saturate(1.25);
}
.gc-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--gc-dark-card) 0%, rgba(18,13,45,0.5) 30%, transparent 60%);
  z-index: 1;
}
.gc-image-icon {
  position: absolute;
  bottom: 16px; left: 16px;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(10,7,20,0.7);
  border: 1px solid rgba(232,183,48,0.15);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  z-index: 3;
  transition: transform 0.3s ease;
}
html[dir="rtl"] .gc-image-icon { left: auto; right: 16px; }
.gc-card:hover .gc-image-icon { transform: scale(1.1) rotate(-5deg); }

/* === Card Badges === */
.gc-badge {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 4;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex; align-items: center; gap: 5px;
  letter-spacing: 0.3px;
}
html[dir="ltr"] .gc-badge { left: 14px; right: auto; }
.gc-badge-new {
  background: linear-gradient(135deg, #E8B730, #F5D261);
  color: #1a0f3e;
  box-shadow: 0 4px 16px rgba(232,183,48,0.35);
}
.gc-badge-ramadan {
  background: linear-gradient(135deg, #7C3AED, #A855F7);
  color: white;
  box-shadow: 0 4px 16px rgba(124,58,237,0.35);
}

/* === Card Platforms === */
.gc-platforms {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 4;
  display: flex; gap: 6px;
}
html[dir="ltr"] .gc-platforms { right: 14px; left: auto; }
.gc-platform {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease;
}
.gc-platform-twitch {
  background: rgba(145,70,255,0.3);
  border: 1px solid rgba(145,70,255,0.3);
  color: #B57CFF;
}
.gc-platform-kick {
  background: rgba(83,252,24,0.15);
  border: 1px solid rgba(83,252,24,0.2);
  color: #53FC18;
  font-weight: 900; font-size: 0.8rem;
}
.gc-card:hover .gc-platform { transform: scale(1.15); }

/* === Card Body === */
.gc-body {
  padding: 18px 20px 20px;
}
.gc-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.gc-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: white;
  line-height: 1.35;
  flex: 1;
}
.gc-info-btn {
  width: 30px; height: 30px;
  border-radius: 10px;
  background: rgba(232,183,48,0.08);
  border: 1px solid rgba(232,183,48,0.12);
  color: rgba(232,183,48,0.5);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-size: 0.8rem;
}
.gc-info-btn:hover {
  background: rgba(232,183,48,0.15);
  color: var(--gc-gold);
  transform: scale(1.1);
}
.gc-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.gc-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  flex: 1;
}
.gc-tag {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(232,183,48,0.06);
  border: 1px solid rgba(232,183,48,0.08);
  color: rgba(255,255,255,0.55);
  transition: all 0.2s ease;
}
.gc-card:hover .gc-tag {
  background: rgba(232,183,48,0.1);
  border-color: rgba(232,183,48,0.15);
  color: rgba(255,255,255,0.7);
}
.gc-players {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  display: flex; align-items: center; gap: 5px;
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

/* ===================== GAME PAGE ===================== */
.game-page-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

/* Back Button */
.gp-nav { margin-bottom: 20px; }
.gp-back-btn {
  display: inline-flex;
  align-items: center; gap: 8px;
  padding: 10px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.gp-back-btn:hover {
  background: rgba(232,183,48,0.08);
  border-color: rgba(232,183,48,0.15);
  color: var(--gc-gold);
  transform: translateX(-4px);
}
html[dir="rtl"] .gp-back-btn:hover { transform: translateX(4px); }

/* Hero */
.gp-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--gc-dark-card);
  border: 1px solid rgba(232,183,48,0.06);
}
.gp-hero-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.gp-hero-image {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}
.gp-hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--gc-dark-card) 0%, rgba(18,13,45,0.6) 40%, transparent 100%);
}
.gp-hero-content {
  padding: 0 28px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  margin-top: -40px;
  z-index: 2;
}
.gp-hero-icon-wrap {
  flex-shrink: 0;
}
.gp-hero-icon {
  width: 68px; height: 68px;
  border-radius: 20px;
  background: rgba(232,183,48,0.1);
  border: 2px solid rgba(232,183,48,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  backdrop-filter: blur(8px);
}
.gp-hero-text { flex: 1; }
.gp-hero-title {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 4px;
}
.gp-hero-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}
.gp-hero-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 28px 20px;
}
.gp-meta-tag {
  display: inline-flex;
  align-items: center; gap: 6px;
  padding: 7px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.gp-meta-twitch {
  background: rgba(145,70,255,0.1);
  border-color: rgba(145,70,255,0.2);
  color: #B57CFF;
}
.gp-meta-kick {
  background: rgba(83,252,24,0.08);
  border-color: rgba(83,252,24,0.15);
  color: #53FC18;
}
.gp-meta-badge {
  background: rgba(232,183,48,0.08);
  border-color: rgba(232,183,48,0.15);
  color: var(--gc-gold);
}

/* Rooms */
.gp-rooms-card {
  background: var(--gc-dark-card);
  border: 1px solid rgba(232,183,48,0.06);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
}
.gp-rooms-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gc-gold);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.gp-rooms-actions {
  display: flex; gap: 12px;
  flex-wrap: wrap; align-items: stretch;
}
.gp-rooms-create-btn {
  padding: 12px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232,183,48,0.15), rgba(232,183,48,0.08));
  border: 1px solid rgba(232,183,48,0.2);
  color: var(--gc-gold);
  font-weight: 700; font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex; align-items: center; gap: 8px;
}
.gp-rooms-create-btn:hover {
  background: linear-gradient(135deg, rgba(232,183,48,0.25), rgba(232,183,48,0.12));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,183,48,0.12);
}
.gp-rooms-join {
  display: flex; gap: 8px;
  flex: 1; min-width: 220px;
}
.gp-rooms-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}
.gp-rooms-input:focus {
  border-color: rgba(232,183,48,0.3);
}
.gp-rooms-join-btn {
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}
.gp-rooms-join-btn:hover {
  background: rgba(232,183,48,0.1);
  border-color: rgba(232,183,48,0.2);
  color: var(--gc-gold);
}
.gp-rooms-list { margin-top: 12px; }

/* Game Container */
.gp-game-container {
  width: 100%;
  max-width: 100%;
}

/* ===================== CHAT ANSWERS V7 ===================== */
.chat-answers-panel-v7 {
  background: linear-gradient(165deg, rgba(22,16,58,0.9), rgba(10,7,20,0.95));
  border: 1px solid rgba(232,183,48,0.08);
  border-radius: 18px;
  overflow: hidden;
}
.chat-answers-header-v7 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(232,183,48,0.04);
  border-bottom: 1px solid rgba(232,183,48,0.06);
}
.chat-answers-header-v7 .ca-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gc-gold);
  display: flex; align-items: center; gap: 8px;
}
.chat-answers-header-v7 .ca-count {
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(232,183,48,0.1);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gc-gold);
}
.chat-answers-body-v7 {
  padding: 10px;
  max-height: 380px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(232,183,48,0.15) transparent;
}
.chat-answers-body-v7::-webkit-scrollbar { width: 4px; }
.chat-answers-body-v7::-webkit-scrollbar-thumb { background: rgba(232,183,48,0.15); border-radius: 4px; }

.ca-item-v7 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
  margin-bottom: 5px;
  transition: all 0.25s ease;
  animation: caSlideIn 0.3s ease both;
}
@keyframes caSlideIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
html[dir="rtl"] @keyframes caSlideIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
.ca-item-v7:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.04);
}
.ca-item-v7.ca-latest {
  border-color: rgba(232,183,48,0.15);
  background: rgba(232,183,48,0.04);
}
.ca-item-v7.ca-correct {
  border-color: rgba(16,185,129,0.25);
  background: rgba(16,185,129,0.06);
}
.ca-item-v7.ca-wrong {
  border-color: rgba(239,68,68,0.2);
  background: rgba(239,68,68,0.04);
}

.ca-avatar-v7 {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(232,183,48,0.15), rgba(124,58,237,0.15));
  border: 1px solid rgba(232,183,48,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800;
  color: var(--gc-gold);
  flex-shrink: 0;
  overflow: hidden;
}
.ca-avatar-v7 img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 12px;
}
.ca-content-v7 { flex: 1; min-width: 0; }
.ca-username-v7 {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 2px;
}
.ca-username-v7 .ca-platform-badge {
  font-size: 0.55rem;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
}
.ca-platform-badge.twitch { background: rgba(145,70,255,0.2); color: #B57CFF; }
.ca-platform-badge.kick { background: rgba(83,252,24,0.12); color: #53FC18; }

.ca-answer-v7 {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.ca-answer-v7 .ca-answer-num {
  display: inline-block;
  width: 22px; height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 7px;
  background: rgba(232,183,48,0.1);
  color: var(--gc-gold);
  font-weight: 800;
  font-size: 0.72rem;
  margin-inline-end: 4px;
}
.ca-correct .ca-answer-num { background: rgba(16,185,129,0.15); color: #10B981; }
.ca-wrong .ca-answer-num { background: rgba(239,68,68,0.12); color: #EF4444; }

.ca-status-v7 {
  flex-shrink: 0;
  font-size: 0.7rem;
}
.ca-status-v7 .ca-new-badge {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(232,183,48,0.1);
  color: var(--gc-gold);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ca-empty-v7 {
  text-align: center;
  padding: 32px 20px;
  color: rgba(255,255,255,0.2);
}
.ca-empty-v7 .ca-empty-icon {
  font-size: 2.2rem; margin-bottom: 10px;
  opacity: 0.4;
}
.ca-empty-v7 p { font-size: 0.82rem; margin-bottom: 4px; }
.ca-empty-v7 .ca-empty-hint { font-size: 0.7rem; color: rgba(255,255,255,0.15); }

/* ===================== SPIN WHEEL V7 ===================== */
.wheel-container {
  position: relative;
  width: 380px; height: 380px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.wheel-canvas {
  width: 100%; height: 100%;
  border-radius: 50%;
  filter: drop-shadow(0 0 20px rgba(232,183,48,0.1));
  transition: filter 0.3s ease;
}
.wheel-spinning .wheel-canvas {
  filter: drop-shadow(0 0 40px rgba(232,183,48,0.25));
}
.wheel-pointer {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 30px solid var(--gc-gold);
  z-index: 10;
  filter: drop-shadow(0 4px 10px rgba(232,183,48,0.4));
}
.wheel-center {
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8B730, #F5D261);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  cursor: pointer; z-index: 5;
  box-shadow: 0 0 20px rgba(232,183,48,0.35);
  transition: transform 0.2s ease;
}
.wheel-center:hover { transform: scale(1.1); }

/* Participant items in wheel */
.participant-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  transition: all 0.2s ease;
}
.participant-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(232,183,48,0.1);
}
.chat-answer-avatar-placeholder {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(232,183,48,0.15), rgba(124,58,237,0.15));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; color: var(--gc-gold);
  flex-shrink: 0;
}
.chat-answer-platform {
  font-size: 0.6rem; padding: 3px 8px;
  border-radius: 6px;
}
.chat-answer-platform.twitch { background: rgba(145,70,255,0.2); color: #B57CFF; }
.chat-answer-platform.kick { background: rgba(83,252,24,0.12); color: #53FC18; }
.remove-btn {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: rgba(239,68,68,0.4);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  transition: all 0.2s;
}
.remove-btn:hover { background: rgba(239,68,68,0.12); color: #EF4444; }

/* Toggle Switch */
.toggle-switch {
  width: 40px; height: 22px;
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: all 0.3s;
}
.toggle-switch.active { background: rgba(232,183,48,0.25); }
.toggle-switch.active::after {
  transform: translateX(18px);
  background: var(--gc-gold);
}

/* Wheel winner popup */
.wheel-winner-popup {
  border: 1px solid rgba(232,183,48,0.15) !important;
  position: relative;
}

/* Wheel history */
.wheel-history-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.03);
}
.wheel-history-item .round-num {
  font-size: 0.7rem; font-weight: 800;
  color: rgba(255,255,255,0.3);
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
}

/* ===================== CONFETTI ===================== */
.confetti-piece {
  position: fixed;
  width: 8px; height: 8px;
  z-index: 10000;
  pointer-events: none;
  animation: confettiFall 2s ease forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ===================== QA GAME OVERRIDES ===================== */
.qa-option {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  cursor: pointer;
  transition: all 0.25s ease !important;
}
.qa-option:hover {
  background: rgba(232,183,48,0.06) !important;
  border-color: rgba(232,183,48,0.15) !important;
  transform: translateY(-2px);
}
.qa-option.correct {
  background: rgba(16,185,129,0.12) !important;
  border-color: rgba(16,185,129,0.3) !important;
}
.qa-option.wrong {
  background: rgba(239,68,68,0.1) !important;
  border-color: rgba(239,68,68,0.3) !important;
}

/* ===================== PERFORMANCE OVERRIDES ===================== */
.gc-card, .gp-hero, .gp-rooms-card {
  will-change: auto;
  contain: layout style paint;
}
.gc-card .gc-image, .gp-hero-image {
  will-change: auto;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
}
@media (max-width: 768px) {
  .games-hub-header { padding: 30px 20px; border-radius: 20px; }
  .games-hub-title { font-size: 2rem !important; }
  .games-hub-subtitle { font-size: 0.85rem; }
  .games-hub-stats { gap: 14px; padding: 12px 18px; }
  .games-filter-bar { gap: 6px; }
  .games-filter-chip { padding: 8px 12px; font-size: 0.75rem; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
  .gc-image-wrap { height: 200px; }
  .gc-body { padding: 14px 16px 16px; }
  .gp-hero-title { font-size: 1.5rem; }
  .gp-hero-content { padding: 0 20px 16px; gap: 12px; }
  .gp-hero-icon { width: 52px; height: 52px; font-size: 1.5rem; }
  .gp-hero-meta { padding: 0 20px 16px; }
  .wheel-container { width: 300px; height: 300px; }
}
@media (max-width: 480px) {
  .games-hub-section { padding: 0 12px 40px; }
  .games-hub-header { padding: 24px 16px; margin-bottom: 20px; }
  .games-hub-title { font-size: 1.6rem !important; }
  .games-hub-icon { width: 56px; height: 56px; font-size: 1.5rem; }
  .games-grid { grid-template-columns: 1fr; gap: 14px; }
  .gc-image-wrap { height: 180px; }
  .gp-hero-image-wrap { height: 150px; }
  .gp-hero-title { font-size: 1.3rem; }
  .wheel-container { width: 260px; height: 260px; }
  .chat-answers-body-v7 { max-height: 280px; }
}
