/* ===== WEBMINIGAMES.XYZ - Gradient Liquid Flow Theme ===== */
/* Colors: #667eea → #764ba2 → #f093fb → #f5576c */

/* --- CSS Variables --- */
:root {
  --gradient-1: #667eea;
  --gradient-2: #764ba2;
  --gradient-3: #f093fb;
  --gradient-4: #f5576c;
  --bg-dark: #0f0b1a;
  --card-bg: #ffffff;
  --text-primary: #1a1a2e;
  --text-secondary: #555;
  --text-light: #888;
  --glass-bg: rgba(255,255,255,0.12);
  --glass-border: rgba(255,255,255,0.2);
  --shadow-sm: 0 2px 12px rgba(102,126,234,0.15);
  --shadow-md: 0 8px 32px rgba(118,75,162,0.2);
  --shadow-lg: 0 16px 48px rgba(245,87,108,0.2);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --nav-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input { font-family: inherit; outline: none; border: none; }
ul, ol { list-style: none; }

/* --- Animated Gradient Background --- */
.gradient-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -2;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2), var(--gradient-3), var(--gradient-4));
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  25% { background-position: 100% 0%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
  100% { background-position: 0% 50%; }
}

.gradient-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background: rgba(15,11,26,0.85);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(15,11,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  padding: 0 24px;
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.logo span {
  font-weight: 300;
  -webkit-text-fill-color: rgba(255,255,255,0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Search Bar */
.search-wrap {
  position: relative;
  flex: 0 1 320px;
}

.search-wrap input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: 24px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s;
}

.search-wrap input::placeholder { color: rgba(255,255,255,0.4); }
.search-wrap input:focus {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}

.search-wrap .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 1rem;
}

/* Search Results Dropdown */
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: rgba(15,11,26,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  max-height: 400px;
  overflow-y: auto;
  display: none;
  z-index: 100;
}

.search-results.active { display: block; }
.search-results::-webkit-scrollbar { width: 4px; }
.search-results::-webkit-scrollbar-thumb { background: var(--gradient-2); border-radius: 4px; }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(255,255,255,0.05); }

.search-result-item img {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.search-result-item .result-info { flex: 1; min-width: 0; }
.search-result-item .result-name {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-item .result-cat {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* --- Mobile Drawer --- */
.mobile-drawer {
  position: fixed;
  top: 0; right: -100%;
  width: 300px;
  height: 100vh;
  z-index: 999;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2), var(--gradient-3), var(--gradient-4));
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  padding: 100px 24px 24px;
  transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}

.mobile-drawer.active { right: 0; }

.drawer-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 998;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.drawer-overlay.active { opacity: 1; pointer-events: all; }

.mobile-drawer a {
  display: block;
  padding: 14px 20px;
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  transition: background 0.2s;
}

.mobile-drawer a:hover { background: rgba(255,255,255,0.1); }

.mobile-drawer .drawer-search {
  margin-bottom: 20px;
}

.mobile-drawer .drawer-search input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.mobile-drawer .drawer-search input::placeholder { color: rgba(255,255,255,0.5); }

.mobile-drawer .drawer-search-results {
  margin-top: 8px;
  background: rgba(15,11,26,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  max-height: 300px;
  overflow-y: auto;
  display: none;
}

.mobile-drawer .drawer-search-results.active { display: block; }

.drawer-search-results .search-result-item {
  padding: 10px 12px;
  color: #fff;
}

.drawer-search-results .search-result-item .result-name {
  color: #fff;
}

/* --- Bottom Navigation (mobile) --- */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15,11,26,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 8px 0;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}

.bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 12px;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  transition: color 0.3s;
  position: relative;
}

.bottom-nav a.active { color: var(--gradient-3); }
.bottom-nav a .nav-icon {
  font-size: 1.3rem;
  line-height: 1;
}

/* --- Hero Section --- */
.hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 24px 32px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff, var(--gradient-3), var(--gradient-4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.7);
  max-width: 440px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-3));
  color: #fff;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(102,126,234,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(102,126,234,0.5);
}

.btn-secondary {
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}

/* Floating particles */
.hero-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  animation: floatParticle 8s infinite;
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
  50% { transform: translateY(-80px) scale(1.5); opacity: 0.6; }
}

/* --- Wave Divider --- */
.wave-divider {
  position: relative;
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.wave-divider.top svg { bottom: auto; top: 0; }

/* --- Sections --- */
.section {
  padding: 24px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-link:hover { color: var(--gradient-3); }

/* --- Game Cards --- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.games-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.games-row::-webkit-scrollbar { height: 4px; }
.games-row::-webkit-scrollbar-thumb { background: var(--gradient-2); border-radius: 4px; }

.game-card {
  flex: 0 0 auto;
  width: 160px;
  scroll-snap-align: start;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.game-card::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2), var(--gradient-3), var(--gradient-4));
  background-size: 400% 400%;
  z-index: -1;
  animation: gradientShift 6s ease infinite;
  opacity: 0;
  transition: opacity 0.4s;
}

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

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.game-card.game-card-grid {
  width: auto;
}

.game-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f0f0f5;
}

.game-card-body {
  padding: 12px;
}

.game-card-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.game-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.game-card-cat {
  font-size: 0.7rem;
  color: var(--text-light);
  background: #f5f5fa;
  padding: 2px 8px;
  border-radius: 10px;
}

.game-card-rating {
  font-size: 0.7rem;
  color: #f59e0b;
  font-weight: 600;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Category Pills --- */
.category-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pill {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: all 0.3s;
}

.pill:hover { background: rgba(255,255,255,0.12); color: #fff; }
.pill.active {
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-3));
  color: #fff;
  border-color: transparent;
}

/* --- Load More --- */
.load-more-wrap {
  text-align: center;
  padding: 20px 0;
}

.btn-load-more {
  padding: 10px 32px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s;
}

.btn-load-more:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* --- Game Detail Page --- */
.game-detail {
  padding-top: calc(var(--nav-height) + 24px);
  min-height: 100vh;
}

.game-header-bg {
  position: relative;
  padding: 40px 24px;
  margin-bottom: 0;
}

.game-header-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2), var(--gradient-3), var(--gradient-4));
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  opacity: 0.3;
}

.game-play-area {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255,255,255,0.1);
}

.game-play-area iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}

.game-play-area .play-fallback {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #fff;
  font-size: 1.2rem;
  flex-direction: column;
  gap: 16px;
}

.play-btn-large {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 8px 30px rgba(102,126,234,0.5);
  transition: all 0.3s;
}

.play-btn-large:hover { transform: scale(1.1); }

.game-info {
  max-width: 900px;
  margin: 24px auto 0;
  padding: 0 24px 40px;
}

.game-info-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.game-info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2), var(--gradient-3), var(--gradient-4));
  background-size: 400% 400%;
  animation: gradientShift 6s ease infinite;
}

.game-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.game-meta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.game-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.game-meta-item .label { color: var(--text-light); }

.game-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  white-space: pre-wrap;
}

/* --- Category Page --- */
.category-page {
  padding-top: calc(var(--nav-height) + 24px);
  min-height: 100vh;
}

.category-hero-sm {
  padding: 40px 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2), var(--gradient-3), var(--gradient-4));
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

.category-hero-sm h1 {
  font-size: 2rem;
  color: #fff;
  font-weight: 700;
}

.category-hero-sm p {
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}

/* --- 404 Page --- */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.page-404-inner h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-3), var(--gradient-4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.page-404-inner p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* --- Privacy & Terms Pages --- */
.static-page {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 60px;
  min-height: 100vh;
}

.static-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.static-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.static-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2), var(--gradient-3), var(--gradient-4));
  background-size: 400% 400%;
  animation: gradientShift 6s ease infinite;
}

.static-card h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.static-card .updated {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.static-card h2 {
  font-size: 1.3rem;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--gradient-2);
}

.static-card p, .static-card li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.static-card ul {
  padding-left: 20px;
  list-style: disc;
}

.static-card ul li { margin-bottom: 6px; }

/* --- Footer --- */
.footer {
  background: rgba(15,11,26,0.95);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 24px 80px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.footer-col h3 {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--gradient-3); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .search-wrap { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 70vh; padding: 100px 16px 60px; }

  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .game-card { width: 140px; }
  .game-card.game-card-grid { width: auto; }

  .section { padding: 40px 16px; }

  .bottom-nav { display: block; }
  .footer { padding-bottom: 80px; }

  .game-info-card { padding: 20px; }
  .game-title { font-size: 1.3rem; }

  .static-card { padding: 24px; }

  .game-detail .game-header-bg { padding: 24px 12px; }
  .game-info { padding: 0 12px 24px; }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .game-card { width: 100%; }
  /* Fix bottom-nav overflow on small screens */
  .bottom-nav a {
    padding: 4px 6px;
    font-size: 0.55rem;
  }
  .bottom-nav a .nav-icon {
    font-size: 1.1rem;
  }
}

@media (min-width: 769px) {
  .mobile-drawer { display: none; }
  .drawer-overlay { display: none; }
}
