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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #050505;
  color: #f5f5f5;
  line-height: 1.6;
}

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

button {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ================= HERO ================= */

.hero {
  position: relative;
  min-height: 100vh;
  background: url('assets/images/background-home.png') center center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2%;
  background: url('assets/images/background-home.png') center center / cover no-repeat;
  opacity: 0.18;
  transform: scale(1.03);
  animation: heroDrift 18s ease-in-out infinite alternate;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.86)),
    radial-gradient(circle at center, rgba(255, 90, 0, 0.08), transparent 50%);
  z-index: 1;
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
}

.topbar-logo {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.topbar-links {
  display: flex;
  gap: 24px;
}

.topbar-links a {
  color: rgba(255, 255, 255, 0.82);
  transition: 0.2s ease;
}

.topbar-links a:hover {
  color: #ffffff;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  max-width: 820px;
  width: 100%;
  margin: auto;
  padding: 0 40px;
  height: fit-content;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  width: 100%;
  animation: logoGlowPulse 4.5s ease-in-out infinite;
}

.hero-logo {
  width: min(600px, 92vw);
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 10px 40px rgba(255, 120, 40, 0.25));
  animation: logoFloat 5.5s ease-in-out infinite;
}

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 140, 70, 0.95);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.3vw, 3.8rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 18px;
  text-align: center;
  letter-spacing: -0.025em;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 26px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================= BUTTONS ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #ff5a00, #ff2d00);
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(255, 90, 0, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(255, 90, 0, 0.30);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
}

.btn-song {
  min-width: 150px;
}

/* ================= CONTENT ================= */

.section {
  padding: 90px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-kicker {
  color: #ff8a45;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}

.section-head p {
  color: rgba(255, 255, 255, 0.78);
}

/* ================= SONGS ================= */

.songs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.song-card-pro {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,0.26);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.song-card-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(255, 110, 40, 0.10), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.song-card-pro:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 110, 40, 0.28);
  box-shadow: 0 24px 60px rgba(0,0,0,0.34);
}

.song-card-pro:hover::before {
  opacity: 1;
}

.song-card-pro.active {
  border-color: rgba(255, 110, 40, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 120, 40, 0.16), 0 22px 65px rgba(255, 90, 0, 0.20);
}

.song-card-pro.active::before {
  opacity: 1;
}

.song-cover {
  height: 220px;
  overflow: hidden;
  background: #111111;
}

.song-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.song-card-pro:hover .song-cover img,
.song-card-pro.active .song-cover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.song-content {
  padding: 24px;
}

.song-meta h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.song-desc {
  color: rgba(255, 255, 255, 0.78);
}

.song-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.play-btn.is-playing {
  background: linear-gradient(135deg, #ff7a18, #ff3d00);
}

/* ================= STICKY PLAYER ================= */

.sticky-player {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.42);
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  overflow: hidden;
}

.sticky-player.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-player-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at left center, rgba(255, 100, 30, 0.18), transparent 35%),
    linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  pointer-events: none;
}

.sticky-player-left {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
  max-width: 320px;
}

.sticky-cover-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.32);
  flex-shrink: 0;
}

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

.sticky-meta {
  min-width: 0;
}

.sticky-player-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 138, 69, 0.95);
  margin-bottom: 4px;
}

.sticky-player-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-player-center {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sticky-control {
  align-self: center;
  min-width: 110px;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5a00, #ff2d00);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 90, 0, 0.25);
  transition: 0.25s ease;
}

.sticky-control:hover {
  transform: translateY(-2px);
}

.sticky-progress-wrap {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 10px;
  width: 100%;
}

#current-time,
#duration-time {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.72);
  text-align: center;
}

#progress-bar {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.12), rgba(255,255,255,0.08));
  outline: none;
  cursor: pointer;
}

#progress-bar::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff6a00;
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.18);
}

#progress-bar::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: none;
  border-radius: 50%;
  background: #ff6a00;
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.18);
}

/* ================= ABOUT ================= */

#about {
  padding-top: 80px;
  padding-bottom: 140px;
}

/* ================= ANIMATIONS ================= */

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

@keyframes logoGlowPulse {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.05); }
  100% { filter: brightness(1); }
}

@keyframes heroDrift {
  0% { transform: scale(1.03) translate3d(0,0,0); }
  100% { transform: scale(1.06) translate3d(-10px,-6px,0); }
}

/* ================= MOBILE ================= */

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

  .hero-logo {
    width: min(340px, 82vw);
  }

  .hero::before {
    animation-duration: 22s;
  }

  .sticky-player {
    left: 14px;
    right: 14px;
    bottom: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .sticky-player-left {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-logo {
    width: min(300px, 84vw);
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .song-actions {
    flex-direction: column;
  }

  .btn-song {
    width: 100%;
    min-width: 100%;
  }

  .song-content {
    padding: 20px;
  }

  .song-meta h3 {
    font-size: 1.4rem;
  }

  .topbar {
    padding: 18px 16px;
  }

  .topbar-links {
    gap: 12px;
    font-size: 0.92rem;
  }

  .sticky-progress-wrap {
    grid-template-columns: 42px 1fr 42px;
    gap: 8px;
  }

  .sticky-control {
    width: 100%;
  }
  .sticky-controls-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.sticky-control.small {
  min-width: 50px;
  padding: 10px 12px;
  font-size: 1rem;
}
}