/*
Theme Name: Vibe Game
Theme URI: https://example.com/vibe-game
Author: Vibe Game Studio
Author URI: https://example.com
Description: A dark cyberpunk gaming block theme built from core blocks, with Platform and Genre taxonomies, Games/Walkthroughs/Downloads tags, block patterns, style variations (Neon Pink, Toxic Green, Deep Purple, High Contrast) and editable fonts.
Version: 2.7.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vibe-game
Tags: gaming, dark, block-patterns, block-styles, style-variations, full-site-editing, wide-blocks, editor-style, custom-logo, featured-images, threaded-comments, translation-ready
*/

:root {
  --bg-void: var(--wp--preset--color--void, #07080d);
  --bg-primary: var(--wp--preset--color--background, #0b0d14);
  --bg-secondary: var(--wp--preset--color--panel, #121624);
  --bg-card: rgba(20, 25, 40, 0.78);
  --bg-card-hover: rgba(28, 35, 56, 0.92);
  --bg-glass: rgba(15, 19, 32, 0.72);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-neon-cyan: rgba(0, 240, 255, 0.45);
  --border-neon-pink: rgba(255, 0, 85, 0.45);
  --border-neon-green: rgba(16, 185, 129, 0.45);

  --neon-cyan: var(--wp--preset--color--neon-cyan, #00f0ff);
  --neon-pink: var(--wp--preset--color--neon-pink, #ff0055);
  --neon-purple: var(--wp--preset--color--neon-purple, #8b5cf6);
  --neon-green: var(--wp--preset--color--neon-green, #10b981);
  --neon-amber: var(--wp--preset--color--neon-amber, #f59e0b);

  --text-main: var(--wp--preset--color--text, #ddd);
  --text-secondary: var(--wp--preset--color--text-secondary, #94a3b8);
  --text-muted: var(--wp--preset--color--muted, #64748b);
  --text-accent: var(--wp--custom--link, #19dae6);

  --gradient-cyber: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 50%, var(--neon-pink) 100%);
  --gradient-cyan: linear-gradient(135deg, var(--neon-cyan) 0%, var(--wp--custom--accent-end, #0080ff) 100%);
  --gradient-pink: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
  --gradient-green: linear-gradient(135deg, var(--neon-green) 0%, #059669 100%);

  --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.65);
  --shadow-cyan: 0 0 24px rgba(0, 240, 255, 0.25);
  --shadow-pink: 0 0 24px rgba(255, 0, 85, 0.25);
  --shadow-green: 0 0 24px rgba(16, 185, 129, 0.25);

  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 4px;
  --radius-pill: 4px;

  --font-display: var(--wp--preset--font-family--nunito, 'Nunito', 'Segoe UI', system-ui, sans-serif);
  --font-sans: var(--wp--preset--font-family--inter, 'Inter', 'Segoe UI', Roboto, system-ui, sans-serif);
  --font-mono: var(--wp--preset--font-family--jetbrains-mono, 'JetBrains Mono', 'Fira Code', Consolas, monospace);

  --container-max: var(--wp--custom--container-max, 1320px);
}

/* Light/Neon-Purple Alternate Accent Mode */
body.vibe-accent-magenta {
  --neon-cyan: #ff007f;
  --border-neon-cyan: rgba(255, 0, 127, 0.45);
  --shadow-cyan: 0 0 24px rgba(255, 0, 127, 0.25);
  --gradient-cyan: linear-gradient(135deg, #ff007f 0%, #8b5cf6 100%);
}

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

html {
  scroll-behavior: smooth;
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
}

/* Background color/image come from Global Styles (Site Editor > Styles > Colors / Background) */
body {
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--text-accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #ddd;
}

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

.vibe-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-void);
}
::-webkit-scrollbar-thumb {
  background: #1e263d;
  border-radius: 4px;
  border: 2px solid var(--bg-void);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

/* Reading Progress Bar */
.vibe-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-cyber);
  z-index: 9999;
  box-shadow: 0 0 12px var(--neon-cyan);
  transition: width 0.1s linear;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.vibe-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 13, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.vibe-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

.vibe-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ddd;
}

.vibe-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: var(--gradient-cyber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #07080d;
  font-weight: 900;
  box-shadow: var(--shadow-cyan);
}

.vibe-brand span.accent {
  color: var(--neon-cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.45);
}

.vibe-nav-wrapper {
  display: flex;
  align-items: flex-end;
  height: 100%;
  gap: 1.5rem;
}

.vibe-nav-list {
  display: flex;
  align-items: flex-end;
  list-style: none;
  gap: 0.25rem;
  height: 100%;
  padding-top: 14px;
}

.vibe-nav-list li {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.vibe-nav-list li a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1.15rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: 1px solid transparent;
  border-bottom: 3px solid transparent;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  margin-bottom: -1px;
}

.vibe-nav-list li a:hover {
  color: #ddd;
  background: rgba(255, 255, 255, 0.04);
  border-bottom-color: rgba(0, 240, 255, 0.45);
}

.vibe-nav-list li.current-menu-item > a,
.vibe-nav-list li a.active {
  color: var(--neon-cyan);
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.14) 0%, rgba(18, 22, 36, 0.95) 100%);
  border-color: var(--border-neon-cyan);
  border-bottom: 3px solid var(--neon-cyan);
  box-shadow: 0 -4px 16px rgba(0, 240, 255, 0.12);
}

.vibe-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vibe-search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vibe-search-trigger:hover {
  border-color: var(--neon-cyan);
  color: #ddd;
  box-shadow: var(--shadow-cyan);
}

.vibe-search-trigger kbd {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--neon-cyan);
}

.vibe-accent-btn,
.vibe-mobile-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vibe-accent-btn:hover,
.vibe-mobile-toggle:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.vibe-mobile-toggle {
  display: none;
}

/* Platform Ribbon Subheader */
.vibe-platform-bar {
  background: rgba(7, 8, 13, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 0;
  overflow-x: auto;
}

.vibe-platform-bar-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.vibe-platform-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-right: 0.4rem;
}

.vibe-platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.vibe-platform-pill:hover,
.vibe-platform-pill.active {
  color: #07080d;
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
}

/* ==========================================================================
   HERO FEATURED BANNER / SLIDER
   ========================================================================== */
.vibe-hero {
  position: relative;
  padding: 2rem 0 1.5rem;
}

.vibe-hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: var(--shadow-card), 0 0 40px rgba(0, 240, 255, 0.08);
  background: var(--bg-secondary);
  min-height: 440px;
}

.vibe-hero-slide {
  display: none;
  position: relative;
  min-height: 440px;
  padding: 3rem;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.vibe-hero-slide.active {
  display: flex;
  animation: vibeFadeIn 0.45s ease;
}

@keyframes vibeFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.vibe-hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 13, 0.96) 0%, rgba(7, 8, 13, 0.78) 55%, rgba(7, 8, 13, 0.35) 100%),
    linear-gradient(0deg, rgba(7, 8, 13, 0.96) 0%, transparent 65%);
  z-index: 1;
}

.vibe-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.vibe-hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.vibe-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.75rem;
  padding-right: 8px;
  border-radius: var(--radius-pill);
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.vibe-badge-game {
  background: rgba(0, 240, 255, 0.16);
  color: var(--neon-cyan);
  border: 1px solid var(--border-neon-cyan);
}

.vibe-badge-walkthrough {
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.5);
}

.vibe-badge-download {
  background: rgba(16, 185, 129, 0.18);
  color: var(--neon-green);
  border: 1px solid var(--border-neon-green);
}

.vibe-badge-hot {
  background: var(--gradient-pink);
  color: #ddd;
}

.vibe-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  color: #ddd;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.vibe-hero-excerpt {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vibe-hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.65rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.vibe-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.vibe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.4px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.22s ease;
}

.vibe-btn-primary {
  background: var(--gradient-cyan);
  color: #05070b;
  box-shadow: var(--shadow-cyan);
}

.vibe-btn-primary:hover {
  transform: translateY(-2px);
  color: #05070b;
  box-shadow: 0 0 32px rgba(0, 240, 255, 0.55);
}

.vibe-btn-download {
  background: var(--gradient-green);
  color: #04130d;
  box-shadow: var(--shadow-green);
}

.vibe-btn-download:hover {
  transform: translateY(-2px);
  color: #04130d;
  box-shadow: 0 0 32px rgba(16, 185, 129, 0.55);
}

.vibe-btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.vibe-btn-outline:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
}

.vibe-hero-dots {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}

.vibe-hero-dot {
  width: 28px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.vibe-hero-dot.active {
  width: 44px;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
}

/* ==========================================================================
   FILTER BAR & TABS
   ========================================================================== */
.vibe-hub-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-bottom: 2px solid rgba(0, 240, 255, 0.25);
  padding: 0.65rem 1.25rem 0;
  border-radius: var(--radius-md);
  margin: 1.5rem 0 2rem;
  backdrop-filter: blur(12px);
}

.vibe-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: -2px;
}

.vibe-filter-tab {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-bottom: 3px solid transparent;
  color: var(--text-secondary);
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.vibe-filter-tab:hover {
  color: #ddd;
  background: rgba(255, 255, 255, 0.06);
  border-bottom-color: rgba(0, 240, 255, 0.45);
}

.vibe-filter-tab.active {
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.16) 0%, rgba(18, 22, 36, 0.98) 100%);
  color: var(--neon-cyan);
  border-color: var(--border-neon-cyan);
  border-bottom: 3px solid var(--neon-cyan);
  box-shadow: 0 -4px 16px rgba(0, 240, 255, 0.15);
}

.vibe-sort-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.55rem;
}

.vibe-select {
  background: rgba(7, 8, 13, 0.85);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
}

.vibe-select:focus {
  border-color: var(--neon-cyan);
}

/* ==========================================================================
   CARDS & GRIDS (GAMES, WALKTHROUGHS, DOWNLOADS)
   ========================================================================== */
.vibe-section {
  margin: 3rem 0;
}

.vibe-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.vibe-section-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #ddd;
}

.vibe-section-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 24px;
  border-radius: 4px;
  background: var(--gradient-cyber);
  box-shadow: 0 0 10px var(--neon-cyan);
}

.vibe-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.vibe-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.vibe-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  backdrop-filter: blur(10px);
}

.vibe-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-neon-cyan);
  box-shadow: var(--shadow-card), 0 0 25px rgba(0, 240, 255, 0.14);
}

.vibe-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #161b2e;
  overflow: hidden;
}

.vibe-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--vibe-card-image-position, center center);
  transition: transform 0.45s ease;
}

.vibe-card:hover .vibe-card-thumb img {
  transform: scale(1.06);
}

.vibe-card-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
   flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 240, 255, 0.22), transparent 60%),
    radial-gradient(circle at 75% 80%, rgba(255, 0, 85, 0.22), transparent 60%),
    #101424;
  font-family: var(--font-display);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 1rem;
}

.vibe-card-top-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  padding-right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
  pointer-events: none;
}

.vibe-score-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(7, 8, 13, 0.9);
  border: 2px solid var(--neon-cyan);
  color: #ddd;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.vibe-score-badge.score-high {
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.vibe-score-badge.score-mid {
  border-color: var(--neon-amber);
  color: var(--neon-amber);
}

.vibe-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vibe-card-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}

.vibe-mini-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.vibe-card-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.vibe-card-title a {
  color: #ddd;
}

.vibe-card-title a:hover {
  color: var(--neon-cyan);
}

.vibe-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.vibe-card-footer {
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.vibe-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ==========================================================================
   SINGLE POST / GAME / WALKTHROUGH / DOWNLOAD LAYOUT
   ========================================================================== */
.vibe-single-hero {
  position: relative;
  padding: 3.5rem 0 2.5rem;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-subtle);
}

.vibe-single-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 13, 0.82) 0%, rgba(11, 13, 20, 0.98) 100%);
  backdrop-filter: blur(8px);
}

.vibe-single-hero-inner {
  position: relative;
  z-index: 2;
}

.vibe-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.vibe-single-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: #ddd;
  margin-bottom: 1rem;
}

.vibe-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.vibe-layout-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2.25rem;
  margin: 2.5rem 0 4rem;
  align-items: start;
}

/* Article Content Typography */
.vibe-entry-content {
  background: rgba(20, 25, 40, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  font-size: 1.04rem;
  color: #e2e8f0;
}

.vibe-entry-content h2,
.vibe-entry-content h3,
.vibe-entry-content h4 {
  font-family: var(--font-display);
  color: #ddd;
  margin: 2rem 0 0.85rem;
  scroll-margin-top: 100px;
}

.vibe-entry-content h2 {
  font-size: 1.55rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.vibe-entry-content h2::before {
  content: '#';
  color: var(--neon-cyan);
  font-family: var(--font-mono);
}

.vibe-entry-content p {
  margin-bottom: 1.25rem;
}

.vibe-entry-content ul,
.vibe-entry-content ol {
  margin: 0 0 1.25rem 1.5rem;
}

.vibe-entry-content li {
  margin-bottom: 0.45rem;
}

.vibe-entry-content blockquote {
  background: rgba(0, 240, 255, 0.06);
  border-left: 4px solid var(--neon-cyan);
  padding: 1.1rem 1.35rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  color: #ddd;
}

/* ==========================================================================
   GAME REVIEW & SYSTEM SPECS MODULE
   ========================================================================== */
.vibe-review-box {
  background: linear-gradient(145deg, rgba(18, 22, 36, 0.95), rgba(11, 13, 20, 0.98));
  border: 1px solid var(--border-neon-cyan);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-cyan);
}

.vibe-review-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.vibe-rating-ring {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: conic-gradient(var(--neon-cyan) calc(var(--score-pct, 90) * 1%), rgba(255, 255, 255, 0.08) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
}

.vibe-rating-ring-inner {
  width: 100%;
  height: 100%;
  background: var(--bg-void);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.vibe-rating-number {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: #ddd;
  line-height: 1;
}

.vibe-rating-verdict {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--neon-cyan);
  font-weight: 800;
  margin-top: 0.2rem;
}

.vibe-game-quick-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.9rem;
  flex: 1;
}

.vibe-spec-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
}

.vibe-spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.vibe-spec-value {
  font-weight: 700;
  color: #ddd;
  font-size: 0.92rem;
}

.vibe-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.vibe-pros-list,
.vibe-cons-list {
  list-style: none;
  margin: 0;
}

.vibe-pros-list h4 {
  color: var(--neon-green);
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
}

.vibe-cons-list h4 {
  color: var(--neon-pink);
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
}

.vibe-pros-list li,
.vibe-cons-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

/* System Requirements Card */
.vibe-sysreq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.vibe-sysreq-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.vibe-sysreq-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
}

.vibe-sysreq-tab.active {
  background: rgba(0, 240, 255, 0.14);
  color: var(--neon-cyan);
  border-color: var(--border-neon-cyan);
}

.vibe-sysreq-panel {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.vibe-sysreq-panel.active {
  display: grid;
}

/* ==========================================================================
   WALKTHROUGH HELPER & STICKY TOC
   ========================================================================== */
.vibe-walkthrough-banner {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(0, 240, 255, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.vibe-wt-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.vibe-wt-stat {
  background: rgba(7, 8, 13, 0.65);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  flex: 1;
  min-width: 150px;
}

.vibe-wt-pro-tip {
  background: rgba(245, 158, 11, 0.12);
  border-left: 4px solid var(--neon-amber);
  padding: 0.9rem 1.1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
}

.vibe-toc-widget {
  background: var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin: 0 0 1.5rem;
}

.vibe-toc-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  max-height: min(360px, 50vh);
  overflow-y: auto;
}

.vibe-toc-list li a {
  display: block;
  padding: 0.45rem 0.65rem;
  border-left: 2px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.86rem;
  transition: all 0.2s ease;
}

.vibe-toc-back-to-top {
  display: block;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--neon-cyan);
  font-size: 0.86rem;
}

.single :is(h2, h3)[id] {
  scroll-margin-top: calc(2rem + var(--wp-admin--admin-bar--height, 0px));
}

.vibe-toc-list li a.toc-h3 {
  padding-left: 1.35rem;
  font-size: 0.8rem;
}

.vibe-toc-list li a:hover,
.vibe-toc-list li a.active {
  color: var(--neon-cyan);
  border-left-color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.06);
}

/* ==========================================================================
   DOWNLOAD MANAGER BOX
   ========================================================================== */
.vibe-download-box {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.12), rgba(11, 13, 20, 0.96));
  border: 1px solid var(--border-neon-green);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-green);
}

.vibe-dl-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.vibe-virus-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  font-size: 0.8rem;
  font-weight: 800;
}

.vibe-dl-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.vibe-dl-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.vibe-checksum-bar {
  margin-top: 1rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  overflow-x: auto;
}

/* ==========================================================================
   SIDEBAR & WIDGETS
   ========================================================================== */
.vibe-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vibe-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}

.vibe-widget-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
  color: #ddd;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vibe-mini-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.vibe-mini-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.vibe-mini-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.vibe-mini-rank {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid var(--border-neon-cyan);
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vibe-mini-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.vibe-mini-info h4 a {
  color: var(--text-main);
}

.vibe-mini-info h4 a:hover {
  color: var(--neon-cyan);
}

.vibe-mini-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   LIVE AJAX SEARCH MODAL
   ========================================================================== */
.vibe-search-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.86);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 6rem 1rem 2rem;
}

.vibe-search-modal.active {
  display: flex;
}

.vibe-search-dialog {
  width: 100%;
  max-width: 680px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-neon-cyan);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card), var(--shadow-cyan);
  overflow: hidden;
}

.vibe-search-input-bar {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  gap: 0.75rem;
}

.vibe-search-input-bar input {
  width: 100%;
  background: transparent;
  border: none;
  color: #ddd;
  font-size: 1.1rem;
  outline: none;
}

.vibe-search-results {
  max-height: 420px;
  overflow-y: auto;
  padding: 0.75rem;
}

.vibe-search-hit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
}

.vibe-search-hit:hover {
  background: rgba(0, 240, 255, 0.08);
}

/* ==========================================================================
   COMMENTS & FOOTER
   ========================================================================== */
.vibe-comments-area {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 2rem;
}

.comment-list {
  list-style: none;
  margin: 1.25rem 0;
}

.comment-body {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  margin-bottom: 1rem;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  background: rgba(7, 8, 13, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #ddd;
  margin-bottom: 1rem;
}

.comment-form input[type="submit"] {
  background: var(--gradient-cyan);
  color: #05070b;
  font-weight: 800;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.vibe-footer {
  background: var(--bg-void);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.vibe-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.4fr 1.2fr;
  gap: 2.25rem;
  margin-bottom: 2.5rem;
}

.vibe-footer-col h4 {
  font-family: var(--font-display);
  color: #ddd;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.vibe-footer-links {
  list-style: none;
}

.vibe-footer-links li {
  margin-bottom: 0.5rem;
}

.vibe-footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.vibe-footer-links a:hover {
  color: var(--neon-cyan);
}

.vibe-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.vibe-footer-tags a {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: var(--text-secondary);
}

.vibe-footer-tags a:hover {
  color: var(--neon-cyan);
}

.vibe-footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Pagination */
.vibe-pagination {
  margin: 2.5rem 0;
  padding-bottom: 2.5rem;
  display: flex;
  justify-content: center;
}

.vibe-pagination .nav-links {
  display: flex;
  gap: 0.5rem;
}

.vibe-pagination .page-numbers {
  padding: 0.55rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 700;
}

.vibe-pagination .page-numbers.current,
.vibe-pagination .page-numbers:hover {
  background: var(--neon-cyan);
  color: #05070b;
  border-color: var(--neon-cyan);
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .vibe-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .vibe-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .vibe-layout-with-sidebar {
    grid-template-columns: 1fr;
  }
  .vibe-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .vibe-mobile-toggle {
    display: inline-flex;
  }
  .vibe-nav-wrapper {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem;
  }
  .vibe-nav-wrapper.open {
    display: block;
  }
  .vibe-nav-list {
    flex-direction: column;
    align-items: stretch;
  }
  .vibe-grid-3,
  .vibe-grid-4,
  .vibe-pros-cons,
  .vibe-footer-grid {
    grid-template-columns: 1fr;
  }
  .vibe-hero-slide {
    padding: 1.75rem;
    min-height: 360px;
  }
}

.vibe-single-featured .wp-block-post-featured-image { margin-bottom: 8px; }
.vibe-single-featured .wp-block-post-featured-image img { width: 100%; height: auto; display: block; border-radius: 4px; }

/* Featured posts banner: CSS scroll-snap carousel */
.vibe-featured-wrap { padding-top: 2rem; }
.vibe-featured-wrap:not(:has(.wp-block-post)) { display: none; }
.vibe-featured-banner .wp-block-post-template {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: var(--shadow-card), 0 0 40px rgba(0, 240, 255, 0.08);
}
.vibe-featured-banner .wp-block-post-template {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.vibe-featured-banner .wp-block-post-template::-webkit-scrollbar { display: none; }
.vibe-featured-banner .wp-block-post-template > li {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
}
.vibe-featured-banner { position: relative; }
.vibe-featured-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 0;
  pointer-events: none;
}
/* Each line is a button with 8px padding for a larger hit area; the visible bar is ::before, its progress fill ::after. */
.vibe-featured-dot {
  position: relative;
  box-sizing: content-box;
  width: 40px;
  height: 3px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}
.vibe-featured-dot::before,
.vibe-featured-dot::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  height: 3px;
  border-radius: 2px;
}
.vibe-featured-dot::before {
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.2s;
}
.vibe-featured-dot:hover::before { background: rgba(255, 255, 255, 0.6); }
.vibe-featured-dot::after {
  background: var(--accent-cyan, #00f0ff);
  transform: scaleX(0);
  transform-origin: left center;
}
/* The fill runs for the slide's display time; when it ends, featured-banner.js moves to the next slide. */
.vibe-featured-dot.is-active::after { animation: vibe-featured-fill 6s linear forwards; }
.vibe-featured-banner.is-paused .vibe-featured-dot.is-active::after { animation-play-state: paused; }
@keyframes vibe-featured-fill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .vibe-featured-dot.is-active::after { animation: none; transform: scaleX(1); }
}
.vibe-featured-slide { padding: 3rem; }
@media (max-width: 768px) {
  .vibe-featured-slide .wp-block-cover__image-background {
    object-position: var(--vibe-featured-image-position, var(--vibe-card-image-position, center center)) !important;
  }
}
/* No featured image: reuse the card fallback gradient as the slide background */
.vibe-featured-slide:not(:has(.wp-block-cover__image-background)) {
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 240, 255, 0.22), transparent 60%),
    radial-gradient(circle at 75% 80%, rgba(255, 0, 85, 0.22), transparent 60%),
    #101424;
}
.vibe-featured-slide .wp-block-cover__background {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent) !important;
  opacity: 1;
}
.vibe-featured-slide .wp-block-post-title { color: #ddd; font-family: var(--font-display); }
.vibe-featured-slide .wp-block-post-title a { color: inherit; text-decoration: none; }
.vibe-featured-slide .wp-block-read-more {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--gradient-cyan);
  color: #05070b;
  font-weight: 700;
  text-decoration: none;
}

/* Related posts in the sidebar. */
.vibe-related-links {
  background: var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin: 0 0 1.5rem;
}

.vibe-related-links-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.vibe-related-links-list a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.65rem;
  border-left: 2px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.vibe-related-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.35rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
}

.vibe-related-link-icon img {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  filter: invert(1);
}

.vibe-related-links-list a:hover,
.vibe-related-links-list a:focus-visible {
  color: var(--neon-cyan);
  border-left-color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.06);
}
