/* ==========================================================================
   Strasua Font Loading
   ========================================================================== */
@font-face {
  font-family: 'Strasua';
  src: url('./fonts/Strasua.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   CSS Reset & Base variables
   ========================================================================== */
:root {
  --bg-color: #050505;
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --font-display: 'Strasua', sans-serif;
  --font-text: 'Outfit', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 90px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

html, body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-text);
  width: 100%;
  overflow-x: hidden;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}

/* Typography Helper Classes */
.font-display { font-family: var(--font-display); }
.font-text { font-family: var(--font-text); }
.font-mono { font-family: var(--font-mono); }


/* Hide scrollbar for Chrome, Safari, Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Scroll Lock when Menu is open */
body.scroll-locked {
  overflow: hidden;
}

/* ==========================================================================
   Interactive Links & Buttons (Common Style)
   ========================================================================== */
a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   Navigation Bar (.nav-boiler)
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  background-color: rgba(5, 5, 5, 0.3);
}

.nav-boiler {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Wrap */
.nav-logo-wrap {
  display: inline-flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.nav-logo-phrase {
  font-family: var(--font-text);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  display: inline-block;
}

.nav-logo-wrap:hover .nav-logo-phrase {
  color: var(--text-secondary);
}

/* Menu Block Container */
.menu-w {
  display: flex;
  align-items: center;
}

/* Desktop links */
.menu-links-w {
  display: flex;
  gap: 40px;
  margin-right: 48px;
  transition: var(--transition-smooth);
}

.link-boiler {
  font-family: var(--font-text);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  position: relative;
  transition: opacity 0.3s ease;
}

.link-boiler::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--text-primary);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-boiler:hover {
  opacity: 0.85;
}

.link-boiler:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Toggle Menu Button */
.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
}

.menu-btn-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Icon (4 dots SVG) */
.menu-svg {
  width: 12px;
  height: 12px;
  color: var(--text-primary);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dot {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Button Hover Animations */
.menu-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.08);
}

.menu-btn:hover .menu-svg {
  transform: rotate(90deg);
}

.menu-btn:hover .dot-1 {
  transform: translate(2px, -2px);
}
.menu-btn:hover .dot-2 {
  transform: translate(-2px, -2px);
}
.menu-btn:hover .dot-3 {
  transform: translate(2px, 2px);
}
.menu-btn:hover .dot-4 {
  transform: translate(-2px, 2px);
}

/* Toggle Close State (Triggered by JS class 'menu-active') */
.menu-active .menu-btn {
  background-color: var(--text-primary);
  color: var(--bg-color);
  border-color: var(--text-primary);
}

.menu-active .menu-svg {
  transform: rotate(45deg);
}

.menu-active .dot-1 {
  transform: scale(0.8) translate(1px, -1px);
}
.menu-active .dot-4 {
  transform: scale(0.8) translate(-1px, 1px);
}

/* ==========================================================================
   Fullscreen Dropdown Menu Overlay (.menu_wrapper)
   ========================================================================== */
.menu_wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(25px) saturate(160%);
  -webkit-backdrop-filter: blur(25px) saturate(160%);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu_wrapper.is-active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.menu-inner {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  padding: calc(var(--header-height) + 40px) 4% 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-top: auto;
  margin-bottom: auto;
}

/* Large Vertical Overlay Links */
.link-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.link-mob {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-family: var(--font-text);
  font-size: 4rem;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--text-primary);
  width: fit-content;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu_wrapper.is-active .link-mob {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger overlay link animations */
.menu_wrapper.is-active .link-mob:nth-child(1) { transition-delay: 0.1s; }
.menu_wrapper.is-active .link-mob:nth-child(2) { transition-delay: 0.2s; }
.menu_wrapper.is-active .link-mob:nth-child(3) { transition-delay: 0.3s; }

.link-num {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 14px;
}

.link-text {
  position: relative;
  transition: transform 0.3s ease;
}

.link-mob:hover .link-text {
  transform: translateX(15px);
}

.link-mob:hover .link-num {
  color: var(--text-primary);
}

/* Contact overlay CTA buttons */
.link-btn-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.4s;
}

.menu_wrapper.is-active .link-btn-menu {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  border-radius: 50px;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  width: 100%;
  max-width: 400px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn.white {
  background-color: var(--text-primary);
  color: var(--bg-color);
  border-color: var(--text-primary);
}

.btn:hover {
  background-color: var(--text-primary);
  color: var(--bg-color);
  border-color: var(--text-primary);
  transform: scale(1.02);
}

.btn.white:hover {
  background-color: transparent;
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Arrow layout */
.arrow-w {
  width: 20px;
  height: 12px;
  position: relative;
  display: flex;
  align-items: center;
}

.arrow {
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.line-arrow {
  width: 100%;
  height: 1px;
  background-color: currentColor;
  position: absolute;
  left: 0;
  transition: var(--transition-smooth);
}

.shape-arrow {
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  position: absolute;
  right: 0;
  transition: var(--transition-smooth);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* Arobase tag style */
.arobase {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 400;
}

/* Footer layout inside overlay */
.link-hero-bottom-w {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.link-hero-lang-w {
  display: flex;
  align-items: center;
  gap: 32px;
}

.link-hero-w {
  display: flex;
  align-items: center;
  gap: 16px;
}

.link-social {
  font-family: var(--font-mono);
  transition: var(--transition-smooth);
}

.link-social:hover {
  color: var(--text-primary);
}

.social-divider {
  color: rgba(255, 255, 255, 0.15);
}

.link-lang {
  font-family: var(--font-mono);
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: 3px;
  color: var(--text-primary);
}

/* ==========================================================================
   Showcase Hero Backdrop Section
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 4%;
  background-color: #030303;
  overflow: hidden;
}

/* Background Atmosphere Glows */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.45;
  mix-blend-mode: screen;
  pointer-events: none;
}

.glow-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(94, 52, 235, 0.5) 0%, rgba(0, 0, 0, 0) 70%);
  top: 20%;
  left: 15%;
  animation: floatAmbient 12s infinite alternate ease-in-out;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(52, 177, 235, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
  bottom: 10%;
  right: 10%;
  animation: floatAmbient 16s infinite alternate-reverse ease-in-out;
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -40px) scale(1.15); }
}

/* Tech Grid Pattern overlay */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 800px;
}

.hero-title-brand {
  font-family: var(--font-display);
  font-size: 9.5vw;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  cursor: default;
  margin-bottom: 40px;
  line-height: 1;
}

.hero-title-brand:hover {
  letter-spacing: 0.06em;
  text-shadow: 0 0 35px rgba(255, 255, 255, 0.45);
}

/* Primary call to action button */
.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
  border-radius: 40px;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--text-primary);
  background-color: var(--text-primary);
  color: var(--bg-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary-hero:hover {
  background-color: transparent;
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Bottom elements inside hero page layout */
.hero-bottom-info {
  position: absolute;
  bottom: 40px;
  left: 4%;
  right: 4%;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-text);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-bottom-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-link {
  font-family: var(--font-mono);
  transition: var(--transition-smooth);
}

.social-link:hover {
  color: var(--text-primary);
}

.lang-tag {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 10px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media screen and (max-width: 991px) {
  .hero-title-brand {
    font-size: 11vw;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --header-height: 80px;
  }
  
  .menu-links-w {
    display: none; /* Hide top links on mobile */
  }
  
  .nav-logo-phrase {
    font-size: 0.75rem;
  }
  
  .menu-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .link-mob {
    font-size: 2.8rem;
  }
  
  .link-num {
    font-size: 0.85rem;
    margin-top: 8px;
  }
  
  .btn {
    padding: 18px 24px;
    font-size: 1rem;
    max-width: 100%;
  }
  
  .hero-title-brand {
    font-size: 13vw;
  }
  
  .link-hero-bottom-w {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .hero-bottom-info {
    flex-direction: column;
    gap: 12px;
    bottom: 24px;
  }
}

/* ==========================================================================
   BIO Section Layout & Styling
   ========================================================================== */
.bio-section {
  position: relative;
  width: 100%;
  padding: 140px 4% 120px;
  background-color: #060608;
  color: var(--text-primary);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bio-ambient-glow {
  position: absolute;
  top: 30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
}

.bio-grid-overlay {
  position: absolute;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  pointer-events: none;
  z-index: 1;
}

.bio-container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
}

/* Header */
.bio-header {
  margin-bottom: 70px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.tag-num {
  color: #7b61ff;
  font-weight: 500;
}

.bio-main-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 30px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #aaaaaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bio-lead-quote {
  max-width: 960px;
  padding: 28px 36px;
  border-left: 3px solid #7b61ff;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border-radius: 0 12px 12px 0;
}

.lead-text {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

/* Grid Layout */
.bio-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 70px;
  align-items: start;
}

/* Sticky Card Sidebar */
.bio-sidebar {
  position: relative;
}

.bio-sticky-card {
  position: sticky;
  top: 110px;
  background: rgba(18, 18, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.bio-sticky-card:hover {
  border-color: rgba(123, 97, 255, 0.3);
  box-shadow: 0 30px 60px rgba(123, 97, 255, 0.15);
}

.card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.bio-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-sticky-card:hover .bio-portrait-img {
  transform: scale(1.05);
}

.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 6, 8, 0.8) 100%);
}

.card-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34d399;
}

.card-details {
  padding: 8px 12px 12px;
}

.card-title {
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 16px;
}

.card-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.card-quote {
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin-bottom: 20px;
}

.card-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
}

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

.status-value {
  color: #7b61ff;
  font-weight: 500;
}

/* Timeline Column */
.bio-timeline {
  position: relative;
  padding-left: 36px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.bio-chapter {
  position: relative;
}

.chapter-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
}

.marker-dot {
  position: absolute;
  left: -42px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #060608;
  border: 2px solid var(--text-secondary);
  transition: var(--transition-smooth);
}

.bio-chapter:hover .marker-dot {
  border-color: #7b61ff;
  background: #7b61ff;
  box-shadow: 0 0 12px rgba(123, 97, 255, 0.8);
}

.marker-dot.pulse {
  border-color: #7b61ff;
  background: #7b61ff;
  box-shadow: 0 0 14px rgba(123, 97, 255, 0.9);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(123, 97, 255, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(123, 97, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(123, 97, 255, 0); }
}

.chapter-num {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: #7b61ff;
  font-weight: 500;
}

.chapter-title {
  font-family: var(--font-text);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.25;
}

.chapter-content p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 18px;
}

.chapter-content p:last-child {
  margin-bottom: 0;
}

.chapter-content strong {
  color: #ffffff;
  font-weight: 500;
}

.chapter-content em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

.bio-link {
  color: #a78bfa;
  text-decoration: none;
  border-bottom: 1px dashed rgba(167, 139, 250, 0.5);
  padding-bottom: 1px;
  transition: var(--transition-smooth);
}

.bio-link:hover {
  color: #1db954;
  border-bottom: 1px solid #1db954;
  text-shadow: 0 0 10px rgba(29, 185, 84, 0.4);
}

/* Pullquote inside timeline */
.bio-pullquote {
  position: relative;
  margin: 30px 0;
  padding: 30px 36px 30px 50px;
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.08) 0%, rgba(52, 177, 235, 0.04) 100%);
  border: 1px solid rgba(123, 97, 255, 0.25);
  border-radius: 12px;
}

.quote-symbol {
  position: absolute;
  top: 10px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: rgba(123, 97, 255, 0.3);
  line-height: 1;
}

.bio-pullquote p {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  color: #ffffff !important;
}

/* Highlight Box */
.bio-highlight-box {
  margin-top: 24px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bio-highlight-box p {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Scroll Animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 991px) {
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .bio-sticky-card {
    position: relative;
    top: 0;
    max-width: 480px;
    margin: 0 auto;
  }

  .bio-lead-quote {
    padding: 20px 24px;
  }

  .lead-text {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 767px) {
  .bio-section {
    padding: 100px 5% 80px;
  }

  .bio-timeline {
    padding-left: 24px;
  }

  .marker-dot {
    left: -29px;
    width: 9px;
    height: 9px;
  }

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

  .chapter-content p {
    font-size: 0.98rem;
  }

  .bio-pullquote {
    padding: 24px 20px 24px 40px;
  }

  .bio-pullquote p {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   MUSIC Section & Audio Player Styling
   ========================================================================== */
.music-section {
  position: relative;
  width: 100%;
  padding: 140px 4% 120px;
  background-color: #040406;
  color: var(--text-primary);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.music-ambient-glow {
  position: absolute;
  top: 40%;
  left: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(52, 177, 235, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
}

.music-grid-overlay {
  position: absolute;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  pointer-events: none;
  z-index: 1;
}

.music-container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
}

.music-header {
  margin-bottom: 60px;
}

.music-main-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.music-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.music-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: start;
}

/* Player Console Card */
.player-card {
  background: rgba(18, 18, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(25px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
}

.player-card.is-playing {
  border-color: rgba(123, 97, 255, 0.35);
  box-shadow: 0 30px 70px rgba(123, 97, 255, 0.15);
}

.player-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.player-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Visualizer Overlay */
.visualizer-overlay {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 24px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.equalizer-bar {
  width: 3px;
  background-color: #34d399;
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s ease;
}

.player-card.is-playing .bar-1 { animation: eqAnim 0.6s infinite alternate ease-in-out; }
.player-card.is-playing .bar-2 { animation: eqAnim 0.8s infinite alternate ease-in-out 0.15s; }
.player-card.is-playing .bar-3 { animation: eqAnim 0.5s infinite alternate ease-in-out 0.3s; }
.player-card.is-playing .bar-4 { animation: eqAnim 0.7s infinite alternate ease-in-out 0.1s; }
.player-card.is-playing .bar-5 { animation: eqAnim 0.9s infinite alternate ease-in-out 0.2s; }

@keyframes eqAnim {
  0% { height: 4px; }
  100% { height: 18px; }
}

/* Now Playing Display */
.now-playing-container {
  margin-bottom: 20px;
}

.now-playing-tag {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: #7b61ff;
  margin-bottom: 6px;
}

.now-playing-title {
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-playing-artist {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Timeline & Progress Bar */
.player-timeline-wrap {
  margin-bottom: 24px;
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.progress-bar-container {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  cursor: pointer;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7b61ff, #34d399);
  border-radius: 4px;
  transition: width 0.1s linear;
}

.progress-bar-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px #7b61ff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.progress-bar-container:hover .progress-bar-handle {
  opacity: 1;
}

/* Player Controls Bar */
.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.control-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.control-btn.btn-play {
  width: 58px;
  height: 58px;
  background: #7b61ff;
  border: none;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(123, 97, 255, 0.4);
}

.control-btn.btn-play:hover {
  background: #6a4dff;
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(123, 97, 255, 0.7);
}

.control-btn.btn-pause {
  background: rgba(255, 255, 255, 0.08);
}

.control-btn.btn-stop {
  background: rgba(255, 255, 255, 0.05);
}

.control-btn.active-ctrl {
  background: rgba(123, 97, 255, 0.2);
  border-color: #7b61ff;
  color: #7b61ff;
}

.control-tooltip {
  position: absolute;
  bottom: -28px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: rgba(0, 0, 0, 0.8);
  padding: 2px 6px;
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.control-btn:hover .control-tooltip {
  opacity: 1;
}

/* Bottom Action Bar: Download + Volume */
.player-bottom-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #34d399;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.btn-download:hover {
  background: #34d399;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(52, 211, 153, 0.3);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-mute {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.btn-mute:hover, .btn-mute.muted {
  color: var(--text-primary);
}

.volume-slider {
  width: 70px;
  accent-color: #7b61ff;
  cursor: pointer;
}

/* Tracklist Playlist Card */
.playlist-card {
  background: rgba(18, 18, 24, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(20px);
}

.playlist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.playlist-title {
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

.playlist-count {
  font-size: 0.75rem;
  color: #7b61ff;
  background: rgba(123, 97, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(123, 97, 255, 0.2);
}

.tracklist-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.track-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.track-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.track-item.active {
  background: rgba(123, 97, 255, 0.12);
  border-color: rgba(123, 97, 255, 0.4);
}

.track-number {
  font-size: 0.85rem;
  color: var(--text-secondary);
  width: 24px;
}

.track-item.active .track-number {
  color: #7b61ff;
  font-weight: 500;
}

.track-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.track-name {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-primary);
}

.track-album {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.track-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.playing-indicator-badge {
  display: none;
  font-size: 0.65rem;
  color: #34d399;
  letter-spacing: 0.1em;
  background: rgba(52, 211, 153, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.track-item.active .playing-indicator-badge {
  display: inline-block;
}

.track-play-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.track-item:hover .track-play-btn {
  background: #7b61ff;
}

@media screen and (max-width: 991px) {
  .music-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .player-card {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .music-section {
    padding: 100px 5% 80px;
  }

  .player-controls {
    gap: 10px;
  }

  .control-btn {
    width: 38px;
    height: 38px;
  }

  .control-btn.btn-play {
    width: 50px;
    height: 50px;
  }

  .player-bottom-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .btn-download {
    justify-content: center;
  }

  .volume-control {
    justify-content: center;
  }
}

/* ==========================================================================
   VIDEO Section & Custom Player Styling
   ========================================================================== */
.video-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 80px 4%;
  background-color: #020203;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.video-ambient-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.14) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  filter: blur(160px);
  pointer-events: none;
}

.video-grid-overlay {
  position: absolute;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  pointer-events: none;
  z-index: 1;
}

.video-container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 80% Fullscreen Video Player Wrapper */
.video-player-wrapper {
  position: relative;
  width: 80vw;
  height: 80vh;
  max-width: 1600px;
  max-height: 900px;
  background: #000000;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 50px rgba(123, 97, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

#main-video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000000;
}

/* Initial Hover / Start Overlay */
.video-start-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hovering over player before play reveals overlay (desktop) */
.video-player-wrapper:hover .video-start-overlay:not(.is-hidden) {
  opacity: 1;
  pointer-events: all;
}

/* Touch devices: no hover — overlay always visible until play starts */
@media (hover: none) {
  .video-start-overlay:not(.is-hidden) {
    opacity: 1;
    pointer-events: all;
  }
}

.video-start-overlay.is-hidden {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.start-overlay-content {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.video-play-big-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #7b61ff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  box-shadow: 0 0 40px rgba(123, 97, 255, 0.7);
  transition: transform 0.3s ease;
}

.video-player-wrapper:hover .video-play-big-icon {
  transform: scale(1.1);
}

.start-overlay-text {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.65;
  color: #ffffff;
  letter-spacing: 0.01em;
}

/* YouTube-Style Controls Bar */
.video-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.95) 100%);
  padding: 24px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 12;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-player-wrapper.controls-visible .video-controls-bar,
.video-player-wrapper:hover.is-playing .video-controls-bar {
  opacity: 1;
  pointer-events: all;
}

/* Seekbar Progress Container */
.video-progress-container {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  transition: height 0.2s ease;
}

.video-progress-container:hover {
  height: 8px;
}

.video-progress-fill {
  height: 100%;
  width: 0%;
  background: #ff0000; /* YouTube red line styling */
  border-radius: 4px;
  transition: width 0.1s linear;
}

.video-progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: #ff0000;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.video-progress-container:hover .video-progress-handle {
  opacity: 1;
}

.video-controls-left,
.video-controls-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.video-controls-left {
  flex-grow: 1;
}

.video-controls-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v-ctrl-btn {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}

.v-ctrl-btn:hover {
  opacity: 1;
  transform: scale(1.15);
}

.video-time-display {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  margin-left: 8px;
}

/* End of Video Replay Modal */
.video-end-modal {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.video-end-modal.is-active {
  opacity: 1;
  pointer-events: all;
}

.end-modal-card {
  background: rgba(20, 20, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 44px 48px;
  border-radius: 24px;
  text-align: center;
  max-width: 540px;
  width: 90%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
}

.end-modal-title {
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 8px;
}

.end-modal-desc {
  font-size: 0.85rem;
  color: #7b61ff;
  margin-bottom: 32px;
  letter-spacing: 0.08em;
}

.end-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 40px;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-btn-yes {
  background: #7b61ff;
  border: 1px solid #7b61ff;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(123, 97, 255, 0.4);
}

.modal-btn-yes:hover {
  background: #6a4dff;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(123, 97, 255, 0.7);
}

.modal-btn-no {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.modal-btn-no:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

@media screen and (max-width: 991px) {
  .video-player-wrapper {
    width: 90vw;
    height: 70vh;
  }

  .start-overlay-text {
    font-size: 1.15rem;
  }
}

@media screen and (max-width: 767px) {
  .video-player-wrapper {
    width: 94vw;
    height: 56vw; /* maintain 16:9 ratio on mobile */
    min-height: 200px;
    border-radius: 16px;
  }

  .video-start-overlay {
    padding: 20px;
  }

  .start-overlay-text {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .video-play-big-icon {
    width: 64px;
    height: 64px;
  }

  .end-modal-card {
    padding: 30px 24px;
  }

  .end-modal-title {
    font-size: 1.4rem;
  }

  .end-modal-actions {
    flex-direction: column;
    gap: 12px;
  }

  .modal-btn {
    width: 100%;
  }

  /* Controls bar always visible on mobile while playing */
  .video-player-wrapper.is-playing .video-controls-bar {
    opacity: 1;
    pointer-events: all;
  }

  /* Larger tap targets for mobile controls */
  .v-ctrl-btn {
    padding: 8px;
  }

  .video-controls-bar {
    padding: 16px 14px 12px;
    gap: 8px;
  }

  .video-controls-left,
  .video-controls-right {
    gap: 10px;
  }

  .video-time-display {
    font-size: 0.72rem;
  }
}

/* Buffering spinner — shown via JS when video is waiting/stalled */
.video-player-wrapper.is-buffering::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: #7b61ff;
  animation: spin-buffer 0.8s linear infinite;
  z-index: 15;
  pointer-events: none;
}

@keyframes spin-buffer {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ==========================================================================
   Video View Counter Styling
   ========================================================================== */
.video-footer-meta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

.view-counter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  background: rgba(18, 18, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 14px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.counter-num {
  color: #7b61ff;
  font-weight: 500;
}

/* ==========================================================================
   CONTACTO Section Styling
   ========================================================================== */
.contacto-section {
  position: relative;
  width: 100%;
  padding: 140px 4% 120px;
  background-color: #050507;
  color: var(--text-primary);
  text-align: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contacto-ambient-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
}

.contacto-grid-overlay {
  position: absolute;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  pointer-events: none;
  z-index: 1;
}

.contacto-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.contacto-header {
  margin-bottom: 50px;
}

.contacto-main-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #aaaaaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contacto-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.contacto-buttons-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 650px;
  margin: 0 auto;
}

.btn-contacto-wa,
.btn-contacto-email {
  flex: 1;
  max-width: 300px;
}

@media screen and (max-width: 767px) {
  .contacto-section {
    padding: 100px 5% 80px;
  }

  .contacto-buttons-wrap {
    flex-direction: column;
    gap: 16px;
  }

  .btn-contacto-wa,
  .btn-contacto-email {
    max-width: 100%;
    width: 100%;
  }
}

/* ==========================================================================
   ALTIMIRAS EN VIVO Section Styling (2x2 YouTube Grid)
   ========================================================================== */
.live-section {
  position: relative;
  width: 100%;
  padding: 140px 4% 120px;
  background-color: #030305;
  color: var(--text-primary);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.live-ambient-glow {
  position: absolute;
  top: 30%;
  right: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
}

.live-grid-overlay {
  position: absolute;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  pointer-events: none;
  z-index: 1;
}

.live-container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
}

.live-header {
  margin-bottom: 60px;
}

.live-main-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #aaaaaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.live-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

/* 2x2 Video Grid */
.live-videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.live-video-card {
  background: rgba(18, 18, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 12px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
}

.live-video-card:hover {
  border-color: rgba(123, 97, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(123, 97, 255, 0.15);
}

.iframe-aspect-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
}

.iframe-aspect-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}

.live-card-facade {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  background: #050508;
}

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

.live-video-card:hover .live-thumb-img {
  transform: scale(1.06);
  filter: brightness(1);
}

.live-card-overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
  transition: background 0.3s ease;
}

.live-video-card:hover .live-card-overlay-content {
  background: radial-gradient(circle at center, rgba(123, 97, 255, 0.15) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.live-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #7b61ff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  box-shadow: 0 0 30px rgba(123, 97, 255, 0.8);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.live-video-card:hover .live-play-btn {
  transform: scale(1.15);
  background: #6a4eff;
  box-shadow: 0 0 45px rgba(123, 97, 255, 1);
}

.live-card-tag {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.7);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.live-card-facade.is-hidden {
  display: none !important;
}

@media screen and (max-width: 991px) {
  .live-videos-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media screen and (max-width: 767px) {
  .live-section {
    padding: 100px 5% 80px;
  }
}





