/* ===== LUXURY MINIMAL DESIGN - AUDEMARS PIGUET INSPIRED ===== */

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

:root {
  --bg: #000000;
  --bg-alt: #0a0a0a;
  --text: #ffffff;
  --text-muted: #888888;
  --accent: #ffffff;
  --border: #1a1a1a;
  --font-display: "Playfair Display", serif;
  --font-body: "Montserrat", sans-serif;
  --transition: all 0.3s ease;
}

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

html {
  scroll-padding-top: 80px;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.98);
    padding: 2rem;
    gap: 1rem;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
}

.visualizer-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
  animation: parallaxFloat 8s ease-in-out infinite;
}

@keyframes parallaxFloat {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.01);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  padding: 6rem 3rem;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 3rem;
  animation: fadeInDown 0.8s ease-out 0.2s backwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 6.5rem;
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 3rem;
  letter-spacing: -2px;
  background: linear-gradient(
    90deg,
    var(--text) 0%,
    var(--text-muted) 25%,
    var(--text) 50%,
    var(--text-muted) 75%,
    var(--text) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 8s linear infinite;
}

@keyframes shimmerText {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
  animation: fadeInUp 1.2s ease-out 0.4s backwards;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0.9;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.meta-item:hover {
  opacity: 1;
  transform: translateY(-4px);
}

.meta-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta-value {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
}

.hero-actions {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.4s ease-out 0.5s backwards;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 1.2rem 3.5rem;
  border: 2px solid var(--text);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 0;
}

.btn {
  z-index: 1;
}

.btn:hover::before {
  left: 100%;
}

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

.btn-primary:hover {
  background: var(--bg);
  color: var(--text);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  border-color: var(--text-muted);
  color: var(--text-muted);
}

.btn-secondary:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.1);
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 8rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  letter-spacing: -0.5px;
  color: var(--text);
  line-height: 1.15;
  animation: fadeInUp 0.8s ease-out;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out 0.15s backwards;
}

.about-text p:first-of-type {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
}

.about-text p:first-of-type::first-letter {
  font-size: 1.35em;
  font-weight: 600;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: fadeInUp 1.1s ease-out 0.2s backwards;
}

.stat {
  text-align: center;
  padding: 2.2rem 1.5rem;
  border: none;
  border-left: 4px solid var(--text);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

.stat:hover {
  transform: translateY(-4px);
  border-left-color: var(--accent);
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
}

.stat-number.is-counting {
  animation: countPulse 0.9s ease-out;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.stat:hover .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

@keyframes countPulse {
  0% {
    transform: scale(0.88);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.06);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-text h2 {
    font-size: 2.4rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .stat {
    padding: 1.8rem 1.2rem;
  }
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 8rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.services h2 {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.8rem;
  color: var(--text);
  line-height: 1.15;
  animation: fadeInUp 0.8s ease-out;
}

.services-header {
  text-align: center;
  margin-bottom: 5rem;
  animation: fadeInUp 0.8s ease-out;
}

.services-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.4rem;
}

.service-card {
  position: relative;
  padding: 2.8rem 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: fadeInUp 0.8s ease-out backwards;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  transform: translateY(-8px);
  box-shadow:
    0 24px 48px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.service-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: block;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.service-card:hover .service-num {
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 4px;
}

.service-icon {
  font-size: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  margin-bottom: 1.8rem;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(8px);
  color: var(--text);
}

.service-icon i {
  color: var(--text);
}

.service-card:hover .service-icon {
  transform: scale(1.08) translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.08);
}

.service-icon::after {
  opacity: 1;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--text);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  transition: all 0.3s ease;
  margin-bottom: 1.6rem;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.service-link {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  align-self: flex-start;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.service-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover h3 {
  color: rgba(255, 255, 255, 1);
  transform: translateX(2px);
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.8);
}

.service-card:hover .service-link {
  color: var(--text);
  letter-spacing: 3px;
}

.service-card:hover .service-link::after {
  width: 100%;
}

/* ===== SERVICE MODALS ===== */
.service-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-modal.active {
  display: flex;
  opacity: 1;
}

.service-modal.active .modal-overlay {
  opacity: 1;
}

.service-modal.active .modal-content {
  animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.modal-content {
  position: relative;
  margin: auto;
  width: 90%;
  max-width: 500px;
  max-height: 85vh;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2.8rem 2.4rem;
  overflow-y: auto;
  animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.modal-header {
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
  font-size: 1.8rem;
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.modal-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

.modal-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.8rem;
}

.modal-socials {
  margin-top: 2rem;
}

.socials-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

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

.social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.2rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-btn i {
  font-size: 1.4rem;
  color: var(--text);
}

.social-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.08);
}

.modal-footer {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-btn-primary {
  display: block;
  width: 100%;
  padding: 1.2rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-btn-primary:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.12);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== PLAYER SECTION ===== */
.player-section {
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.player {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 2.4rem;
  align-items: center;
  padding: 2.2rem 2.4rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.player::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

/* Cover Art */
.player-cover {
  width: 100px;
  height: 100px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.player-cover-art {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2e2e2e 50%, #1a1a1a 100%);
}

.player-cover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
}

/* Animated Waveform Bars */
.player-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
}

.player-waveform span {
  display: block;
  width: 3px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  height: 8px;
  animation: none;
  transition: height 0.15s ease;
}

.player-section.is-playing .player-waveform span:nth-child(1) {
  animation: barBounce 0.8s ease-in-out infinite;
  animation-delay: 0s;
}
.player-section.is-playing .player-waveform span:nth-child(2) {
  animation: barBounce 0.8s ease-in-out infinite;
  animation-delay: 0.15s;
}
.player-section.is-playing .player-waveform span:nth-child(3) {
  animation: barBounce 0.8s ease-in-out infinite;
  animation-delay: 0.05s;
}
.player-section.is-playing .player-waveform span:nth-child(4) {
  animation: barBounce 0.8s ease-in-out infinite;
  animation-delay: 0.25s;
}
.player-section.is-playing .player-waveform span:nth-child(5) {
  animation: barBounce 0.8s ease-in-out infinite;
  animation-delay: 0.1s;
}
.player-section.is-playing .player-waveform span:nth-child(6) {
  animation: barBounce 0.8s ease-in-out infinite;
  animation-delay: 0.35s;
}
.player-section.is-playing .player-waveform span:nth-child(7) {
  animation: barBounce 0.8s ease-in-out infinite;
  animation-delay: 0.2s;
}
.player-section.is-playing .player-waveform span:nth-child(8) {
  animation: barBounce 0.8s ease-in-out infinite;
  animation-delay: 0.4s;
}
.player-section.is-playing .player-waveform span:nth-child(9) {
  animation: barBounce 0.8s ease-in-out infinite;
  animation-delay: 0.3s;
}
.player-section.is-playing .player-waveform span:nth-child(10) {
  animation: barBounce 0.8s ease-in-out infinite;
  animation-delay: 0.45s;
}

@keyframes barBounce {
  0%,
  100% {
    height: 6px;
  }
  50% {
    height: 22px;
  }
}

/* Main area (info + progress) */
.player-main {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-width: 0;
}

.player-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.player-track-meta {
  min-width: 0;
}

.player-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.player-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.player-track-num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Progress Bar */
.player-progress-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.player-time {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-muted);
  min-width: 32px;
  flex-shrink: 0;
}

.player-progress {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: visible;
}

.player-progress:hover .player-progress-thumb {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.player-progress-bar {
  height: 100%;
  background: var(--text);
  border-radius: 2px;
  width: 0%;
  transition: width 0.25s linear;
  position: relative;
}

.player-progress-thumb {
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%) scale(0.6);
  width: 10px;
  height: 10px;
  background: var(--text);
  border-radius: 50%;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  pointer-events: none;
}

/* Right side (controls + volume) */
.player-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.control-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.control-btn:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.play-btn {
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 0.85rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.play-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.play-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.play-btn.loading::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid transparent;
  border-top-color: var(--bg);
  border-right-color: var(--bg);
  border-radius: 50%;
  animation: spinLoad 1s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

/* Volume */
.player-volume {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.volume-track {
  width: 80px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.volume-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  width: 70%;
  pointer-events: none;
}

.player-volume input[type="range"] {
  position: absolute;
  inset: -6px 0;
  width: 100%;
  height: calc(100% + 12px);
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .player {
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto;
    gap: 1.2rem 1.4rem;
    padding: 1.6rem;
  }

  .player-right {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    gap: 1.4rem;
  }

  .player-cover {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 480px) {
  .player {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .player-cover {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }

  .player-info {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }

  .player-track-num {
    display: none;
  }
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 6rem 2rem;
  background: var(--bg-alt);
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text);
}

.contact p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

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

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  border-radius: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.contact-form input::before,
.contact-form textarea::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--text);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.05),
    inset 0 0 20px rgba(255, 255, 255, 0.01);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
  transition: color 0.4s ease;
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
  color: rgba(136, 136, 136, 0.5);
}

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: flex-start;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--text);
}

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

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  position: relative;
}

.footer-links a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--text-muted);
  border-radius: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: -1;
}

.footer-links a:hover {
  color: var(--text);
  transform: translateY(-4px);
}

.footer-links a:hover::before {
  border-color: var(--text);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-top: 2rem;
  }

  .btn {
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    border-width: 1px;
  }

  .services h2,
  .contact h2 {
    font-size: 1.8rem;
  }

  .services {
    padding: 6rem 2rem;
  }

  .service-card {
    padding: 2.5rem 1.8rem;
  }

  .service-icon {
    font-size: 2.4rem;
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }
}

/* ===== UTILITIES ===== */
html {
  scroll-behavior: smooth;
}

/* Fade in animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll-triggered animations */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

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

/* Section reveal animations */
.about {
  animation: slideInFromLeft 1.2s ease-out;
}

.services {
  animation: slideInFromRight 1.2s ease-out;
}

.player-section {
  animation: slideInFromLeft 1.2s ease-out;
}

.contact {
  animation: slideInFromRight 1.2s ease-out;
}

.footer {
  animation: slideInFromLeft 1.2s ease-out;
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== ANIMATED SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text);
}

/* Firefox scrollbar */
* {
  scrollbar-color: var(--text-muted) var(--bg);
  scrollbar-width: thin;
}

/* ===== PORTFOLIO/GALLERY SECTION ===== */
.portfolio {
  padding: 6rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.portfolio h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 4rem;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-card {
  border: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  border-color: var(--text);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.08);
}

.portfolio-image {
  width: 100%;
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.12),
      transparent 34%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.08),
      transparent 28%
    ),
    linear-gradient(135deg, #111111 0%, #1a1a1a 45%, #0b0b0b 100%);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 30%),
    linear-gradient(300deg, rgba(255, 255, 255, 0.025), transparent 35%);
  pointer-events: none;
  z-index: 0;
}

.portfolio-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px
  );
  background-size: 100% 6px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.portfolio-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  opacity: 0.82;
  filter: contrast(1.05) saturate(0.92) brightness(0.95);
  background: transparent;
}

.portfolio-card:hover .portfolio-video {
  transform: scale(1.03);
}

.portfolio-sound-btn {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.38);
  color: var(--text);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.35;
  transition: all 0.25s ease;
}

.portfolio-card:hover .portfolio-sound-btn {
  opacity: 1;
}

.portfolio-sound-btn:hover {
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.06);
}

.portfolio-sound-btn.is-on {
  background: rgba(255, 255, 255, 0.12);
}

.event-label {
  display: none;
}

.portfolio-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.event-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.event-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
  position: fixed;
  bottom: 3rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  border-color: var(--text);
  background: var(--bg);
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.1);
}

.scroll-to-top i {
  animation: bobbing 1.5s ease-in-out infinite;
}

@keyframes bobbing {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ===== FORM STATUS MESSAGE ===== */
.form-status {
  padding: 1rem;
  text-align: center;
  font-size: 0.95rem;
  display: none;
  border-radius: 2px;
  margin-top: 1rem;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: rgba(144, 238, 144, 0.1);
  color: #90ee90;
  border: 1px solid rgba(144, 238, 144, 0.3);
}

.form-status.error {
  background: rgba(255, 99, 99, 0.1);
  color: #ff6363;
  border: 1px solid rgba(255, 99, 99, 0.3);
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scroll-to-top {
    bottom: 2rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .portfolio {
    padding: 4rem 1.5rem;
  }

  .portfolio h2 {
    font-size: 2rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-image {
    height: 180px;
  }

  .portfolio-content {
    padding: 1.5rem;
  }

  .contact-form {
    gap: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.9rem;
    font-size: 16px;
  }

  .scroll-to-top {
    bottom: 1.5rem;
    right: 1rem;
    width: 42px;
    height: 42px;
  }

  .player {
    padding: 1.5rem;
    gap: 1rem;
  }

  .player-cover {
    width: 60px;
    height: 60px;
  }

  .player-controls {
    gap: 0.8rem;
  }

  .control-btn {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .player-volume {
    gap: 0.8rem;
  }

  .player-volume input {
    width: 80px;
  }
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio h2 {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }

  .scroll-to-top {
    bottom: 1rem;
    right: 0.8rem;
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .player {
    grid-template-columns: 1fr;
  }

  .contact-form {
    gap: 0.9rem;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-links {
    justify-content: center;
    gap: 1.5rem;
  }
}
