/* ==========================================================================
   SHUFFLESPOT LOOPSTR FORUM - GLOBAL STYLESHEET
   PALETTE: DEEP INDIGO (#0B071A), VELVET VIOLET (#1A0D36)
   ACCENTS: DYNAMIC CYAN-TO-MAGENTA GRADIENTS (#00F5FF to #FF007F)
   ========================================================================== */

:root {
  --bg-indigo: #0b071a;
  --bg-violet-dark: #120924;
  --bg-violet-card: rgba(26, 13, 54, 0.65);
  --bg-card-hover: rgba(38, 19, 78, 0.8);
  
  --neon-cyan: #00f5ff;
  --neon-magenta: #ff007f;
  --neon-purple: #9d00ff;
  
  --text-primary: #f0edff;
  --text-secondary: #a99ec7;
  --text-muted: #6f6491;
  
  --border-glass: rgba(0, 245, 255, 0.22);
  --border-glass-magenta: rgba(255, 0, 127, 0.28);
  --border-glow-hover: rgba(0, 245, 255, 0.65);
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  
  --halo-cyan: 0 0 24px rgba(0, 245, 255, 0.35);
  --halo-magenta: 0 0 24px rgba(255, 0, 127, 0.35);
  --halo-combo: 0 0 30px rgba(0, 245, 255, 0.25), 0 0 45px rgba(255, 0, 127, 0.2);
}

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

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

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background-color: var(--bg-indigo);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--neon-magenta);
  text-shadow: 0 0 8px rgba(255, 0, 127, 0.6);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   CONTAINER & LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-8 {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.w-full {
  width: 100%;
}

/* ==========================================================================
   SLIM NON-STICKY HEADER (SCROLLS NATURALLY)
   ========================================================================== */
.site-header {
  position: relative; /* STRICT NON-STICKY REQUIREMENT */
  width: 100%;
  height: 62px;
  background: rgba(11, 7, 26, 0.95);
  border-bottom: 1px solid rgba(0, 245, 255, 0.2);
  z-index: 999;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.logo-icon {
  flex-shrink: 0;
}

.neon-highlight {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-neon-cta {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  color: #0b071a;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.55rem 1.25rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  box-shadow: var(--halo-cyan);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
  text-align: center;
}

.btn-neon-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(255, 0, 127, 0.6);
  color: #0b071a;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-glass);
  padding: 0.4rem;
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neon-cyan);
}

.mobile-drawer {
  display: none;
  position: absolute;
  top: 62px;
  left: 0;
  width: 100%;
  background: rgba(18, 9, 36, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--neon-cyan);
  padding: 1.5rem;
  z-index: 998;
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* ==========================================================================
   FROSTED GLASS CARD ARCHITECTURE
   ========================================================================== */
.frosted-card {
  background: var(--bg-violet-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1.75rem;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.frosted-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow-hover);
  box-shadow: var(--halo-cyan);
}

/* ==========================================================================
   CENTRED HIGH-IMPACT HERO WITH 3D FLOATING SHAPES
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 520px;
  padding: 5rem 1.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgba(26, 13, 54, 0.9) 0%, rgba(11, 7, 26, 1) 85%);
}

.hero-ambient-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ambient-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 245, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 0, 127, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8), transparent 75%);
}

.ambient-shape {
  position: absolute;
  filter: blur(40px);
  opacity: 0.55;
  border-radius: 50%;
  animation: floatAmbient 12s infinite alternate ease-in-out;
}

.shape-ring-cyan {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--neon-cyan) 0%, rgba(0, 245, 255, 0) 70%);
  top: 10%;
  left: 15%;
}

.shape-torus-magenta {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--neon-magenta) 0%, rgba(255, 0, 127, 0) 70%);
  bottom: 10%;
  right: 12%;
  animation-duration: 15s;
  animation-delay: -3s;
}

.shape-wave-polyhedron {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, var(--neon-purple) 0%, rgba(157, 0, 255, 0) 70%);
  top: 45%;
  left: 55%;
  animation-duration: 18s;
  animation-delay: -6s;
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(25px, -30px) rotate(180deg) scale(1.1); }
  100% { transform: translate(-20px, 20px) rotate(360deg) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 860px;
  margin: 0 auto;
}

.badge-pill {
  display: inline-block;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 0, 127, 0.4));
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.25rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-neon-primary {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  color: #0b071a;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  box-shadow: var(--halo-cyan);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-neon-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 0, 127, 0.7);
  color: #0b071a;
}

.btn-glass-secondary {
  background: rgba(26, 13, 54, 0.6);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-glass-secondary:hover {
  border-color: var(--neon-magenta);
  color: #ffffff;
  box-shadow: var(--halo-magenta);
}

/* ==========================================================================
   INTERACTIVE AUDIO ENGINE TERMINAL
   ========================================================================== */
.engine-section {
  padding: 1.5rem 0 3.5rem;
}

.glass-terminal {
  background: rgba(18, 9, 36, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 245, 255, 0.15);
}

.terminal-header {
  background: rgba(26, 13, 54, 0.95);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

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

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.terminal-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-cyan);
  animation: blinkFast 1.5s infinite;
}

@keyframes blinkFast {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.terminal-body {
  padding: 1.5rem;
}

.shuffler-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.control-unit label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.control-unit label span {
  color: var(--neon-cyan);
  font-weight: 700;
}

.slider-neon {
  width: 100%;
  accent-color: var(--neon-cyan);
  background: #110826;
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
}

.btn-neon-pulse {
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.btn-neon-pulse:hover, .btn-neon-pulse.active {
  background: var(--neon-cyan);
  color: #0b071a;
  box-shadow: 0 0 20px var(--neon-cyan);
}

.visualizer-container {
  background: #06030e;
  border: 1px solid rgba(0, 245, 255, 0.15);
  border-radius: 8px;
  padding: 0.5rem;
  overflow: hidden;
}

#waveformCanvas {
  width: 100%;
  height: 120px;
  display: block;
}

.terminal-legend {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION HEADERS & CARD GRIDS
   ========================================================================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.sub-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: block;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.view-all-link {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

/* Card Elements */
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.tag-cyan {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(0, 245, 255, 0.3);
}

.tag-magenta {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--neon-magenta);
  background: rgba(255, 0, 127, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 0, 127, 0.3);
}

.timestamp {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-title {
  font-size: 1.2rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.card-title a {
  color: var(--text-primary);
}

.card-title a:hover {
  color: var(--neon-cyan);
}

.card-copy {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

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

.author-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.avatar-chip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-magenta));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.stats-badge {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SAMPLE PACK CARDS
   ========================================================================== */
.sample-pack-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sample-cover {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.pack-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sample-pack-card:hover .pack-img {
  transform: scale(1.05);
}

.format-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(11, 7, 26, 0.85);
  backdrop-filter: blur(8px);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--border-glass);
}

.pack-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pack-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.tag-pill {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  color: var(--text-secondary);
}

.pack-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.pack-title a {
  color: #ffffff;
}

.pack-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.pack-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.price-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-cyan);
  letter-spacing: 0.06em;
}

.btn-neon-small {
  background: rgba(0, 245, 255, 0.12);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-neon-small:hover {
  background: var(--neon-cyan);
  color: #0b071a;
  box-shadow: var(--halo-cyan);
}

/* ==========================================================================
   BEAT BATTLE ARENA
   ========================================================================== */
.battle-section {
  padding: 3.5rem 0;
}

.battle-card {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 2.5rem;
  border-color: var(--border-glass-magenta);
}

.battle-pill {
  display: inline-block;
  background: rgba(255, 0, 127, 0.15);
  border: 1px solid var(--neon-magenta);
  color: var(--neon-magenta);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.battle-heading {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.battle-rules {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.battle-stats-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.85rem 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--neon-magenta);
}

.battle-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.battle-sidebar {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 2rem;
}

.top-producers-list h4 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.producer-rank-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.producer-rank-item .rank {
  font-weight: 700;
  color: var(--neon-cyan);
}

.producer-rank-item .score {
  font-family: var(--font-mono);
  color: var(--neon-magenta);
}

/* ==========================================================================
   STATS STRIP
   ========================================================================== */
.stats-strip {
  background: rgba(18, 9, 36, 0.7);
  border-top: 1px solid rgba(0, 245, 255, 0.15);
  border-bottom: 1px solid rgba(0, 245, 255, 0.15);
  padding: 2.5rem 0;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.strip-number {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

.strip-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   DEDICATED SUB-PAGE SPECIFICS (TOPIC / GROOVES)
   ========================================================================== */
.breadcrumb-bar {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb-bar a {
  color: var(--text-secondary);
}

.topic-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 2rem;
}

.post-header {
  margin-bottom: 1.75rem;
}

.topic-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.post-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.post-author-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.author-portrait {
  border-radius: 50%;
  border: 2px solid var(--neon-cyan);
}

.author-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.post-body {
  margin-bottom: 2rem;
}

.post-body p {
  font-size: 1.05rem;
  color: #d2cbe6;
  margin-bottom: 1.5rem;
}

.subhead-neon {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--neon-cyan);
  margin: 2rem 0 1rem;
}

.formula-box {
  background: #06030e;
  border: 1px solid var(--border-glass);
  border-left: 4px solid var(--neon-cyan);
  padding: 1.25rem;
  border-radius: 6px;
  margin: 1.5rem 0;
  overflow-x: auto;
}

.formula-box code {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #79ffe1;
  line-height: 1.6;
}

.bullet-list {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: #d2cbe6;
}

.bullet-list li {
  margin-bottom: 0.6rem;
}

.quote-callout {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 700;
  color: #ffffff;
  border-left: 4px solid var(--neon-magenta);
  padding: 1rem 1.5rem;
  background: rgba(255, 0, 127, 0.08);
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.table-container {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.data-table th, .data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.data-table th {
  background: rgba(26, 13, 54, 0.8);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.data-table tbody tr:hover {
  background: rgba(0, 245, 255, 0.04);
}

.download-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-glass-magenta);
  padding: 1.25rem;
  border-radius: 8px;
  margin: 1.75rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.download-info strong {
  display: block;
  font-size: 1rem;
  color: #fff;
}

.download-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Comments Section */
.comments-header {
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.comment-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.comment-item.response {
  margin-left: 2rem;
  border-left: 2px solid var(--neon-cyan);
  padding-left: 1rem;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.comment-author .time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Sidebar Widgets */
.sidebar-widget {
  margin-bottom: 1.5rem;
}

.widget-title {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

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

.widget-links li {
  margin-bottom: 0.75rem;
}

.widget-links a {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.spec-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.88rem;
}

.spec-grid div span {
  color: var(--text-muted);
  display: inline-block;
  width: 140px;
}

/* ==========================================================================
   SAMPLE PACK SHOWCASE SUB-PAGE
   ========================================================================== */
.pack-showcase-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 2rem;
}

.pack-feature-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.pack-headline {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  margin: 0.85rem 0 1rem;
}

.lead-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.stem-specs-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

.stem-player-rack {
  margin-bottom: 2rem;
}

.rack-title {
  font-size: 0.9rem;
  color: var(--neon-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.stem-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(26, 13, 54, 0.8);
  border: 1px solid var(--border-glass);
  padding: 0.85rem 1rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.stem-play-trigger {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stem-audition-btn {
  background: var(--neon-cyan);
  color: #0b071a;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.4);
}

.stem-audition-btn:hover {
  transform: scale(1.1);
  background: #ffffff;
}

.stem-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stem-length {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-cyan);
}

.pack-download-strip {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.sidebar-heading {
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.signal-chain-list {
  padding-left: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.signal-chain-list li {
  margin-bottom: 0.6rem;
}

.small-copy {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   LEGAL PAGES & CONTACT LAYOUT
   ========================================================================== */
.legal-article {
  max-width: 900px;
  margin: 0 auto;
}

.legal-header {
  border-bottom: 1px solid rgba(0, 245, 255, 0.2);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.legal-title {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 900;
  margin: 0.5rem 0 0.75rem;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legal-content h2 {
  font-size: 1.3rem;
  color: var(--neon-cyan);
  margin: 2rem 0 0.85rem;
  font-weight: 800;
}

.legal-content p {
  font-size: 1rem;
  color: #cfc7e8;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: #cfc7e8;
}

.legal-content li {
  margin-bottom: 0.6rem;
}

.legal-contact-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-glass);
  padding: 1.25rem;
  border-radius: 6px;
  margin-top: 1rem;
}

.cookie-reset-box {
  background: rgba(0, 0, 0, 0.35);
  padding: 1.25rem;
  border-radius: 6px;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Contact Page Form & Grid */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
}

.contact-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  margin: 0.5rem 0 0.75rem;
}

.contact-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.input-neon {
  width: 100%;
  background: rgba(11, 7, 26, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.input-neon:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.form-success-banner {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(39, 201, 63, 0.15);
  border: 1px solid #27c93f;
  color: #79ffe1;
  border-radius: 6px;
  font-size: 0.88rem;
}

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

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.contact-icon {
  font-size: 1.3rem;
  color: var(--neon-cyan);
}

.map-mockup {
  position: relative;
  height: 200px;
  background: #090514;
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 245, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

.map-marker-pulse {
  position: relative;
  width: 16px;
  height: 16px;
}

.radar-dot {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--neon-magenta);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--neon-magenta);
}

.radar-ring {
  position: absolute;
  inset: -14px;
  border: 2px solid var(--neon-magenta);
  border-radius: 50%;
  animation: radarPing 2s infinite ease-out;
}

@keyframes radarPing {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.map-label-tag {
  position: absolute;
  bottom: 12px;
  background: rgba(11, 7, 26, 0.9);
  padding: 0.25rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
}

.map-footer-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-family: var(--font-mono);
}

/* ==========================================================================
   MODAL DIALOG (JOIN SESSION)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 7, 26, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  max-width: 480px;
  width: 100%;
  position: relative;
  background: rgba(26, 13, 54, 0.95);
  border: 1px solid var(--neon-cyan);
  box-shadow: var(--halo-cyan);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0.5rem 0 0.5rem;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   SMART COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 9, 36, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--neon-cyan);
  padding: 1rem 1.5rem;
  z-index: 9999;
  display: none;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.6);
}

.cookie-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 760px;
}

.cookie-text a {
  color: var(--neon-cyan);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn-cookie-accept {
  background: var(--neon-cyan);
  color: #0b071a;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.btn-cookie-reject {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}

.btn-cookie-link {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   UNIFIED MANDATORY FOOTER
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #070410;
  border-top: 1px solid rgba(0, 245, 255, 0.18);
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-contact-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.35rem;
}

.footer-links-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

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

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

.footer-links-col a {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-links-col a:hover {
  color: var(--neon-magenta);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
}

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

.legal-line {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.engine-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .topic-layout, .pack-showcase-grid, .contact-layout-grid, .battle-card {
    grid-template-columns: 1fr;
  }
  
  .battle-sidebar {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0;
    padding-top: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 52px;
  }
  
  .mobile-drawer {
    top: 52px;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}