/*
Theme Name: Acid Interests
Theme URI: https://localwp.com/
Author: Antigravity & User
Description: Acid / Cyber Web Design theme for WordPress. Gutenberg ready, featuring Nazuna Shrine, The Binding of Isaac Top 5 Pedestal, Lil Darkie, Rust programming, and favorite food ranking.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: MIT
Text Domain: acid-interests
Tags: block-patterns, custom-colors, full-site-editing, portfolio, dark-mode, acid-graphics
*/

/* ==========================================================================
   ACID / CYBER DESIGN SYSTEM (NEW PALETTE: ELECTRIC CYAN + VIOLET + CHARTREUSE)
   ========================================================================== */

:root {
  /* Surfaces */
  --acid-bg: #090a0f;
  --acid-bg-alt: #10121a;
  --acid-card: #151824;
  --acid-card-hover: #1c2030;
  --acid-border: #232738;
  
  /* Refined Acid Accents */
  --acid-cyan: #00f5d4;         /* Electric Mint Cyan - Primary */
  --acid-violet: #8a2be2;       /* Cyber Violet - Secondary */
  --acid-chartreuse: #d4ff00;   /* Toxic Chartreuse */
  --acid-coral: #ff2a6d;        /* Hyper Coral */
  --acid-blue: #05d9e8;         /* High Voltage Blue */

  /* Text */
  --acid-text: #e6e8f2;
  --acid-text-muted: #8e92a8;
  --acid-text-dim: #5c6075;

  /* Typography */
  --font-display: 'Impact', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'Consolas', 'Courier New', monospace;

  /* Brutalist Shadows & Glows */
  --shadow-cyan: 4px 4px 0px var(--acid-cyan);
  --shadow-violet: 4px 4px 0px var(--acid-violet);
  --shadow-chartreuse: 4px 4px 0px var(--acid-chartreuse);
  --shadow-coral: 4px 4px 0px var(--acid-coral);
  --glow-cyan: 0 0 24px rgba(0, 245, 212, 0.35);

  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--acid-bg);
  color: var(--acid-text);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  background-color: var(--acid-bg);
  color: var(--acid-text);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient psychedelic background orbs */
.psychedelic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.acid-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.16;
  animation: floatOrb 20s ease-in-out infinite alternate;
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: var(--acid-cyan);
  top: -120px;
  left: -100px;
}

.orb-2 {
  width: 650px;
  height: 650px;
  background: var(--acid-violet);
  bottom: 5%;
  right: -150px;
  animation-duration: 24s;
  animation-direction: alternate-reverse;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--acid-chartreuse);
  top: 45%;
  left: 25%;
  animation-duration: 28s;
  opacity: 0.1;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 30px) scale(1.1); }
  100% { transform: translate(-30px, 60px) scale(0.95); }
}

/* Typography Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
h4 { font-size: 1.25rem; }

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

a:hover {
  color: var(--acid-chartreuse);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: none !important;
  transform: none !important;
}

img:hover {
  transform: none !important;
}

/* ==========================================================================
   UTILITIES & BADGES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.acid-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #0d0f17;
  border: 1px solid var(--acid-cyan);
  color: var(--acid-cyan);
  box-shadow: 2px 2px 0px var(--acid-cyan);
  margin-bottom: 12px;
}

.acid-badge.violet {
  border-color: var(--acid-violet);
  color: #c77dff;
  box-shadow: 2px 2px 0px var(--acid-violet);
}

.acid-badge.chartreuse {
  border-color: var(--acid-chartreuse);
  color: var(--acid-chartreuse);
  box-shadow: 2px 2px 0px var(--acid-chartreuse);
}

.acid-badge.coral {
  border-color: var(--acid-coral);
  color: var(--acid-coral);
  box-shadow: 2px 2px 0px var(--acid-coral);
}

/* Buttons - Unified Dark Aesthetic (Black Background) */
.acid-btn,
.acid-btn.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #000000;
  color: #ffffff;
  border: 1px solid var(--acid-border);
  box-shadow: 4px 4px 0px #000000;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700;
  text-decoration: none;
}

.acid-btn:hover,
.acid-btn.secondary:hover {
  background: #0d101d;
  color: var(--acid-cyan);
  border-color: var(--acid-cyan);
  box-shadow: 4px 4px 0px var(--acid-cyan);
  transform: translate(-2px, -2px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 10, 15, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--acid-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.85rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}

.logo-symbol {
  width: 32px;
  height: 32px;
  background: var(--acid-cyan);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 2px 2px 0px var(--acid-violet);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-nav a {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--acid-text-muted);
  padding: 6px 12px;
  border: 1px solid transparent;
  transition: var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--acid-cyan);
  border-color: var(--acid-border);
  background: rgba(0, 245, 212, 0.06);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--acid-cyan);
  color: var(--acid-cyan);
  padding: 6px 12px;
  font-family: var(--font-mono);
  cursor: pointer;
}

/* ==========================================================================
   HERO / INTRO SECTION
   ========================================================================== */
.hero-section {
  padding: 70px 0 50px;
  position: relative;
  border-bottom: 1px solid var(--acid-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-title {
  margin-bottom: 18px;
  line-height: 1.1;
}

.hero-title .highlight {
  color: var(--acid-cyan);
}

.hero-title .highlight-violet {
  color: #c77dff;
}

.hero-bio {
  font-size: 1.05rem;
  color: var(--acid-text-muted);
  margin-bottom: 26px;
  line-height: 1.7;
}

.hero-bio strong {
  color: #fff;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Avatar Card with "ja.jpg" */
.hero-avatar-card {
  position: relative;
  border: 1px solid var(--acid-border);
  background: var(--acid-card);
  box-shadow: 4px 4px 0px var(--acid-cyan);
  padding: 12px;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  align-self: center;
  transition: var(--transition);
}

.hero-avatar-card:hover {
  box-shadow: 6px 6px 0px var(--acid-violet);
}

.avatar-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--acid-border);
  background: #080a10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.avatar-wrapper img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: none !important;
}

/* ==========================================================================
   NAZUNA SHRINE SECTION
   ========================================================================== */
.shrine-section {
  padding: 75px 0;
  border-bottom: 1px solid var(--acid-border);
  background: rgba(16, 18, 26, 0.4);
}

.shrine-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.shrine-title {
  color: #fff;
  margin-bottom: 12px;
}

.shrine-subtitle {
  font-size: 1.05rem;
  color: var(--acid-text-muted);
}

/* Altar, Prayers & Bell Box */
.shrine-prayers-box {
  background: var(--acid-card);
  border: 1px solid var(--acid-border);
  box-shadow: 5px 5px 0px var(--acid-purple);
  padding: 24px;
  margin-bottom: 40px;
}

.prayer-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.prayer-title-group {
  max-width: 550px;
}

.altar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.shrine-worshippers-wrap {
  position: relative;
  border: 1px solid rgba(189, 0, 255, 0.3);
  background: #090b10;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: default;
  transition: var(--transition);
}

.shrine-worshippers-wrap:hover {
  border-color: var(--acid-cyan);
  box-shadow: 0 0 20px rgba(189, 0, 255, 0.35);
}

.shrine-worshippers-img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  background: radial-gradient(circle at center, rgba(189, 0, 255, 0.08) 0%, #07080d 80%);
  padding: 12px;
  display: block;
  margin: 0 auto;
}

.worshippers-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: #080a0f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  color: var(--acid-text);
}

.shrine-altar-box {
  background: var(--acid-card);
  border: 1px solid var(--acid-border);
  box-shadow: 4px 4px 0px var(--acid-cyan);
  padding: 18px 24px;
  margin-bottom: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.altar-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.altar-icon {
  font-size: 1.8rem;
}

.prayer-counter {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--acid-cyan);
}

/* Gallery Grid */
.shrine-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.shrine-item {
  background: var(--acid-card);
  border: 1px solid var(--acid-border);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: var(--transition);
}

.shrine-item:hover {
  border-color: var(--acid-cyan);
  box-shadow: 4px 4px 0px var(--acid-cyan);
}

.shrine-img-wrap {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
}

.shrine-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none !important;
}

.shrine-item:hover .shrine-img-wrap img {
  transform: none;
}

.shrine-caption {
  padding: 12px 16px;
  background: #0d0f17;
  border-top: 1px solid var(--acid-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* Lightbox Modal */
.acid-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 24px;
}

.acid-lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  position: relative;
  border: 1px solid var(--acid-cyan);
  box-shadow: 0 0 30px rgba(0, 245, 212, 0.3);
}

.lightbox-img {
  max-height: 75vh;
  width: auto;
  display: block;
  filter: none !important;
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--acid-cyan);
  color: #000;
  border: 2px solid #000;
  font-size: 1.3rem;
  font-weight: 900;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   THE BINDING OF ISAAC & TOP 5 ITEM PEDESTAL
   ========================================================================== */
.isaac-section {
  padding: 75px 0;
  border-bottom: 1px solid var(--acid-border);
}

.isaac-hero-banner {
  border: 1px solid var(--acid-border);
  background: var(--acid-card);
  box-shadow: 6px 6px 0px var(--acid-violet);
  padding: 28px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
}

/* Steam Banner & Stats */
.isaac-steam-banner-wrap {
  width: 100%;
  border: 1px solid var(--acid-border);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 4px 4px 0px #000;
}

.isaac-steam-banner-wrap img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.steam-stats-box {
  background: #0d0f17;
  border: 1px solid var(--acid-border);
  padding: 16px 20px;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.steam-stats-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--acid-text-muted);
  border-bottom: 1px dashed var(--acid-border);
  padding-bottom: 10px;
}

.steam-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--acid-cyan);
}

.steam-status-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--acid-cyan);
  border-radius: 50%;
  display: inline-block;
}

.steam-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 20px;
  align-items: center;
}

@media (max-width: 600px) {
  .steam-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.steam-metric-item {
  display: flex;
  flex-direction: column;
}

.steam-metric-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--acid-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.steam-metric-val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.steam-progress-wrap {
  margin-top: 6px;
}

.steam-progress-bar-bg {
  width: 100%;
  height: 8px;
  background: #191b26;
  border: 1px solid var(--acid-border);
  overflow: hidden;
}

.steam-progress-fill {
  height: 100%;
  width: 47.1%; /* 302 z 641 = 47.1% */
  background: linear-gradient(90deg, var(--acid-cyan), var(--acid-chartreuse));
}

.isaac-banner-cover {
  border: 1px solid var(--acid-border);
}

/* Pedestal Stage / Item Showcase */
.pedestal-stage {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 36px;
  align-items: center;
  background: var(--acid-card);
  border: 1px solid var(--acid-border);
  box-shadow: 6px 6px 0px var(--acid-cyan);
  padding: 32px;
}

.pedestal-altar {
  position: relative;
  height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(0, 245, 212, 0.12) 0%, rgba(13, 15, 23, 0.6) 70%, transparent 100%);
  border: 1px solid rgba(0, 245, 212, 0.2);
  overflow: hidden;
}

.pedestal-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.35) 0%, rgba(0, 245, 212, 0.08) 50%, transparent 70%);
  filter: blur(16px);
  opacity: 0.8;
  pointer-events: none;
}

.floating-item-wrap {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.floating-item-sprite {
  width: 108px;
  height: 108px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 16px rgba(0, 245, 212, 0.7));
}

.pedestal-stone {
  display: none !important;
}

/* Item Selector Tabs (1 - 5) */
.item-tabs-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.item-tab-btn {
  background: #0d0f17;
  border: 1px solid var(--acid-border);
  color: var(--acid-text);
  padding: 8px 4px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.item-tab-btn .tab-rank {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--acid-cyan);
}

.item-tab-btn .tab-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  image-rendering: pixelated;
}

.item-tab-btn:hover,
.item-tab-btn.active {
  border-color: var(--acid-cyan);
  background: rgba(0, 245, 212, 0.08);
  box-shadow: 2px 2px 0px var(--acid-cyan);
}

.item-tab-btn.active .tab-rank {
  color: #fff;
}

/* Selected Item Details Box */
.item-details-box {
  background: #0d0f17;
  border: 1px solid var(--acid-border);
  padding: 22px;
}

.item-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.item-name {
  color: #fff;
  font-size: 1.6rem;
}

.quality-tier-badge {
  background: var(--acid-chartreuse);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 3px 8px;
  border: 1px solid #000;
}

.item-quote {
  font-family: var(--font-mono);
  font-style: italic;
  color: var(--acid-cyan);
  font-size: 0.95rem;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--acid-border);
}

.item-description {
  color: var(--acid-text-muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
  line-height: 1.6;
}

.item-synergy-list {
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #c9c9df;
}

.item-synergy-list li {
  padding: 3px 0;
}

.item-synergy-list li::before {
  content: "→ ";
  color: var(--acid-cyan);
}

/* ==========================================================================
   GAMES SHOWCASE
   ========================================================================== */
.games-section {
  padding: 75px 0;
  border-bottom: 1px solid var(--acid-border);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.game-card {
  background: var(--acid-card);
  border: 1px solid var(--acid-border);
  box-shadow: 4px 4px 0px #000;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  border-color: var(--acid-cyan);
  box-shadow: 6px 6px 0px var(--acid-cyan);
}

.game-cover-wrap {
  height: 200px;
  overflow: hidden;
  background: #0d0f17;
  border-bottom: 1px solid var(--acid-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.game-cover-wrap img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.game-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-title {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 6px;
}

.game-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--acid-cyan);
  margin-bottom: 12px;
}

.game-desc {
  font-size: 0.92rem;
  color: var(--acid-text-muted);
  margin-bottom: 16px;
  flex: 1;
  line-height: 1.6;
}

.game-stats {
  border-top: 1px dashed var(--acid-border);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #777;
}

/* ==========================================================================
   MUSIC / LIL DARKIE SECTION (NO MUSIC BARS, CLEAN LAYOUT)
   ========================================================================== */
.music-section {
  padding: 75px 0;
  border-bottom: 1px solid var(--acid-border);
}

.music-box {
  background: var(--acid-card);
  border: 1px solid var(--acid-border);
  box-shadow: 6px 6px 0px var(--acid-violet);
  padding: 36px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
}

.music-cover-col {
  position: relative;
}

.music-cover-wrap {
  border: 1px solid var(--acid-border);
  overflow: hidden;
}

.music-cover-wrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.music-info-col {
  display: flex;
  flex-direction: column;
}

.artist-title {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 6px;
}

.genre-badge {
  font-family: var(--font-mono);
  color: var(--acid-cyan);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.music-bio {
  color: var(--acid-text-muted);
  font-size: 0.98rem;
  margin-bottom: 20px;
  line-height: 1.65;
}

.tracklist-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.track-pill {
  background: #0d0f17;
  border: 1px solid var(--acid-border);
  color: var(--acid-text);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: var(--transition);
}

.track-pill:hover {
  border-color: var(--acid-cyan);
  color: var(--acid-cyan);
}

/* ==========================================================================
   RUST CODING SECTION
   ========================================================================== */
.rust-section {
  padding: 75px 0;
  border-bottom: 1px solid var(--acid-border);
}

.rust-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
}

.rust-badge-card {
  background: var(--acid-card);
  border: 1px solid var(--acid-border);
  box-shadow: 5px 5px 0px var(--acid-chartreuse);
  padding: 28px;
}

.rust-crab-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.rust-logo-img {
  width: 52px;
  height: 52px;
  filter: invert(85%) sepia(80%) saturate(800%) hue-rotate(20deg);
}

.rust-features-list {
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-top: 18px;
}

.rust-features-list li {
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--acid-text-muted);
}

.rust-features-list li strong {
  color: #fff;
}

.rust-features-list li::before {
  content: "✦";
  color: var(--acid-chartreuse);
}

/* Terminal Window */
.terminal-window {
  background: #0b0c13;
  border: 1px solid var(--acid-border);
  box-shadow: 5px 5px 0px #000;
  overflow: hidden;
}

.terminal-header {
  background: #141622;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--acid-border);
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.t-red { background: #ff5f56; }
.t-yellow { background: #ffbd2e; }
.t-green { background: #27c93f; }

.t-title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #666;
}

.terminal-body {
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #e2e4f0;
  line-height: 1.6;
  overflow-x: auto;
}

.code-keyword { color: #ff79c6; font-weight: 600; }
.code-fn { color: #50fa7b; }
.code-macro { color: #f1fa8c; }
.code-str { color: var(--acid-cyan); }
.code-comment { color: #6272a4; font-style: italic; }
.code-num { color: #bd93f9; }
.code-type { color: #8be9fd; font-weight: 600; }

/* ==========================================================================
   CHESS PROJECT SHOWCASE (RUST CLI ENGINE)
   ========================================================================== */
.chess-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.chess-stat-pill {
  background: var(--acid-card);
  border: 1px solid var(--acid-border);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.chess-stat-pill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--acid-cyan);
}

.chess-stat-pill:nth-child(2)::before { background: var(--acid-chartreuse); }
.chess-stat-pill:nth-child(3)::before { background: var(--acid-violet); }
.chess-stat-pill:nth-child(4)::before { background: var(--acid-coral); }

.chess-stat-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

.chess-stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--acid-text-muted);
}

.chess-stat-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 0.05em;
}

.chess-board-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 60px;
}

@media (max-width: 900px) {
  .chess-board-grid-wrapper {
    grid-template-columns: 1fr;
  }
}

.chess-board-container {
  background: #0d0f17;
  border: 2px solid var(--acid-cyan);
  box-shadow: 6px 6px 0px rgba(0, 245, 212, 0.4);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chess-board-labels-top {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  width: 100%;
  max-width: 384px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--acid-cyan);
  font-weight: bold;
  padding-bottom: 6px;
  padding-left: 24px;
}

.chess-board-middle {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 408px;
}

.chess-board-labels-side {
  display: grid;
  grid-template-rows: repeat(8, 1fr);
  height: 384px;
  width: 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--acid-cyan);
  font-weight: bold;
  align-items: center;
}

.cyber-chess-grid {
  display: grid;
  grid-template-columns: repeat(8, 48px);
  grid-template-rows: repeat(8, 48px);
  border: 2px solid var(--acid-border);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

@media (max-width: 480px) {
  .cyber-chess-grid {
    grid-template-columns: repeat(8, 36px);
    grid-template-rows: repeat(8, 36px);
  }
  .chess-board-labels-side {
    height: 288px;
  }
  .chess-board-labels-top {
    max-width: 288px;
  }
}

.chess-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  user-select: none;
  transition: background 0.15s ease;
}

.chess-cell.cell-light {
  background: #171b29;
}

.chess-cell.cell-dark {
  background: #0f121d;
}

.chess-cell.highlight-from {
  background: rgba(138, 43, 226, 0.45);
  box-shadow: inset 0 0 8px var(--acid-violet);
}

.chess-cell.highlight-to {
  background: rgba(0, 245, 212, 0.35);
  box-shadow: inset 0 0 8px var(--acid-cyan);
}

.piece-white {
  color: #fff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 12px var(--acid-cyan);
}

.piece-black {
  color: #b388ff;
  text-shadow: 0 0 6px rgba(179, 136, 255, 0.8), 0 0 12px var(--acid-violet);
}

.chess-feature-block {
  background: var(--acid-card);
  border: 1px solid var(--acid-border);
  margin-bottom: 36px;
  box-shadow: 5px 5px 0px #000;
  overflow: hidden;
  transition: var(--transition);
}

.chess-feature-block:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.chess-feature-header {
  padding: 18px 24px;
  background: #121520;
  border-bottom: 1px solid var(--acid-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.chess-feature-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: #fff;
}

.chess-feature-body {
  padding: 24px;
}

.chess-feature-desc {
  color: var(--acid-text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.chess-feature-desc strong {
  color: var(--acid-cyan);
}

.chess-tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.chess-tag {
  background: #141724;
  border: 1px solid var(--acid-border);
  color: var(--acid-text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 2px;
}

.chess-tag.cyan { color: var(--acid-cyan); border-color: rgba(0, 245, 212, 0.3); }
.chess-tag.violet { color: #b388ff; border-color: rgba(138, 43, 226, 0.3); }
.chess-tag.chartreuse { color: var(--acid-chartreuse); border-color: rgba(212, 255, 0, 0.3); }

/* ==========================================================================
   FAVORITE FOOD SECTION
   ========================================================================== */
.food-section {
  padding: 75px 0;
  border-bottom: 1px solid var(--acid-border);
}

.food-podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.food-card {
  background: var(--acid-card);
  border: 1px solid var(--acid-border);
  box-shadow: 4px 4px 0px #000;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.food-card:hover {
  border-color: var(--acid-cyan);
  box-shadow: 6px 6px 0px var(--acid-cyan);
}

.food-rank-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--acid-cyan);
  color: #000;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  padding: 3px 10px;
  border: 1px solid #000;
  z-index: 3;
}

.food-card.rank-2 .food-rank-tag {
  background: #a0a4b8;
}

.food-card.rank-3 .food-rank-tag {
  background: #d4a373;
}

.food-img-wrap {
  height: 240px;
  overflow: hidden;
  background: #080a10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.food-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.food-card.rank-3 .food-img-wrap {
  background: #080a10;
}

.food-card.rank-3 .food-img-wrap img {
  object-fit: contain;
}

.food-card:hover .food-img-wrap img {
  transform: none;
}

.food-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.food-title {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 6px;
}

.food-desc {
  font-size: 0.92rem;
  color: var(--acid-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 50px 0 35px;
  background: #06070a;
  border-top: 1px solid var(--acid-border);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 30px;
}

.footer-brand h3 {
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand p {
  color: var(--acid-text-muted);
  max-width: 440px;
  font-size: 0.92rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
}

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

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a,
.footer-links span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--acid-text-muted);
}

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

.footer-bottom {
  border-top: 1px solid var(--acid-border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #666;
}

.back-to-top {
  background: transparent;
  color: var(--acid-cyan);
  border: 1px solid var(--acid-cyan);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.back-to-top:hover {
  background: var(--acid-cyan);
  color: #000;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid,
  .pedestal-stage,
  .music-box,
  .rust-grid {
    grid-template-columns: 1fr;
  }

  .isaac-hero-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .isaac-banner-cover {
    max-width: 180px;
    margin: 0 auto;
  }

  .games-grid,
  .food-podium {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* ==========================================================================
   FRIENDS SECTION & CARDS
   ========================================================================== */
.friends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 30px;
  margin-bottom: 50px;
}

.friend-card {
  background: var(--acid-card);
  border: 1px solid var(--acid-border);
  box-shadow: 6px 6px 0px #000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.friend-card:hover {
  transform: translateY(-5px);
}

.friend-card:nth-child(1):hover {
  border-color: var(--acid-cyan);
  box-shadow: 6px 6px 0px var(--acid-cyan);
}

.friend-card:nth-child(2):hover {
  border-color: var(--acid-violet);
  box-shadow: 6px 6px 0px var(--acid-violet);
}

.friend-card:nth-child(3):hover {
  border-color: var(--acid-chartreuse);
  box-shadow: 6px 6px 0px var(--acid-chartreuse);
}

.friend-img-wrap {
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #080a12;
  position: relative;
}

.friend-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
  display: block;
}

.friend-card:hover .friend-img-wrap img {
  transform: scale(1.03);
}

.friend-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
  border: 1px solid rgba(0, 0, 0, 0.4);
}

.friend-badge-tag.cyan { background: var(--acid-cyan); color: #000; }
.friend-badge-tag.violet { background: #b388ff; color: #000; }
.friend-badge-tag.chartreuse { background: var(--acid-chartreuse); color: #000; }

.friend-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: #111420;
}

.friend-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.friend-url-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--acid-cyan);
  word-break: break-all;
  display: block;
}

.friend-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: #000000;
  color: #ffffff;
  border: 1px solid var(--acid-border);
  box-shadow: 4px 4px 0px #000000;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.friend-link-btn:hover {
  background: #0d101d;
  color: var(--acid-cyan);
  border-color: var(--acid-cyan);
  box-shadow: 4px 4px 0px var(--acid-cyan);
  transform: translate(-2px, -2px);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #090a0f;
    border-bottom: 1px solid var(--acid-border);
    flex-direction: column;
    padding: 18px;
    gap: 10px;
  }

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

  .games-grid,
  .food-podium {
    grid-template-columns: 1fr;
  }

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

  .item-tabs-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
