/* ==========================================
   OYUN BÖLÜMÜ - CYBER ARCADE DESIGN SYSTEM v2.0
   ========================================== */

:root {
  --game-bg: #090a0f;
  --game-card-bg: rgba(15, 23, 42, 0.72);
  --game-card-hover: rgba(20, 32, 60, 0.85);
  --game-border: rgba(255, 255, 255, 0.12);
  --game-primary: #00f2fe;
  --game-secondary: #7928ca;
  --game-accent: #ff0080;
  --game-gold: #ffb703;
  --game-green: #00f5d4;
  --game-red: #ff4d6d;
  --game-font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --game-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --game-font-mono: 'Courier New', Courier, monospace;
}

/* Base Resets & Background Mesh */
.game-hub-body {
  background-color: var(--game-bg);
  color: #f1f5f9;
  font-family: var(--game-font-body);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
}

/* Background Cyber Ambient Spheres & Grid Overlay */
.bg-glow-sphere {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.sphere-1 {
  width: 600px;
  height: 600px;
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(79, 172, 254, 0.05) 50%, transparent 70%);
}

.sphere-2 {
  width: 700px;
  height: 700px;
  bottom: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(255, 0, 128, 0.12) 0%, rgba(121, 40, 202, 0.08) 50%, transparent 70%);
}

.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.game-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px 80px;
  position: relative;
  z-index: 1;
}

/* Header & Navigation Bar */
.game-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--game-border);
  border-radius: 20px;
  margin-bottom: 36px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease;
}

.game-nav:hover {
  border-color: rgba(0, 242, 254, 0.3);
}

.game-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}

.game-brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--game-primary), var(--game-secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
}

.game-brand:hover .game-brand-icon {
  transform: rotate(-6deg) scale(1.06);
}

.game-brand-title {
  font-family: var(--game-font-title);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.game-brand-badge {
  font-size: 0.7rem;
  background: rgba(0, 242, 254, 0.15);
  color: var(--game-primary);
  border: 1px solid rgba(0, 242, 254, 0.35);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.game-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.game-lang-switch {
  display: flex;
  gap: 6px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.game-lang-switch .btn-lang {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  letter-spacing: 0.4px;
  transition: all 0.25s ease;
  min-width: 36px;
  text-align: center;
}

.game-lang-switch .btn-lang:hover {
  color: #ffffff;
}

.game-lang-switch .btn-lang.active {
  background: linear-gradient(135deg, var(--game-primary), var(--game-secondary));
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.35);
}

.game-btn-icon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 19px;
  text-decoration: none;
}

.game-btn-icon:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--game-primary);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

/* Header Hero Section */
.game-hero {
  text-align: center;
  margin-bottom: 44px;
  position: relative;
  padding: 10px 0;
}

.game-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--game-primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
  letter-spacing: 0.5px;
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--game-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--game-primary);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.game-hero-title {
  font-family: var(--game-font-title);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin: 0 0 14px;
  background: linear-gradient(135deg, #ffffff 0%, #00f2fe 35%, #7928ca 70%, #ff0080 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1.2px;
  line-height: 1.15;
  filter: drop-shadow(0 4px 20px rgba(0, 242, 254, 0.25));
}

.game-hero-subtitle {
  color: #94a3b8;
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  max-width: 640px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* Prominent Game Slogan Banner */
.game-slogan-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 27, 75, 0.82) 50%, rgba(15, 23, 42, 0.88) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 20px;
  padding: 16px 24px;
  max-width: 820px;
  margin: 0 auto 28px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 242, 254, 0.08);
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-slogan-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00f2fe 0%, #ffb703 35%, #7928ca 70%, #ff0080 100%);
}

.game-slogan-banner:hover {
  border-color: rgba(255, 183, 3, 0.55);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 183, 3, 0.25);
  transform: translateY(-2px);
}

.slogan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.35);
  color: var(--game-gold);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 10px;
  box-shadow: 0 0 12px rgba(255, 183, 3, 0.2);
}

.slogan-badge-icon {
  font-size: 0.9rem;
}

.slogan-main-text {
  font-family: var(--game-font-title);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.55;
  margin: 0;
  letter-spacing: -0.2px;
}

.slogan-neg {
  color: #94a3b8;
  opacity: 0.85;
  font-weight: 600;
}

.slogan-pos {
  background: linear-gradient(90deg, #ffb703 0%, #00f5d4 50%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  filter: drop-shadow(0 0 10px rgba(255, 183, 3, 0.35));
}
.game-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.stat-pill {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.stat-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 242, 254, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 1rem;
}

/* Category Filter Bar */
.game-category-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.filter-btn {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-family: var(--game-font-title);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--game-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--game-primary), var(--game-secondary));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4);
}

/* Game Selection Grid & Modern Cards */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 50px;
}

.game-card {
  background: var(--game-card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--game-border);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Top Neon Gradient Accent Line */
.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--card-color-1, #00d4ff), var(--card-color-2, #7928ca));
  opacity: 0.7;
  transition: opacity 0.3s ease, height 0.3s ease;
}

/* Hover Ambient Radial Glow */
.game-card::after {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--card-color-1, #00d4ff) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.015);
  background: var(--game-card-hover);
  border-color: rgba(0, 242, 254, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.2);
}

.game-card:hover::before {
  opacity: 1;
  height: 4px;
}

.game-card:hover::after {
  opacity: 0.15;
}

.game-card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.game-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05), 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.game-card:hover .game-card-icon {
  transform: scale(1.1) rotate(-4deg);
}

.game-card-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.game-card-badge {
  align-self: flex-start;
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-featured {
  background: rgba(255, 0, 128, 0.2);
  color: #ff4d94;
  border: 1px solid rgba(255, 0, 128, 0.4);
}

.badge-arcade {
  background: rgba(0, 242, 254, 0.2);
  color: var(--game-primary);
  border: 1px solid rgba(0, 242, 254, 0.4);
}

.badge-tier {
  background: rgba(255, 183, 3, 0.2);
  color: var(--game-gold);
  border: 1px solid rgba(255, 183, 3, 0.4);
}

.badge-brain {
  background: rgba(0, 245, 212, 0.2);
  color: var(--game-green);
  border: 1px solid rgba(0, 245, 212, 0.4);
}

.badge-lives {
  background: rgba(255, 77, 109, 0.2);
  color: var(--game-red);
  border: 1px solid rgba(255, 77, 109, 0.4);
}

.badge-cyber {
  background: rgba(121, 40, 202, 0.25);
  color: #c084fc;
  border: 1px solid rgba(121, 40, 202, 0.45);
}

.game-card-title {
  font-family: var(--game-font-title);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #fff;
  transition: color 0.25s ease;
}

.game-card:hover .game-card-title {
  color: var(--game-primary);
}

.game-card-genre {
  font-size: 0.8rem;
  color: var(--game-primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.game-card-desc {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 22px;
}

.game-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.game-card-highscore {
  font-size: 0.78rem;
  background: rgba(255, 183, 3, 0.08);
  border: 1px solid rgba(255, 183, 3, 0.2);
  padding: 6px 10px;
  border-radius: 10px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  max-width: calc(100% - 95px);
  min-width: 0;
  flex-shrink: 1;
}

.game-card-highscore span {
  color: var(--game-gold);
  font-weight: 800;
  font-family: var(--game-font-mono);
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
  vertical-align: bottom;
  min-width: 0;
}

.game-play-btn {
  background: linear-gradient(135deg, var(--game-primary) 0%, #0099ff 100%);
  color: #050a14;
  border: none;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 8px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.35);
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.game-play-btn:hover {
  filter: brightness(1.15);
  transform: scale(1.06);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
}

/* Active Game Screen Modal / Stage */
.game-stage-wrapper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  width: 100vw;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(5, 7, 12, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-content: safe center;
  padding: max(6px, env(safe-area-inset-top, 6px)) max(8px, env(safe-area-inset-right, 8px)) max(6px, env(safe-area-inset-bottom, 6px)) max(8px, env(safe-area-inset-left, 8px));
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.game-stage-wrapper.active {
  display: flex;
}

.game-stage-header {
  flex: 0 0 auto;
  width: 100%;
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 10px;
  margin-bottom: 6px;
  box-sizing: border-box;
}

.game-stage-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.game-stage-title {
  font-family: var(--game-font-title);
  font-size: clamp(0.92rem, 2vw, 1.25rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-stage-close {
  background: rgba(255, 77, 109, 0.2);
  border: 1px solid rgba(255, 77, 109, 0.4);
  color: #ff4d6d;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.game-stage-close:hover {
  background: #ff4d6d;
  color: #fff;
}

/* Canvas & HUD Container - Dual Aspect-Ratio Constraints */
.game-viewport-container {
  position: relative;
  flex: 0 1 auto;
  min-height: 0;
  min-width: 0;
  width: 100%;
  max-height: calc(100dvh - 54px - var(--stage-controls-h, 60px) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  max-width: min(800px, calc((100dvh - 54px - var(--stage-controls-h, 60px) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) * (800 / 520)));
  aspect-ratio: 800 / 520;
  background: #000;
  border-radius: 16px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 35px rgba(0, 212, 255, 0.2), inset 0 0 20px rgba(0, 0, 0, 0.8);
  overflow: hidden !important;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none !important;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  box-sizing: border-box;
}

canvas#gameCanvas {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  touch-action: none !important;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* DOM Game Overlay container (For Renk Avcısı / Madenci DOM elements) */
.game-dom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  z-index: 10;
  padding: 20px;
  box-sizing: border-box;
}

.game-dom-overlay.active {
  display: flex;
}

/* In-game HUD */
.game-hud {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 20;
}

.hud-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hud-box {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-label {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
}

.hud-val {
  font-family: var(--game-font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: #00d4ff;
}

.hud-combo-badge {
  background: linear-gradient(135deg, var(--game-accent), #ff0055);
  color: #fff;
  font-family: var(--game-font-mono);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(255, 0, 128, 0.6);
  animation: pulseCombo 0.6s infinite alternate;
}

@keyframes pulseCombo {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* Game Start / Over Modal overlay inside viewport */
.game-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 10, 15, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 12px 18px;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden !important;
}


.game-modal-title {
  font-family: var(--game-font-title);
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  font-weight: 800;
  margin: 0 0 4px;
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.game-modal-sub {
  color: #cbd5e1;
  font-size: clamp(0.8rem, 1.8vw, 0.92rem);
  max-width: 480px;
  margin: 0 0 10px;
  line-height: 1.35;
}

.game-score-display {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 6px 20px;
  margin-bottom: 10px;
}

.game-score-label {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.game-score-number {
  font-family: var(--game-font-mono);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--game-gold);
  text-shadow: 0 0 15px rgba(255, 183, 3, 0.5);
}

.game-modal-btn {
  background: linear-gradient(135deg, var(--game-primary), var(--game-secondary));
  color: #fff;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 9px 26px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
  transition: all 0.2s ease;
}

.game-modal-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.7);
}

.game-modal-sound-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  font-family: var(--game-font-title);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.game-modal-sound-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: var(--game-primary);
}

/* Mobile Virtual Controls bar below viewport */
.game-controls-bar {
  flex: 0 0 auto;
  width: 100%;
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  padding: 0 4px;
  gap: 10px;
  touch-action: manipulation;
  user-select: none;
  box-sizing: border-box;
  min-height: 48px;
}

.mobile-dpad {
  display: flex;
  gap: 8px;
}

.mobile-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 56px;
  height: 48px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background 0.1s ease;
}

.mobile-btn:active, .mobile-btn.active {
  background: var(--game-primary);
  color: #000;
  transform: scale(0.95);
}

.mobile-btn-action {
  flex-grow: 1;
  max-width: 220px;
  background: linear-gradient(135deg, var(--game-accent), var(--game-secondary));
  border: none;
  color: #fff;
  height: 48px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 0, 128, 0.4);
}

.mobile-btn-action:active {
  transform: scale(0.96);
  filter: brightness(1.2);
}

/* Leaderboard & High Scores Section */
.game-leaderboard-section {
  background: var(--game-card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--game-border);
  border-radius: 24px;
  padding: 32px;
  margin-top: 48px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.leaderboard-header-wrap {
  margin-bottom: 24px;
}

.leaderboard-title {
  font-family: var(--game-font-title);
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.leaderboard-title .title-icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 10px rgba(255, 183, 3, 0.5));
}

.leaderboard-subtitle {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0;
}

.leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}

.leaderboard-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.leaderboard-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 242, 254, 0.15);
}

.leaderboard-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.leaderboard-game-name {
  font-family: var(--game-font-title);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--game-primary);
}

.leaderboard-rank-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.rank-item.rank-1 {
  background: rgba(255, 183, 3, 0.1);
  border-color: rgba(255, 183, 3, 0.35);
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.1);
}

.rank-item.rank-2 {
  background: rgba(203, 213, 225, 0.08);
  border-color: rgba(203, 213, 225, 0.25);
}

.rank-item.rank-3 {
  background: rgba(205, 127, 50, 0.08);
  border-color: rgba(205, 127, 50, 0.25);
}

.rank-medal {
  font-weight: 800;
  font-size: 0.88rem;
  min-width: 48px;
}

.rank-item.rank-1 .rank-medal { color: var(--game-gold); }
.rank-item.rank-2 .rank-medal { color: #cbd5e1; }
.rank-item.rank-3 .rank-medal { color: #cd7f32; }

.rank-name {
  flex: 1;
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 10px;
  min-width: 0;
}

.rank-item.has-score .rank-name {
  color: #ffffff;
}

.rank-score {
  font-family: var(--game-font-mono);
  font-weight: 800;
  color: #64748b;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.rank-item.has-score .rank-score {
  color: var(--game-gold);
}


/* Renk Avcısı Special UI */
.color-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 400px;
  margin-top: 20px;
}

.color-box {
  aspect-ratio: 1;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.color-box:hover {
  transform: scale(1.04);
}

.color-box:active {
  transform: scale(0.95);
}

.leaderboard-score-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.leaderboard-player-name {
  font-size: 0.8rem;
  color: #00d4ff;
  font-weight: 600;
  margin-top: 2px;
}

.game-name-input-group {
  width: 100%;
  max-width: 320px;
}

.game-name-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-family: var(--game-font-title);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.game-name-input:focus {
  border-color: var(--game-primary);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

/* Responsive adjustments */
@media (max-width: 640px) {

  .game-container {
    padding: 16px 14px 60px;
  }

  .game-nav {
    padding: 12px 16px;
    margin-bottom: 24px;
    border-radius: 16px;
  }

  .game-brand-title {
    font-size: 1.1rem;
  }

  .game-brand-badge {
    display: none;
  }

  .game-hero {
    margin-bottom: 28px;
    padding: 0;
  }

  .game-hero-badge {
    font-size: 0.72rem;
    padding: 5px 14px;
    margin-bottom: 12px;
  }

  .game-hero-title {
    font-size: 1.95rem;
    margin-bottom: 10px;
  }

  .game-hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 18px;
    padding: 0 4px;
  }

  /* 2x2 Grid for Mobile Quick Stats Bar */
  .game-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    margin-bottom: 20px;
  }

  .stat-pill {
    padding: 9px 6px;
    font-size: 0.78rem;
    font-weight: 700;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    width: 100%;
    gap: 6px;
    box-sizing: border-box;
  }

  /* Horizontal Touch-Scrollable Category Filter Bar for Mobile */
  .game-category-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    justify-content: flex-start;
    padding: 4px 2px 10px;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
  }

  .game-category-filters::-webkit-scrollbar {
    display: none; /* Chrome / Safari */
  }

  .filter-btn {
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 8px 16px;
    white-space: nowrap;
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .game-card {
    padding: 20px;
    border-radius: 20px;
  }

  .game-viewport-container {
    height: 58vh;
  }

  .mobile-btn {
    width: 52px;
    height: 48px;
    font-size: 18px;
  }

  .game-stage-header {
    padding: 6px 8px;
    margin-bottom: 6px;
  }

  .stage-header-actions {
    gap: 6px;
  }

  .game-stage-pause-btn {
    font-size: 0.75rem;
    padding: 5px 8px;
  }

  .game-stage-title {
    font-size: 1.05rem;
  }
}

/* Pause UI Styles */
.stage-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-stage-pause-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--game-font-title);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.game-stage-pause-btn:hover {
  background: var(--game-primary);
  color: #000;
  border-color: var(--game-primary);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

.pause-overlay-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 10, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  animation: fadeIn 0.2s ease-out;
}

.pause-content-box {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--game-primary);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.25);
  border-radius: 20px;
  padding: 24px 32px;
  text-align: center;
  max-width: 420px;
  width: 90%;
}

.pause-icon {
  font-size: 2.5rem;
  margin-bottom: 6px;
  animation: pulse 1.5s infinite;
}

.pause-title {
  font-family: var(--game-font-title);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: 0.5px;
}

.pause-subtitle {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.pause-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Rules Modal Overlay inside Game Stage */
.rules-overlay-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 10, 15, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 20px;
  box-sizing: border-box;
  overflow: hidden !important;
  border-radius: 18px;
}

.rules-content-box {
  width: 100%;
  max-width: 740px;
  color: #fff;
}

.rules-content-box .guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 8px 16px;
  margin-bottom: 12px !important;
}

.rules-content-box .guide-list li {
  font-size: 0.82rem !important;
  line-height: 1.4 !important;
  padding-left: 18px;
}


.pause-btn {
  font-family: var(--game-font-title);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pause-btn.btn-resume {
  background: linear-gradient(135deg, #00d4ff, #00f5d4);
  color: #090a0f;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

.pause-btn.btn-resume:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

.pause-btn.btn-restart {
  background: rgba(255, 183, 3, 0.15);
  color: #ffb703;
  border: 1px solid rgba(255, 183, 3, 0.4);
}

.pause-btn.btn-restart:hover {
  background: #ffb703;
  color: #090a0f;
}

.pause-btn.btn-home {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pause-btn.btn-home:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ==========================================
   GAME RULES & SCORING GUIDE SECTION
   ========================================== */
.game-guide-section {
  width: 100%;
  max-width: 800px;
  margin-top: 24px;
  margin-bottom: 32px;
  background: var(--game-card-bg);
  border: var(--game-card-border);
  border-radius: var(--game-card-radius);
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}


.guide-header {
  text-align: center;
  margin-bottom: 32px;
}

.guide-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.guide-subtitle {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.5;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.guide-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.3);
}

.guide-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-card-icon {
  font-size: 1.8rem;
}

.guide-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-list li {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.55;
  position: relative;
  padding-left: 20px;
}

.guide-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--game-primary);
  font-weight: bold;
}

.guide-list li strong {
  color: #ffffff;
}

.guide-list kbd {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: var(--game-font-mono);
  font-size: 0.8rem;
  color: var(--game-primary);
}

.guide-list code {
  background: rgba(236, 72, 153, 0.15);
  color: #ec4899;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
}


/* ==========================================
   RESPONSIVE TABLET & MOBILE TUNING
   ========================================== */

@media (max-width: 768px) {
  .game-stage-header {
    padding: 3px 6px;
    margin-bottom: 4px;
  }

  .stage-header-actions {
    gap: 4px;
  }

  .game-stage-pause-btn {
    font-size: 0.72rem;
    padding: 4px 8px;
  }

  .mobile-btn {
    width: 48px;
    height: 44px;
    font-size: 18px;
  }

  .mobile-btn-action {
    height: 44px;
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  .game-nav {
    padding: 12px 14px;
    gap: 8px;
    margin-bottom: 20px;
    border-radius: 14px;
  }

  .game-brand {
    gap: 8px;
  }

  .game-brand-title {
    font-size: 1.05rem;
  }

  .game-brand-badge {
    font-size: 0.62rem;
    padding: 1px 6px;
  }

  .game-brand-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
    border-radius: 8px;
  }

  .game-nav-actions {
    gap: 6px;
  }

  .game-btn-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
    border-radius: 10px;
  }

  .game-lang-switch .btn-lang {
    padding: 4px 8px;
    font-size: 0.72rem;
    min-width: 30px;
  }

  .game-stage-header {
    padding: 3px 6px !important;
    margin-bottom: 4px !important;
  }

  .game-stage-title-wrap {
    flex: 1 1 auto;
    max-width: calc(100% - 150px);
    overflow: hidden;
  }

  .game-stage-title {
    font-size: 0.95rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .stage-header-actions {
    gap: 4px !important;
  }

  .game-stage-pause-btn {
    padding: 4px 7px !important;
    font-size: 0.7rem !important;
  }

  .game-controls-bar {
    margin-top: 6px !important;
    gap: 6px !important;
    justify-content: center !important;
  }

  .mobile-dpad {
    gap: 6px !important;
  }

  .mobile-btn {
    width: 44px !important;
    height: 42px !important;
    font-size: 1.1rem !important;
    border-radius: 8px !important;
  }

  .mobile-btn-action {
    font-size: 0.8rem !important;
    padding: 8px 12px !important;
    height: 42px !important;
    border-radius: 8px !important;
  }

  /* Mobile Start / GameOver Modal Box Tuning */
  .game-modal-title {
    font-size: 1.3rem !important;
    margin-bottom: 4px !important;
  }
  .game-modal-sub {
    font-size: 0.82rem !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
  }
  .game-name-input-group {
    margin-bottom: 8px !important;
  }
  .game-modal-btn {
    font-size: 0.9rem !important;
    padding: 8px 20px !important;
    border-radius: 8px !important;
  }

  /* Mobile Rules Overlay Modal */
  .rules-overlay-modal {
    padding: 12px !important;
    border-radius: 12px !important;
  }

  .rules-content-box h2 {
    font-size: 1.0rem !important;
  }

  .guide-list li {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 400px) {
  .game-nav {
    padding: 10px 8px;
    gap: 4px;
  }

  .game-brand-title {
    font-size: 0.88rem;
  }

  .game-brand-badge {
    display: none;
  }

  .game-lang-switch .btn-lang {
    padding: 3px 6px;
    font-size: 0.68rem;
    min-width: 26px;
  }

  .game-btn-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .game-stage-title {
    max-width: 100px !important;
    font-size: 0.82rem !important;
  }

  .mobile-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.95rem !important;
  }

  .mobile-btn-action {
    font-size: 0.75rem !important;
    padding: 6px 10px !important;
    height: 38px !important;
  }
}

/* ==========================================
   SMARTPHONE DEVICE WARNING OVERLAY (MAX-WIDTH <= 640px)
   ========================================== */
.mobile-warning-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 12, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.mobile-warning-card {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--game-primary);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.35), inset 0 0 20px rgba(0, 0, 0, 0.8);
  border-radius: 24px;
  padding: 28px 24px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  animation: modalFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-warning-badge {
  display: inline-block;
  background: rgba(255, 183, 3, 0.15);
  border: 1px solid rgba(255, 183, 3, 0.4);
  color: #ffb703;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.mobile-warning-title {
  font-family: var(--game-font-title);
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.35;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.mobile-warning-desc {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.mobile-warning-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.info-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
}

.info-tag.alert-tag {
  background: rgba(255, 77, 109, 0.15);
  border-color: rgba(255, 77, 109, 0.4);
  color: #ff4d6d;
}

.mobile-warning-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-warning-btn {
  font-family: var(--game-font-title);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.mobile-warning-btn.btn-home {
  background: linear-gradient(135deg, var(--game-primary), #0099ff);
  color: #090a0f;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.35);
}

.mobile-warning-btn.btn-home:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.mobile-warning-btn.btn-continue {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
}

.mobile-warning-btn.btn-continue:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* ==========================================
   SITE FOOTER BACKGROUND EQUALIZATION
   ========================================== */
.game-hub-body .site-footer {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: none !important;
  box-shadow: none !important;
}





