/*
Theme Name: GGDeals
Theme URI: https://ggdeals.com
Author: GGDeals
Author URI: https://ggdeals.com
Description: A dark cyberpunk gaming deals theme with neon accents, built for affiliate deal sites and gaming blogs.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ggdeals
Tags: gaming, dark, blog, affiliate, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ── Reset & Base ─────────────────────────────────────────── */
:root {
  --bg:       #080c10;
  --surface:  #0e1520;
  --surface2: #141d2e;
  --card:     #0f1a28;
  --neon:     #00f5a0;
  --neon2:    #00c2ff;
  --accent:   #ff3c6e;
  --warn:     #f5a623;
  --text:     #e8edf5;
  --muted:    #5a6a80;
  --border:   rgba(0, 245, 160, 0.15);
  --radius:   6px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Noise texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.4;
}

a { color: var(--neon); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--neon2); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

p { margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
li { margin-bottom: 0.3rem; }

blockquote {
  border-left: 3px solid var(--neon);
  padding: 1rem 1.5rem;
  background: var(--surface);
  margin: 1.5rem 0;
  color: var(--muted);
  font-style: italic;
}

code {
  background: var(--surface2);
  color: var(--neon);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.88em;
  font-family: 'Courier New', monospace;
}

pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

pre code { background: none; padding: 0; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
th { background: var(--surface2); font-family: 'Orbitron', monospace; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; text-align: left; }
td { padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--muted); border-radius: 3px; }

/* ── Skip link ── */
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 9999; background: var(--neon); color: #000; padding: 8px 16px; border-radius: var(--radius); font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ── Layout ── */
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 16, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 50px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-branding a {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--neon);
  text-shadow: 0 0 20px rgba(0, 245, 160, 0.5);
  text-decoration: none;
}

.site-branding a span { color: var(--text); }

/* ── Navigation ── */
.main-navigation { display: flex; align-items: center; gap: 0.5rem; }

.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.main-navigation ul li { position: relative; }

.main-navigation ul li a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius);
  display: block;
  transition: all 0.2s;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-page-ancestor > a {
  color: var(--neon);
  background: rgba(0, 245, 160, 0.06);
}

/* Dropdown */
.main-navigation ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 180px;
  flex-direction: column;
  gap: 0;
  padding: 0.4rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.main-navigation ul li:hover > ul { display: flex; }
.main-navigation ul li ul li a { font-size: 0.78rem; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 5px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
}

/* ── Ticker ── */
.ticker-wrap {
  overflow: hidden;
  background: rgba(0, 245, 160, 0.05);
  border-bottom: 1px solid var(--border);
  padding: 7px 0;
}

.ticker {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  font-family: 'Orbitron', monospace;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--neon);
  opacity: 0.7;
  text-transform: uppercase;
  text-decoration: none;
  cursor: default;
  transition: opacity 0.2s;
}
a.ticker-item {
  cursor: pointer;
}
a.ticker-item:hover {
  opacity: 1;
  color: var(--neon);
}
.ticker-item::before { content: '✦  '; opacity: 0.5; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Section Headers ── */
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: 'Orbitron', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  white-space: nowrap;
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Hero (front page) ── */
.hero {
  position: relative;
  padding: 28px 2rem 50px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(0,245,160,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: 'Orbitron', monospace;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--neon);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--neon), var(--neon2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  max-width: 500px;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 1rem;
}

/* ── Category Pills ── */
.category-pills {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 2rem 2rem;
}

.pill {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.pill:hover, .pill.active, .pill.current {
  background: rgba(0, 245, 160, 0.1);
  border-color: var(--neon);
  color: var(--neon);
}

/* ── Deal Cards ── */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  margin-bottom: 3rem;
}

.deal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.deal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 245, 160, 0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,245,160,0.1);
  color: inherit;
}

.deal-card.featured { grid-column: span 2; }

.deal-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0px, transparent 3px, rgba(0,0,0,0.03) 3px, rgba(0,0,0,0.03) 4px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.deal-card:hover::after { opacity: 1; }

.deal-img-wrap { position: relative; }
.deal-img-wrap img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.deal-img-placeholder { width: 100%; aspect-ratio: 16/9; background: var(--surface2); display: flex; align-items: center; justify-content: center; font-size: 3rem; }

.amazon-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(8,12,16,0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,153,0,0.4);
  border-radius: 3px;
  padding: 3px 8px;
  font-family: 'Orbitron', monospace;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ff9900;
  text-transform: uppercase;
}

.deal-body { padding: 1rem 1.2rem 1.2rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }

.deal-meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

.deal-tag {
  font-family: 'Orbitron', monospace;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 2px;
  background: rgba(0, 194, 255, 0.12);
  color: var(--neon2);
  border: 1px solid rgba(0, 194, 255, 0.25);
}

.deal-tag.sale { background: rgba(255,60,110,0.12); color: var(--accent); border-color: rgba(255,60,110,0.25); }

.deal-title { font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 0.95rem; line-height: 1.4; color: var(--text); }

.deal-description { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }

.deal-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.8rem;
}

.price-new { font-family: 'Orbitron', monospace; font-size: 1.3rem; font-weight: 700; color: var(--neon); }
.price-old { font-size: 0.85rem; color: var(--muted); text-decoration: line-through; }
.price-discount { font-family: 'Orbitron', monospace; font-size: 0.65rem; font-weight: 700; background: var(--accent); color: #fff; padding: 2px 6px; border-radius: 2px; }

.deal-cta { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }

.btn-deal {
  font-family: 'Orbitron', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  background: linear-gradient(135deg, var(--neon), var(--neon2));
  color: #000;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-deal:hover { opacity: 0.85; transform: scale(1.03); color: #000; }

.deal-rating { font-size: 0.72rem; color: #f5c542; display: flex; align-items: center; gap: 3px; }
.deal-rating span { color: var(--muted); font-size: 0.68rem; }

/* ── Blog Layout ── */
.page-header {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.page-header h1 {
  font-size: 1.6rem;
  letter-spacing: 0.05em;
}

.page-header .page-description { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Post card */
.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 245, 160, 0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.post-card-thumb { display: block; overflow: hidden; }
.post-card-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .post-card-thumb img { transform: scale(1.03); }
.post-card-thumb-placeholder { width: 100%; aspect-ratio: 16/9; background: var(--surface2); display: flex; align-items: center; justify-content: center; }
.post-card-thumb-placeholder span { font-family: 'Orbitron', monospace; font-size: 0.6rem; letter-spacing: 0.15em; color: var(--muted); text-transform: uppercase; }

.post-card-body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; }

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}

.post-cat-badge {
  font-family: 'Orbitron', monospace;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 2px;
  background: rgba(0, 194, 255, 0.1);
  color: var(--neon2);
  border: 1px solid rgba(0, 194, 255, 0.2);
  text-decoration: none;
}

.post-cat-badge:hover { background: rgba(0,194,255,0.2); color: var(--neon2); }

.post-date {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.post-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.post-card-title a { color: var(--text); text-decoration: none; }
.post-card-title a:hover { color: var(--neon); }

.post-card-excerpt { font-size: 0.82rem; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 1rem; }

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

.read-more {
  font-family: 'Orbitron', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon);
  text-decoration: none;
  transition: color 0.2s;
}
.read-more:hover { color: var(--neon2); }

.post-author-mini { font-size: 0.72rem; color: var(--muted); }

/* ── Single Post ── */
.content-area { max-width: 760px; }

.has-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; }

.single-post-header { margin-bottom: 2rem; }

.single-post-header .post-cat-badge { margin-bottom: 1rem; display: inline-block; }

.single-post-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.post-meta-bar a { color: var(--muted); }
.post-meta-bar a:hover { color: var(--neon); }

.post-featured-image { margin-bottom: 2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.post-featured-image img { width: 100%; }

/* Post content */
.entry-content { font-size: 0.95rem; line-height: 1.8; }
.entry-content h2 { font-size: 1.3rem; margin: 2rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); color: var(--neon); letter-spacing: 0.05em; }
.entry-content h3 { font-size: 1.1rem; margin: 1.5rem 0 0.75rem; color: var(--text); }
.entry-content h4 { font-size: 0.95rem; margin: 1.2rem 0 0.6rem; color: var(--neon2); text-transform: uppercase; letter-spacing: 0.1em; }
.entry-content p { margin-bottom: 1.4rem; }
.entry-content a { color: var(--neon); border-bottom: 1px solid rgba(0,245,160,0.3); }
.entry-content a:hover { color: var(--neon2); border-bottom-color: var(--neon2); }
.entry-content ul, .entry-content ol { margin-bottom: 1.4rem; }
.entry-content img { border-radius: var(--radius); border: 1px solid var(--border); margin: 1.5rem 0; }
.entry-content .wp-caption { background: var(--surface); border: 1px solid var(--border); padding: 0.5rem; border-radius: var(--radius); }
.entry-content .wp-caption-text { font-size: 0.78rem; color: var(--muted); text-align: center; padding: 0.5rem 0 0; }

/* Post tags */
.post-tags { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.post-tags-label { font-family: 'Orbitron', monospace; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.tag-pill { background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 0.72rem; padding: 3px 10px; border-radius: 100px; text-decoration: none; transition: all 0.2s; }
.tag-pill:hover { border-color: var(--neon); color: var(--neon); }

/* Author box */
.author-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2.5rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.author-avatar img { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--border); }
.author-info h4 { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--neon); margin-bottom: 0.3rem; }
.author-info p { font-size: 0.82rem; color: var(--muted); }

/* Post navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.nav-previous, .nav-next { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; transition: border-color 0.2s; }
.nav-previous:hover, .nav-next:hover { border-color: rgba(0,245,160,0.3); }
.nav-next { text-align: right; }
.nav-label { font-family: 'Orbitron', monospace; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; display: block; }
.nav-title { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.nav-previous a:hover .nav-title, .nav-next a:hover .nav-title { color: var(--neon); }

/* ── Sidebar ── */
.sidebar { font-size: 0.88rem; }

.widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}

.widget-title {
  font-family: 'Orbitron', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.82rem; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--muted); transition: color 0.2s; }
.widget ul li a:hover { color: var(--neon); }

/* Search widget */
.widget.widget_search .search-form { display: flex; gap: 0.5rem; }
.widget.widget_search input[type="search"] { flex: 1; background: var(--surface); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius); padding: 7px 10px; font-size: 0.82rem; outline: none; }
.widget.widget_search input[type="search"]:focus { border-color: rgba(0,245,160,0.4); }
.widget.widget_search button { background: linear-gradient(135deg, var(--neon), var(--neon2)); color: #000; border: none; border-radius: var(--radius); padding: 7px 12px; cursor: pointer; font-size: 0.8rem; font-weight: 700; }

/* ── Comments ── */
.comments-area { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }

.comments-title {
  font-family: 'Orbitron', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 1.5rem;
}

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

.comment { padding: 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; }
.comment .children { list-style: none; padding-left: 2rem; margin-top: 1rem; }

.comment-meta { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; }
.comment-author-name { font-weight: 600; font-size: 0.85rem; color: var(--neon); }
.comment-date { font-size: 0.72rem; color: var(--muted); }

.comment-content { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

.reply a { font-family: 'Orbitron', monospace; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.5rem; display: inline-block; }
.reply a:hover { color: var(--neon); }

/* Comment form */
.comment-respond { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.comment-reply-title { font-family: 'Orbitron', monospace; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--neon); margin-bottom: 1.2rem; }
.comment-form label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 0.3rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  outline: none;
  font-family: 'Barlow', sans-serif;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: rgba(0,245,160,0.4); }
.comment-form textarea { min-height: 100px; resize: vertical; }
.comment-form .submit {
  background: linear-gradient(135deg, var(--neon), var(--neon2));
  color: #000;
  border: none;
  border-radius: var(--radius);
  padding: 9px 20px;
  font-family: 'Orbitron', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}
.comment-form .submit:hover { opacity: 0.85; }

/* ── Pagination ── */
.pagination, .posts-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin: 2rem 0 3rem;
}

.page-numbers, .posts-navigation a, .posts-navigation span {
  font-family: 'Orbitron', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 7px 13px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.page-numbers:hover, .posts-navigation a:hover { border-color: var(--neon); color: var(--neon); }
.page-numbers.current { background: rgba(0,245,160,0.1); border-color: var(--neon); color: var(--neon); }

/* ── Page / Static ── */
.page-content { font-size: 0.95rem; line-height: 1.8; }

/* ── 404 ── */
.error-404 { text-align: center; padding: 5rem 2rem; }
.error-404 .error-code { font-family: 'Orbitron', monospace; font-size: 6rem; font-weight: 900; color: var(--neon); opacity: 0.15; line-height: 1; }
.error-404 h1 { font-size: 1.5rem; margin-bottom: 1rem; }
.error-404 p { color: var(--muted); margin-bottom: 2rem; }
.error-404 .search-form { max-width: 400px; margin: 0 auto; display: flex; gap: 0.5rem; }
.error-404 .search-form input { flex: 1; background: var(--surface); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius); padding: 9px 14px; font-size: 0.88rem; outline: none; }
.error-404 .search-form button { background: linear-gradient(135deg, var(--neon), var(--neon2)); color: #000; border: none; border-radius: var(--radius); padding: 9px 16px; font-weight: 700; cursor: pointer; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-logo { font-family: 'Orbitron', monospace; font-size: 0.85rem; font-weight: 700; color: var(--neon); }
.footer-logo span { color: var(--text); }

.footer-note {
  font-size: 0.7rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.6;
}

.footer-nav { display: flex; gap: 1rem; }
.footer-nav a { font-size: 0.72rem; color: var(--muted); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--neon); }

/* ── Utility ── */
.text-neon { color: var(--neon); }
.text-muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 9px 18px; border-radius: var(--radius); font-family: 'Orbitron', monospace; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border: none; cursor: pointer; transition: all 0.2s; }
.btn-primary { background: linear-gradient(135deg, var(--neon), var(--neon2)); color: #000; }
.btn-primary:hover { opacity: 0.85; color: #000; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--muted); }
.btn-outline:hover { border-color: var(--neon); color: var(--neon); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .has-sidebar { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .deal-card.featured { grid-column: span 1; }
}

@media (max-width: 640px) {
  .container { padding: 0 1rem; }
  .site-header .header-inner { padding: 0 1rem; }
  .hero { padding: 20px 1rem 40px; }
  .hero h1 { font-size: 2rem; }
  .main-navigation ul { display: none; }
  .main-navigation ul.toggled { display: flex; flex-direction: column; position: absolute; top: 50px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 0.5rem; }
  .menu-toggle { display: block; }
  .post-navigation { grid-template-columns: 1fr; }
}
