/*
Theme Name: NeonVice – GTA 6 Gaming
Theme URI: https://yoursite.com/neonvice
Author: NeonVice Studio
Author URI: https://yoursite.com
Description: Pilna GTA 6 / Vice City stiliaus WordPress tema su neoninėmis spalvomis, Miami estetika ir gaming dizainu. Tinka žaidimų naujienoms, wikijoms ir fanų svetainėms.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neonvice
Tags: gaming, dark, neon, gta, miami, vice-city, custom-menu, featured-images, responsive
*/

/* =============================================
   CSS VARIABLES – NEONVICE PALETTE
   ============================================= */
:root {
  --pink:     #FF006E;
  --cyan:     #00F5FF;
  --purple:   #9B00FF;
  --gold:     #FFD700;
  --bg:       #06060E;
  --bg2:      #0D0D1A;
  --bg3:      #12122A;
  --surface:  #161630;
  --border:   #2A2A4A;
  --text:     #E8E8FF;
  --muted:    #7A7AA0;
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body:    'Rajdhani', 'Segoe UI', sans-serif;
  --glow-pink:  0 0 20px rgba(255,0,110,0.6), 0 0 60px rgba(255,0,110,0.2);
  --glow-cyan:  0 0 20px rgba(0,245,255,0.6), 0 0 60px rgba(0,245,255,0.2);
  --glow-gold:  0 0 20px rgba(255,215,0,0.6), 0 0 60px rgba(255,215,0,0.2);
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(155,0,255,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(255,0,110,0.08) 0%, transparent 50%);
}

/* Scanline overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.04) 2px,
    rgba(0,0,0,0.04) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

a { color: var(--cyan); text-decoration: none; transition: all 0.25s; }
a:hover { color: var(--pink); text-shadow: var(--glow-pink); }

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: 1.4rem; }

p { margin-bottom: 1.2em; }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.site-content { flex: 1; padding: 60px 0; }

.content-area { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
.content-area.no-sidebar { grid-template-columns: 1fr; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,6,14,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 0 40px rgba(255,0,110,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  box-shadow: var(--glow-pink);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-text .logo-neon { color: var(--cyan); text-shadow: var(--glow-cyan); }
.logo-text .logo-vice { color: var(--pink); text-shadow: var(--glow-pink); }

/* Navigation */
.main-nav ul {
  display: flex;
  gap: 6px;
  align-items: center;
}

.main-nav ul li a {
  display: block;
  padding: 8px 16px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.25s;
  position: relative;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
  transition: width 0.3s;
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item > a {
  color: var(--cyan);
  background: rgba(0,245,255,0.05);
}

.main-nav ul li a:hover::after,
.main-nav ul li.current-menu-item > a::after { width: 60%; }

/* Sub-menu */
.main-nav ul li { position: relative; }

.main-nav ul .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--pink);
  border-radius: 0 0 8px 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s;
  flex-direction: column;
  gap: 0;
}

.main-nav ul li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav ul .sub-menu li a {
  border-radius: 0;
  border-bottom: 1px solid var(--border);
}

/* Search + hamburger */
.header-actions { display: flex; gap: 12px; align-items: center; }

.btn-search {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  width: 38px; height: 38px;
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
  font-size: 1rem;
}
.btn-search:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: var(--glow-cyan); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(155,0,255,0.25) 0%, transparent 70%),
    linear-gradient(180deg, rgba(255,0,110,0.08) 0%, transparent 50%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,245,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  perspective: 500px;
  transform: rotateX(30deg) scale(1.5);
  transform-origin: 50% 100%;
  opacity: 0.6;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border: 1px solid var(--pink);
  border-radius: 100px;
  font-size: 0.8rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 24px;
  box-shadow: var(--glow-pink);
}

.hero-badge::before {
  content: '●';
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(3.5rem, 10vw, 8rem);
  background: linear-gradient(135deg, var(--pink) 0%, var(--cyan) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 30px rgba(255,0,110,0.4));
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
  font-family: var(--font-body);
}

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  box-shadow: var(--glow-pink);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255,0,110,0.8), 0 0 80px rgba(255,0,110,0.3);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  box-shadow: var(--glow-cyan);
}
.btn-outline:hover {
  background: rgba(0,245,255,0.1);
  transform: translateY(-2px);
  color: var(--cyan);
}

/* =============================================
   POSTS GRID
   ============================================= */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

/* Article card */
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}

.post-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.post-card:hover {
  border-color: rgba(255,0,110,0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(255,0,110,0.15);
}

.post-card:hover::before { transform: scaleX(1); }

.post-thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.post-card:hover .post-thumbnail img { transform: scale(1.05); }

.post-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg2), var(--bg3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--border);
}

.post-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--pink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: var(--glow-pink);
}

.post-body { padding: 24px; }

.post-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}
.post-meta .date { color: var(--cyan); }

.post-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 12px;
}
.post-title a { color: var(--text); }
.post-title a:hover { color: var(--pink); text-shadow: none; }

.post-excerpt { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.read-more {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}
.read-more::after { content: '→'; transition: transform 0.2s; }
.read-more:hover::after { transform: translateX(4px); }

/* =============================================
   FEATURED POST (Large card)
   ============================================= */
.featured-post {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}

.featured-post .post-thumbnail { aspect-ratio: unset; }
.featured-post .post-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-post .post-title { font-size: clamp(1.8rem, 3vw, 2.8rem); }

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 1.2em;
  background: linear-gradient(180deg, var(--pink), var(--purple));
  border-radius: 2px;
  box-shadow: var(--glow-pink);
  flex-shrink: 0;
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar { display: flex; flex-direction: column; gap: 32px; }

.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.widget-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--cyan);
  background: rgba(0,245,255,0.04);
}

.widget-content { padding: 20px; }

/* Recent posts widget */
.widget-recent li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.widget-recent li:last-child { border-bottom: none; padding-bottom: 0; }

.widget-recent .mini-thumb {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg3);
}

.widget-recent .mini-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--text);
}
.widget-recent .mini-title:hover { color: var(--pink); }

.widget-recent .mini-date {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.tag-cloud a {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  transition: all 0.2s;
}
.tag-cloud a:hover {
  border-color: var(--pink);
  color: var(--pink);
  box-shadow: var(--glow-pink);
}

/* =============================================
   SINGLE POST
   ============================================= */
.single-post-hero {
  position: relative;
  height: clamp(300px, 45vw, 520px);
  overflow: hidden;
  margin-bottom: 60px;
}

.single-post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6,6,14,0.2) 0%, rgba(6,6,14,0.9) 100%);
}

.single-post-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 48px;
}

.entry-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.entry-content h2, .entry-content h3 { margin: 2em 0 0.8em; }
.entry-content p { margin-bottom: 1.4em; color: rgba(232,232,255,0.85); }

.entry-content img {
  border-radius: 8px;
  margin: 2em 0;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.entry-content blockquote {
  border-left: 3px solid var(--pink);
  margin: 2em 0;
  padding: 16px 24px;
  background: rgba(255,0,110,0.06);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text);
}

.entry-content pre {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
  margin: 2em 0;
}

.entry-content code {
  background: var(--bg3);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.9em;
  color: var(--cyan);
}

/* Post tags */
.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.post-tags a {
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--muted);
  transition: all 0.2s;
}
.post-tags a:hover { border-color: var(--cyan); color: var(--cyan); }

/* Author box */
.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin: 48px 0;
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--pink);
  box-shadow: var(--glow-pink);
}

.author-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--pink);
  margin-bottom: 6px;
}

/* =============================================
   COMMENTS
   ============================================= */
.comments-section {
  margin-top: 60px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.comments-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 32px;
  color: var(--cyan);
}

.comment-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 48px; }

.comment-item {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.comment-author { font-family: var(--font-display); font-size: 1rem; color: var(--cyan); }
.comment-date { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.comment-text { font-size: 0.95rem; color: rgba(232,232,255,0.8); }

/* Comment form */
.comment-form input,
.comment-form textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 16px;
  transition: border-color 0.25s;
  outline: none;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,245,255,0.1);
}

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

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 60px 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  transition: all 0.25s;
  color: var(--muted);
}

.pagination a:hover,
.pagination .current {
  border-color: var(--pink);
  color: var(--pink);
  background: rgba(255,0,110,0.08);
  box-shadow: var(--glow-pink);
}

/* =============================================
   BREAKING NEWS TICKER
   ============================================= */
.news-ticker {
  background: var(--pink);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 36px;
}

.ticker-label {
  background: #000;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--pink);
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  gap: 60px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

@keyframes ticker-scroll {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold);
  text-shadow: var(--glow-gold);
  display: block;
}

.stat-item .stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding: 60px 0 48px;
}

.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; max-width: 280px; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--pink); text-shadow: none; }

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

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  transition: all 0.25s;
}
.footer-social a:hover {
  border-color: var(--pink);
  color: var(--pink);
  box-shadow: var(--glow-pink);
}

/* =============================================
   SEARCH PAGE
   ============================================= */
.search-header {
  padding: 60px 0 40px;
  text-align: center;
}

.search-form-large {
  display: flex;
  max-width: 600px;
  margin: 24px auto 0;
  gap: 0;
}

.search-form-large input[type="search"] {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 14px 20px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}

.search-form-large input:focus { border-color: var(--pink); }

.search-form-large button {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 14px 28px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s;
}
.search-form-large button:hover { opacity: 0.85; }

/* =============================================
   404 PAGE
   ============================================= */
.error-404 {
  text-align: center;
  padding: 100px 0;
}

.error-404 .error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 14rem);
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  filter: drop-shadow(0 0 40px rgba(255,0,110,0.3));
}

.error-404 h2 { color: var(--muted); font-size: 1.5rem; margin: 16px 0 24px; }

/* =============================================
   SCROLL TO TOP
   ============================================= */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: var(--glow-pink);
  z-index: 50;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-post { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .content-area { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .main-nav.open { display: flex; }

  .header-inner { flex-wrap: wrap; }
  .hamburger { display: flex; }

  .main-nav {
    width: 100%;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 16px;
    order: 3;
  }
  .main-nav ul { flex-direction: column; }
  .main-nav ul li { width: 100%; }
  .main-nav ul .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .single-post-overlay { padding: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: 1fr; }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes glow-pulse {
  0%, 100% { box-shadow: var(--glow-pink); }
  50% { box-shadow: 0 0 40px rgba(255,0,110,0.9), 0 0 100px rgba(255,0,110,0.4); }
}

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

.wp-block-image img { border-radius: 8px; }

/* Admin bar fix */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
