/* ============================================================
   FINAL FIXES V1 - Override all conflicts
   Loaded LAST to fix: Twitch/Kick icons, badge size, cursor
   ============================================================ */

/* === FIX 1: Twitch/Kick Platform Icons on Game Cards ===
   Problem: games-redesign.css makes them 32x32 squares with border-radius:10px
   Fix: Force them to be small 26px circles with proper icons */
.gc-platforms {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  display: flex !important;
  gap: 5px !important;
  z-index: 4 !important;
}
html[dir="rtl"] .gc-platforms {
  right: auto !important;
  left: 10px !important;
}
.gc-platform {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.72rem !important;
  backdrop-filter: blur(10px) !important;
  border: none !important;
  transition: transform 0.2s ease !important;
}
.gc-platform-twitch {
  background: rgba(145,70,255,0.35) !important;
  color: #B57CFF !important;
}
.gc-platform-twitch .fab.fa-twitch,
.gc-platform-twitch i {
  font-size: 0.75rem !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.gc-platform-kick {
  background: rgba(83,252,24,0.18) !important;
  color: #53FC18 !important;
  font-weight: 900 !important;
  font-size: 0.72rem !important;
}
.gc-card:hover .gc-platform {
  transform: scale(1.1) !important;
}

/* === FIX 2: "جديدة" / "NEW" Badge - Make it small pill ===
   Problem: Shows as a huge rectangle
   Fix: Small pill badge with icon */
.gc-badge {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  z-index: 4 !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  letter-spacing: 0.3px !important;
  line-height: 1.3 !important;
  max-width: 90px !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}
html[dir="rtl"] .gc-badge {
  left: auto !important;
  right: 10px !important;
}
.gc-badge-new {
  background: rgba(168,85,247,0.9) !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(168,85,247,0.3) !important;
}
.gc-badge-new i {
  font-size: 0.6rem !important;
}
.gc-badge-ramadan {
  background: rgba(232,183,48,0.2) !important;
  color: #E8B730 !important;
  box-shadow: 0 2px 8px rgba(232,183,48,0.2) !important;
}

/* === FIX 3: Custom Cursor styles moved to final-fixes-2026.css ===
   Purple hardcoded colors removed to allow dynamic cursor style selection
   from the admin dashboard. */
/* DISABLED: was forcing native arrow cursor to show, causing double-cursor bug.
   Native cursor hiding is now handled by final-fixes-2026.css (desktop) and
   re-enabled for touch devices in the media query below. */

/* Hide cursor particles on mobile */
@media (hover: none), (pointer: coarse) {
  #cursor-main, #cursor-dot, #cursor-trail {
    display: none !important;
  }
  /* On touch devices, restore native cursor (harmless - touch devices don't show cursor anyway) */
  html, body, body * {
    cursor: auto !important;
  }
}

/* === FIX 4: Game card image height consistency === */
.gc-image-wrap {
  height: 170px !important;
}

