/*
Theme Name: KillerMod
Theme URI: https://killermod.com
Author: Jashan Mods
Author URI: https://killermod.com
Description: KillerMod – MOD APK Games Catalog Theme. Dark gaming UI with hero banner, trending row, game cards and more.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: killermod
Tags: dark, gaming, mod, apk, custom-background, custom-logo, responsive-layout
*/

/* ══════════════════════════════
   KILLERMOD THEME — VARIABLES
══════════════════════════════ */
:root {
  --primary: #ff3c3c;
  --primary-glow: rgba(255,60,60,0.35);
  --accent: #ffb800;
  --accent2: #00e5ff;
  --bg: #0d0d14;
  --surface: #13131f;
  --surface2: #1a1a2e;
  --surface3: #1f1f35;
  --border: rgba(255,255,255,0.07);
  --text: #f0f0ff;
  --muted: #8888aa;
  --green: #00e676;
  --card-shadow: 0 8px 32px rgba(0,0,0,0.5);
  --sidebar-w: 220px;
  --content-max: 1280px;
}

body.light {
  --bg: #f4f4f8;
  --surface: #ffffff;
  --surface2: #ebebf2;
  --surface3: #e0e0ea;
  --border: rgba(0,0,0,0.09);
  --text: #111122;
  --muted: #666680;
  --card-shadow: 0 8px 32px rgba(0,0,0,0.10);
  --accent2: #0077cc;
  --green: #008844;
}
body.light::before { opacity: 0.12; }
body.light nav { background: rgba(244,244,248,0.97); border-bottom: 1px solid rgba(0,0,0,0.09); }
body.light .sidebar { background: #ffffff; border-right: 1px solid rgba(0,0,0,0.09); }
body.light .stats-bar { background: rgba(0,0,0,0.06); }
body.light .jashan-banner { background: #ffffff; box-shadow: 0 4px 20px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.08); }
body.light .toggle-track { background: #d0d0e8; }
body.light .toggle-thumb { transform: translateX(28px); background: linear-gradient(135deg, #ffb800, #ff8c00); box-shadow: 0 2px 6px rgba(255,184,0,0.5); }
body.light .toggle-sun { opacity: 1; }
body.light .toggle-moon { opacity: 0; }
body.light .nav-logo span { color: #111122; -webkit-text-fill-color: #111122; }
body.light .sidebar-link:hover, body.light .sidebar-link.active { background: rgba(255,60,60,0.08); }

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--bg);
  color: var(--text);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ══════════════════════════════
   TOP NAVBAR
══════════════════════════════ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,20,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}

.nav-logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ff3c3c, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo span { color: #fff; -webkit-text-fill-color: #fff; }

.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.nav-logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
}
.nav-logo-text span {
  color: #ff3c3c;
}
body.light .nav-logo-text {
  color: #000000;
}

.search-icon-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  font-size: 17px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  flex-shrink: 0;
  z-index: 5;
}
.search-icon-btn:hover { background: var(--surface3); color: var(--text); border-color: var(--primary); }
.search-icon-btn.active { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); color: var(--primary); }

.search-expand {
  position: absolute;
  right: 16px; top: 50%; transform: translateY(-50%);
  width: 0; overflow: hidden;
  display: flex; align-items: center;
  background: var(--surface2);
  border: 1px solid transparent;
  border-radius: 10px;
  transition: width 0.3s ease, border-color 0.2s, box-shadow 0.2s, padding 0.3s;
  z-index: 4;
  height: 38px;
}
.search-expand.open {
  width: calc(100vw - 120px);
  max-width: 260px;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  padding: 0 48px 0 12px;
}
@media (min-width: 600px) { .search-expand.open { width: 260px; } }
@media (min-width: 900px) { .search-expand.open { width: 300px; } }

.search-expand input {
  background: none; border: none; outline: none;
  color: var(--text); font-family: 'Exo 2', sans-serif;
  font-size: 14px; width: 100%; min-width: 0;
}
.search-expand input::placeholder { color: var(--muted); }

.nav-spacer { flex: 1; }
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; position: relative; }

.theme-toggle {
  width: 58px; height: 30px; border-radius: 30px; border: none;
  background: none; padding: 0; cursor: pointer; flex-shrink: 0; position: relative;
}
.toggle-track {
  display: block; width: 100%; height: 100%; border-radius: 30px;
  background: var(--surface3); border: 1px solid var(--border); position: relative; transition: background 0.3s;
}
.toggle-thumb {
  position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #ff3c3c, #ff8c00); transition: transform 0.3s; box-shadow: 0 2px 6px rgba(255,60,60,0.4);
}
.toggle-sun, .toggle-moon { position: absolute; top: 50%; transform: translateY(-50%); font-size: 12px; transition: opacity 0.3s; }
.toggle-sun { right: 6px; opacity: 0; }
.toggle-moon { left: 6px; opacity: 1; }

/* ══════════════════════════════
   PAGE LAYOUT
══════════════════════════════ */
.page-wrapper {
  display: flex;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.sidebar { display: none !important; }

.right-panel { display: none !important; }

.main-content {
  flex: 1;
  min-width: 0;
  padding-bottom: 40px;
  width: 100%;
}

/* ══════════════════════════════
   HERO BANNER
══════════════════════════════ */
.hero {
  position: relative;
  margin: 16px 12px;
  border-radius: 18px;
  overflow: hidden;
  height: 190px;
  background: linear-gradient(135deg, #1a0a2e 0%, #0d1a3a 50%, #1a0a1a 100%);
  border: 1px solid rgba(255,60,60,0.2);
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,60,60,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(0,229,255,0.1) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
}
.hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; padding: 20px 16px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,60,60,0.2); border: 1px solid rgba(255,60,60,0.4);
  border-radius: 20px; padding: 4px 12px; font-size: 11px; font-weight: 700;
  color: #ff6b6b; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; width: fit-content;
}
.hero-dot {
  width: 6px; height: 6px; background: var(--primary); border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 { font-family: 'Rajdhani', sans-serif; font-size: 24px; font-weight: 700; line-height: 1.15; margin-bottom: 6px; }
.hero h1 span { background: linear-gradient(90deg, #ff3c3c, #ffb800); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.hero-btns { display: flex; gap: 8px; flex-wrap: wrap; }

.btn-hero {
  padding: 8px 16px; border-radius: 10px; font-family: 'Exo 2', sans-serif;
  font-size: 12px; font-weight: 700; cursor: pointer; border: none; letter-spacing: 0.5px;
  text-transform: uppercase; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center;
}
.btn-hero.red { background: linear-gradient(135deg, #ff3c3c, #cc0000); color: white; box-shadow: 0 4px 18px rgba(255,60,60,0.4); }
.btn-hero.ghost { background: rgba(255,255,255,0.07); color: var(--text); border: 1px solid rgba(255,255,255,0.12); }

.hero-img {
  position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  width: 140px; height: 140px;
  background: linear-gradient(135deg, rgba(255,60,60,0.1), rgba(0,229,255,0.1));
  border-radius: 20px; display: flex; align-items: center; justify-content: center;
  font-size: 70px; opacity: 0.5; pointer-events: none;
}

/* ══════════════════════════════
   SECTION HEADER
══════════════════════════════ */
.section-header {
  display: flex; align-items: center; justify-content: space-between; padding: 28px 12px 12px;
}
.section-title {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Rajdhani', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 0.5px;
}
.section-title::before {
  content: ''; display: block; width: 4px; height: 20px;
  background: linear-gradient(180deg, #ff3c3c, #ff8c00); border-radius: 4px;
}
.btn-more {
  font-size: 11px; font-weight: 600; color: var(--primary);
  background: rgba(255,60,60,0.1); border: 1px solid rgba(255,60,60,0.2);
  padding: 5px 12px; border-radius: 20px; cursor: pointer; letter-spacing: 0.5px; text-transform: uppercase;
  white-space: nowrap;
}

/* ══════════════════════════════
   TRENDING ROW
══════════════════════════════ */
.trending-row {
  display: flex; gap: 10px; padding: 0 12px 4px; overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.trending-row::-webkit-scrollbar { display: none; }
.trending-card {
  flex: 0 0 120px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; cursor: pointer;
}
.trending-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(255,60,60,0.2); border-color: rgba(255,60,60,0.3); }
.trending-card:active { transform: scale(0.97); }
.trending-img { width: 100%; height: 76px; display: flex; align-items: center; justify-content: center; font-size: 34px; position: relative; overflow: hidden; }
.trending-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trending-img.g1 { background: linear-gradient(135deg, #1a0033, #3d006e); }
.trending-img.g2 { background: linear-gradient(135deg, #001a33, #003d6e); }
.trending-img.g3 { background: linear-gradient(135deg, #1a1a00, #4d4d00); }
.trending-img.g4 { background: linear-gradient(135deg, #001a00, #006e00); }
.trending-img.g5 { background: linear-gradient(135deg, #1a0000, #6e0000); }
.mod-chip {
  position: absolute; bottom: 5px; left: 5px; background: var(--primary); color: white;
  font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 5px; letter-spacing: 0.5px;
}
.trending-info { padding: 7px 8px 9px; }
.trending-name { font-size: 11px; font-weight: 700; line-height: 1.3; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mod-type { font-size: 10px; color: var(--green); font-weight: 600; }

/* ══════════════════════════════
   GAME LIST
══════════════════════════════ */
.game-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0 12px;
}
.game-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 12px; display: flex; gap: 12px; align-items: center; cursor: pointer;
  transition: all 0.2s; position: relative; overflow: hidden;
}
.game-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, #ff3c3c, #ff8c00); opacity: 0; transition: opacity 0.2s;
}
.game-card:hover { border-color: rgba(255,60,60,0.3); background: var(--surface2); transform: translateX(2px); }
.game-card:hover::before { opacity: 1; }
.game-card:active { transform: scale(0.99); }
.game-thumb {
  width: 62px; height: 62px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 28px; flex-shrink: 0; position: relative; overflow: hidden;
}
.game-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.game-thumb.t1 { background: linear-gradient(135deg, #0d1b4f, #1a3a8f); }
.game-thumb.t2 { background: linear-gradient(135deg, #2d0a0a, #7a1a1a); }
.game-thumb.t3 { background: linear-gradient(135deg, #0a2d0a, #1a7a1a); }
.game-thumb.t4 { background: linear-gradient(135deg, #2d2d0a, #7a6a00); }
.game-thumb.t5 { background: linear-gradient(135deg, #1a0a2d, #4a1a7a); }
.game-thumb.t6 { background: linear-gradient(135deg, #0a2d2d, #007a6a); }
.game-thumb .mod-chip { font-size: 8px; padding: 2px 5px; }
.game-info { flex: 1; min-width: 0; }
.game-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 5px; }
.meta-chip { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 6px; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.meta-chip.version { background: rgba(0,229,255,0.1); color: var(--accent2); border: 1px solid rgba(0,229,255,0.2); }
.meta-chip.size { background: rgba(255,255,255,0.05); color: var(--muted); border: 1px solid var(--border); }
.meta-chip.updated { background: rgba(0,230,118,0.1); color: var(--green); border: 1px solid rgba(0,230,118,0.2); }
.mod-feature { font-size: 11px; color: var(--accent); font-weight: 600; display: flex; align-items: center; gap: 5px; }
.mod-feature::before { content: '⚡'; font-size: 10px; }
.game-download { flex-shrink: 0; display: none; }
.btn-download {
  background: linear-gradient(135deg, #ff3c3c, #cc1a1a); color: white; border: none;
  border-radius: 12px; width: 42px; height: 42px; display: flex; align-items: center;
  justify-content: center; font-size: 18px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(255,60,60,0.3); transition: all 0.2s;
}
.btn-download:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(255,60,60,0.5); }
.btn-download:active { transform: scale(0.95); }

/* ══════════════════════════════
   STATS BAR
══════════════════════════════ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 16px 12px;
  background: var(--border);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.stat-item { background: var(--surface); padding: 12px 6px; text-align: center; }
.stat-num { font-family: 'Rajdhani', sans-serif; font-size: 20px; font-weight: 700; background: linear-gradient(135deg, #ff3c3c, #ffb800); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

/* ══════════════════════════════
   JASHAN BANNER
══════════════════════════════ */
.jashan-banner {
  margin: 24px 12px 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 28px 20px; display: flex; flex-direction: column;
  align-items: center; gap: 16px; text-align: center;
}
.jashan-avatar {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, #e8820c, #f5a235); display: flex; align-items: center;
  justify-content: center; font-family: 'Rajdhani', sans-serif; font-size: 24px; font-weight: 700;
  color: white; letter-spacing: 1px; flex-shrink: 0;
}
.jashan-info { text-align: center; }
.jashan-name { font-family: 'Rajdhani', sans-serif; font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.jashan-tagline { font-size: 12px; color: var(--muted); }
.jashan-socials { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.jashan-btn { display: flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 10px; font-size: 13px; font-weight: 700; cursor: pointer; border: none; letter-spacing: 0.3px; transition: all 0.2s; font-family: 'Exo 2', sans-serif; margin-bottom: 4px; }
.jashan-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.jashan-btn:active { transform: scale(0.97); }
.yt-btn { background: #e60000; color: white; }
.tg-btn { background: #2aabee; color: white; }

/* ══════════════════════════════
   RIGHT PANEL
══════════════════════════════ */
.right-panel {
  display: none;
  width: 280px;
  flex-shrink: 0;
  padding: 20px 16px;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
  scrollbar-width: none;
}
.right-panel::-webkit-scrollbar { display: none; }
.right-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
}
.widget-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-game-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  border-bottom: 1px solid var(--border); cursor: pointer; transition: all 0.15s;
}
.top-game-row:last-child { border-bottom: none; }
.top-game-row:hover { transform: translateX(3px); }
.top-rank { font-family: 'Rajdhani', sans-serif; font-size: 18px; font-weight: 700; color: var(--muted); width: 24px; text-align: center; flex-shrink: 0; }
.top-rank.gold { color: #ffb800; }
.top-rank.silver { color: #aaaacc; }
.top-rank.bronze { color: #cd7f32; }
.top-thumb { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.top-info { flex: 1; min-width: 0; }
.top-name { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-sub { font-size: 10px; color: var(--muted); margin-top: 2px; }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cat-btn {
  padding: 10px 8px; border-radius: 10px; background: var(--surface2);
  border: 1px solid var(--border); cursor: pointer; font-family: 'Exo 2', sans-serif;
  font-size: 11px; font-weight: 700; color: var(--text); text-align: center;
  transition: all 0.2s; display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.cat-btn:hover { border-color: rgba(255,60,60,0.3); background: rgba(255,60,60,0.05); color: var(--primary); }
.cat-icon { font-size: 22px; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 16px;
  margin-top: 0;
  text-align: center;
}
.footer-copy { font-size: 11px; color: var(--muted); }

/* ══════════════════════════════
   ANIMATIONS
══════════════════════════════ */
.fade-in { opacity: 0; transform: translateY(16px); animation: fadeIn 0.5s forwards; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
.fade-in:nth-child(1) { animation-delay: 0.05s; }
.fade-in:nth-child(2) { animation-delay: 0.1s; }
.fade-in:nth-child(3) { animation-delay: 0.15s; }
.fade-in:nth-child(4) { animation-delay: 0.2s; }
.fade-in:nth-child(5) { animation-delay: 0.25s; }
.fade-in:nth-child(6) { animation-delay: 0.3s; }

/* ══════════════════════════════
   WORDPRESS DEFAULT CONTENT STYLES
   (for post pages / single.php)
══════════════════════════════ */
.entry-content { padding: 20px 16px; max-width: 800px; }
.entry-content h1, .entry-content h2, .entry-content h3 { font-family: 'Rajdhani', sans-serif; color: var(--text); margin-bottom: 12px; }
.entry-content h1 { font-size: 28px; }
.entry-content h2 { font-size: 22px; }
.entry-content h3 { font-size: 18px; }
.entry-content p { color: var(--muted); line-height: 1.7; margin-bottom: 14px; font-size: 15px; }
.entry-content a { color: var(--primary); text-decoration: none; }
.entry-content a:hover { text-decoration: underline; }
.entry-content ul, .entry-content ol { color: var(--muted); margin: 0 0 14px 20px; line-height: 1.8; }
.entry-content img { max-width: 100%; border-radius: 12px; margin: 12px 0; }
.entry-title { font-family: 'Rajdhani', sans-serif; font-size: 26px; font-weight: 700; color: var(--text); padding: 20px 16px 8px; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (min-width: 600px) {
  nav { padding: 0 20px; gap: 14px; }
  .nav-logo { font-size: 26px; }
  .hero { margin: 20px 16px; height: 200px; }
  .hero h1 { font-size: 28px; }
  .hero-content { padding: 24px 22px; }
  .hero-img { width: 160px; height: 160px; font-size: 80px; }
  .section-header { padding: 20px 16px 12px; }
  .game-list { padding: 0 16px; }
  .trending-row { padding: 0 16px 4px; }
  .stats-bar { margin: 20px 16px; grid-template-columns: repeat(4, 1fr); }
  .jashan-banner { margin: 12px 16px 20px; }
  .trending-card { flex: 0 0 130px; }
}
@media (min-width: 900px) {
  nav { padding: 0 24px; }
  .hero { height: 280px; margin: 24px 20px; border-radius: 20px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 15px; }
  .hero-img { width: 240px; height: 240px; font-size: 120px; right: 0; opacity: 0.6; }
  .hero-content { padding: 32px 36px; }
  .btn-hero { padding: 10px 22px; font-size: 13px; }
  .stats-bar { margin: 20px 20px; border-radius: 16px; }
  .stat-item { padding: 16px 10px; }
  .stat-num { font-size: 24px; }
  .stat-label { font-size: 10px; }
  .section-header { padding: 20px 20px 12px; }
  .section-title { font-size: 20px; }
  .game-list { padding: 0 20px; gap: 12px; display: grid; grid-template-columns: 1fr 1fr; }
  .trending-row { padding: 0 20px 4px; }
  .trending-card { flex: 0 0 155px; }
  .trending-img { height: 105px; }
  .game-thumb { width: 68px; height: 68px; font-size: 30px; }
  .game-name { font-size: 15px; }
  .jashan-banner { margin: 12px 20px 20px; flex-direction: row; text-align: left; }
  .jashan-info { text-align: left; }
  .jashan-name { font-size: 22px; }
  .game-download { display: block; }
}
@media (min-width: 1200px) {
  .hero-img { right: 30px; }
  nav { padding: 0 32px; }
  .hero { height: 300px; margin: 28px 28px; }
  .hero h1 { font-size: 46px; }
  .hero-content { padding: 36px 44px; }
  .hero-img { width: 280px; height: 280px; font-size: 140px; }
  .game-list { padding: 0 28px; gap: 14px; grid-template-columns: 1fr 1fr 1fr; }
  .section-header { padding: 22px 28px 14px; }
  .section-title { font-size: 22px; }
  .trending-row { padding: 0 28px 4px; }
  .trending-card { flex: 0 0 170px; }
  .trending-img { height: 115px; }
  .stats-bar { margin: 24px 28px; }
  .jashan-banner { margin: 12px 28px 24px; }
}
@media (min-width: 1440px) {
  nav { padding: 0 40px; }
  .hero { margin: 28px 36px; height: 320px; }
  .hero h1 { font-size: 52px; }
  .hero-content { padding: 40px 52px; }
  .hero-img { width: 310px; height: 310px; font-size: 160px; right: 40px; }
  .game-list { padding: 0 36px; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  .section-header { padding: 24px 36px 14px; }
  .trending-row { padding: 0 36px 4px; }
  .trending-card { flex: 0 0 185px; }
  .trending-img { height: 125px; font-size: 50px; }
  .stats-bar { margin: 24px 36px; }
  .jashan-banner { margin: 12px 36px 28px; }
  .game-thumb { width: 72px; height: 72px; font-size: 32px; }
  .game-name { font-size: 16px; }
  .stat-num { font-size: 28px; }
}

/* Premium Footer Styles */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 60px;
  font-size: 13px;
  color: var(--text);
  padding: 0;
  clear: both;
}
.footer-top {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--primary);
}
.btn-feedback {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-family: 'Exo 2', sans-serif;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-feedback:hover {
  background: var(--surface3);
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.2s, filter 0.2s;
}
.social-icon:hover {
  transform: scale(1.1);
  filter: brightness(1.1);
}
.social-icon.discord { background: #5865F2; }
.social-icon.telegram { background: #0088cc; }
.social-icon.youtube { background: #ff0000; }
.social-icon.twitter { background: #1DA1F2; }

.footer-bottom-bar {
  background: #111116;
  color: #8888aa;
  text-align: center;
  padding: 14px 20px;
  font-size: 11px;
  border-top: 1px solid var(--border);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
body.light .footer-bottom-bar {
  background: #1a1a24;
  color: #a0a0c0;
}

