@import url('https://fonts.googleapis.com/css2?family=VT323&family=Press+Start+2P&family=Comfortaa:wght@400;700&display=swap');

:root {
  --r90-hot-pink: #ff1493;
  --r90-cyan: #00ffff;
  --r90-yellow: #ffff00;
  --r90-lime: #00ff00;
  --r90-purple: #9400d3;
  --r90-orange: #ff8c00;
  --r90-bg1: #ff6ec7;
  --r90-bg2: #5f27cd;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Comfortaa', 'VT323', monospace;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header / Nav */
header { background: linear-gradient(90deg, var(--r90-purple), var(--r90-hot-pink), var(--r90-orange)) !important; border-bottom: 4px double var(--r90-yellow) !important; position: sticky; top: 0; z-index: 100; }
header .container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.header-content { display: flex; justify-content: space-between; align-items: center; min-height: 76px; padding: 0.5rem 0; gap: 1rem; flex-wrap: wrap; }
.logo-link { color: var(--r90-yellow) !important; font-family: 'Press Start 2P', monospace !important; font-size: 0.95rem !important; text-decoration: none !important; text-shadow: 2px 2px 0 var(--r90-hot-pink), 4px 4px 0 #000; letter-spacing: 0.03em; line-height: 1.4; }
.logo-link:hover { color: var(--r90-cyan) !important; }
.main-nav { display: flex; align-items: center; }
.nav-links { display: flex; list-style: none; gap: 0.3rem; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-links li { margin: 0; }
.nav-links a { display: flex; align-items: center; gap: 0.35rem; color: var(--r90-yellow) !important; font-family: 'Comfortaa', sans-serif !important; font-weight: 700 !important; font-size: 0.82rem; padding: 0.5rem 0.85rem; text-decoration: none; background: rgba(0,0,0,0.35); border: 2px outset var(--r90-yellow); text-shadow: 1px 1px 0 #000; transition: all 0.1s; }
.nav-links a:hover, .nav-links a.active { background: var(--r90-yellow) !important; color: var(--r90-purple) !important; border-style: inset; text-shadow: none; }
.nav-links a i { font-size: 0.8rem; }
.menu-toggle { display: none; background: var(--r90-yellow); border: 3px outset var(--r90-hot-pink); cursor: pointer; padding: 0.5rem 0.7rem; }
.bar { display: block; width: 22px; height: 3px; margin: 4px 0; background: var(--r90-purple); transition: all 0.2s; }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: linear-gradient(180deg, var(--r90-purple), var(--r90-hot-pink)); padding: 1rem; border-bottom: 4px double var(--r90-yellow); z-index: 99; gap: 0.35rem; }
  .nav-links.active { display: flex; }
  .nav-links a { width: 100%; justify-content: flex-start; }
  .menu-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
  .menu-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Footer */
footer { background: #000 !important; border-top: 4px double var(--r90-yellow); color: var(--r90-cyan); font-family: 'VT323', monospace; font-size: 1.05rem; }
footer a { color: var(--r90-yellow) !important; text-decoration: underline; }

.r90-bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 0, 0.05) 0, rgba(255, 255, 0, 0.05) 2px, transparent 2px, transparent 10px),
    linear-gradient(135deg, var(--r90-bg2) 0%, var(--r90-hot-pink) 50%, var(--r90-orange) 100%);
}

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

/* Welcome banner */
.r90-welcome { text-align: center; padding: 2rem 1rem; background: linear-gradient(90deg, var(--r90-cyan), var(--r90-yellow), var(--r90-lime)); color: #000; border: 4px ridge var(--r90-yellow); margin-bottom: 2rem; animation: r90-shimmer 3s infinite; }
@keyframes r90-shimmer {
  0%, 100% { box-shadow: 0 0 20px var(--r90-hot-pink); }
  50% { box-shadow: 0 0 40px var(--r90-cyan); }
}
.r90-welcome-title { font-family: 'Press Start 2P', monospace; font-size: clamp(0.9rem, 2.5vw, 1.6rem); color: var(--r90-purple); text-shadow: 3px 3px 0 var(--r90-yellow), 6px 6px 0 var(--r90-hot-pink); letter-spacing: 0.02em; line-height: 1.5; margin: 1rem 0; }
.r90-stars { color: var(--r90-hot-pink); font-weight: 700; letter-spacing: 0.3em; font-size: 1rem; animation: r90-blink 1.2s infinite; }
@keyframes r90-blink { 50% { opacity: 0.5; } }
.r90-marquee { background: #000; color: var(--r90-lime); padding: 0.6rem; font-family: 'VT323', monospace; font-size: 1.3rem; border: 2px inset var(--r90-cyan); margin: 1rem 0; letter-spacing: 0.05em; }
.r90-counter { display: inline-block; background: #000; color: var(--r90-lime); font-family: 'VT323', monospace; font-size: 1.4rem; padding: 0.3rem 1rem; border: 2px inset var(--r90-yellow); margin-top: 0.5rem; letter-spacing: 0.1em; }

/* Boxes */
.r90-box { border: 4px ridge var(--r90-yellow); margin-bottom: 2rem; background: rgba(0,0,0,0.6); }
.r90-box-hot { border-color: var(--r90-hot-pink); box-shadow: 0 0 25px rgba(255, 20, 147, 0.5); }
.r90-box-posts { border-color: var(--r90-cyan); }
.r90-box-cats { border-color: var(--r90-lime); }
.r90-box-head { background: linear-gradient(90deg, var(--r90-hot-pink), var(--r90-purple)); padding: 0.7rem 1rem; font-family: 'Press Start 2P', monospace; font-size: 0.85rem; color: var(--r90-yellow); text-shadow: 2px 2px 0 #000; letter-spacing: 0.05em; text-align: center; border-bottom: 2px dashed var(--r90-yellow); }
.r90-box-inner { padding: 1.5rem; }

/* Hero */
.r90-hero-link { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem; text-decoration: none; color: #fff; align-items: center; }
.r90-hero-img { width: 100%; height: 340px; object-fit: cover; border: 4px solid var(--r90-yellow); box-shadow: 6px 6px 0 var(--r90-hot-pink); }
.r90-hero-title { font-family: 'Comfortaa', sans-serif; font-weight: 700; font-size: 2rem; line-height: 1.15; color: var(--r90-yellow); margin: 0.5rem 0 1rem; text-shadow: 3px 3px 0 var(--r90-hot-pink), 6px 6px 0 #000; }
.r90-hero-meta { color: var(--r90-cyan); font-family: 'VT323', monospace; font-size: 1.15rem; margin-bottom: 1rem; }
.r90-badge { display: inline-block; background: var(--r90-lime); color: #000; padding: 0.25rem 0.7rem; font-family: 'Press Start 2P', monospace; font-size: 0.55rem; letter-spacing: 0.08em; margin-bottom: 0.6rem; border: 2px outset var(--r90-yellow); }
.r90-btn { display: inline-block; padding: 0.8rem 1.6rem; background: var(--r90-yellow); color: #000; font-family: 'Press Start 2P', monospace; font-size: 0.8rem; text-decoration: none; border: 3px outset var(--r90-hot-pink); margin-top: 0.5rem; transition: transform 0.1s; }
.r90-hero-link:hover .r90-btn { transform: scale(1.05); background: var(--r90-hot-pink); color: var(--r90-yellow); border-style: inset; }

/* Cards grid */
.r90-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; padding: 1.5rem; }
.r90-card { display: block; background: #fff; color: #000; text-decoration: none; border: 3px outset var(--r90-cyan); transition: all 0.15s; }
.r90-card:hover { border-style: inset; transform: translate(2px, 2px); box-shadow: -4px -4px 0 var(--r90-hot-pink); }
.r90-card-img { position: relative; overflow: hidden; }
.r90-card-img img { width: 100%; height: 180px; object-fit: cover; display: block; filter: saturate(1.2); }
.r90-card-flag { position: absolute; top: 0.5rem; right: -0.6rem; background: var(--r90-hot-pink); color: var(--r90-yellow); padding: 0.25rem 0.7rem; font-family: 'Press Start 2P', monospace; font-size: 0.55rem; transform: rotate(8deg); letter-spacing: 0.05em; border: 2px solid var(--r90-yellow); }
.r90-card-body { padding: 0.85rem 1rem 1rem; background: linear-gradient(180deg, #fff 0%, var(--r90-cyan) 100%); }
.r90-card-title { font-family: 'Comfortaa', sans-serif; font-weight: 700; font-size: 1rem; line-height: 1.2; color: var(--r90-purple); margin: 0.35rem 0 0.5rem; }
.r90-card-meta { font-family: 'VT323', monospace; font-size: 1rem; color: var(--r90-purple); }

/* Cat grid */
.r90-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; padding: 1.5rem; }
.r90-cat-link { display: block; padding: 1rem; text-align: center; text-decoration: none; font-family: 'Press Start 2P', monospace; font-size: 0.65rem; letter-spacing: 0.03em; border: 3px outset #fff; transition: all 0.15s; line-height: 1.4; }
.r90-cat-link:hover { border-style: inset; transform: translate(2px, 2px); }
.r90-cat-0 { background: var(--r90-hot-pink); color: var(--r90-yellow); }
.r90-cat-1 { background: var(--r90-cyan); color: var(--r90-purple); }
.r90-cat-2 { background: var(--r90-lime); color: var(--r90-hot-pink); }
.r90-cat-3 { background: var(--r90-yellow); color: var(--r90-purple); }

/* Breadcrumb */
.r90-breadcrumb { color: var(--r90-yellow); font-family: 'VT323', monospace; font-size: 1.1rem; margin-bottom: 1.5rem; text-align: center; }
.r90-breadcrumb a { color: var(--r90-cyan); text-decoration: underline; }

/* Post page */
.r90-post-header { text-align: center; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 2px dashed var(--r90-yellow); }
.r90-post-title { font-family: 'Comfortaa', sans-serif; font-weight: 700; font-size: clamp(1.5rem, 4vw, 2.6rem); line-height: 1.15; color: var(--r90-yellow); text-shadow: 3px 3px 0 var(--r90-hot-pink), 6px 6px 0 #000; margin: 0.7rem 0; }
.r90-post-meta { color: var(--r90-cyan); font-family: 'VT323', monospace; font-size: 1.15rem; }
.r90-post-img { margin: 1rem 0 2rem; text-align: center; }
.r90-post-img img { max-width: 100%; border: 4px ridge var(--r90-hot-pink); box-shadow: 6px 6px 0 var(--r90-yellow); }
.r90-post-body { font-size: 1.08rem; line-height: 1.75; color: #fff; background: rgba(0,0,0,0.3); padding: 1.5rem; border: 2px dashed var(--r90-cyan); border-radius: 4px; }
.r90-post-body h2 { color: var(--r90-hot-pink); font-family: 'Comfortaa', sans-serif; font-weight: 700; text-shadow: 2px 2px 0 #000; margin-top: 2rem; }
.r90-post-body h3 { color: var(--r90-cyan); font-family: 'Comfortaa', sans-serif; font-weight: 700; }
.r90-post-body a { color: var(--r90-yellow); text-decoration: underline; }
.r90-post-body blockquote { border-left: 4px solid var(--r90-lime); padding: 0.5rem 1rem; margin: 1.5rem 0; background: rgba(0,255,0,0.08); color: var(--r90-lime); font-style: italic; }
.r90-post-body strong { color: var(--r90-yellow); }
.r90-post-footer { text-align: center; margin-top: 2rem; padding-top: 1rem; border-top: 2px dashed var(--r90-yellow); }

.r90-cat-intro { margin-bottom: 2rem; }
.r90-signature { text-align: center; padding: 2rem 1rem; color: var(--r90-yellow); font-family: 'Press Start 2P', monospace; font-size: 0.9rem; margin: 2rem 0; }
.r90-empty { text-align: center; font-family: 'VT323', monospace; font-size: 1.5rem; color: var(--r90-yellow); padding: 3rem; }

/* Responsive */
@media (max-width: 900px) {
  .r90-hero-link { grid-template-columns: 1fr; }
  .r90-hero-img { height: 260px; }
  .r90-hero-title { font-size: 1.3rem; }
  .r90-grid { grid-template-columns: repeat(2, 1fr); padding: 1rem; }
  .r90-cat-grid { grid-template-columns: repeat(2, 1fr); padding: 1rem; }
  .r90-welcome-title { font-size: 0.9rem; }
}
@media (max-width: 560px) {
  .r90-grid { grid-template-columns: 1fr; }
  .r90-cat-grid { grid-template-columns: 1fr; }
}
