/*
Theme Name: XemuHub Gaming
Theme URI: https://xemuemulator.com
Author: XemuHub
Author URI: https://xemuemulator.com
Description: Tema gaming oscuro para juegos adultos. Rápido, SEO optimizado, responsive. Español.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xemuhub
Tags: dark, gaming, responsive, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =============================================
   XEMUHUB GAMING THEME
   Dark Gaming Theme - Spanish
   ============================================= */

:root {
  --primary: #7c3aed;
  --primary-light: #8b5cf6;
  --primary-dark: #6d28d9;
  --primary-glow: rgba(124,58,237,0.3);
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --bg-main: #0f0f13;
  --bg-surface: #16161d;
  --bg-card: #1e1e28;
  --bg-card-hover: #252530;
  --border: #2a2a38;
  --border-light: #35354a;
  --text-primary: #f1f1f5;
  --text-secondary: #9999b5;
  --text-muted: #5a5a7a;
  --green: #22c55e;
  --red: #ef4444;
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-purple: 0 8px 32px rgba(124,58,237,0.25);
  --transition: all 0.2s ease;
  --max-width: 1280px;
  --sidebar-width: 300px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }
button { cursor: pointer; }
input, textarea, select { font-family: var(--font-body); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::selection { background: var(--primary); color: #fff; }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}
h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { margin-bottom: 16px; color: var(--text-secondary); line-height: 1.8; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

/* ===== HEADER / NAVBAR ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15,15,19,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.site-header.scrolled {
  border-bottom-color: var(--primary);
  box-shadow: 0 2px 20px rgba(124,58,237,0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 900; font-size: 16px; color: #fff;
  box-shadow: var(--shadow-purple);
}
.logo-text {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}
.logo-text span { color: var(--primary-light); }

/* Nav Menu */
.main-navigation { display: flex; align-items: center; }
.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.main-navigation ul li { position: relative; }
.main-navigation ul li a {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-menu-ancestor > a {
  color: var(--primary-light);
  background: rgba(124,58,237,0.1);
}

/* Dropdown */
.main-navigation ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 100;
  box-shadow: var(--shadow);
  flex-direction: column;
  gap: 2px;
}
.main-navigation ul li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-navigation ul li ul li a {
  padding: 8px 12px;
  font-size: 13px;
  text-transform: none;
  border-radius: 6px;
  width: 100%;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-search {
  position: relative;
}
.header-search input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px 8px 36px;
  color: var(--text-primary);
  font-size: 13px;
  width: 180px;
  outline: none;
  transition: var(--transition);
}
.header-search input:focus { border-color: var(--primary); width: 220px; }
.header-search::before {
  content: '🔍';
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  pointer-events: none;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, var(--bg-main) 0%, #1a0a2e 50%, var(--bg-main) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-display);
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(1.5); } }
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: none;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 16px rgba(124,58,237,0.35);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124,58,237,0.5);
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  color: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1px solid rgba(124,58,237,0.4);
}
.btn-outline:hover {
  background: rgba(124,58,237,0.1);
  color: var(--primary-light);
}
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* ===== SECTION HEADERS ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-title-wrap {}
.section-tag {
  display: inline-block;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--primary-light);
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--text-primary);
}
.section-title span { color: var(--primary-light); }
.section-link {
  font-size: 13px;
  color: var(--primary-light);
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font-display);
  font-weight: 600;
}
.section-link:hover { color: var(--accent); }

/* ===== GAME CARDS ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  display: block;
  position: relative;
}
.game-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-purple);
}
.game-card-thumb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-surface);
}
.game-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.game-card:hover .game-card-thumb img { transform: scale(1.05); }
.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card-play {
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-display);
  width: 100%;
  text-align: center;
}
.game-card-badges {
  position: absolute;
  top: 8px; left: 8px;
  display: flex; flex-direction: column; gap: 4px;
}
.badge-new, .badge-hot, .badge-update {
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}
.badge-new { background: var(--green); color: #fff; }
.badge-hot { background: var(--red); color: #fff; }
.badge-update { background: var(--accent); color: #000; }
.game-card-body { padding: 14px; }
.game-card-cat {
  font-size: 11px;
  color: var(--primary-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-family: var(--font-display);
}
.game-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 8px;
  font-family: var(--font-display);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.game-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--text-muted);
}
.game-card-version { font-weight: 600; color: var(--accent); }

/* ===== CONTENT + SIDEBAR LAYOUT ===== */
.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: 32px;
  align-items: start;
}
.main-content-area { min-width: 0; }

/* ===== SINGLE POST ===== */
.post-header { margin-bottom: 32px; }
.post-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.post-cat-badge {
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--primary-light);
  font-size: 12px; font-weight: 700;
  padding: 3px 12px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 1px;
  font-family: var(--font-display);
}
.post-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.2;
}
.post-meta {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.post-meta span { display: flex; align-items: center; gap: 6px; }

/* Game Info Box */
.game-info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 32px;
}
.game-info-header {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 24px;
  background: linear-gradient(135deg, var(--bg-card), rgba(124,58,237,0.05));
  border-bottom: 1px solid var(--border);
}
.game-main-cover {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
}
.game-main-cover img { width: 100%; height: 100%; object-fit: cover; }
.game-info-details { display: flex; flex-direction: column; gap: 12px; }
.game-title-main {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  font-family: var(--font-display);
}
.game-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.game-tag {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 4px;
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.game-rating {
  display: flex; align-items: center; gap: 8px;
}
.rating-stars { color: var(--accent); font-size: 16px; letter-spacing: 2px; }
.rating-num { font-size: 13px; color: var(--text-muted); }
.game-version-info {
  font-size: 13px; color: var(--text-muted);
  display: flex; flex-direction: column; gap: 4px;
}
.game-version-info strong { color: var(--text-primary); }
.game-dl-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }

/* Screenshots Gallery */
.screenshots-section { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.screenshots-title {
  font-size: 13px; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 12px;
  font-family: var(--font-display);
}
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.screenshot-item {
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-surface);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.screenshot-item:hover { border-color: var(--primary); transform: scale(1.02); }
.screenshot-item img { width: 100%; height: 100%; object-fit: cover; }

/* Game Description */
.game-description { padding: 24px; }
.game-desc-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.game-desc-content h2 {
  font-size: 20px;
  margin: 28px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}
.game-desc-content h3 {
  font-size: 17px;
  margin: 22px 0 10px;
  color: var(--primary-light);
}
.game-desc-content p { margin-bottom: 14px; }
.game-desc-content ul, .game-desc-content ol { padding-left: 20px; margin-bottom: 14px; }
.game-desc-content li { margin-bottom: 6px; color: var(--text-secondary); }
.game-desc-content a { color: var(--primary-light); }
.game-desc-content strong { color: var(--text-primary); }
.game-desc-content img { border-radius: var(--radius); margin: 16px 0; }

/* Changelog */
.changelog-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
}
.changelog-title {
  font-size: 14px; font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.changelog-version {
  background: var(--primary);
  color: #fff;
  font-size: 11px; padding: 2px 8px; border-radius: 4px;
}

/* ===== SIDEBAR ===== */
.sidebar { position: sticky; top: 80px; }
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.widget-title {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
  font-size: 13px; font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase; letter-spacing: 1px;
  font-family: var(--font-display);
  display: flex; align-items: center; gap: 8px;
}
.widget-body { padding: 16px; }

/* Recent Posts Widget */
.recent-game-item {
  display: flex; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(42,42,56,0.5);
  text-decoration: none;
}
.recent-game-item:last-child { border-bottom: none; }
.recent-game-thumb {
  width: 60px; height: 80px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-surface);
}
.recent-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-game-info { flex: 1; min-width: 0; }
.recent-game-cat { font-size: 10px; color: var(--primary-light); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; font-family: var(--font-display); }
.recent-game-title { font-size: 13px; font-weight: 600; color: var(--text-primary); line-height: 1.3; font-family: var(--font-display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recent-game-item:hover .recent-game-title { color: var(--primary-light); }
.recent-game-date { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* Categories Widget */
.cat-list { display: flex; flex-direction: column; gap: 4px; }
.cat-list-item a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 14px; font-weight: 500;
  transition: var(--transition);
  font-family: var(--font-display);
}
.cat-list-item a:hover { background: rgba(124,58,237,0.1); color: var(--primary-light); }
.cat-count {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px; font-weight: 700;
  padding: 2px 7px; border-radius: 100px;
}

/* Tags Widget */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-item a {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  padding: 4px 10px; border-radius: 100px;
  transition: var(--transition);
  font-family: var(--font-display);
}
.tag-item a:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(124,58,237,0.1); }

/* ===== PAGINATION ===== */
.pagination {
  display: flex; justify-content: center; gap: 6px;
  padding: 40px 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  transition: var(--transition);
  font-family: var(--font-display);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.pagination a:hover { background: rgba(124,58,237,0.1); border-color: var(--primary); color: var(--primary-light); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
  padding: 16px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb-sep { color: var(--border-light); }
.breadcrumb-current { color: var(--text-secondary); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 0; max-width: 260px; }
.footer-col-title {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 14px; color: var(--text-muted);
  font-family: var(--font-display);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 13px; color: var(--text-muted); }
.footer-legal a:hover { color: var(--primary-light); }

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-lg); object-fit: contain; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-primary);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--red); border-color: var(--red); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-primary);
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
  transition: var(--transition);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--primary); border-color: var(--primary); }

/* ===== SECTION WRAPPER ===== */
.section-wrap {
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}
.section-wrap:last-child { border-bottom: none; }

/* ===== ALERTS ===== */
.alert {
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.6;
}
.alert-info { background: rgba(124,58,237,0.08); border: 1px solid rgba(124,58,237,0.2); color: #c4b5fd; }
.alert-warning { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2); color: #fde68a; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .content-sidebar-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .game-info-header { grid-template-columns: 180px 1fr; }
}
@media (max-width: 768px) {
  .main-navigation { display: none; }
  .main-navigation.open {
    display: flex;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(15,15,19,0.99);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .main-navigation.open ul { flex-direction: column; width: 100%; }
  .main-navigation.open ul li ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 16px; margin-top: 4px; }
  .menu-toggle { display: flex; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .game-info-header { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-section { padding: 50px 0; }
  .header-search { display: none; }
}
@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.5s ease forwards; }

/* ===== WORDPRESS SPECIFIC ===== */
.wp-caption { text-align: center; }
.wp-caption-text { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.aligncenter { margin: 0 auto; display: block; }
.alignleft { float: left; margin: 0 20px 16px 0; }
.alignright { float: right; margin: 0 0 16px 20px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
