/*
Theme Name: Hypnosonica
Theme URI: https://hypnosonica.com
Author: Antigravity Design Studio
Author URI: https://hypnosonica.com
Description: A breathtaking, dark celestial WordPress theme designed for Hypnosonica and their ambient project "Music to Sleep To". Features glassmorphism, responsive cosmic layout, built-in binaural sleep sound generator, and immersive music player.
Version: 1.0.0
License: GNU General Public License v2 or later
Tags: dark-mode, music, band, responsive-layout, glassmorphism, sleep-suite, audio-player, ambient
Text Domain: hypnosonica
*/

/* ==========================================================================
   DESIGN SYSTEM - COSMIC NOCTURNE PALETTE & TOKENS
   ========================================================================== */
:root {
  --bg-dark: #070714;
  --bg-card: rgba(15, 16, 38, 0.65);
  --bg-card-hover: rgba(22, 24, 56, 0.85);
  --border-glass: rgba(100, 255, 218, 0.15);
  --border-glow: rgba(255, 102, 196, 0.35);
  
  --cyan-glow: #64ffda;
  --cyan-accent: #4deeea;
  --pink-glow: #ff66c4;
  --violet-glow: #a78bfa;
  --indigo-dark: #121026;
  
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-title: 'Cinzel', 'Syne', serif, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --shadow-neon-cyan: 0 0 25px rgba(100, 255, 218, 0.25);
  --shadow-neon-pink: 0 0 25px rgba(255, 102, 196, 0.25);
  --glass-blur: blur(16px);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-pill: 9999px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  background: radial-gradient(circle at 50% 20%, #161538 0%, var(--bg-dark) 70%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Background Animated Canvas / Starfield */
#space-starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
}

.site-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 0.75rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

p {
  margin-bottom: 1.25rem;
  color: #ffffff;
  font-size: 1.05rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

a {
  color: var(--cyan-accent);
  text-decoration: none;
  transition: var(--transition);
  overflow-wrap: break-word;
}

a:hover {
  color: var(--pink-glow);
  text-shadow: 0 0 10px rgba(255, 102, 196, 0.4);
}

/* Base Lists */
ul, ol {
  padding-left: 1.75rem;
  margin-bottom: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
  color: #ffffff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(77, 238, 234, 0.2), rgba(167, 139, 250, 0.25));
  border-color: var(--cyan-glow);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(100, 255, 218, 0.2);
  backdrop-filter: blur(8px);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--cyan-glow), var(--pink-glow));
  color: #070714;
  box-shadow: 0 0 30px rgba(100, 255, 218, 0.5), 0 0 15px rgba(255, 102, 196, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--pink-glow);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-violet {
  background: rgba(167, 139, 250, 0.15);
  border-color: var(--violet-glow);
  color: #ffffff;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(167, 139, 250, 0.2);
}

.btn-violet:hover {
  background: rgba(167, 139, 250, 0.35);
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(167, 139, 250, 0.5);
  transform: translateY(-2px);
}

.btn-cyan {
  background: rgba(100, 255, 218, 0.15);
  border-color: var(--cyan-glow);
  color: #ffffff;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(100, 255, 218, 0.2);
}

.btn-cyan:hover {
  background: rgba(100, 255, 218, 0.35);
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(100, 255, 218, 0.5);
  transform: translateY(-2px);
}

/* Navbar / Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 20, 0.75);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-glass);
  padding: 1rem 0;
  transition: var(--transition);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.1em;
}

.brand-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(100, 255, 218, 0.4);
  border: 1px solid var(--cyan-glow);
  object-fit: cover;
}

.brand-logo span.glow {
  background: linear-gradient(90deg, var(--cyan-glow), var(--pink-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan-glow);
  text-shadow: 0 0 8px rgba(100, 255, 218, 0.5);
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.5rem 1rem;
  }

  .nav-links {
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-glass);
  }

  .nav-actions {
    display: none;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 20, 0.6) 0%, rgba(7, 7, 20, 0.95) 100%),
              radial-gradient(ellipse at center, transparent 20%, var(--bg-dark) 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-emblem-badge {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(100, 255, 218, 0.35), 0 0 80px rgba(255, 102, 196, 0.2);
  border: 2px solid var(--cyan-glow);
  margin-bottom: 2rem;
  animation: floatEmblem 6s ease-in-out infinite;
  object-fit: cover;
}

@keyframes floatEmblem {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--cyan-glow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  text-shadow: 0 0 12px rgba(100, 255, 218, 0.6);
}

.hero-title span {
  background: linear-gradient(135deg, #ffffff 0%, var(--violet-glow) 50%, var(--pink-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  max-width: 700px;
  font-size: 1.15rem;
  margin: 1.5rem 0 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Glassmorphism Cards & Layout */
.section-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 5rem 2rem;
  box-sizing: border-box;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.section-title {
  position: relative;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-glow), var(--pink-glow));
  border-radius: var(--radius-pill);
  box-shadow: 0 0 10px var(--cyan-glow);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 25px 50px rgba(100, 255, 218, 0.1), 0 0 20px rgba(255, 102, 196, 0.15);
}

/* SLEEP SUITE AUDIO PLAYER CONTAINER */
.sleep-suite-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 968px) {
  .sleep-suite-container {
    grid-template-columns: 1fr;
  }
}

.player-main-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Canvas Sine Wave Visualizer */
.visualizer-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  background: rgba(7, 7, 20, 0.85);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#sine-visualizer {
  width: 100%;
  height: 100%;
}

.visualizer-overlay-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(100, 255, 218, 0.1);
  border: 1px solid var(--cyan-glow);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: var(--cyan-glow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Audio Controls */
.player-controls {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

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

.track-cover-mini {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  border: 1px solid var(--cyan-glow);
  object-fit: cover;
}

.track-meta h4 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
  color: #ffffff;
}

.track-meta p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--text-muted);
}

.playback-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 0.5rem 0;
}

.btn-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
}

.btn-circle:hover {
  background: var(--cyan-glow);
  color: #070714;
  box-shadow: 0 0 20px var(--cyan-glow);
  border-color: var(--cyan-glow);
}

.btn-circle.play-main {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--cyan-glow), var(--pink-glow));
  color: #070714;
  border: none;
  box-shadow: 0 0 25px rgba(100, 255, 218, 0.4);
  font-size: 1.5rem;
}

.btn-circle.play-main:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(255, 102, 196, 0.6);
}

/* Binaural Beat Generator Controls */
.binaural-suite {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.suite-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.binaural-toggles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.binaural-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition);
}

.binaural-btn span.name {
  font-weight: 600;
  font-size: 0.9rem;
}

.binaural-btn span.freq {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.binaural-btn:hover {
  border-color: var(--violet-glow);
  background: rgba(167, 139, 250, 0.1);
}

.binaural-btn.active {
  border-color: var(--pink-glow);
  background: rgba(255, 102, 196, 0.18);
  box-shadow: 0 0 15px rgba(255, 102, 196, 0.3);
}

.binaural-btn.active span.freq {
  color: var(--pink-glow);
}

/* Sleep Timer Presets */
.sleep-timer-presets {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.timer-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}

.timer-btn:hover,
.timer-btn.active {
  background: rgba(100, 255, 218, 0.15);
  border-color: var(--cyan-glow);
  color: var(--cyan-glow);
  box-shadow: 0 0 12px rgba(100, 255, 218, 0.3);
}

/* Playlist Cards */
.playlist-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.playlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.playlist-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan-glow);
  transform: translateX(4px);
}

.playlist-item.active {
  border-color: var(--pink-glow);
  background: linear-gradient(90deg, rgba(255, 102, 196, 0.12), transparent);
}

.playlist-item .track-details {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.playlist-item .track-num {
  font-family: var(--font-title);
  color: var(--cyan-glow);
  font-weight: 700;
  width: 24px;
}

.playlist-item .duration {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Discography & Feature Section */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
  width: 100%;
  min-width: 0;
}

.album-card {
  overflow: hidden;
  position: relative;
  min-width: 0;
}

.album-art-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.2rem;
  border: 1px solid var(--border-glass);
}

.album-art-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.album-card:hover .album-art-wrap img {
  transform: scale(1.06);
}

/* Band Profile Bio Section */
.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 3rem;
  align-items: center;
  min-width: 0;
}

@media (max-width: 850px) {
  .profile-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.profile-art-container {
  text-align: center;
}

.profile-art-container img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 35px rgba(167, 139, 250, 0.3);
  border: 1px solid var(--border-glow);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: rgba(7, 7, 20, 0.95);
  border-top: 1px solid var(--border-glass);
  padding: 4rem 2rem 2.5rem;
}

.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan-glow);
  margin-bottom: 1.2rem;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px var(--cyan-glow);
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Form Styles */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.input-glass {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-pill);
  color: #ffffff;
  outline: none;
  transition: var(--transition);
}

.input-glass:focus {
  border-color: var(--cyan-glow);
  box-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
}

/* Docked Bottom Audio Bar */
.docked-audio-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(12, 14, 34, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glow);
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.docked-audio-bar.active {
  transform: translateY(0);
}

/* ==========================================================================
   YOUTUBE SMART PLAYLIST CURATION FILTER BAR
   ========================================================================== */
.yt-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  background: rgba(18, 20, 48, 0.4);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glass);
}

.yt-filter-group {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.yt-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.yt-filter-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: var(--border-glow);
}

.yt-filter-btn.active {
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.2), rgba(255, 102, 196, 0.2));
  border-color: var(--cyan-glow);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(100, 255, 218, 0.25);
}

.yt-shuffle-btn {
  background: rgba(167, 139, 250, 0.15);
  border: 1px solid var(--violet-glow);
  color: #ffffff;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.yt-shuffle-btn:hover {
  background: rgba(167, 139, 250, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
}

.youtube-session-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* HIGH-PERFORMANCE VIDEO FACADE & THUMBNAIL CACHE */
.yt-video-facade {
  position: relative;
  width: 100%;
  height: 210px;
  background: #0d111a;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px 12px 0 0;
}

.yt-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
  filter: brightness(0.92);
}

.yt-video-facade:hover .yt-thumb-img {
  transform: scale(1.05);
  filter: brightness(1);
}

.yt-facade-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(18, 22, 34, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--cyan-glow);
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(100, 255, 218, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.yt-video-facade:hover .yt-facade-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: linear-gradient(135deg, rgba(255, 42, 109, 0.85), rgba(100, 255, 218, 0.85));
  border-color: #ffffff;
  box-shadow: 0 0 35px rgba(255, 42, 109, 0.7);
}

.yt-video-facade iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px 12px 0 0;
}

/* ==========================================================================
   LATEST NEWS & JOURNAL DISPATCHES SECTION
   ========================================================================== */
.news-featured-card {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(255, 102, 196, 0.08) 0%, var(--bg-card) 60%);
  border: 1px solid var(--border-glass);
  box-sizing: border-box;
  min-width: 0;
}

.news-featured-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(100, 255, 218, 0.15);
}

.news-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 2.5rem;
  align-items: start;
  width: 100%;
  min-width: 0;
}

.news-featured-grid.no-thumbnail {
  grid-template-columns: minmax(0, 1fr);
}

.news-thumb-wrap {
  position: sticky;
  top: 6rem;
  width: 100%;
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: #0d0f24;
  box-sizing: border-box;
}

.news-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.news-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.news-thumb-wrap:hover .news-thumb-img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.news-pill-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 7, 20, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--cyan-glow);
  color: var(--cyan-glow);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.news-content-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.news-meta-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.news-meta-item.news-date {
  color: var(--cyan-glow);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.news-meta-item.news-category {
  color: var(--pink-glow);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.news-meta-separator {
  color: var(--text-dim);
}

.news-article-title {
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1.25;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.news-article-title a {
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition);
  overflow-wrap: break-word;
  word-break: break-word;
}

.news-article-title a:hover {
  color: var(--cyan-glow);
  text-shadow: 0 0 15px rgba(100, 255, 218, 0.4);
}

/* Summary & Excerpt Callout Rules (Archive Card Excerpts Only) */
.news-card-excerpt {
  background: rgba(226, 232, 240, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #1e293b;
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.news-card-excerpt p {
  color: #1e293b !important;
  margin-bottom: 0;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Hide Summary Boxes / AI Summaries on Post Page & Throughout Post Content */
.post-summary,
.entry-summary,
.summary-box,
summary,
.ai-summarization-summary,
.news-snippet-excerpt,
.post-content .post-summary,
.post-content .entry-summary,
.post-content .summary-box,
.post-content summary,
.post-content .ai-summarization-summary,
.post-content .wp-block-post-excerpt,
.page-content .ai-summarization-summary,
.page-content .post-summary,
.single .post-summary,
.single .entry-summary,
.single .summary-box,
.single summary,
.single .ai-summarization-summary,
.single .wp-block-post-excerpt {
  display: none !important;
}

.news-actions-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ==========================================================================
   BLOG ARCHIVE & ALL POSTS VIEW
   ========================================================================== */
.news-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
  width: 100%;
  min-width: 0;
}

.news-card-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.news-card-art {
  height: 220px;
  margin-bottom: 1.2rem;
}

.news-card-art a {
  display: block;
  width: 100%;
  height: 100%;
}

.news-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.5s ease;
}

.news-card-item:hover .news-card-art img {
  transform: scale(1.05);
}

/* Numeric & Accessible Pagination */
.pagination-wrapper {
  margin-top: 3.5rem;
}

.pagination-wrapper .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  list-style: none;
}

.pagination-wrapper .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.pagination-wrapper .page-numbers:hover,
.pagination-wrapper .page-numbers.current {
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.25), rgba(255, 102, 196, 0.25));
  border-color: var(--cyan-glow);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(100, 255, 218, 0.35);
}

.pagination-wrapper .page-numbers.dots {
  background: transparent;
  border: none;
  color: var(--text-dim);
}

/* ==========================================================================
   POST & PAGE CONTENT RICH TYPOGRAPHY
   ========================================================================== */
.post-content,
.page-content,
.entry-content,
.news-article-content {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: break-word;
  word-wrap: break-word;
  min-width: 0;
  max-width: 100%;
}

.post-content p,
.page-content p,
.entry-content p,
.news-article-content p {
  color: #ffffff;
  margin-bottom: 1.35rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: break-word;
  word-wrap: break-word;
}

.post-content a,
.page-content a,
.entry-content a,
.news-article-content a {
  color: var(--cyan-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  word-break: break-word;
  word-break: break-all;
  transition: var(--transition);
}

.post-content a:hover,
.page-content a:hover,
.entry-content a:hover,
.news-article-content a:hover {
  color: var(--pink-glow);
}

.post-content ul,
.post-content ol,
.page-content ul,
.page-content ol,
.entry-content ul,
.entry-content ol,
.news-article-content ul,
.news-article-content ol,
.post-content .wp-block-list,
.page-content .wp-block-list {
  padding-left: 1.75rem;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  list-style-position: outside;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.post-content ul,
.page-content ul,
.entry-content ul,
.news-article-content ul,
.post-content .wp-block-list,
.page-content .wp-block-list {
  list-style-type: disc;
}

.post-content ol,
.page-content ol,
.entry-content ol,
.news-article-content ol {
  list-style-type: decimal;
}

.post-content li,
.page-content li,
.entry-content li,
.news-article-content li {
  color: #ffffff;
  margin-bottom: 0.55rem;
  padding-left: 0.25rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.post-content ul li::marker,
.page-content ul li::marker,
.entry-content ul li::marker,
.news-article-content ul li::marker,
.post-content .wp-block-list li::marker,
.page-content .wp-block-list li::marker {
  color: var(--cyan-glow);
}

.post-content ol li::marker,
.page-content ol ol li::marker,
.entry-content ol li::marker,
.news-article-content ol li::marker {
  color: var(--cyan-glow);
  font-weight: 600;
}

.post-content ul ul,
.post-content ol ul,
.post-content ul ol,
.post-content ol ol,
.page-content ul ul,
.page-content ol ul,
.page-content ul ol,
.page-content ol ol {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
  padding-left: 1.5rem;
}

/* AI Summary Block - Hidden */
.ai-summarization-summary,
.post-content .ai-summarization-summary,
.page-content .ai-summarization-summary,
.single .ai-summarization-summary {
  display: none !important;
}

/* Blockquote / Callout Blocks */
blockquote,
.wp-block-quote,
.wp-block-pullquote,
article blockquote,
.glass-card blockquote,
.post-content blockquote,
.page-content blockquote,
.entry-content blockquote,
.news-article-content blockquote,
.post-content .wp-block-quote,
.page-content .wp-block-quote,
.post-content .wp-block-pullquote,
.page-content .wp-block-pullquote {
  margin: 2rem 0;
  padding: 1.25rem 1.6rem;
  background: rgba(226, 232, 240, 0.5) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #1e293b !important;
  border-left: 5px solid var(--cyan-glow) !important;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
}

blockquote p,
blockquote span,
blockquote strong,
blockquote em,
.wp-block-quote p,
.wp-block-pullquote p,
article blockquote p,
.glass-card blockquote p,
.post-content blockquote p,
.page-content blockquote p,
.entry-content blockquote p,
.news-article-content blockquote p,
.post-content .wp-block-quote p,
.page-content .wp-block-quote p,
.post-content .wp-block-pullquote p,
.page-content .wp-block-pullquote p {
  color: #1e293b !important;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

blockquote p + p,
.post-content blockquote p + p {
  margin-top: 0.85rem;
}

blockquote cite,
.wp-block-quote cite,
.post-content blockquote cite {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.88rem;
  color: #475569;
  font-style: normal;
  font-weight: 600;
}

.post-content img,
.page-content img,
.entry-content img,
.news-article-content img,
.wp-block-image img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  box-sizing: border-box;
}

.post-content iframe,
.page-content iframe,
.entry-content iframe,
.news-article-content iframe,
.post-content embed,
.post-content video,
.wp-block-embed iframe,
.wp-block-video video {
  max-width: 100% !important;
  box-sizing: border-box;
}

.post-content pre,
.page-content pre,
.entry-content pre,
.news-article-content pre {
  background: rgba(7, 7, 20, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  overflow-x: auto;
  max-width: 100%;
  white-space: pre-wrap;
  word-break: break-all;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.post-content code,
.page-content code,
.entry-content code {
  font-family: monospace;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-size: 0.9em;
  word-break: break-word;
}

.post-content table,
.page-content table,
.entry-content table {
  width: 100%;
  max-width: 100%;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 850px) {
  .news-featured-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }

  .news-thumb-wrap {
    position: relative;
    top: 0;
    height: 240px;
  }
}

@media (max-width: 768px) {
  .section-container {
    padding: 3.5rem 1.25rem;
  }

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

  .glass-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .news-featured-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .news-article-title {
    font-size: clamp(1.25rem, 4vw, 1.6rem);
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  .news-meta-row {
    gap: 0.4rem;
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
  }

  .news-actions-bar {
    margin-top: 1.25rem;
  }

  .news-actions-bar .btn {
    width: 100%;
    justify-content: center;
  }

  .grid-cards {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
  }

  .news-blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
  }

  .hero-section {
    padding: 5rem 1.25rem 3rem;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  .profile-emblem-badge {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .yt-filter-bar {
    border-radius: var(--radius-md);
    padding: 0.8rem;
  }

  .yt-filter-group {
    width: 100%;
    justify-content: center;
  }

  .yt-filter-btn {
    flex: 1 1 calc(50% - 0.4rem);
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.45rem 0.6rem;
  }

  .yt-shuffle-btn {
    width: 100%;
    justify-content: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .docked-audio-bar {
    padding: 0.6rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }

  .docked-audio-bar .dock-actions {
    display: none;
  }
}

@media (max-width: 480px) {
  .section-container {
    padding: 2.8rem 0.85rem;
  }

  .glass-card {
    padding: 1.25rem 0.95rem;
  }

  .news-featured-card {
    padding: 1.25rem 0.95rem;
  }

  .news-thumb-wrap {
    height: 190px;
  }

  .news-pill-badge {
    top: 10px;
    left: 10px;
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
  }

  .news-article-title {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .hero-subtitle {
    font-size: 0.85rem !important;
    letter-spacing: 0.12em;
  }

  .news-card-excerpt {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
  }

  .post-content,
  .page-content,
  .entry-content,
  .news-article-content {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .post-content p,
  .page-content p,
  .entry-content p,
  .news-article-content p {
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  blockquote,
  .wp-block-quote,
  .wp-block-pullquote,
  .post-content blockquote,
  .news-article-content blockquote {
    padding: 1rem 1.1rem;
    margin: 1.25rem 0;
  }
}



