/* ============================================================
   VICE CITY ROMANIA — THEME CSS
   ============================================================ */

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

:root {
  --pink:       #ff2d78;
  --pink-dark:  #c0175c;
  --cyan:       #00d4ff;
  --bg:         #08080f;
  --bg-card:    #0d0d1a;
  --border:     rgba(255, 45, 120, 0.18);
  --border-cyan:rgba(0, 212, 255, 0.18);
  --text:       #ffffff;
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-dim:   rgba(255, 255, 255, 0.25);
}

/* ── Base ─────────────────────────────────────────────────── */

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 15% 50%, rgba(255, 45, 120, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 85% 50%, rgba(0, 212, 255, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 45, 120, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 45, 120, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.scanline {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 45, 120, 0.3), rgba(0, 212, 255, 0.3), transparent);
  animation: scanline 10s linear infinite;
  pointer-events: none;
  z-index: 100;
}

@keyframes scanline {
  0%   { transform: translateY(-2px); }
  100% { transform: translateY(100vh); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.75; }
}

/* ── Typography ───────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
  line-height: 1.1;
}

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

a:hover { color: var(--pink); }

/* ── Layout wrapper ───────────────────────────────────────── */

.site-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

main { flex: 1; }

/* ── Header ───────────────────────────────────────────────── */

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

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

.site-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 3px;
  color: var(--text);
  text-decoration: none;
  text-shadow:
    0 0 12px rgba(255, 45, 120, 0.7),
    0 0 30px rgba(255, 45, 120, 0.3);
  animation: pulse-glow 4s ease-in-out infinite;
  white-space: nowrap;
}

.site-logo span { color: var(--pink); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.35rem 0.8rem;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--pink);
  background: rgba(255, 45, 120, 0.08);
}

.nav-discord {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 1rem !important;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark)) !important;
  color: #fff !important;
  border-radius: 3px;
  box-shadow: 0 2px 12px rgba(255, 45, 120, 0.35);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 45, 120, 0.55) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Countdown banner ─────────────────────────────────────── */

.countdown-banner {
  background: rgba(0, 212, 255, 0.04);
  border-bottom: 1px solid var(--border-cyan);
  padding: 0.7rem 0;
  text-align: center;
}

.countdown-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.countdown-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-right: 0.75rem;
}

.countdown-blocks {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cd-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid var(--border-cyan);
  padding: 0.15rem 0.6rem;
  min-width: 54px;
  border-radius: 3px;
}

.cd-unit {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 3px;
}

.cd-sep {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: rgba(255, 45, 120, 0.4);
  padding-bottom: 12px;
}

/* ── Hero (homepage) ──────────────────────────────────────── */

.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pink);
  border: 1px solid rgba(255, 45, 120, 0.35);
  padding: 4px 14px;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  background: rgba(255, 45, 120, 0.07);
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.92;
  color: var(--text);
  text-shadow:
    0 0 20px rgba(255, 45, 120, 0.7),
    0 0 60px rgba(255, 45, 120, 0.3),
    0 0 120px rgba(255, 45, 120, 0.12);
  letter-spacing: 3px;
  animation: pulse-glow 4s ease-in-out infinite;
  margin-bottom: 1rem;
}

.hero-title span { color: var(--pink); }

.hero-tagline {
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Big countdown (hero) ─────────────────────────────────── */

.hero-countdown {
  margin: 2.5rem auto 3rem;
  max-width: 680px;
}

.hero-countdown .countdown-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.hero-cd-blocks {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}

.hero-cd-block { display: flex; flex-direction: column; align-items: center; }

.hero-cd-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  line-height: 1;
  color: var(--cyan);
  text-shadow:
    0 0 15px rgba(0, 212, 255, 0.8),
    0 0 35px rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid var(--border-cyan);
  padding: 0.5rem 1.2rem;
  min-width: 110px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.hero-cd-num::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
}

.hero-cd-unit {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

.hero-cd-sep {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: rgba(255, 45, 120, 0.35);
  padding-bottom: 1.7rem;
}

/* ── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 2rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.btn:hover { transform: translateY(-3px); }
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 45, 120, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 10px 35px rgba(255, 45, 120, 0.6);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--border-cyan);
}

.btn-outline:hover {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.25);
  color: var(--cyan);
}

/* ── Section headings ─────────────────────────────────────── */

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 3px;
  color: var(--text);
  text-shadow: 0 0 15px rgba(255, 45, 120, 0.4);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  height: 2px;
  margin-top: 4px;
  background: linear-gradient(90deg, var(--pink), transparent);
}

.section-more {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink);
  text-decoration: none;
  transition: opacity 0.2s;
}

.section-more:hover { opacity: 0.75; color: var(--pink); }

/* ── Post cards ───────────────────────────────────────────── */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
}

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

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 120, 0.4);
  box-shadow: 0 8px 30px rgba(255, 45, 120, 0.12);
}

.post-card:hover::before { opacity: 1; }

.post-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border);
}

.post-card-image-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255, 45, 120, 0.08), transparent),
    var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 3px;
  color: rgba(255, 45, 120, 0.25);
}

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

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

.post-category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink);
  background: rgba(255, 45, 120, 0.08);
  border: 1px solid rgba(255, 45, 120, 0.2);
  padding: 2px 8px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s;
}

.post-category:hover {
  background: rgba(255, 45, 120, 0.15);
  color: var(--pink);
}

.post-date {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.post-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 0.6rem;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.post-card-title:hover { color: var(--pink); }

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

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-read-more {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s, color 0.2s;
}

.post-read-more:hover { gap: 9px; color: var(--cyan); }

.post-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2px 7px;
  border-radius: 2px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.tag:hover { color: var(--cyan); border-color: var(--border-cyan); }

/* ── Single post ──────────────────────────────────────────── */

.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  padding: 3rem 0 4rem;
}

.post-article header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.post-article .post-category { margin-bottom: 1rem; display: inline-block; }

.post-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 2px;
  color: var(--text);
  text-shadow: 0 0 20px rgba(255, 45, 120, 0.3);
  margin-bottom: 1rem;
  line-height: 1.05;
}

.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--text-dim);
  font-size: 0.85rem;
  letter-spacing: 1px;
  flex-wrap: wrap;
}

.post-meta-bar i { color: var(--pink); }

.post-cover {
  max-width: 300px;
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin: 0 auto 2.5rem;
  display: block;
}

/* Post body prose */
.post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
}

.post-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  letter-spacing: 2px;
  color: var(--text);
  text-shadow: 0 0 12px rgba(255, 45, 120, 0.35);
  margin: 2.2rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.post-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: var(--cyan);
  margin: 1.8rem 0 0.6rem;
}

.post-content p { margin-bottom: 1.2rem; }

.post-content a { color: var(--cyan); text-decoration: underline; }
.post-content a:hover { color: var(--pink); }

.post-content strong { color: var(--text); }

.post-content blockquote {
  border-left: 3px solid var(--pink);
  background: rgba(255, 45, 120, 0.05);
  padding: 0.8rem 1.2rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
  color: var(--text-muted);
  font-style: italic;
}

.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.post-content li { margin-bottom: 0.4rem; }

.post-content code {
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border-cyan);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 0.9em;
  color: var(--cyan);
}

.post-content pre {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.2rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.post-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: 0.92rem;
}

.post-content img {
  max-width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin: 1rem 0;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.post-content th {
  background: rgba(255, 45, 120, 0.08);
  border: 1px solid var(--border);
  padding: 0.6rem 0.9rem;
  text-align: left;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pink);
  font-size: 0.82rem;
}

.post-content td {
  border: 1px solid rgba(255,255,255,0.06);
  padding: 0.6rem 0.9rem;
  color: var(--text-muted);
}

.post-content tr:hover td { background: rgba(255,255,255,0.02); }

/* ── Sidebar ──────────────────────────────────────────────── */

.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.2rem 1.4rem;
}

.widget-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  text-shadow: 0 0 10px rgba(255, 45, 120, 0.3);
}

/* Sidebar countdown */
.widget-countdown {
  text-align: center;
}

.widget-cd-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.widget-cd-block { display: flex; flex-direction: column; align-items: center; }

.widget-cd-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid var(--border-cyan);
  padding: 0.3rem 0.5rem;
  width: 100%;
  border-radius: 3px;
}

.widget-cd-unit {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
}

.widget-cd-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

/* Recent posts widget */
.recent-post-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.recent-post-item:last-child { border-bottom: none; }

.recent-post-img {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.recent-post-info {}

.recent-post-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: var(--text);
  text-decoration: none;
  display: block;
  margin-bottom: 2px;
  transition: color 0.2s;
}

.recent-post-title:hover { color: var(--pink); }

.recent-post-date {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* Category widget */
.category-list { list-style: none; }

.category-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.category-list li:last-child { border-bottom: none; }

.category-list a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}

.category-list a:hover { color: var(--pink); }

.category-count {
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  padding: 1px 7px;
  border-radius: 10px;
}

/* Discord widget */
.discord-widget { text-align: center; }

.discord-widget p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* ── List page ────────────────────────────────────────────── */

.list-page { padding: 3rem 0; }

.list-header {
  text-align: center;
  margin-bottom: 3rem;
}

.list-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 3px;
  color: var(--text);
  text-shadow: 0 0 20px rgba(255, 45, 120, 0.5);
  margin-bottom: 0.5rem;
}

.list-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── Pagination ───────────────────────────────────────────── */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  padding: 0.4rem 0.9rem;
  border-radius: 3px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.pagination a:hover {
  color: var(--pink);
  border-color: rgba(255, 45, 120, 0.35);
  background: rgba(255, 45, 120, 0.05);
}

.pagination .current {
  color: var(--pink);
  border-color: rgba(255, 45, 120, 0.35);
  background: rgba(255, 45, 120, 0.08);
}

/* ── 404 ──────────────────────────────────────────────────── */

.not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.not-found-code {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 15vw, 10rem);
  color: var(--pink);
  text-shadow: 0 0 30px rgba(255, 45, 120, 0.6);
  line-height: 1;
  letter-spacing: 5px;
}

.not-found h2 {
  font-size: 2rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.not-found p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ── Footer ───────────────────────────────────────────────── */

.site-footer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .site-logo { font-size: 1.5rem; display: inline-block; margin-bottom: 0.8rem; }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 3px;
  color: var(--text);
  margin-bottom: 0.8rem;
  text-shadow: 0 0 8px rgba(255, 45, 120, 0.3);
}

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

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 45, 120, 0.08);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.social-link:hover {
  color: var(--pink);
  background: rgba(255, 45, 120, 0.12);
  border-color: rgba(255, 45, 120, 0.35);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.18);
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 900px) {
  .post-layout {
    grid-template-columns: 1fr;
  }

  .sidebar { order: -1; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(8, 8, 15, 0.97);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 50;
  }

  .site-nav.open { display: flex; }

  .site-nav a { width: 100%; padding: 0.55rem 1rem; }

  .nav-toggle { display: flex; }

  .footer-inner { grid-template-columns: 1fr; }

  .hero-cd-sep { display: none; }

  .hero-cd-num { min-width: 80px; padding: 0.4rem 0.7rem; }

  .cd-sep { display: none; }
}

@media (max-width: 500px) {
  .posts-grid { grid-template-columns: 1fr; }
}
