/*
Theme Name: PEPEP — Pepe Pixel
Theme URI: https://t.me/thepepepixel
Author: PEPEP
Author URI: https://t.me/thepepepixel
Description: Official WordPress theme for #PEPEP — Pepe Pixel memecoin. Lower Resolution. Higher Revolution.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: pixel, meme, crypto, retro, one-column, full-width-template, custom-menu
Text Domain: pepep
*/

/* ─────────────────────────────────────────────
   ROOT VARIABLES
───────────────────────────────────────────── */
:root {
  --green:  #39ff14;
  --dark:   #0a0a0a;
  --darker: #050505;
  --mid:    #111;
  --frog:   #3dbd4a;
  --frog2:  #2a8c35;
  --yellow: #f5e642;
  --red:    #ff3c3c;
  --blue:   #3cc8ff;
  --white:  #e8ffe8;
  --pixel:  'Press Start 2P', monospace;
  --vt:     'VT323', monospace;
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--darker);
  color: var(--white);
  font-family: var(--pixel);
  overflow-x: hidden;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Crect width='4' height='4' fill='%2339ff14'/%3E%3Crect x='4' width='4' height='4' fill='%2339ff14'/%3E%3Crect x='8' width='4' height='4' fill='%2339ff14'/%3E%3Crect y='4' width='4' height='4' fill='%2339ff14'/%3E%3Crect x='4' y='8' width='4' height='4' fill='%2339ff14'/%3E%3Crect x='8' y='4' width='4' height='4' fill='%2339ff14'/%3E%3Crect x='4' y='12' width='4' height='4' fill='%2339ff14'/%3E%3C/svg%3E") 0 0, crosshair;
}

/* ── SCANLINE OVERLAY ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.18) 2px,
    rgba(0,0,0,0.18) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ── PIXEL NOISE GRAIN ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.4;
}

/* ── PIXEL BOX UTILITY ── */
.pixel-box {
  border: 4px solid var(--green);
  box-shadow: 4px 4px 0 0 var(--frog2), inset 0 0 0 2px rgba(57,255,20,0.1);
  image-rendering: pixelated;
}
.pixel-box-red    { border-color: var(--red);    box-shadow: 4px 4px 0 0 #8b0000; }
.pixel-box-blue   { border-color: var(--blue);   box-shadow: 4px 4px 0 0 #005080; }
.pixel-box-yellow { border-color: var(--yellow); box-shadow: 4px 4px 0 0 #806e00; }

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5,5,5,0.95);
  border-bottom: 4px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
}
nav .logo {
  font-family: var(--pixel);
  font-size: 0.75rem;
  color: var(--green);
  text-shadow: 0 0 12px var(--green);
  text-decoration: none;
  animation: blink-logo 3s step-end infinite;
}
@keyframes blink-logo {
  0%,90%,100% { opacity: 1; }
  93% { opacity: 0; }
}
nav ul { list-style: none; display: flex; gap: 24px; }
nav ul li a {
  font-family: var(--pixel);
  font-size: 0.5rem;
  color: var(--white);
  text-decoration: none;
  transition: color 0.1s;
}
nav ul li a:hover { color: var(--green); text-shadow: 0 0 8px var(--green); }

/* Nav buy button */
.nav-buy {
  font-family: var(--pixel);
  font-size: 0.45rem;
  background: var(--green);
  color: #000 !important;
  padding: 8px 14px;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.1s;
  white-space: nowrap;
  animation: none !important;
}
.nav-buy:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #000;
  color: #000 !important;
  text-shadow: none !important;
}

/* Hamburger menu for mobile */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--green);
  color: var(--green);
  font-family: var(--pixel);
  font-size: 0.6rem;
  padding: 6px 10px;
  cursor: pointer;
}

/* ─────────────────────────────────────────────
   STICKY BUY BUTTON
───────────────────────────────────────────── */
.sticky-buy {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  font-family: var(--pixel);
  font-size: 0.55rem;
  background: var(--green);
  color: #000;
  padding: 14px 20px;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
  text-decoration: none;
  animation: sticky-pulse 2s ease-in-out infinite;
  display: block;
}
.sticky-buy:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 #000;
  color: #000;
  animation: none;
}
@keyframes sticky-pulse {
  0%,100% { box-shadow: 6px 6px 0 #000; }
  50%      { box-shadow: 6px 6px 0 #000, 0 0 20px rgba(57,255,20,0.5); }
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(57,255,20,0.07) 0%, transparent 70%),
    var(--darker);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57,255,20,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,20,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: grid-drift 20s linear infinite;
}
@keyframes grid-drift {
  from { background-position: 0 0; }
  to   { background-position: 32px 32px; }
}
.pepe-wrap {
  position: relative;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-16px); }
}
.pepe-sprite {
  width: 200px;
  height: 200px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 24px rgba(57,255,20,0.6));
}
.hero-title {
  font-family: var(--pixel);
  font-size: clamp(1.6rem, 5vw, 3.5rem);
  color: var(--green);
  text-shadow: 4px 4px 0 #1a5c00, 0 0 40px rgba(57,255,20,0.5);
  letter-spacing: 4px;
  margin-top: 32px;
  text-align: center;
  animation: title-in 0.8s steps(1) both;
  z-index: 2;
  position: relative;
}
@keyframes title-in {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}
.hero-subtitle {
  font-family: var(--vt);
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--yellow);
  margin-top: 12px;
  text-align: center;
  letter-spacing: 3px;
  z-index: 2;
  position: relative;
}
.hero-tagline {
  font-family: var(--pixel);
  font-size: 0.55rem;
  color: var(--frog);
  margin-top: 20px;
  text-align: center;
  line-height: 2;
  z-index: 2;
  position: relative;
  max-width: 520px;
}
.hero-tagline span { color: var(--green); }
.cta-row {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 2;
  position: relative;
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  font-family: var(--pixel);
  font-size: 0.6rem;
  padding: 14px 24px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.1s;
  letter-spacing: 1px;
}
.btn:active { transform: translate(4px, 4px) !important; }
.btn-primary {
  background: var(--green);
  color: #000;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
}
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 #000; color: #000; }
.btn-secondary {
  background: transparent;
  color: var(--green);
  border: 4px solid var(--green);
  box-shadow: 6px 6px 0 var(--frog2);
}
.btn-secondary:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--frog2); }
.btn-buy {
  background: var(--yellow);
  color: #000;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #806e00;
  animation: btn-buy-pulse 2s ease-in-out infinite;
}
.btn-buy:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 #806e00; color: #000; animation: none; }
@keyframes btn-buy-pulse {
  0%,100% { box-shadow: 6px 6px 0 #806e00; }
  50%     { box-shadow: 6px 6px 0 #806e00, 0 0 18px rgba(245,230,66,0.5); }
}

/* ─────────────────────────────────────────────
   TICKER
───────────────────────────────────────────── */
.ticker-wrap {
  width: 100%;
  background: var(--green);
  overflow: hidden;
  padding: 10px 0;
  border-top: 4px solid #000;
  border-bottom: 4px solid #000;
}
.ticker-inner {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: ticker 18s linear infinite;
}
.ticker-inner span {
  font-family: var(--pixel);
  font-size: 0.55rem;
  color: #000;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────
   SECTIONS
───────────────────────────────────────────── */
section { padding: 80px 20px; }
.section-title {
  font-family: var(--pixel);
  font-size: clamp(0.9rem, 2.5vw, 1.4rem);
  color: var(--green);
  text-shadow: 3px 3px 0 #1a5c00;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 3px;
}
.section-sub {
  font-family: var(--vt);
  font-size: 1.3rem;
  color: var(--frog);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 2px;
}

/* ── ABOUT ── */
.about {
  background: var(--mid);
  border-top: 4px solid var(--green);
  border-bottom: 4px solid var(--green);
}
.about-inner { max-width: 880px; margin: 0 auto; }
.compression-stages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.stage-card { padding: 24px 20px; text-align: center; }
.stage-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 16px;
  animation: pulse-icon 2s ease-in-out infinite;
}
@keyframes pulse-icon {
  0%,100% { filter: drop-shadow(0 0 4px transparent); }
  50%     { filter: drop-shadow(0 0 12px var(--green)); }
}
.stage-card h3 {
  font-family: var(--pixel);
  font-size: 0.55rem;
  color: var(--yellow);
  margin-bottom: 12px;
  line-height: 1.8;
}
.stage-card p {
  font-family: var(--vt);
  font-size: 1.1rem;
  color: rgba(232,255,232,0.75);
  line-height: 1.5;
}

/* ── NARRATIVE ── */
.narrative { max-width: 760px; margin: 0 auto; }
.narrative-block {
  padding: 28px;
  margin-bottom: 20px;
  position: relative;
  animation: fade-up 0.6s ease both;
}
.narrative-block::before {
  content: '▶';
  font-family: var(--pixel);
  font-size: 0.5rem;
  color: var(--green);
  position: absolute;
  top: 28px; left: -6px;
}
.narrative-block p {
  font-family: var(--vt);
  font-size: 1.25rem;
  color: rgba(232,255,232,0.85);
  line-height: 1.7;
}
.narrative-block p em {
  color: var(--green);
  font-style: normal;
  font-weight: bold;
}

/* ── TOKENOMICS ── */
.tokenomics-section { background: var(--darker); }
.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.token-card { padding: 28px 20px; text-align: center; }
.token-num {
  font-family: var(--pixel);
  font-size: clamp(1rem, 3vw, 1.8rem);
  margin-bottom: 10px;
  display: block;
}
.token-label {
  font-family: var(--pixel);
  font-size: 0.45rem;
  color: rgba(232,255,232,0.6);
  line-height: 2;
  letter-spacing: 1px;
}
.ca-box {
  max-width: 700px;
  margin: 40px auto 0;
  padding: 20px 28px;
  text-align: center;
}
.ca-label {
  font-family: var(--pixel);
  font-size: 0.45rem;
  color: var(--frog);
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.ca-address {
  font-family: var(--vt);
  font-size: 1.1rem;
  color: var(--green);
  word-break: break-all;
  letter-spacing: 1px;
}
.ca-copy {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--pixel);
  font-size: 0.4rem;
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  padding: 8px 14px;
  cursor: pointer;
  transition: transform 0.1s;
}
.ca-copy:hover { transform: translate(-2px,-2px); }

/* ── ROADMAP / LEVELS ── */
.levels-section { background: var(--mid); border-top: 4px solid var(--green); border-bottom: 4px solid var(--green); }
.levels-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.level-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 2px dashed rgba(57,255,20,0.2);
  position: relative;
  overflow: hidden;
}
.level-item:last-child { border-bottom: none; }
.level-num {
  font-family: var(--pixel);
  font-size: 0.8rem;
  color: var(--green);
  min-width: 100px;
  text-shadow: 0 0 12px var(--green);
  padding-top: 4px;
}
.level-content h3 {
  font-family: var(--pixel);
  font-size: 0.6rem;
  color: var(--yellow);
  margin-bottom: 10px;
  line-height: 1.8;
}
.level-content p {
  font-family: var(--vt);
  font-size: 1.1rem;
  color: rgba(232,255,232,0.7);
  line-height: 1.6;
}
.level-badge {
  margin-left: auto;
  background: var(--green);
  color: #000;
  font-family: var(--pixel);
  font-size: 0.4rem;
  padding: 6px 10px;
  white-space: nowrap;
  align-self: center;
  animation: badge-glow 2s ease-in-out infinite;
}
@keyframes badge-glow {
  0%,100% { box-shadow: 0 0 0 rgba(57,255,20,0); }
  50%      { box-shadow: 0 0 14px rgba(57,255,20,0.7); }
}
.level-badge.locked { background: #333; color: #666; animation: none; }

/* ── MANIFESTO ── */
.manifesto-section { background: var(--darker); text-align: center; }
.manifesto-box {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px;
  position: relative;
}
.manifesto-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 32px;
  border-top: 6px solid var(--green);
  border-left: 6px solid var(--green);
}
.manifesto-box::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 32px; height: 32px;
  border-bottom: 6px solid var(--green);
  border-right: 6px solid var(--green);
}
.manifesto-text {
  font-family: var(--vt);
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 24px;
}
.manifesto-text strong { color: var(--green); }
.manifesto-slogan {
  font-family: var(--pixel);
  font-size: clamp(0.6rem, 2vw, 1rem);
  color: var(--yellow);
  text-shadow: 3px 3px 0 #806e00;
  letter-spacing: 3px;
  animation: slogan-blink 4s step-end infinite;
}
@keyframes slogan-blink {
  0%,94%,100% { opacity: 1; } 96% { opacity: 0; }
}

/* ── COMMUNITY ── */
.community-section { background: var(--mid); border-top: 4px solid var(--green); }
.social-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
}
.social-card {
  padding: 28px 32px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.1s;
  min-width: 160px;
}
.social-card:hover { transform: translate(-4px,-4px); }
.social-card .s-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.social-card .s-name {
  font-family: var(--pixel);
  font-size: 0.55rem;
  color: var(--green);
}

/* ── GAMES TEASER (front page) ── */
.games-teaser-section {
  background: var(--darker);
  padding: 80px 20px;
  border-top: 4px solid var(--green);
}
.games-teaser-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: center;
  padding: 36px;
  background: var(--mid);
}
.games-teaser-thumb {
  flex: 0 0 220px;
  height: 154px;
  overflow: hidden;
  border: 2px solid var(--green);
}
.games-teaser-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.games-teaser-title {
  font-family: var(--pixel);
  font-size: clamp(0.65rem, 2vw, 1rem);
  color: var(--green);
  text-shadow: 3px 3px 0 #1a5c00;
}
.games-teaser-sub {
  font-family: var(--pixel);
  font-size: 0.38rem;
  color: var(--yellow);
  line-height: 2.2;
}
.games-teaser-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.games-teaser-list li {
  font-family: var(--pixel);
  font-size: 0.32rem;
  color: rgba(232,255,232,0.65);
}
@media (max-width: 640px) {
  .games-teaser-inner { flex-direction: column; gap: 24px; }
  .games-teaser-thumb { flex: none; width: 100%; height: 120px; }
}

/* ── PIXEL PROGRESS BAR ── */
.pixel-progress {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin: 40px 0 0;
}
.pixel-block {
  width: 20px; height: 20px;
  background: var(--green);
  opacity: 0;
  animation: fill-block 0.15s steps(1) forwards;
}
.pixel-block:nth-child(1)  { animation-delay: 0.10s; }
.pixel-block:nth-child(2)  { animation-delay: 0.25s; }
.pixel-block:nth-child(3)  { animation-delay: 0.40s; }
.pixel-block:nth-child(4)  { animation-delay: 0.55s; }
.pixel-block:nth-child(5)  { animation-delay: 0.70s; }
.pixel-block:nth-child(6)  { animation-delay: 0.85s; }
.pixel-block:nth-child(7)  { animation-delay: 1.00s; }
.pixel-block:nth-child(8)  { animation-delay: 1.15s; }
.pixel-block:nth-child(9)  { animation-delay: 1.30s; }
.pixel-block:nth-child(10) { animation-delay: 1.45s; }
@keyframes fill-block { to { opacity: 1; } }

/* ── GLITCH EFFECT ── */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
}
.glitch::before {
  color: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  transform: translateX(-4px);
  animation: glitch-top 4s step-end infinite;
}
.glitch::after {
  color: var(--blue);
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  transform: translateX(4px);
  animation: glitch-bot 4s step-end infinite;
}
@keyframes glitch-top {
  0%,90%,100% { transform: translateX(-4px); opacity: 0.8; }
  92% { transform: translateX(6px); opacity: 1; }
  94% { transform: translateX(-4px); opacity: 0.8; }
}
@keyframes glitch-bot {
  0%,88%,100% { transform: translateX(4px); opacity: 0.8; }
  90% { transform: translateX(-6px); opacity: 1; }
  93% { transform: translateX(4px); opacity: 0.8; }
}

/* ── REVEAL ANIMATION ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up  { animation: fade-up 0.7s ease both; }
.delay-1  { animation-delay: 0.15s; }
.delay-2  { animation-delay: 0.30s; }
.delay-3  { animation-delay: 0.45s; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer {
  background: #000;
  border-top: 4px solid var(--green);
  padding: 40px 20px;
  text-align: center;
}
.site-footer p {
  font-family: var(--pixel);
  font-size: 0.4rem;
  color: rgba(57,255,20,0.5);
  line-height: 2.5;
}
.site-footer p span { color: var(--green); }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--pixel);
  font-size: 0.4rem;
  color: var(--frog);
  text-decoration: none;
}
.footer-links a:hover { color: var(--green); }

/* ─────────────────────────────────────────────
   BLOG
───────────────────────────────────────────── */
.blog-section {
  background: var(--darker);
  min-height: 70vh;
  padding: 120px 20px 80px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 48px auto 0;
}
.blog-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.1s;
  background: var(--mid);
  overflow: hidden;
}
.blog-card:hover { transform: translate(-4px, -4px); }
.blog-card__img-link { display: block; text-decoration: none; flex-shrink: 0; }
.blog-card .post-thumb,
.blog-card .post-thumb-placeholder {
  width: 100%;
  height: 180px;
  display: block;
}
.blog-card .post-thumb {
  object-fit: cover;
  image-rendering: pixelated;
  filter: saturate(0.8) contrast(1.1);
  border-bottom: 2px solid var(--green);
}
.blog-card .post-thumb-placeholder {
  background: repeating-linear-gradient(
    45deg,
    #0a1a0a 0px, #0a1a0a 10px,
    #0d220d 10px, #0d220d 20px
  );
  border-bottom: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: 0.3;
}
.blog-card .post-thumb-placeholder::after { content: '🐸'; }
.blog-card__body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.blog-card .post-cat {
  font-family: var(--pixel);
  font-size: 0.38rem;
  color: var(--green);
  text-transform: uppercase;
}
.blog-card .post-cat a { color: var(--green); text-decoration: none; }
.blog-card .post-cat a:hover { text-decoration: underline; }
.blog-card .post-title {
  font-family: var(--pixel);
  font-size: 0.6rem;
  line-height: 1.8;
}
.blog-card .post-title a { color: var(--white); text-decoration: none; }
.blog-card .post-title a:hover { color: var(--green); }
.blog-card .post-excerpt {
  font-family: var(--vt);
  font-size: 1.1rem;
  color: rgba(232,255,232,0.65);
  line-height: 1.5;
  flex: 1;
}
.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.blog-card .post-meta {
  font-family: var(--pixel);
  font-size: 0.35rem;
  color: rgba(57,255,20,0.5);
}
.blog-card .post-read-more {
  font-family: var(--pixel);
  font-size: 0.38rem;
  color: var(--green);
  text-decoration: none;
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
}
.blog-card .post-read-more:hover { color: var(--yellow); border-color: var(--yellow); }
/* Twitter/X social card */
.social-card .s-icon-x { font-family: serif; font-weight: 900; font-size: 1.8rem; color: var(--blue); }
.social-card .s-name-x { color: var(--blue); }
.blog-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}
.blog-pagination a,
.blog-pagination span {
  font-family: var(--pixel);
  font-size: 0.45rem;
  padding: 10px 16px;
  border: 3px solid var(--green);
  color: var(--green);
  text-decoration: none;
  transition: transform 0.1s;
}
.blog-pagination a:hover { transform: translate(-2px,-2px); background: var(--green); color: #000; }
.blog-pagination .current { background: var(--green); color: #000; }

/* ── SINGLE POST ── */
.single-post {
  background: var(--darker);
  min-height: 70vh;
  padding: 120px 20px 80px;
}
.single-post-inner {
  max-width: 800px;
  margin: 0 auto;
}
.post-header { margin-bottom: 40px; }
.post-header .post-cat {
  font-family: var(--pixel);
  font-size: 0.4rem;
  color: var(--green);
  display: block;
  margin-bottom: 16px;
}
.post-header h1 {
  font-family: var(--pixel);
  font-size: clamp(0.9rem, 2.5vw, 1.5rem);
  color: var(--white);
  line-height: 1.8;
  text-shadow: 3px 3px 0 var(--frog2);
  margin-bottom: 16px;
}
.post-header .post-meta {
  font-family: var(--pixel);
  font-size: 0.38rem;
  color: rgba(57,255,20,0.5);
}
.post-feat-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  image-rendering: pixelated;
  margin-bottom: 40px;
  border: 4px solid var(--green);
  box-shadow: 8px 8px 0 var(--frog2);
  filter: saturate(0.85) contrast(1.1);
}
.post-content {
  font-family: var(--vt);
  font-size: 1.3rem;
  color: rgba(232,255,232,0.85);
  line-height: 1.8;
}
.post-content h2, .post-content h3 {
  font-family: var(--pixel);
  color: var(--green);
  margin: 32px 0 16px;
  line-height: 1.8;
}
.post-content h2 { font-size: 0.85rem; }
.post-content h3 { font-size: 0.65rem; }
.post-content p { margin-bottom: 20px; }
.post-content a { color: var(--green); text-decoration: underline; }
.post-content a:hover { color: var(--yellow); }
.post-content ul, .post-content ol {
  margin: 0 0 20px 28px;
  line-height: 2;
}
.post-content blockquote {
  border-left: 6px solid var(--green);
  margin: 28px 0;
  padding: 16px 24px;
  background: var(--mid);
  font-style: normal;
  color: var(--green);
}
.post-content img {
  max-width: 100%;
  image-rendering: pixelated;
  border: 4px solid var(--green);
  box-shadow: 4px 4px 0 var(--frog2);
  margin: 16px 0;
}
.post-content pre {
  background: var(--mid);
  border: 2px solid var(--green);
  padding: 20px;
  overflow-x: auto;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.back-to-blog {
  display: inline-block;
  margin-top: 48px;
  font-family: var(--pixel);
  font-size: 0.5rem;
  color: var(--green);
  text-decoration: none;
  border: 3px solid var(--green);
  padding: 10px 18px;
  transition: transform 0.1s;
}
.back-to-blog:hover { transform: translate(-3px,-3px); background: var(--green); color: #000; }

/* ── PAGE TEMPLATE ── */
.page-content-section {
  background: var(--darker);
  min-height: 70vh;
  padding: 120px 20px 80px;
}
.page-content-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px;
}
.page-content-inner h1 {
  font-family: var(--pixel);
  font-size: clamp(0.9rem, 2.5vw, 1.4rem);
  color: var(--green);
  text-shadow: 3px 3px 0 #1a5c00;
  margin-bottom: 32px;
  line-height: 1.8;
}
.page-content-inner .entry-content {
  font-family: var(--vt);
  font-size: 1.3rem;
  color: rgba(232,255,232,0.85);
  line-height: 1.8;
}
.page-content-inner .entry-content h2 {
  font-family: var(--pixel);
  font-size: 0.8rem;
  color: var(--green);
  margin: 28px 0 14px;
  line-height: 1.8;
}
.page-content-inner .entry-content a { color: var(--green); }
.page-content-inner .entry-content p { margin-bottom: 20px; }

/* ── 404 ── */
.error-404-section {
  background: var(--darker);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 120px 20px 80px;
  text-align: center;
}
.error-404-section h1 {
  font-family: var(--pixel);
  font-size: clamp(2rem, 8vw, 5rem);
  color: var(--red);
  text-shadow: 6px 6px 0 #8b0000;
  margin-bottom: 16px;
}
.error-404-section p {
  font-family: var(--vt);
  font-size: 1.5rem;
  color: var(--frog);
  margin-bottom: 32px;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 768px) {
  nav .nav-links { display: none; }
  nav .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(5,5,5,0.98); border-bottom: 4px solid var(--green); padding: 20px 28px; gap: 16px; }
  .nav-toggle { display: block; }
  .level-item { flex-direction: column; }
  .level-badge { margin-left: 0; }
  .manifesto-box { padding: 32px 20px; }
  .sticky-buy { bottom: 12px; right: 12px; font-size: 0.45rem; padding: 10px 14px; }
}
@media (max-width: 480px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   WP CORE / BLOCK EDITOR COMPATIBILITY
───────────────────────────────────────────── */
.wp-caption { max-width: 100%; }
.alignleft  { float: left; margin: 0 20px 10px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.aligncenter { display: block; margin: 0 auto 20px; }
img.alignleft, img.alignright { max-width: 50%; }
