/* ==========================================================================
   Pierpaolo Villano (@PierVillain) — Blog Homepage
   Aesthetic: Dark Neon Sobrio Creator
   Theme: Corpo · Mente · Sistemi
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg-main: #090a0f;
  --bg-surface: #10121b;
  --bg-card: #141724;
  --bg-card-hover: #191d2d;
  --bg-elevated: #1e2235;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.16);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Neon Accents (Sobrio Creator Palette) */
  --neon-cyan: #00f5d4;
  --neon-cyan-glow: rgba(0, 245, 212, 0.18);
  --neon-purple: #b388ff;
  --neon-purple-glow: rgba(179, 136, 255, 0.18);
  --neon-amber: #ffb703;
  --neon-amber-glow: rgba(255, 183, 3, 0.18);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;

  --max-width: 1040px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Base & Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   Ambient Neon Background Glows
   -------------------------------------------------------------------------- */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-top {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.15) 0%, rgba(179, 136, 255, 0.12) 60%, transparent 80%);
}

.glow-mid {
  top: 750px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.08) 0%, rgba(0, 245, 212, 0.05) 60%, transparent 80%);
}

/* --------------------------------------------------------------------------
   Draft Banner
   -------------------------------------------------------------------------- */
.draft-banner {
  background: rgba(16, 18, 27, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 183, 3, 0.25);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  position: sticky;
  top: 0;
  z-index: 50;
}

.draft-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 183, 3, 0.12);
  color: var(--neon-amber);
  border: 1px solid rgba(255, 183, 3, 0.35);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  box-shadow: 0 0 12px rgba(255, 183, 3, 0.15);
}

.pulsing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--neon-amber);
  box-shadow: 0 0 8px var(--neon-amber);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.draft-text {
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Site Header & Nav
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 20;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-handle {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  padding: 0.3rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.brand:hover .brand-handle {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 14px var(--neon-cyan-glow);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.main-nav a:hover {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Language Switcher (i18n IT / EN)
   -------------------------------------------------------------------------- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1;
}

.lang-switch-btn:hover {
  border-color: var(--neon-cyan);
  color: var(--text-primary);
  box-shadow: 0 0 10px rgba(0, 245, 212, 0.2);
}

.lang-badge {
  color: var(--text-muted);
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.lang-badge.is-active {
  color: var(--neon-cyan);
  font-weight: 700;
  text-shadow: 0 0 8px var(--neon-cyan-glow);
}

.lang-sep {
  opacity: 0.35;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Hero Section & Bio
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 4.5rem 0 3.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 760px;
}

.status-pill {
  display: inline-block;
  margin-bottom: 1.2rem;
}

.status-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--neon-cyan);
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.25);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 0 16px var(--neon-cyan-glow);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.8vw, 1.6rem);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}

.neon-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 18px var(--neon-cyan-glow);
}

.neon-purple {
  color: var(--neon-purple);
  text-shadow: 0 0 18px var(--neon-purple-glow);
}

.neon-amber {
  color: var(--neon-amber);
  text-shadow: 0 0 18px var(--neon-amber-glow);
}

.bio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.bio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple), var(--neon-amber));
}

.bio-text {
  font-size: 1.08rem;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.bio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.meta-label {
  color: var(--text-muted);
  margin-right: 0.35rem;
}

.inline-link {
  color: var(--neon-cyan);
  border-bottom: 1px dashed rgba(0, 245, 212, 0.4);
}

.inline-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* --------------------------------------------------------------------------
   Pillars Section (Corpo · Mente · Sistemi)
   -------------------------------------------------------------------------- */
.pillars-section {
  position: relative;
  z-index: 10;
  padding: 4rem 0;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.pillar-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
}

.pillar-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.pillar-tagline {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.pillar-body {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pillar-topics {
  list-style: none;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pillar-topics li {
  position: relative;
  padding-left: 1rem;
}

.pillar-topics li::before {
  content: "›";
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* Individual Pillar Card Theming */
.pillar-corpo .pillar-icon-box {
  background: rgba(0, 245, 212, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 245, 212, 0.3);
}
.pillar-corpo .pillar-tagline {
  color: var(--neon-cyan);
}
.pillar-corpo:hover {
  border-color: rgba(0, 245, 212, 0.4);
  box-shadow: 0 12px 30px var(--neon-cyan-glow);
}
.pillar-corpo .pillar-topics li::before {
  color: var(--neon-cyan);
}

.pillar-mente .pillar-icon-box {
  background: rgba(179, 136, 255, 0.12);
  color: var(--neon-purple);
  border: 1px solid rgba(179, 136, 255, 0.3);
}
.pillar-mente .pillar-tagline {
  color: var(--neon-purple);
}
.pillar-mente:hover {
  border-color: rgba(179, 136, 255, 0.4);
  box-shadow: 0 12px 30px var(--neon-purple-glow);
}
.pillar-mente .pillar-topics li::before {
  color: var(--neon-purple);
}

.pillar-sistemi .pillar-icon-box {
  background: rgba(255, 183, 3, 0.12);
  color: var(--neon-amber);
  border: 1px solid rgba(255, 183, 3, 0.3);
}
.pillar-sistemi .pillar-tagline {
  color: var(--neon-amber);
}
.pillar-sistemi:hover {
  border-color: rgba(255, 183, 3, 0.4);
  box-shadow: 0 12px 30px var(--neon-amber-glow);
}
.pillar-sistemi .pillar-topics li::before {
  color: var(--neon-amber);
}

/* --------------------------------------------------------------------------
   Posts Section & Empty State
   -------------------------------------------------------------------------- */
.posts-section {
  position: relative;
  z-index: 10;
  padding: 4rem 0 5.5rem;
}

.empty-state-card {
  background: var(--bg-surface);
  border: 1px dashed var(--border-active);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 840px;
  margin: 0 auto;
}

.empty-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.empty-icon {
  width: 26px;
  height: 26px;
}

.empty-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.empty-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.empty-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
}

.slot-placeholder {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color var(--transition-fast);
}

.slot-placeholder:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.slot-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.slot-title {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Footer Section
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-subtle);
  background: #06070a;
  padding: 3rem 0 2.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-handle {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--neon-cyan);
}

.footer-name {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-motto {
  font-size: 0.88rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-note a {
  color: var(--text-secondary);
  text-decoration: underline;
}

.footer-note a:hover {
  color: var(--neon-cyan);
}

.footer-tech {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
/* --------------------------------------------------------------------------
   3D Archive CTA Components & Links
   -------------------------------------------------------------------------- */
.nav-3d-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.3);
  border-radius: var(--radius-sm);
  color: var(--neon-cyan) !important;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 0 12px var(--neon-cyan-glow);
  transition: all var(--transition-fast);
}

.nav-3d-link:hover {
  background: rgba(0, 245, 212, 0.16);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 18px var(--neon-cyan-glow);
  transform: translateY(-1px);
}

.nav-3d-spark {
  font-size: 0.85rem;
  animation: pulse-dot 2.5s infinite;
}

.hero-3d-banner {
  width: 100%;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, rgba(16, 18, 27, 0.98), rgba(20, 26, 42, 0.98));
  border: 1px solid rgba(0, 245, 212, 0.35);
  border-radius: var(--radius-md);
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 245, 212, 0.12);
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hero-3d-banner:hover {
  border-color: rgba(0, 245, 212, 0.55);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65), 0 0 32px rgba(0, 245, 212, 0.2);
}

.hero-3d-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-amber));
}

.hero-3d-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 540px;
}

.hero-3d-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
}

.hero-3d-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.hero-3d-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.btn-enter-3d {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--neon-cyan);
  color: #07080d;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  box-shadow: 0 0 22px rgba(0, 245, 212, 0.35);
  transition: all var(--transition-fast);
}

.btn-enter-3d:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
  box-shadow: 0 0 34px rgba(0, 245, 212, 0.55);
}

.btn-enter-3d:focus-visible,
.nav-3d-link:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
}

.btn-enter-3d:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

/* --------------------------------------------------------------------------
   Traccia audio dell'Archivio 3D
   -------------------------------------------------------------------------- */
.audio-track-card {
  width: 100%;
  margin-top: 1rem;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 183, 3, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.audio-track-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.audio-track-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.35);
  color: var(--neon-amber);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 0 12px var(--neon-amber-glow);
  flex-shrink: 0;
}

.audio-track-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.audio-track-title {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}

.audio-track-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.audio-track-player {
  width: 100%;
  height: 40px;
  border-radius: var(--radius-sm);
}

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

.section-3d-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--neon-cyan);
  border-bottom: 1px dashed rgba(0, 245, 212, 0.4);
  padding-bottom: 2px;
  transition: all var(--transition-fast);
}

.section-3d-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
  text-shadow: 0 0 12px var(--neon-cyan-glow);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .empty-slots {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .draft-banner {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
  }

  .main-nav {
    display: none; /* simple clean mobile view */
  }

  .hero-section {
    padding: 3rem 0 2rem;
  }

  .bio-card {
    padding: 1.25rem 1.4rem;
  }

  .hero-3d-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.4rem;
  }

  .btn-enter-3d {
    width: 100%;
    justify-content: center;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Post / Article Page
   -------------------------------------------------------------------------- */
.post-section {
  position: relative;
  z-index: 10;
  padding: 4rem 0 5.5rem;
}

.post-article {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.post-article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-amber));
}

.post-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.post-tag {
  color: var(--neon-amber);
  background: rgba(255, 183, 3, 0.1);
  border: 1px solid rgba(255, 183, 3, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.post-date {
  color: var(--text-muted);
}

.post-title {
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.post-lead {
  font-size: 1.15rem;
  color: #e2e8f0;
  line-height: 1.7;
  border-left: 3px solid var(--neon-cyan);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

.post-body p {
  margin-bottom: 1.35rem;
  color: #cbd5e1;
  line-height: 1.75;
}

.post-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--neon-cyan);
  margin: 2rem 0 0.9rem;
  letter-spacing: -0.01em;
}

.post-body code {
  font-family: var(--font-mono);
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.2);
  color: var(--neon-cyan);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.88em;
}

.post-body strong {
  color: #ffffff;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.btn-back-post {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.3);
  color: var(--neon-cyan);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-back-post:hover {
  background: rgba(0, 245, 212, 0.16);
  border-color: var(--neon-cyan);
}

.post-author {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

/* Post card list on homepage */
.post-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.post-card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  border-color: rgba(0, 245, 212, 0.4);
  box-shadow: 0 12px 30px var(--neon-cyan-glow);
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.post-card-meta .post-tag {
  color: var(--neon-amber);
}

.post-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.post-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.post-card-link:hover {
  color: #ffffff;
}

@media (max-width: 640px) {
  .post-article {
    padding: 1.75rem 1.4rem;
  }
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Prodotto funzionale: skip-link, header sticky, nav mobile,
   filtri post, progress di lettura, torna su, accessibilità
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  background: var(--neon-cyan);
  color: #07080d;
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 10, 15, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.main-nav a.is-active {
  color: var(--neon-cyan);
  text-shadow: 0 0 12px var(--neon-cyan-glow);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav panel */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1.5rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(9, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mobile-nav a {
  padding: 0.7rem 0.5rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: var(--neon-cyan);
  background: rgba(0, 245, 212, 0.06);
}
.mobile-nav a.nav-3d-link {
  color: var(--neon-cyan);
  margin-top: 0.25rem;
}

/* Footer nav */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
}
.footer-nav a {
  color: var(--text-secondary);
}
.footer-nav a:hover {
  color: var(--neon-cyan);
}

/* Post filter + count */
.post-count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.post-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-btn:hover {
  border-color: var(--border-active);
  color: var(--text-primary);
}
.filter-btn.is-active {
  background: rgba(0, 245, 212, 0.1);
  border-color: rgba(0, 245, 212, 0.4);
  color: var(--neon-cyan);
  box-shadow: 0 0 14px var(--neon-cyan-glow);
}

/* Post card meta / tag */
.post-card-meta .post-read {
  color: var(--text-muted);
}
.post-tag {
  color: var(--neon-cyan);
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.post-tag.tag-corpo {
  color: var(--neon-cyan);
  background: rgba(0, 245, 212, 0.08);
  border-color: rgba(0, 245, 212, 0.25);
}
.post-tag.tag-mente {
  color: var(--neon-purple);
  background: rgba(179, 136, 255, 0.1);
  border-color: rgba(179, 136, 255, 0.25);
}
.post-tag.tag-sistemi {
  color: var(--neon-amber);
  background: rgba(255, 183, 3, 0.1);
  border-color: rgba(255, 183, 3, 0.28);
}

.post-empty {
  text-align: center;
  color: var(--text-secondary);
  padding: 2.5rem 1rem;
  border: 1px dashed var(--border-active);
  border-radius: var(--radius-md);
}
.posts-noscript {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Rispetta l'attributo [hidden] anche quando display è forzato */
.post-card[hidden],
.post-empty[hidden],
#mobile-nav[hidden] {
  display: none;
}

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-amber));
  z-index: 60;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-active);
  color: var(--text-primary);
  font-size: 1.15rem;
  font-family: var(--font-mono);
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: all var(--transition-fast);
}
.back-to-top:hover,
.back-to-top:focus-visible {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 18px var(--neon-cyan-glow);
}
.back-to-top[hidden] {
  display: none;
}

/* Focus visibile per chi usa la tastiera */
:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Rispetta chi preferisce meno animazioni */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive per i nuovi componenti */
@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }
  .post-card-meta {
    flex-wrap: wrap;
  }
  .footer-nav {
    flex-direction: column;
    gap: 0.6rem;
  }
  .post-filter {
    gap: 0.4rem;
  }
}

/* --------------------------------------------------------------------------
   Sezione YouTube / Video
   -------------------------------------------------------------------------- */
.youtube-section {
  position: relative;
  z-index: 10;
  padding: 4rem 0 5.5rem;
}

.yt-cta {
  margin-bottom: 1.75rem;
}
.yt-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.25rem;
  background: rgba(255, 183, 3, 0.08);
  border: 1px solid rgba(255, 183, 3, 0.3);
  border-radius: var(--radius-sm);
  color: var(--neon-amber);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}
.yt-cta-btn:hover {
  background: rgba(255, 183, 3, 0.16);
  border-color: var(--neon-amber);
  box-shadow: 0 0 18px var(--neon-amber-glow);
  transform: translateY(-1px);
}
.yt-play-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  background: var(--neon-amber);
  color: #07080d;
  border-radius: 50%;
  font-size: 0.6rem;
}
.yt-arrow {
  transition: transform var(--transition-fast);
}
.yt-cta-btn:hover .yt-arrow {
  transform: translateX(3px);
}

.youtube-status {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.yt-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.yt-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 183, 3, 0.4);
  box-shadow: 0 12px 28px var(--neon-amber-glow);
}
.yt-thumb-wrap {
  aspect-ratio: 16 / 9;
  background: #000;
}
.yt-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.yt-body {
  padding: 1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}
.yt-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yt-date {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}
.youtube-empty {
  text-align: center;
  color: var(--text-secondary);
  padding: 2.5rem 1rem;
  border: 1px dashed var(--border-active);
  border-radius: var(--radius-md);
}
.yt-card[hidden],
.youtube-empty[hidden] {
  display: none;
}

@media (max-width: 860px) {
  .youtube-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .youtube-grid {
    grid-template-columns: 1fr;
  }
}

/* Community Skool */
.community-section {
  position: relative;
  z-index: 10;
  padding: 4.5rem 0 5.5rem;
}
.community-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 245, 212, 0.10) 0%, rgba(179, 136, 255, 0.07) 55%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}
.skool-panel {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem 2rem;
  background: linear-gradient(180deg, rgba(20, 23, 36, 0.85) 0%, rgba(16, 18, 27, 0.92) 100%);
  border: 1px solid rgba(0, 245, 212, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px rgba(179, 136, 255, 0.06), 0 24px 60px -30px rgba(0, 245, 212, 0.25);
  text-align: center;
  overflow: hidden;
}
.skool-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 212, 0.7), transparent);
}
.skool-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.skool-kicker { color: var(--neon-purple); }
.skool-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-secondary);
}
.skool-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  animation: skoolPulse 2.4s ease-in-out infinite;
}
@keyframes skoolPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.community-section .section-header { margin-bottom: 1.75rem; }
.skool-panel .section-desc {
  max-width: 560px;
  margin: 0 auto;
}
.skool-pillars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 0;
  margin: 0 0 2rem;
}
.skool-pillars li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 0.75rem;
  background: rgba(0, 245, 212, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.skool-pillars li:hover {
  border-color: rgba(0, 245, 212, 0.4);
  background: rgba(0, 245, 212, 0.07);
  transform: translateY(-2px);
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--neon-cyan);
  letter-spacing: 0.1em;
}
.pillar-label {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}
.pillar-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
}
.skool-cta { margin-bottom: 1.1rem; }
.skool-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  background: rgba(0, 245, 212, 0.10);
  border: 1px solid rgba(0, 245, 212, 0.45);
  border-radius: var(--radius-sm);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 0 24px -6px var(--neon-cyan-glow);
  transition: all var(--transition-fast);
}
.skool-cta-btn:hover {
  background: rgba(0, 245, 212, 0.18);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 32px -4px rgba(0, 245, 212, 0.5);
  transform: translateY(-1px);
}
.skool-icon { font-size: 0.6rem; }
.skool-arrow { transition: transform var(--transition-fast); }
.skool-cta-btn:hover .skool-arrow { transform: translateX(4px); }
.skool-note {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.15);
  margin: 0 0 0.25rem;
}
@media (max-width: 640px) {
  .skool-panel { padding: 1.75rem 1.25rem 1.5rem; }
  .skool-pillars { grid-template-columns: 1fr; }
  .skool-panel-head { justify-content: center; gap: 1.25rem; }
}

/* QR Matrix — hub QR "Entra nel Matrix" + wallpaper TV */
.qr-matrix-panel {
  position: relative;
  max-width: 780px;
  margin: 1.5rem auto 0;
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.75rem;
  align-items: center;
  background: linear-gradient(180deg, rgba(20, 23, 36, 0.85) 0%, rgba(16, 18, 27, 0.92) 100%);
  border: 1px solid rgba(179, 136, 255, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px rgba(0, 245, 212, 0.05), 0 24px 60px -34px rgba(179, 136, 255, 0.35);
  overflow: hidden;
}
.qr-matrix-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(179, 136, 255, 0.7), transparent);
}
.qr-matrix-code {
  display: block;
  line-height: 0;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast);
}
.qr-matrix-code:hover { transform: translateY(-2px); }
.qr-matrix-code img {
  display: block;
  width: 152px;
  height: 152px;
  background: #ffffff;
  padding: 9px;
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 14px 36px -20px rgba(0, 245, 212, 0.65);
  image-rendering: pixelated;
}
.qr-matrix-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neon-purple);
  margin-bottom: 0.45rem;
}
.qr-matrix-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.qr-matrix-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.qr-matrix-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.qr-matrix-open { margin: 0; }
.qr-matrix-dl {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 183, 3, 0.4);
  border-radius: var(--radius-sm);
  background: rgba(255, 183, 3, 0.08);
  color: var(--neon-amber);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}
.qr-matrix-dl:hover {
  background: rgba(255, 183, 3, 0.18);
  border-color: rgba(255, 183, 3, 0.7);
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .qr-matrix-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 1.6rem 1.25rem;
    gap: 1.25rem;
  }
  .qr-matrix-actions { justify-content: center; }
}

/* YouTube restyle — famiglia visiva pannello Skool */
.youtube-section { padding: 4.5rem 0 5.5rem; }
.yt-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 183, 3, 0.09) 0%, rgba(0, 245, 212, 0.05) 55%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}
.yt-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.yt-kicker { color: var(--neon-purple); }
.yt-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-secondary);
}
.yt-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-amber);
  box-shadow: 0 0 8px var(--neon-amber);
  animation: skoolPulse 2.4s ease-in-out infinite;
}
.youtube-section .section-header { text-align: center; margin-bottom: 1.75rem; }
.youtube-section .section-desc { max-width: 560px; margin: 0 auto; }
.youtube-section .yt-cta { text-align: center; margin-bottom: 2.25rem; }
.youtube-section .youtube-status { text-align: center; }
.yt-note {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  text-align: center;
  padding-top: 1.4rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.15);
  margin: 2.25rem 0 0;
}
@media (max-width: 640px) {
  .yt-head-row { justify-content: center; gap: 1.25rem; }
}
