:root {
  --bg: #080d17;
  --surface: #101827;
  --surface-light: #172337;
  --text: #edf3fb;
  --muted: #8c9aaf;
  --cyan: #79d9e9;
  --blue: #4786d8;
  --gold: #d9b879;
  --border: rgba(177, 204, 231, 0.13);
  --heading: "Playfair Display", serif;
  --body: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

body::selection {
  background: var(--cyan);
  color: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

.ambient {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
}

.ambient-one {
  background: #1c71b9;
  top: 10%;
  left: -220px;
}

.ambient-two {
  background: #b78b46;
  right: -240px;
  top: 60%;
}

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  opacity: 0.55;
}

/* LOADER */

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -7px;
}

.loader-mark span,
.brand span,
.art-symbol span {
  color: var(--cyan);
}

.loader p,
.loader-line {
  font-family: var(--mono);
}

.loader p {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 16px;
}

.loader-line {
  width: 150px;
  height: 2px;
  background: #1b293c;
  margin-top: 20px;
  overflow: hidden;
}

.loader-line span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--cyan);
  transform: translateX(-100%);
  animation: loading 1.3s ease forwards;
}

@keyframes loading {
  to { transform: translateX(0); }
}

/* NAVBAR */

.navbar {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -3px;
}

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a,
.nav-cta {
  font-size: 11px;
  color: #a9b5c6;
  transition: color 0.3s ease;
}

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

.nav-cta {
  border: 1px solid var(--border);
  padding: 12px 17px;
  border-radius: 4px;
}

.nav-cta span {
  color: var(--cyan);
  margin-left: 10px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* HERO */

.hero {
  position: relative;
  min-height: 780px;
  height: 100svh;
  max-height: 1050px;
  display: flex;
  align-items: center;
  padding: 120px 12% 80px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background: url("assets/hero/vaibhav-hero.png") center 45% / cover no-repeat;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 10, 20, 0.96) 0%, rgba(5, 10, 20, 0.78) 43%, rgba(5, 10, 20, 0.15) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 25%, transparent 85%, rgba(8,13,23,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.status-line,
.hero-overline,
.eyebrow,
.section-index,
.hero-meta,
.hero-side-label,
.scroll-indicator,
.ticker,
.gallery-card figcaption,
.art-caption,
.player-note,
.back-top,
.footer-bottom {
  font-family: var(--mono);
  letter-spacing: 1.4px;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  border: 1px solid rgba(121,217,233,0.25);
  background: rgba(12, 28, 42, 0.45);
  padding: 10px 14px;
  font-size: 9px;
  margin-bottom: 42px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
}

.hero-overline {
  color: var(--gold);
  font-size: 10px;
  margin-bottom: 17px;
}

.hero h1 {
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 600;
  letter-spacing: -5px;
  line-height: 1.04;
}

.hero h1 span {
  font-family: var(--heading);
  font-weight: 500;
  font-style: italic;
  color: var(--cyan);
}

.hero-description {
  color: #aab7c8;
  font-size: 14px;
  line-height: 1.9;
  max-width: 440px;
  margin-top: 27px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 16px 21px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(71,134,216,0.2);
}

.btn-primary {
  color: #07111d;
  background: linear-gradient(110deg, var(--cyan), #b3e8e7);
}

.btn span {
  font-size: 16px;
}

.text-link {
  font-size: 11px;
  color: #d1d9e5;
}

.text-link span {
  color: var(--cyan);
  margin-left: 8px;
}

.hero-meta {
  display: flex;
  gap: 40px;
  color: #7f8da1;
  font-size: 8px;
  margin-top: 90px;
}

.hero-side-label {
  position: absolute;
  right: 4%;
  top: 50%;
  writing-mode: vertical-rl;
  color: rgba(255,255,255,0.55);
  font-size: 8px;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 12%;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #8291a5;
  font-size: 8px;
}

.scroll-indicator span {
  width: 32px;
  height: 1px;
  background: var(--cyan);
}

/* GENERAL SECTIONS */

.section {
  padding: 125px 12%;
  position: relative;
}

.section-index {
  font-size: 9px;
  color: var(--cyan);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  color: var(--gold);
  font-size: 9px;
}

.intro-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12%;
  padding-top: 65px;
}

.intro-heading h2,
.section-heading h2,
.music-copy h2,
.surprise-card h2 {
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -2px;
  margin-top: 20px;
}

.intro-heading h2 em,
.section-heading h2 em,
.music-copy h2 em,
.surprise-card h2 em {
  font-family: var(--heading);
  color: var(--cyan);
  font-weight: 500;
}

.intro-copy {
  padding-top: 35px;
}

.small-line {
  height: 2px;
  width: 45px;
  background: var(--gold);
  margin-bottom: 27px;
}

.intro-copy p {
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
  margin-bottom: 18px;
}

.intro-copy .large-copy {
  color: #e0e8f2;
  font-size: 18px;
  line-height: 1.8;
}

.intro-copy .signature {
  color: var(--gold);
  font-family: var(--heading);
  font-style: italic;
  font-size: 17px;
  margin-top: 28px;
}

/* TICKER */

.ticker {
  overflow: hidden;
  background: #101b2a;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  color: #a9b8ca;
  font-size: 10px;
}

.ticker-track {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 45px;
  width: max-content;
  animation: tickerMove 28s linear infinite;
}

.ticker i {
  color: var(--gold);
  font-style: normal;
}

@keyframes tickerMove {
  to { transform: translateX(-30%); }
}

/* GALLERY */

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 45px 0 55px;
}

.section-heading p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  align-items: start;
}

.gallery-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
}

.gallery-card:hover img {
  transform: scale(1.045);
}

.gallery-large img {
  aspect-ratio: 1.15 / 1;
}

.gallery-small {
  margin-top: 100px;
}

.gallery-small img {
  aspect-ratio: 0.85 / 1;
}

.gallery-card figcaption {
  padding: 18px 20px;
  color: #a7b4c6;
  font-size: 9px;
}

.gallery-card figcaption span {
  color: var(--cyan);
  margin-right: 15px;
}

/* MUSIC */

.music-section {
  background: linear-gradient(180deg, #0b1320, #0e1929);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.music-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 9%;
  padding-top: 65px;
}

.music-copy p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  max-width: 330px;
  margin-top: 25px;
}

.player {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 25px;
  padding: 25px;
  background: rgba(21, 35, 53, 0.85);
  border: 1px solid rgba(121,217,233,0.16);
  box-shadow: 0 20px 70px rgba(0,0,0,0.2);
}

.player-art {
  position: relative;
  min-height: 230px;
  background:
    radial-gradient(circle at 50% 45%, rgba(121,217,233,0.22), transparent 42%),
    linear-gradient(145deg, #1c3851, #0b1423);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.art-ring {
  position: absolute;
  width: 155px;
  height: 155px;
  border: 1px solid rgba(121,217,233,0.35);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(121,217,233,0.1);
}

.art-ring::before,
.art-ring::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(217,184,121,0.25);
  border-radius: 50%;
}

.art-ring::after {
  inset: -13px;
}

.art-symbol {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -7px;
}

.art-caption {
  position: absolute;
  bottom: 16px;
  color: #91a6bc;
  font-size: 7px;
}

.player-info {
  padding: 10px 0;
}

.player-info h3 {
  font-size: 17px;
  margin-top: 12px;
}

.player-info > p {
  color: var(--muted);
  font-size: 10px;
  margin-top: 6px;
}

.progress-area {
  margin-top: 35px;
}

#progress {
  appearance: none;
  width: 100%;
  height: 3px;
  background: #334459;
  outline: none;
  cursor: pointer;
}

#progress::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
}

#progress::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border: 0;
  border-radius: 50%;
}

.time-row {
  display: flex;
  justify-content: space-between;
  color: #8191a5;
  font-family: var(--mono);
  font-size: 8px;
  margin-top: 10px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.play-button {
  width: 39px;
  height: 39px;
  border: 0;
  border-radius: 50%;
  color: #07111d;
  background: var(--cyan);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-button:hover {
  transform: scale(1.08);
}

.mute-button {
  margin-left: auto;
  color: var(--cyan);
  border: 1px solid var(--border);
  background: transparent;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
}

.player-note {
  font-size: 7px;
  color: #91a2b7;
}

/* SURPRISE */

.surprise-card {
  position: relative;
  text-align: center;
  padding: 85px 25px;
  overflow: hidden;
  border: 1px solid rgba(121,217,233,0.18);
  background:
    radial-gradient(circle at 50% 0%, rgba(71,134,216,0.18), transparent 55%),
    #101a29;
}

.surprise-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  background: var(--cyan);
  opacity: 0.08;
  filter: blur(100px);
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
}

.gift-icon {
  color: var(--gold);
  font-size: 55px;
  margin: 25px 0 10px;
  animation: giftFloat 3s ease-in-out infinite;
}

@keyframes giftFloat {
  50% { transform: translateY(-9px) rotate(8deg); }
}

.surprise-card h2 {
  font-size: clamp(38px, 5vw, 58px);
}

.surprise-card > p {
  color: var(--muted);
  font-size: 12px;
  margin: 20px 0 28px;
}

.hidden-message {
  max-width: 570px;
  margin: 0 auto;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.8s ease, opacity 0.6s ease, margin 0.6s ease;
}

.hidden-message.show {
  max-height: 300px;
  opacity: 1;
  margin-top: 35px;
}

.message-divider {
  height: 1px;
  width: 50px;
  margin: 0 auto 25px;
  background: var(--gold);
}

.hidden-message p {
  color: #bdcad9;
  font-size: 13px;
  line-height: 2;
}

.hidden-message strong {
  display: block;
  color: var(--cyan);
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 500;
  margin-top: 20px;
}

/* FOOTER */

.footer {
  padding: 55px 12% 25px;
  background: #060a12;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 45px;
}

.footer-top p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.back-top {
  color: var(--cyan);
  font-size: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: #6e7c90;
  font-size: 8px;
}

/* REVEAL ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.2,1);
}

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

/* RESPONSIVE */

@media (max-width: 900px) {
  .navbar {
    padding: 0 6%;
  }

  .nav-links {
    gap: 18px;
  }

  .section {
    padding: 100px 7%;
  }

  .hero {
    padding-left: 8%;
    padding-right: 8%;
  }

  .intro-layout,
  .music-layout {
    gap: 6%;
  }

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

  .player-art {
    min-height: 180px;
  }
}

@media (max-width: 650px) {
  .navbar {
    height: 72px;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
  }

  .menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 7% 20px;
    background: rgba(8,13,23,0.97);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.3s ease;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 0;
  }

  .hero {
    min-height: 760px;
    height: auto;
    padding: 150px 7% 100px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5,10,20,0.9), rgba(5,10,20,0.48)),
      linear-gradient(0deg, var(--bg), transparent 55%);
  }

  .hero h1 {
    font-size: clamp(55px, 14vw, 76px);
    letter-spacing: -3px;
  }

  .hero-description {
    font-size: 12px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 10px;
    margin-top: 65px;
  }

  .hero-side-label {
    display: none;
  }

  .scroll-indicator {
    left: 7%;
  }

  .section {
    padding: 80px 7%;
  }

  .intro-layout,
  .music-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .intro-copy {
    padding-top: 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

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

  .gallery-small {
    margin-top: 0;
  }

  .gallery-small img {
    aspect-ratio: 1.15 / 1;
  }

  .player {
    padding: 17px;
  }

  .surprise-card {
    padding: 65px 20px;
  }

  .footer {
    padding: 45px 7% 22px;
  }

  .footer-top {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 25px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}