/*
Theme Name: VibeVault
Theme URI: https://vibevault.dev
Author: Vibe Coder
Author URI: https://vibevault.dev
Description: A neon-dark vibe coded apps portfolio theme with AI-generated cover art. Built different. Hits different.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vibevault
Tags: dark, portfolio, apps, neon, custom-colors, custom-menu, featured-images, full-width-template
*/

/* =========================================================
   CSS CUSTOM PROPERTIES — VIBEVAULT DESIGN TOKENS
   ========================================================= */
:root {
  /* Core Palette */
  --vv-bg:          #0a0a14;
  --vv-bg-card:     #12112a;
  --vv-bg-card2:    #1a1836;
  --vv-surface:     #1e1b3a;
  --vv-border:      rgba(139, 92, 246, 0.25);
  --vv-border-glow: rgba(139, 92, 246, 0.6);

  /* Neon Accents */
  --vv-purple:      #a855f7;
  --vv-purple-bright: #c084fc;
  --vv-pink:        #ec4899;
  --vv-cyan:        #06b6d4;
  --vv-green:       #22c55e;
  --vv-yellow:      #facc15;
  --vv-orange:      #f97316;

  /* Gradients */
  --vv-grad-hero:   linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #06b6d4 100%);
  --vv-grad-btn:    linear-gradient(135deg, #a855f7, #ec4899);
  --vv-grad-card:   linear-gradient(135deg, #1e1b3a 0%, #12112a 100%);
  --vv-grad-grid:   linear-gradient(180deg, transparent 0%, rgba(139,92,246,0.05) 100%);

  /* Typography */
  --vv-font-display: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --vv-font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;
  --vv-font-mono:    'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Sizing */
  --vv-radius-sm:  6px;
  --vv-radius-md:  12px;
  --vv-radius-lg:  20px;
  --vv-radius-xl:  28px;

  /* Shadows */
  --vv-glow-purple: 0 0 20px rgba(168, 85, 247, 0.4);
  --vv-glow-pink:   0 0 20px rgba(236, 72, 153, 0.4);
  --vv-glow-cyan:   0 0 20px rgba(6, 182, 212, 0.4);
  --vv-shadow-card: 0 8px 32px rgba(0,0,0,0.5);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--vv-font-body);
  background: var(--vv-bg);
  color: #e2e8f0;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Neon grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* Stars overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 70%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 20% 80%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 90%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 92% 15%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 45% 55%, rgba(168,85,247,0.8) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 75% 25%, rgba(6,182,212,0.7) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 15% 45%, rgba(236,72,153,0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--vv-purple); text-decoration: none; transition: color .2s; }
a:hover { color: var(--vv-purple-bright); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =========================================================
   LAYOUT
   ========================================================= */
.vv-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* =========================================================
   TOPBAR (WordPress admin bar offset handled)
   ========================================================= */
.admin-bar .vv-navbar { top: 32px; }

/* =========================================================
   NAVBAR
   ========================================================= */
.vv-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vv-border);
  height: 64px;
  display: flex;
  align-items: center;
}

.vv-navbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.vv-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.vv-logo svg { flex-shrink: 0; }

.vv-logo__text { background: var(--vv-grad-hero); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.vv-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 24px;
  list-style: none;
}

.vv-nav a {
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--vv-radius-sm);
  transition: color .2s, background .2s;
  text-decoration: none;
}

.vv-nav a:hover,
.vv-nav .current-menu-item a,
.vv-nav .current_page_item a {
  color: #fff;
  background: rgba(168,85,247,0.15);
}

.vv-nav .current-menu-item a,
.vv-nav .current_page_item a {
  color: var(--vv-purple-bright);
}

.vv-navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.vv-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--vv-radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.vv-btn--primary {
  background: var(--vv-grad-btn);
  color: #fff;
  box-shadow: var(--vv-glow-purple);
}

.vv-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(168,85,247,0.6);
  color: #fff;
}

.vv-btn--ghost {
  background: rgba(255,255,255,0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,0.15);
}

.vv-btn--ghost:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  transform: translateY(-1px);
}

.vv-btn--large {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--vv-radius-lg);
}

.vv-btn--sm {
  padding: 6px 14px;
  font-size: 0.8rem;
}

.vv-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--vv-purple);
  overflow: hidden;
  flex-shrink: 0;
}

.vv-avatar img { width: 100%; height: 100%; object-fit: cover; }

.vv-hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

/* =========================================================
   HERO
   ========================================================= */
.vv-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

/* Radial glow behind hero */
.vv-hero::before {
  content: '';
  position: absolute;
  top: 20%; right: 10%;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(168,85,247,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.vv-hero::after {
  content: '';
  position: absolute;
  bottom: 10%; left: 5%;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(6,182,212,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.vv-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  padding: 80px 0;
}

.vv-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--vv-radius-sm);
  padding: 6px 14px;
  font-family: var(--vv-font-mono);
  font-size: 0.8rem;
  color: var(--vv-green);
  margin-bottom: 24px;
  width: fit-content;
}

.vv-hero__badge::before { content: '>_'; color: var(--vv-green); font-weight: 700; }

.vv-hero__title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 16px;
}

.vv-hero__title .line1 { display: block; }
.vv-hero__title .line2 {
  display: block;
  background: var(--vv-grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vv-hero__sub {
  font-size: 1.05rem;
  color: #94a3b8;
  margin-bottom: 36px;
  line-height: 1.7;
}

.vv-hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero visual */
.vv-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vv-retro-computer {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.vv-retro-computer svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(168,85,247,0.3));
}

/* Floating elements */
.vv-float {
  position: absolute;
  animation: vvFloat 4s ease-in-out infinite;
}

@keyframes vvFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.vv-float--heart { top: 15%; left: 5%; animation-delay: -1s; font-size: 2rem; }
.vv-float--star  { top: 5%;  right: 10%; animation-delay: -2s; font-size: 1.5rem; }
.vv-float--bolt  { bottom: 20%; left: 10%; animation-delay: -0.5s; font-size: 1.8rem; }
.vv-float--sparkle { top: 30%; right: 5%; animation-delay: -3s; font-size: 1.2rem; }
.vv-float--cloud  { bottom: 10%; right: 15%; animation-delay: -1.5s; font-size: 1.4rem; }

/* Post-it note */
.vv-postit {
  position: absolute;
  bottom: 28%; right: -8%;
  background: var(--vv-yellow);
  color: #1a1a1a;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 4px;
  box-shadow: 2px 3px 8px rgba(0,0,0,0.4);
  transform: rotate(2deg);
  line-height: 1.3;
  text-align: center;
}

/* Mug */
.vv-mug {
  position: absolute;
  bottom: 5%; right: -5%;
  background: var(--vv-bg-card2);
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius-sm);
  padding: 8px 12px;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--vv-purple-bright);
  text-align: center;
  line-height: 1.6;
  box-shadow: var(--vv-glow-purple);
}

/* =========================================================
   STATS STRIP
   ========================================================= */
.vv-stats-strip {
  position: relative;
  z-index: 1;
  margin: 0 0 60px;
}

.vv-stats-strip__inner {
  background: var(--vv-bg-card);
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius-lg);
  padding: 28px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.vv-stat {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vv-stat__icon { font-size: 1.8rem; flex-shrink: 0; }

.vv-stat__value {
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.vv-stat__label {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 2px;
}

/* =========================================================
   APPS SECTION
   ========================================================= */
.vv-apps-section {
  position: relative;
  z-index: 1;
  padding: 0 0 80px;
}

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

.vv-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  position: relative;
}

.vv-section-title::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 50px; height: 3px;
  background: var(--vv-grad-btn);
  border-radius: 2px;
}

.vv-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vv-search {
  position: relative;
}

.vv-search input {
  background: var(--vv-bg-card);
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius-md);
  color: #e2e8f0;
  padding: 10px 16px 10px 40px;
  font-size: 0.875rem;
  outline: none;
  transition: border-color .2s;
  width: 200px;
  font-family: var(--vv-font-body);
}

.vv-search input:focus { border-color: var(--vv-purple); }
.vv-search input::placeholder { color: #475569; }

.vv-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #475569;
  font-size: 1rem;
}

.vv-select {
  background: var(--vv-bg-card);
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius-md);
  color: #e2e8f0;
  padding: 10px 36px 10px 14px;
  font-size: 0.875rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  font-family: var(--vv-font-body);
}

.vv-select:focus { border-color: var(--vv-purple); }

.vv-view-toggle {
  display: flex;
  gap: 4px;
  background: var(--vv-bg-card);
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius-md);
  padding: 4px;
}

.vv-view-toggle button {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: var(--vv-radius-sm);
  transition: all .2s;
  display: flex;
  align-items: center;
}

.vv-view-toggle button.active,
.vv-view-toggle button:hover {
  background: var(--vv-surface);
  color: #fff;
}

/* =========================================================
   APPS GRID
   ========================================================= */
.vv-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.vv-apps-grid.list-view {
  grid-template-columns: 1fr;
}

.vv-apps-grid.list-view .vv-app-card {
  display: grid;
  grid-template-columns: 120px 1fr;
}

.vv-apps-grid.list-view .vv-app-card__cover {
  height: 100%;
  min-height: 120px;
  border-radius: var(--vv-radius-md) 0 0 var(--vv-radius-md);
}

/* App Card */
.vv-app-card {
  background: var(--vv-grad-card);
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius-lg);
  overflow: hidden;
  transition: all .25s;
  cursor: pointer;
  position: relative;
}

.vv-app-card:hover {
  border-color: var(--vv-border-glow);
  transform: translateY(-4px);
  box-shadow: var(--vv-shadow-card), var(--vv-glow-purple);
}

.vv-app-card__cover {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--vv-surface);
}

.vv-app-card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.vv-app-card:hover .vv-app-card__cover img {
  transform: scale(1.05);
}

/* AI placeholder cover */
.vv-app-card__cover--ai {
  background: linear-gradient(135deg, var(--vv-bg-card2) 0%, var(--vv-surface) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.vv-app-card__cover--ai::before {
  content: '✦';
  font-size: 2rem;
  color: var(--vv-purple);
  opacity: 0.5;
}

.vv-app-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--vv-green);
  color: #0a0a14;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vv-app-badge--featured { background: var(--vv-yellow); }
.vv-app-badge--popular { background: var(--vv-orange); }

.vv-app-card__open {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--vv-radius-sm);
  color: #fff;
  padding: 4px 6px;
  font-size: 0.75rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 3px;
}

.vv-app-card:hover .vv-app-card__open { opacity: 1; }

.vv-app-card__body { padding: 16px; }

.vv-app-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vv-app-card__desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vv-app-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.vv-tag {
  font-size: 0.7rem;
  color: #94a3b8;
  background: rgba(148,163,184,0.1);
  border-radius: 4px;
  padding: 2px 7px;
  font-family: var(--vv-font-mono);
}

.vv-app-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  color: #64748b;
}

.vv-app-card__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Upload Card */
.vv-upload-card {
  background: transparent;
  border: 2px dashed rgba(168,85,247,0.4);
  border-radius: var(--vv-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  cursor: pointer;
  transition: all .2s;
  gap: 12px;
  min-height: 280px;
}

.vv-upload-card:hover {
  border-color: var(--vv-purple);
  background: rgba(168,85,247,0.05);
}

.vv-upload-card__icon {
  font-size: 2.5rem;
  color: var(--vv-purple);
  opacity: 0.7;
}

.vv-upload-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.vv-upload-card__sub {
  font-size: 0.8rem;
  color: #64748b;
}

/* =========================================================
   PAGINATION
   ========================================================= */
.vv-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.vv-pagination a,
.vv-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--vv-radius-md);
  background: var(--vv-bg-card);
  border: 1px solid var(--vv-border);
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all .2s;
  text-decoration: none;
}

.vv-pagination a:hover,
.vv-pagination span.current {
  background: var(--vv-grad-btn);
  border-color: transparent;
  color: #fff;
}

/* =========================================================
   SINGLE APP PAGE
   ========================================================= */
.vv-app-hero {
  padding: 100px 0 60px;
  position: relative;
  z-index: 1;
}

.vv-app-hero__cover {
  border-radius: var(--vv-radius-xl);
  overflow: hidden;
  margin-bottom: 40px;
  aspect-ratio: 16/7;
  background: var(--vv-surface);
  position: relative;
}

.vv-app-hero__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.vv-app-meta-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.vv-app-meta-bar__left { flex: 1; }

.vv-app-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.vv-app-description {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.vv-app-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.vv-app-stats-bar {
  display: flex;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--vv-border);
  border-bottom: 1px solid var(--vv-border);
  margin: 32px 0;
}

.vv-app-stat {
  text-align: center;
}

.vv-app-stat__value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.vv-app-stat__label {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 2px;
}

.vv-app-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  margin-top: 40px;
}

.vv-app-content__main {}

.vv-app-content__main .entry-content {
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 1rem;
}

.vv-app-content__main .entry-content h2,
.vv-app-content__main .entry-content h3 {
  color: #fff;
  font-weight: 700;
  margin: 32px 0 12px;
}

.vv-app-content__main .entry-content p { margin-bottom: 16px; }

.vv-app-content__main .entry-content ul,
.vv-app-content__main .entry-content ol {
  margin: 16px 0 16px 24px;
}

.vv-app-content__main .entry-content li { margin-bottom: 8px; }

.vv-app-sidebar {}

.vv-widget-box {
  background: var(--vv-bg-card);
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.vv-widget-box__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.vv-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--vv-border);
  padding: 20px 0;
  text-align: center;
}

.vv-footer__quote {
  font-size: 0.85rem;
  color: #475569;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.vv-footer__quote::before,
.vv-footer__quote::after {
  content: '';
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: var(--vv-border);
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.vv-about-section {
  padding: 120px 0 80px;
  position: relative;
  z-index: 1;
}

.vv-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* =========================================================
   STATS PAGE
   ========================================================= */
.vv-stats-page {
  padding: 120px 0 80px;
  position: relative;
  z-index: 1;
}

.vv-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.vv-stats-card {
  background: var(--vv-bg-card);
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius-lg);
  padding: 28px;
  text-align: center;
  transition: border-color .2s;
}

.vv-stats-card:hover { border-color: var(--vv-border-glow); }

.vv-stats-card__icon { font-size: 2.5rem; margin-bottom: 12px; }
.vv-stats-card__value { font-size: 2.5rem; font-weight: 900; color: #fff; letter-spacing: -0.04em; }
.vv-stats-card__label { font-size: 0.85rem; color: #64748b; margin-top: 4px; }

/* =========================================================
   ADMIN: AI COVER GENERATOR
   ========================================================= */
.vv-ai-cover-box {
  background: var(--vv-bg-card);
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius-lg);
  padding: 20px;
  margin: 20px 0;
}

.vv-ai-cover-box h3 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1rem;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes vvPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes vvGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(168,85,247,0.4); }
  50% { box-shadow: 0 0 40px rgba(168,85,247,0.8); }
}

@keyframes vvSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vv-pulse { animation: vvPulse 2s ease-in-out infinite; }
.vv-glow  { animation: vvGlow 3s ease-in-out infinite; }

/* =========================================================
   UTILITIES
   ========================================================= */
.vv-text-gradient {
  background: var(--vv-grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vv-mt-0 { margin-top: 0 !important; }
.vv-mb-0 { margin-bottom: 0 !important; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .vv-hero__inner { gap: 40px; }
  .vv-stats-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .vv-app-content { grid-template-columns: 1fr; }
  .vv-app-sidebar { display: none; }
}

@media (max-width: 768px) {
  .vv-nav, .vv-navbar__actions .vv-btn--primary { display: none; }
  .vv-hamburger { display: flex; margin-left: auto; }

  .vv-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 0 40px;
  }

  .vv-hero__badge { margin: 0 auto 24px; }
  .vv-hero__ctas { justify-content: center; }
  .vv-hero__visual { order: -1; }
  .vv-retro-computer { max-width: 300px; }

  .vv-stats-strip__inner { grid-template-columns: 1fr 1fr; padding: 20px; gap: 16px; }
  .vv-about-grid { grid-template-columns: 1fr; gap: 40px; }

  .vv-section-header { flex-direction: column; align-items: flex-start; }
  .vv-filters { width: 100%; }

  .vv-apps-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

  .vv-app-hero { padding: 90px 0 40px; }
  .vv-app-meta-bar { flex-direction: column; }
}

@media (max-width: 480px) {
  .vv-container { padding: 0 16px; }
  .vv-stats-strip__inner { grid-template-columns: 1fr; }
  .vv-apps-grid { grid-template-columns: 1fr; }
}

/* Mobile nav open state */
.vv-mobile-nav-open .vv-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(10,10,20,0.97);
  backdrop-filter: blur(12px);
  padding: 24px;
  border-bottom: 1px solid var(--vv-border);
  gap: 4px;
  z-index: 999;
}

/* =========================================================
   WORDPRESS ALIGNMENT HELPERS
   ========================================================= */
.alignleft  { float: left; margin-right: 20px; margin-bottom: 10px; }
.alignright { float: right; margin-left: 20px; margin-bottom: 10px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 10px; }

/* WP caption */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: #64748b; text-align: center; margin-top: 6px; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.vv-contact-section {
  padding: 120px 0 80px;
  position: relative;
  z-index: 1;
}

.vv-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.vv-form-group {
  margin-bottom: 20px;
}

.vv-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 8px;
}

.vv-input,
.vv-textarea {
  width: 100%;
  background: var(--vv-bg-card);
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius-md);
  color: #e2e8f0;
  padding: 12px 16px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color .2s;
  font-family: var(--vv-font-body);
}

.vv-input:focus,
.vv-textarea:focus { border-color: var(--vv-purple); }

.vv-textarea { min-height: 140px; resize: vertical; }

@media (max-width: 768px) {
  .vv-contact-grid { grid-template-columns: 1fr; }
}
