/* =============================================
   GAMEVAULT — Dark Purple / Pink Theme
   ============================================= */

:root {
  --bg-deep:      #08000d;
  --bg-base:      #0e0016;
  --bg-card:      #160020;
  --bg-card2:     #1e002e;
  --purple-mid:   #2d0040;
  --purple-glow:  #6600aa;
  --neon-purple:  #aa00ff;
  --neon-pink:    #ff2d78;
  --pink-soft:    #ff6fa8;
  --text-primary: #f0d0ff;
  --text-muted:   #8a5fa0;
  --text-dim:     #4a2a60;
  --border:       rgba(170, 0, 255, 0.18);
  --border-pink:  rgba(255, 45, 120, 0.25);
  --glow-purple:  0 0 20px rgba(170,0,255,0.4);
  --glow-pink:    0 0 20px rgba(255,45,120,0.4);
  --radius:       12px;
  --radius-lg:    20px;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: none;
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}

/* =============================================
   CUSTOM CURSOR
   ============================================= */
.cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--neon-pink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s, opacity 0.2s;
  mix-blend-mode: screen;
}
.cursor-ring.hovering {
  width: 48px;
  height: 48px;
  border-color: var(--neon-purple);
  box-shadow: var(--glow-purple);
}
.cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background: var(--neon-pink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  box-shadow: var(--glow-pink);
}

/* =============================================
   DOT CANVAS BACKGROUND
   ============================================= */
#dotCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* =============================================
   TOPBAR
   ============================================= */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: rgba(8, 0, 13, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}
.logo-icon {
  font-size: 22px;
  color: var(--neon-purple);
  filter: drop-shadow(0 0 8px var(--neon-purple));
  animation: pulse-icon 3s ease-in-out infinite;
}
.logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}
.logo-accent { color: var(--neon-pink); }

@keyframes pulse-icon {
  0%, 100% { filter: drop-shadow(0 0 6px var(--neon-purple)); }
  50%       { filter: drop-shadow(0 0 18px var(--neon-purple)); }
}

.guest-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding: 3px 10px;
  border: 1px solid var(--text-dim);
  border-radius: 20px;
  color: var(--text-muted);
}
.admin-badge-top {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 3px 10px;
  border: 1px solid var(--neon-pink);
  border-radius: 20px;
  color: var(--neon-pink);
  box-shadow: var(--glow-pink);
}
.logout-btn-top {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: none;
  margin-left: 12px;
  transition: border-color 0.2s, color 0.2s;
}
.logout-btn-top:hover {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
}

/* =============================================
   MAIN LAYOUT
   ============================================= */
.main {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--purple-mid) transparent;
  z-index: 10;
}
.main::-webkit-scrollbar { height: 4px; }
.main::-webkit-scrollbar-thumb {
  background: var(--purple-mid);
  border-radius: 2px;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-width: 520px;
  width: 520px;
  display: flex;
  align-items: center;
  padding: 0 56px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  position: relative;
}

.hero-inner { max-width: 380px; }

.hero-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--neon-pink);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 28px;
  font-weight: 300;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.08em;
}

.dot-online {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  animation: blink-online 2s ease-in-out infinite;
}
@keyframes blink-online {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* =============================================
   GAMES SECTION
   ============================================= */
.games-section {
  min-width: 520px;
  display: flex;
  flex-direction: column;
  padding: 32px 40px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  gap: 20px;
  overflow: hidden;
}

.games-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.game-count {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.games-scroll-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--purple-mid) transparent;
}
.games-scroll-track::-webkit-scrollbar { width: 3px; }
.games-scroll-track::-webkit-scrollbar-thumb {
  background: var(--purple-mid);
  border-radius: 2px;
}

/* EMPTY STATE */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 10px;
  color: var(--text-dim);
  font-size: 13px;
  text-align: center;
}
.empty-icon {
  font-size: 32px;
  color: var(--text-dim);
  margin-bottom: 8px;
  animation: pulse-icon 4s ease-in-out infinite;
}
.empty-sub { font-size: 11px; color: var(--text-dim); margin-top: 4px; opacity: 0.6; }

/* GAME CARD */
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  cursor: none;
}
.game-card:hover {
  border-color: var(--neon-purple);
  box-shadow: var(--glow-purple);
  transform: translateX(4px);
}
.game-card-left { display: flex; align-items: center; gap: 14px; }
.game-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--purple-mid);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.game-card-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.03em;
}
.game-card-meta {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}
.game-card-actions { display: flex; gap: 8px; }
.dl-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1px solid var(--border);
  background: var(--bg-card2);
  color: var(--text-muted);
  cursor: none;
  transition: all 0.2s;
}
.dl-btn:hover {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  box-shadow: var(--glow-pink);
}
.dl-btn.admin-delete {
  border-color: rgba(255,45,45,0.2);
  color: rgba(255,100,100,0.5);
}
.dl-btn.admin-delete:hover {
  border-color: #ff2d2d;
  color: #ff2d2d;
  box-shadow: 0 0 14px rgba(255,45,45,0.3);
}

/* =============================================
   UPLOAD SECTION
   ============================================= */
.upload-section {
  min-width: 460px;
  width: 460px;
  display: flex;
  flex-direction: column;
  padding: 32px 32px;
  flex-shrink: 0;
  gap: 18px;
}

.upload-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.admin-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 2px 9px;
  border: 1px solid var(--neon-pink);
  border-radius: 20px;
  color: var(--neon-pink);
}

.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* UPLOAD CARD */
.upload-card {
  width: 100%;
  height: 160px;
  background: var(--bg-card);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.2s;
}
.upload-card:hover,
.upload-card.drag-over {
  border-color: var(--neon-purple);
  box-shadow: var(--glow-purple);
}
.upload-card.has-file {
  border-style: solid;
  border-color: var(--neon-pink);
  box-shadow: var(--glow-pink);
}

.upload-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 14px 16px;
  text-align: center;
  gap: 5px;
}
.upload-icon { font-size: 24px; }
.upload-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}
.upload-hint {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.upload-filename {
  font-size: 10px;
  color: var(--neon-pink);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.06em;
  word-break: break-all;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: none;
  width: 100%;
  height: 100%;
}

.upload-drag-overlay {
  position: absolute;
  inset: 0;
  background: rgba(170,0,255,0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--neon-purple);
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
.upload-card.drag-over .upload-drag-overlay { opacity: 1; }

/* CLEAR BUTTON on upload card */
.upload-clear-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 45, 120, 0.15);
  border: 1px solid rgba(255, 45, 120, 0.3);
  color: var(--neon-pink);
  font-size: 10px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
  z-index: 5;
}
.upload-card.has-file .upload-clear-btn {
  opacity: 1;
}
.upload-card:hover .upload-clear-btn {
  opacity: 0.5;
}
.upload-card.has-file:hover .upload-clear-btn {
  opacity: 1;
}
.upload-clear-btn:hover {
  background: rgba(255, 45, 120, 0.35) !important;
  border-color: var(--neon-pink) !important;
  opacity: 1 !important;
}

/* PUBLISH CARD */
.upload-publish-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.publish-hint {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}

.input-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.game-title-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: none;
}
.game-title-input:focus {
  border-color: var(--neon-purple);
  box-shadow: var(--glow-purple);
}
.game-title-input::placeholder { color: var(--text-dim); }

.publish-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  border: none;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: none;
  transition: opacity 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 4px 24px rgba(170,0,255,0.35);
}
.publish-btn:hover:not(:disabled) {
  box-shadow: 0 6px 32px rgba(255,45,120,0.5);
  transform: translateY(-1px);
}
.publish-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.publish-btn-icon { font-size: 14px; }
.publish-status {
  font-size: 12px;
  color: var(--neon-pink);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.08em;
  min-height: 16px;
}

/* =============================================
   LOGIN TRIGGER BUTTON (bottom left)
   ============================================= */
.login-trigger {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(14, 0, 22, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 8px 18px 8px 14px;
  color: var(--text-muted);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: none;
  transition: border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.login-trigger:hover {
  border-color: var(--neon-purple);
  color: var(--neon-purple);
  box-shadow: var(--glow-purple);
}
.login-trigger-icon { font-size: 14px; opacity: 0.7; }

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,0,13,0.75);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}
.modal-overlay.hidden { display: none; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 44px 40px;
  width: 340px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), var(--glow-purple);
  animation: slideUp 0.25s cubic-bezier(.16,1,.3,1);
}
@keyframes slideUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 15px;
  cursor: none;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--neon-pink); }

.modal-logo {
  font-size: 28px;
  color: var(--neon-purple);
  text-align: center;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 12px var(--neon-purple));
}
.modal-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.modal-sub {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 28px;
}
.modal-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.modal-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.modal-input {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  width: 100%;
  letter-spacing: 0.1em;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: none;
}
.modal-input:focus {
  border-color: var(--neon-purple);
  box-shadow: var(--glow-purple);
}
.modal-error {
  font-size: 12px;
  color: var(--neon-pink);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.08em;
}
.modal-error.hidden { display: none; }
.modal-btn {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  border: none;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: none;
  transition: opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(170,0,255,0.4);
}
.modal-btn:hover {
  box-shadow: 0 4px 32px rgba(255,45,120,0.5);
}

/* =============================================
   TOAST
   ============================================= */
.toast {
  position: fixed;
  bottom: 70px;
  left: 22px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  box-shadow: var(--glow-purple);
  z-index: 999;
  animation: toastIn 0.3s cubic-bezier(.16,1,.3,1);
  max-width: 280px;
}
.toast.hidden { display: none; }
.toast.success { border-color: var(--neon-purple); color: var(--neon-purple); }
.toast.error   { border-color: var(--neon-pink);   color: var(--neon-pink);   }
@keyframes toastIn {
  from { transform: translateY(14px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* =============================================
   UTILITIES
   ============================================= */
.hidden { display: none !important; }

/* =============================================
   OPTIONAL BADGE on upload card
   ============================================= */
.upload-optional-badge {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--text-dim);
  border-radius: 20px;
  padding: 1px 8px;
  margin-top: -4px;
}
.optional-card {
  border-style: dashed;
  opacity: 0.75;
  transition: opacity 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.optional-card:hover,
.optional-card.drag-over,
.optional-card.has-file {
  opacity: 1;
}

/* =============================================
   LINK MODAL
   ============================================= */
.link-modal {
  width: 420px;
}
.link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.link-row {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.link-row-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.link-row-url-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.link-row-url {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--neon-purple);
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: none;
  user-select: all;
}
.link-copy-btn {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-card2);
  color: var(--text-muted);
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.link-copy-btn:hover {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  box-shadow: var(--glow-pink);
}
.link-copy-btn.copied {
  border-color: var(--neon-purple);
  color: var(--neon-purple);
}

/* =============================================
   GAME CARD PREVIEW IMAGE
   ============================================= */
.game-card-preview {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  cursor: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.game-card-preview:hover {
  border-color: var(--neon-purple);
  box-shadow: var(--glow-purple);
}
.game-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card-preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(170,0,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.2s;
}
.game-card-preview:hover .game-card-preview-overlay { opacity: 1; }

/* =============================================
   IMAGE PREVIEW MODAL
   ============================================= */
.image-preview-modal {
  width: auto;
  max-width: 90vw;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 20px 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), var(--glow-purple);
}