/*
Theme Name: Nyxus
Theme URI: https://wptheme.site/
Author: Jach
Author URI: https://wptheme.site/
Description: Un tema para wordpress con un diseño oscuro y moderno perfecto para descargas de torrents.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nyxus
Tags: gaming, dark, modern, blog, custom-menu, featured-images
*/

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Inter';
  src: url('https://ext.same-assets.com/1879959865/3061808832.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('https://ext.same-assets.com/1879959865/2429621811.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('https://ext.same-assets.com/1879959865/2308572134.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('https://ext.same-assets.com/1879959865/4109726836.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-primary: #060717;
  --bg-secondary: #0d1425;
  --bg-card: #161f36;
  --bg-card-hover: #1e2947;
  --text-primary: #ffffff;
  --text-secondary: #a0a9c0;
  --accent-red: #b9301d;
  --accent-blue: #4469bf;
  --accent-green: #2d5331;
  --accent-cyan: #4ca79e;
  --border-color: #2a3451;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Particle Background */
.particle-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) scale(1);
  }
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-cyan);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Layout Container
   ========================================================================== */
.site-wrapper {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background: rgba(6, 7, 23, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  max-width: 1440px;
  margin: 0 auto;
}

.site-logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0;
}

.site-logo a {
  display: flex;
  align-items: center;
}

.logo-text-anker {
  color: #ffffff;
}

.logo-text-games {
  color: var(--accent-red);
}

.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-navigation a:hover {
  color: var(--text-primary);
}

/* Dropdown Menu */
.menu-item-has-children > a::after {
  content: '▼';
  font-size: 10px;
  margin-left: 5px;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  min-width: 200px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li {
  display: block;
}

.sub-menu a {
  padding: 10px 20px;
  display: block;
  font-size: 14px;
}

.sub-menu a:hover {
  background: var(--bg-card-hover);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-toggle,
.user-avatar,
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-toggle:hover,
.theme-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
}

.user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

.btn-login {
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.btn-login:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-card);
}

.btn-signup {
  padding: 8px 20px;
  background: var(--accent-cyan);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff;
}

.btn-signup:hover {
  background: #5cb8af;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 167, 158, 0.3);
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
  margin-bottom: 60px;
}

.slider-wrapper {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(6, 7, 23, 0.95) 0%, rgba(6, 7, 23, 0.6) 50%, rgba(6, 7, 23, 0.3) 100%);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.slide-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  line-height: 1.2;
}

.slide-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.slide-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 30px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.slide-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.badge {
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-platform {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.badge-release {
  background: rgba(76, 167, 158, 0.2);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

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

.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.slider-nav button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(22, 31, 54, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-primary);
}

.slider-nav button:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  transform: scale(1.1);
}

/* ==========================================================================
   Social Buttons Section
   ========================================================================== */
.social-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 40px 0 60px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  color: #ffffff;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-btn-discord {
  background: #5865F2;
}

.social-btn-discord:hover {
  background: #4752C4;
}

.social-btn-reddit {
  background: #FF4500;
}

.social-btn-reddit:hover {
  background: #E63E00;
}

.social-btn-donate {
  background: #28a745;
}

.social-btn-donate:hover {
  background: #218838;
}

/* ==========================================================================
   Section Styles
   ========================================================================== */
.section {
  margin-bottom: 60px;
}

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

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
}

.view-all-btn {
  padding: 10px 24px;
  background: var(--accent-blue);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-all-btn:hover {
  background: #5578cc;
  transform: translateX(5px);
}

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

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

.games-grid-8 .game-card-content {
  padding: 10px;
}

.games-grid-8 .game-card-title {
  font-size: 12px;
}

.games-grid-8 .game-card-meta {
  font-size: 10px;
}

.games-grid-8 .meta-tag {
  padding: 3px 6px;
}

.game-card {
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.game-card:hover {
  transform: translateY(-3px);
}

.game-card-image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

.game-card:hover .game-card-image img {
  transform: scale(1.03);
}

.game-card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.9) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.game-card:hover .game-card-image::after {
  opacity: 1;
}

.download-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3;
  pointer-events: none;
}

.download-icon svg {
  color: #000;
}

.game-card:hover .download-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.nsfw-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 7, 23, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.nsfw-icon {
  font-size: 40px;
}

.nsfw-text {
  font-size: 20px;
  font-weight: 700;
}

.game-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0;
  z-index: 2;
}

.game-card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.game-card:hover .game-card-title {
  transform: translateY(0);
}

.game-card-meta {
  display: none;
}

.meta-tag {
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ==========================================================================
   Upcoming Games
   ========================================================================== */
.upcoming-section {
  background: var(--bg-secondary);
  padding: 40px 0;
  margin: 60px 0;
}

.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.upcoming-card {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.upcoming-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.upcoming-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.upcoming-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

/* ==========================================================================
   Genre Cards Section
   ========================================================================== */
.genre-section {
  margin-top: 60px;
}

.genre-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.genre-card {
  position: relative;
  background: var(--bg-card);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.genre-card:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(76, 167, 158, 0.3);
}

.genre-card:hover .genre-name,
.genre-card:hover .genre-count {
  color: #ffffff;
}

.genre-card-content {
  flex: 1;
  min-width: 0;
}

.genre-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  transition: color 0.3s ease;
}

.genre-count {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.genre-thumbnail {
  width: 60px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.genre-card:hover .genre-thumbnail {
  transform: translateX(5px);
}

.genre-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Collections Section
   ========================================================================== */
.collections-section {
  margin-top: 60px;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.collection-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.collection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(76, 167, 158, 0.2);
}

.collection-card a {
  text-decoration: none;
  display: block;
}

.collection-images {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: var(--bg-card);
  overflow: hidden;
}

.collection-image-item {
  flex: 1;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 6px;
  min-width: 0;
}

.collection-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.collection-card:hover .collection-image-item img {
  transform: scale(1.05);
}

.collection-info {
  padding: 16px;
  background: var(--bg-card);
}

.collection-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px 0;
}

.collection-count {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Collections Archive Page */
.collections-archive-header {
  text-align: center;
  margin-bottom: 50px;
  padding-top: 40px;
}

.collections-archive-header .page-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.collections-archive-header .page-description {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.collections-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}

.collection-archive-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.collection-archive-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(76, 167, 158, 0.2);
}

.collection-archive-card a {
  text-decoration: none;
  display: block;
}

.collection-archive-images {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: var(--bg-card);
  overflow: hidden;
}

.collection-archive-image-item {
  flex: 1;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 8px;
  min-width: 0;
}

.collection-archive-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.collection-archive-card:hover .collection-archive-image-item img {
  transform: scale(1.05);
}

.collection-archive-info {
  padding: 18px;
  background: var(--bg-card);
}

.collection-archive-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.collection-archive-count {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Game Archive Page
   ========================================================================== */
.game-archive-header {
  padding: 30px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.game-archive-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.game-archive-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.controls-separator {
  width: 1px;
  height: 32px;
  background: var(--border-color);
  opacity: 0.5;
}

.game-archive-filters {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.filter-group {
  flex-shrink: 0;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.filter-btn svg {
  width: 16px;
  height: 16px;
}

.sort-dropdown {
  position: relative;
}

.sort-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 160px;
  justify-content: space-between;
}

.sort-btn:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.sort-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.sort-dropdown-menu.active .sort-btn svg {
  transform: rotate(180deg);
}

.sort-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  overflow: hidden;
}

.sort-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sort-option {
  display: block;
  padding: 12px 18px;
  color: var(--text-primary);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.sort-option:hover {
  background: var(--bg-secondary);
  border-left-color: var(--accent-cyan);
  padding-left: 22px;
}

.sort-option.active {
  background: rgba(76, 167, 158, 0.1);
  border-left-color: var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 600;
}

.game-archive-genres {
  margin-bottom: 40px;
}

.genre-filter-scroll {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.genre-filter-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.genre-filter-item:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.genre-filter-item:hover .genre-filter-name,
.genre-filter-item:hover .genre-filter-count {
  color: #ffffff;
}

.genre-filter-image {
  width: 80px;
  height: 106px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.genre-filter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.genre-filter-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.genre-filter-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.genre-filter-count {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.game-archive-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

/* Filter Modal */
.filter-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filter-modal.active {
  opacity: 1;
  visibility: visible;
}

.filter-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.filter-modal-content {
  position: relative;
  background: var(--bg-secondary);
  border-radius: 12px;
  max-width: 900px;
  width: 90%;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.filter-modal.active .filter-modal-content {
  transform: scale(1);
}

.filter-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  border-bottom: 1px solid var(--border-color);
}

.filter-modal-header h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.filter-modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.filter-modal-close:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.filter-modal-body {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
}

.filter-tags-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.filter-tag {
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-tag:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 167, 158, 0.3);
}

/* ==========================================================================
   Single Collection Page
   ========================================================================== */
.single-collection-header {
  padding: 40px 0 30px;
}

.single-collection-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.single-collection-games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.single-collection-game-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.single-collection-game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(76, 167, 158, 0.2);
}

.single-collection-game-card a {
  display: block;
  text-decoration: none;
  position: relative;
}

.single-collection-game-image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.single-collection-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.single-collection-game-card:hover .single-collection-game-image img {
  transform: scale(1.03);
}

.single-collection-game-card .download-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3;
  pointer-events: none;
}

.single-collection-game-card .download-icon svg {
  color: #000;
}

.single-collection-game-card:hover .download-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.single-collection-game-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.single-collection-game-title h3 {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.single-collection-game-card:hover .single-collection-game-title {
  transform: translateY(0);
}

.single-collection-content {
  padding: 30px 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  margin-top: 80px;
  padding: 60px 0 30px;
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-text {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent-cyan);
  transform: translateY(-3px);
}

.footer-copyright {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
  .main-navigation ul {
    gap: 20px;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
  
  .games-grid-8 {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .main-navigation {
    order: 3;
    width: 100%;
    margin-top: 15px;
  }

  .main-navigation ul {
    justify-content: center;
    gap: 15px;
    font-size: 14px;
  }

  .hero-slider {
    height: 350px;
  }

  .slide-content {
    padding: 0 20px;
  }

  .slide-logo {
    max-width: 250px;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .games-grid-8 {
    grid-template-columns: repeat(4, 1fr);
  }

  .social-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .site-logo {
    font-size: 20px;
  }

  .section-title {
    font-size: 22px;
  }

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

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */
.alignnone {
  margin: 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 20px auto;
}

.alignright {
  float: right;
  margin: 0 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 0 20px 20px 0;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  text-align: center;
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.sticky {
  border: 2px solid var(--accent-cyan);
}

.gallery-caption {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 60px 0;
  padding: 20px 0;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 15px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-numbers:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-numbers.current {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #ffffff;
  font-weight: 600;
}

.page-numbers.dots {
  background: transparent;
  border: none;
  cursor: default;
}

.page-numbers.dots:hover {
  background: transparent;
  transform: none;
}

.page-numbers.prev,
.page-numbers.next {
  font-weight: 600;
}

.bypostauthor {
  font-weight: 600;
}

/* ==========================================================================
   Trending Hero Backdrop Section
   ========================================================================== */
.trending-hero-backdrop {
  position: relative;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 40px;
}

.trending-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(10, 15, 30, 0.7), rgba(10, 15, 30, 0.9));
  z-index: 1;
}

.trending-hero-backdrop .container {
  position: relative;
  z-index: 2;
}

.trending-hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 60px 0 40px;
  max-width: 700px;
}

.trending-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 59, 92, 0.15);
  border: 1px solid rgba(255, 59, 92, 0.3);
  border-radius: 16px;
  color: #ff3b5c;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.top-games-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  color: #3b82f6;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.trending-badge svg {
  width: 14px;
  height: 14px;
}

.trending-hero-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.trending-hero-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
}

.trending-stats-inline {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.trending-stat-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(22, 31, 54, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.trending-stat-box svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ==========================================================================
   Featured Game + Top Rising Section
   ========================================================================== */
.trending-featured-section {
  margin-bottom: 40px;
}

.trending-featured-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px;
}

.trending-featured-card {
  position: relative;
  display: block;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.trending-featured-card:hover {
  transform: translateY(-4px);
}

.trending-featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(10, 15, 30, 0.95), rgba(10, 15, 30, 0.2));
  z-index: 1;
}

.trending-featured-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.trending-featured-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.trending-featured-downloads {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.trending-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255, 59, 92, 0.2);
  border: 1px solid rgba(255, 59, 92, 0.4);
  border-radius: 12px;
  color: #ff3b5c;
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
}

.top-games-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 12px;
  color: #3b82f6;
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
}

.trending-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}

.trending-sidebar-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 20px 0;
}

.trending-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trending-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.trending-sidebar-item:hover {
  background: rgba(0, 255, 135, 0.05);
  border-color: var(--accent-cyan);
  transform: translateX(4px);
}

.sidebar-rank {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-cyan);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  flex-shrink: 0;
}

.sidebar-thumbnail {
  width: 42px;
  height: 56px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-info {
  flex: 1;
  min-width: 0;
}

.sidebar-game-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-downloads {
  font-size: 12px;
  color: var(--text-secondary);
}

.sidebar-arrow {
  color: var(--accent-cyan);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trending-sidebar-item:hover .sidebar-arrow {
  opacity: 1;
}

/* ==========================================================================
   Statistics Cards Section
   ========================================================================== */
.trending-stats-section {
  margin-bottom: 40px;
}

.trending-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
}

.stat-value-large {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 8px 0;
}

.stat-change {
  font-size: 12px;
  color: #00ff87;
  margin-top: 4px;
}

/* ==========================================================================
   Trending Games Grid Section
   ========================================================================== */
.trending-games-section {
  margin-bottom: 60px;
}

@media (max-width: 1024px) {
  .trending-featured-grid {
    grid-template-columns: 1fr;
  }
  
  .trending-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .trending-hero-title {
    font-size: 28px;
  }
  
  .trending-stats-inline {
    flex-wrap: wrap;
  }
  
  .stat-value {
    font-size: 20px;
  }
  
  .stat-value-large {
    font-size: 24px;
  }
  
  .trending-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Recently Updated Page
   ========================================================================== */
.recently-updated-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 60px 0 40px;
  align-items: center;
}

.recently-hero-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recently-hero-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.recently-hero-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.recently-hero-tagline {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-cyan);
  margin: 0 0 20px 0;
}

.recently-hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.recently-stat-large {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-number-small {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1;
}

.recently-stat-labels {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-label-main {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.stat-label-sub {
  font-size: 11px;
  color: var(--text-secondary);
}

.recently-hero-right {
  position: relative;
}

.recently-thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.recently-thumb {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  aspect-ratio: 3/4;
}

.recently-thumb:hover {
  transform: scale(1.05);
}

.recently-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recently-about {
  margin-bottom: 40px;
}

.recently-about-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.recently-about-toggle:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-cyan);
}

.recent-updates-section {
  margin-top: 60px;
  margin-bottom: 60px;
}

.recent-updates-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.load-more-btn {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-cyan);
}

.updates-date-group {
  margin-bottom: 40px;
}

.updates-date-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.updates-date {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.updates-count {
  padding: 4px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.update-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.update-item:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-cyan);
  transform: translateX(4px);
}

.update-thumbnail {
  width: 60px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.update-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.update-info {
  flex: 1;
  min-width: 0;
}

.update-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.update-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.update-genre {
  color: var(--accent-cyan);
  font-weight: 500;
}

.update-time {
  color: var(--text-secondary);
}

.update-arrow {
  color: var(--text-secondary);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.update-item:hover .update-arrow {
  opacity: 1;
  color: var(--accent-cyan);
}

@media (max-width: 1024px) {
  .recently-updated-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .recently-thumbnails-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .updates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .recently-hero-title {
    font-size: 28px;
  }
  
  .stat-number {
    font-size: 36px;
  }
  
  .stat-number-small {
    font-size: 24px;
  }
  
  .recently-thumbnails-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .updates-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Runner Ups Section
   ========================================================================== */
.runner-ups-section {
  margin-bottom: 60px;
}

.runner-ups-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px;
}

.runner-featured {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 400px;
}

.runner-featured-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
}

.runner-featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(10, 15, 30, 0.95), rgba(10, 15, 30, 0.3));
  z-index: 1;
}

.runner-featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 2;
}

.runner-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 255, 135, 0.15);
  border: 1px solid rgba(0, 255, 135, 0.3);
  border-radius: 16px;
  color: #00ff87;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.runner-featured-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.runner-featured-downloads {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.runner-star {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 32px;
}

.runner-ups-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.runner-sidebar-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.runner-up-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.runner-up-item:hover {
  background: rgba(0, 255, 135, 0.05);
  border-color: var(--accent-cyan);
  transform: translateX(4px);
}

.runner-rank {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-cyan), #00ff87);
  color: #0a0f1e;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  flex-shrink: 0;
}

.runner-thumbnail {
  width: 45px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.runner-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.runner-info {
  flex: 1;
  min-width: 0;
}

.runner-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.runner-downloads {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ==========================================================================
   All Top Games Section
   ========================================================================== */
.all-top-games {
  margin-bottom: 60px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 30px 0;
}

@media (max-width: 1024px) {
  .runner-ups-grid {
    grid-template-columns: 1fr;
  }
  
  .runner-ups-sidebar {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .runner-featured-title {
    font-size: 24px;
  }
  
  .runner-star {
    font-size: 24px;
    top: 20px;
    right: 20px;
  }
  
  .section-title {
    font-size: 22px;
  }
}
