/* 
   Antonio Von - Premium Tribute CSS
   Design System & Styling
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --bg-dark: #070709;
  --bg-dark-offset: #0e0e12;
  --bg-card: rgba(18, 18, 24, 0.65);
  --bg-glass: rgba(10, 10, 12, 0.75);
  --primary-gold: #c5a880;
  --primary-gold-hover: #e5c295;
  --primary-gold-rgb: 197, 168, 128;
  --burgundy: #4e1216;
  --burgundy-light: #7a1d23;
  --text-light: #f5f5f7;
  --text-muted: #a1a1ab;
  --border-glass: rgba(197, 168, 128, 0.15);
  --border-focus: rgba(197, 168, 128, 0.4);
  
  /* Fonts */
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Transitions & Shadows */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 20px rgba(197, 168, 128, 0.1);
  --shadow-inset: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

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

ul {
  list-style: none;
}

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

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #252530;
  border-radius: 4px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gold);
}

/* --- GENERAL UTILITIES & LAYOUT --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 4rem;
}

/* --- GLASS CONTAINER --- */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-premium), var(--shadow-inset);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-premium), var(--shadow-gold);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--primary-gold);
  color: var(--bg-dark);
  box-shadow: 0 8px 24px rgba(197, 168, 128, 0.25);
}

.btn-primary:hover {
  background: var(--primary-gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(197, 168, 128, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
}

.btn-outline:hover {
  background: rgba(197, 168, 128, 0.08);
  color: var(--text-light);
  border-color: var(--text-light);
  transform: translateY(-3px);
}

/* --- HEADER / NAVBAR --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 7, 9, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(7, 7, 9, 0.85);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.5rem 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  transition: var(--transition-smooth);
}

.site-header.scrolled .container {
  height: 70px;
}

.logo img {
  height: 48px;
  width: auto;
  transition: var(--transition-smooth);
}

.site-header.scrolled .logo img {
  height: 38px;
}

.nav-menu {
  display: flex;
  gap: 3rem;
}

.nav-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.social-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.social-icon:hover {
  color: var(--primary-gold);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-light);
  transition: var(--transition-smooth);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(78, 18, 22, 0.15) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-pretitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
  display: block;
  font-weight: 600;
}

.hero-title {
  font-size: 4.8rem;
  margin-bottom: 2rem;
  line-height: 1.1;
  color: var(--text-light);
}

.hero-title span {
  display: block;
  font-size: 2.2rem;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--primary-gold);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 550px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.hero-image-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-frame {
  position: relative;
  width: 85%;
  aspect-ratio: 0.85;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-premium);
}

.hero-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(7, 7, 9, 0.9) 0%, transparent 40%);
  z-index: 1;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 10s ease;
}

.hero-image-container:hover img {
  transform: scale(1.08);
}

.hero-frame-decoration {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--primary-gold);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
  transition: var(--transition-smooth);
}

.hero-image-container:hover .hero-frame-decoration {
  transform: translate(5px, 5px);
  opacity: 0.6;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--primary-gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
  0% { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

/* --- STATS SECTION --- */
.stats-section {
  padding: 4rem 0;
  position: relative;
  z-index: 10;
  margin-top: -3rem;
}

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

.stat-card {
  padding: 3rem 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 3.5rem;
  color: var(--primary-gold);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  color: var(--text-muted);
}

/* --- SOBRE / ABOUT --- */
.about {
  background: radial-gradient(circle at 10% 70%, rgba(78, 18, 22, 0.12) 0%, transparent 60%);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-box {
  position: relative;
}

.about-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-premium);
  aspect-ratio: 0.75;
}

.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-decoration {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  border-left: 2px solid var(--primary-gold);
  border-bottom: 2px solid var(--primary-gold);
  z-index: 2;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-tag {
  color: var(--primary-gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.about-title {
  font-size: 2.8rem;
  margin-bottom: 1.8rem;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-quote {
  border-left: 3px solid var(--primary-gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-light);
}

/* --- HISTÓRIA / CAROUSEL --- */
.history-carousel-section {
  background-color: var(--bg-dark-offset);
  overflow: hidden;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: grab;
}

.carousel-track:active {
  cursor: grabbing;
}

.carousel-slide {
  flex: 0 0 400px;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.carousel-slide:hover img {
  transform: scale(1.06);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.carousel-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-btn:hover {
  background: var(--primary-gold);
  color: var(--bg-dark);
  border-color: var(--primary-gold);
}

/* --- CRONOLOGIA (TIMELINE) --- */
.timeline-section {
  position: relative;
  background: radial-gradient(circle at 90% 80%, rgba(78, 18, 22, 0.12) 0%, transparent 60%);
}

.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--border-glass) 0%, var(--primary-gold) 15%, var(--primary-gold) 85%, var(--border-glass) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 5rem;
  width: 50%;
  padding: 0 3rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-node {
  position: absolute;
  top: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--primary-gold);
  z-index: 10;
  box-shadow: 0 0 10px var(--primary-gold);
}

.timeline-item:nth-child(odd) .timeline-node {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-node {
  left: -10px;
}

.timeline-content {
  padding: 2.5rem;
}

.timeline-year {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--primary-gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.8rem;
  display: block;
}

.timeline-item-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--text-light);
}

.timeline-item-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- MUSICAS (MUSIC SECTION) --- */
.music-section {
  background-color: var(--bg-dark-offset);
}

.music-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 850px;
  margin: 0 auto;
}

.music-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
}

.music-info {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.music-img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

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

.music-meta h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.music-sub {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.music-duration {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.music-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.audio-visualizer-mock {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 50px;
  height: 25px;
}

.visualizer-bar {
  width: 3px;
  height: 5px;
  background-color: var(--primary-gold);
  opacity: 0.4;
  border-radius: 1px;
}

.music-card:hover .visualizer-bar {
  animation: visualize 1s ease-in-out infinite alternate;
  opacity: 0.8;
}

.music-card:hover .visualizer-bar:nth-child(1) { animation-delay: 0.1s; }
.music-card:hover .visualizer-bar:nth-child(2) { animation-delay: 0.3s; }
.music-card:hover .visualizer-bar:nth-child(3) { animation-delay: 0.2s; }
.music-card:hover .visualizer-bar:nth-child(4) { animation-delay: 0.5s; }
.music-card:hover .visualizer-bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes visualize {
  0% { height: 5px; }
  100% { height: 25px; }
}

.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.music-card:hover .play-btn {
  background: var(--primary-gold);
  color: var(--bg-dark);
}

/* --- GALERIA --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1.2;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 7, 9, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-overlay i {
  font-size: 1.8rem;
  color: var(--primary-gold);
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
  transform: translateY(0);
}

/* --- BIOGRAPHY EDITORIAL LAYOUT --- */
.bio-page {
  padding-top: 150px;
  background: radial-gradient(circle at 50% 10%, rgba(78, 18, 22, 0.1) 0%, transparent 40%);
}

.bio-header {
  margin-bottom: 5rem;
}

.bio-title-container {
  display: inline-block;
  position: relative;
}

.bio-title {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.bio-subtitle {
  font-size: 1.3rem;
  color: var(--primary-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bio-layout {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 5rem;
}

.bio-content {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-light);
}

.bio-content p {
  margin-bottom: 2rem;
  text-align: justify;
}

.bio-content p:first-of-type::first-letter {
  font-family: var(--font-title);
  font-size: 4.5rem;
  float: left;
  line-height: 0.8;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 3px;
  color: var(--primary-gold);
}

.bio-content blockquote {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-style: italic;
  border-left: 3px solid var(--primary-gold);
  padding-left: 2rem;
  margin: 3rem 0;
  color: var(--text-light);
  line-height: 1.6;
}

.bio-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.sidebar-box {
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.sidebar-title {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--primary-gold);
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 0.5rem;
}

.sidebar-meta-list li {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}

.sidebar-meta-list li span:first-child {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.sidebar-meta-list li span:last-child {
  font-size: 1rem;
  font-weight: 500;
}

/* --- FOOTER --- */
footer {
  background-color: var(--bg-dark-offset);
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 3rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
  display: inline-block;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.2rem;
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.footer-links a:hover {
  color: var(--primary-gold);
  padding-left: 5px;
}

.footer-contact li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-contact li i {
  color: var(--primary-gold);
}

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

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

/* --- MODERN MODAL & LIGHTBOX --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 7, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16/9;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-premium);
  border-radius: 12px;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
  z-index: 12;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--primary-gold);
}

/* --- LIGHTBOX OVERLAY --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: rgba(5,5,7,0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-premium);
  transform: scale(0.95);
  transition: transform 0.4s ease;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2.2rem;
  cursor: pointer;
}

.lightbox-close:hover {
  color: var(--primary-gold);
}

/* --- ANIMATION ON SCROLL --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-title {
    font-size: 3.8rem;
  }
  
  .hero-desc {
    max-width: 600px;
  }
  
  .hero-image-container {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .hero-frame {
    width: 65%;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .about-img-box {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bio-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .bio-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 90px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 90px);
    background: var(--bg-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-glass);
    z-index: 99;
  }
  
  .site-header.scrolled .nav-menu {
    top: 70px;
    height: calc(100vh - 70px);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stat-card {
    padding: 2rem;
  }
  
  .timeline-line {
    left: 2rem;
  }
  
  .timeline-item {
    width: 100%;
    padding: 0 0 0 4rem;
    text-align: left !important;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-node {
    left: 14px !important;
    right: auto !important;
  }
  
  .music-card {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem;
  }
  
  .music-info {
    flex-direction: column;
    gap: 1rem;
  }
  
  .music-sub {
    justify-content: center;
  }
  
  .audio-visualizer-mock {
    display: none;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
