* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  background: #000;
  color: #fff;
}

/* NAVIGATION */
header {
  position: fixed;
  width: 100%;
  padding: 20px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  z-index: 10000;
  transition: 0.3s;
}

header.scrolled {
  background: #000;
}

.logo {
  font-family: "MedievalSharp", cursive;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 2px;
  cursor: pointer;
}

.logo span {
  color: #ff1a1a;
  margin-left: 4px;
}

/* Desktop nav */
nav {
  display: flex;
  gap: 25px;
}
nav a {
  color: #fff;
  text-decoration: none;
  /* margin-left: 25px; */
  margin: 0;

  font-size: 14px;
  transition: 0.3s;
}

nav a:hover {
  color: red;
}

/* Hide hamburger on desktop */
.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

/* MOBILE STYLES */

/* =========================
   MOBILE NAV PREMIUM
========================= */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 10001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #fff;
  transition: 0.3s ease;
}

/* Hamburger Animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9998;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
/* Mobile styles */
@media (max-width: 1000px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 75%;
    background: #3f3f3fa9;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;

    transition: 0.4s ease;
    z-index: 9999;
  }

  nav.active {
    right: 0;
  }

  nav a {
    font-size: 20px;
    margin: 0;
  }
}
/* HERO */

/* ================= HERO WITH SPIRAL BACKGROUND ================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;

  /* Spiral / radial style */
  background:
    radial-gradient(circle at center, #111 0%, #000 70%),
    repeating-conic-gradient(
      from 0deg,
      rgba(156, 156, 156, 0.03) 0deg 10deg,
      transparent 10deg 20deg
    );

  background-blend-mode: overlay;
  animation: spiralRotate 60s linear infinite;
}

/* Slow subtle spiral motion */
@keyframes spiralRotate {
  from {
    background-position: center;
  }
  to {
    background-position: 360deg;
  }
}
.hero-content {
  animation: fadeUp 1.2s ease forwards;
  margin-top: 100px;
}
/* ================= HERO TITLE GLOW ================= */

.hero-title {
  font-family: "MedievalSharp", cursive;

  position: relative;
  font-size: clamp(40px, 8vw, 90px);
  letter-spacing: 8px;
  font-weight: 700;
  z-index: 2;
}

/* Soft aura glow */
.hero-title::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(
    circle,
    rgba(51, 51, 51, 0.25) 0%,
    rgba(122, 122, 122, 0.08) 40%,
    transparent 70%
  );
  filter: blur(40px);
  z-index: -1;
}

.dot {
  color: red;
  text-shadow:
    0 0 8px red,
    0 0 16px red,
    0 0 24px rgba(255, 0, 0, 0.356);
  animation: pulse 1.5s ease-in-out infinite;
}
.hero-subtitle {
  margin-top: 20px;
  font-size: 18px;
  color: #aaa;
  letter-spacing: 2px;
}

.hero-buttons {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */

.btn-primary {
  background: red;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: #ff2a2a;
  transform: translateY(-3px);
}

.btn-outline {
  border: 1px solid white;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-outline:hover {
  background: white;
  color: black;
  transform: translateY(-3px);
}

/* Animations */

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

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

/* ===================================
   HERO TRENDING SECTION
=================================== */

.hero-trending {
  margin-top: 60px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* Title */
.trending-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* Row Container */
.trending-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

/* Hide scrollbar */
.trending-row::-webkit-scrollbar {
  display: none;
}

/* Item Card */
.trending-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  background: #111;
  padding: 12px;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  scroll-snap-align: start;
}

/* Hover Effect */
.trending-item:hover {
  background: #1a1a1a;
  transform: translateY(-4px);
}

/* Thumbnail */
.trending-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
}

/* Text Block */
.trending-item div {
  display: flex;
  flex-direction: column;
}

/* Track Name */
.trending-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Artist / Subtitle */
.trending-item span {
  font-size: 12px;
  color: #aaa;
}

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

@media (max-width: 768px) {
  .hero {
    min-height: auto; /* remove forced 100vh */
    padding: 120px 20px 60px 20px;
    justify-content: flex-start; /* align content higher */
  }

  .hero-content {
    width: 100%;
    margin-top: 10px;
  }

  .hero-title {
    font-size: 34px;
    letter-spacing: 3px;
  }

  .hero-subtitle {
    font-size: 13px;
    margin-top: 10px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
  }

  .hero-trending {
    margin-top: 30px;
    padding: 0;
  }

  .trending-title {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .trending-row {
    gap: 10px;
  }

  .trending-item {
    min-width: 160px;
    padding: 8px;
  }

  .trending-item img {
    width: 45px;
    height: 45px;
  }

  .trending-name {
    font-size: 12px;
  }

  .trending-item span {
    font-size: 10px;
  }
}

/* SECTION */
.section {
  padding: 100px 80px;
  text-align: center;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background: red;
  display: block;
  margin: 10px auto 0;
}

/* MUSIC GRID */
/* SLIDER WRAPPER */
/* WRAPPER */
/* WRAPPER */
.music-slider-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  cursor: grab;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

/* REMOVE SCROLLBAR (optional clean look) */
.music-slider-wrapper::-webkit-scrollbar {
  display: none;
}

/* ROW */
.music-slider {
  display: flex;
  gap: 15px;
}

/* CARD */
.music-card {
  flex: 0 0 auto;
  width: 180px;
  background: #111;
  scroll-snap-align: start;
}

/* IMAGE */
.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.card-image img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  display: block;
  padding: 7px;
}
.card-image:hover {
  transform: translateY(-8px);
}
.card-image:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);

  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;

  background: red;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transition: all 0.3s ease;
}

.title {
  margin: 10px;
  font-size: 14px;
  text-align: center;
  font-weight: lighter;
}

.stats {
  font-size: 12px;
  color: #aaa;
  text-align: left;
}

.music-section {
  position: relative;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  z-index: 10;
}

.slider-btn.left {
  left: -20px;
}

.slider-btn.right {
  right: -20px;
}

.slider-btn:hover {
  background: red;
}

/* VIDEO */
.video iframe {
  width: 100%;
  height: 500px;
  border: none;
}

/* SOCIAL */
.social {
  margin-top: 30px;
}

.social a {
  color: #fff;
  margin: 0 10px;
  font-size: 20px;
  transition: 0.3s;
}

.social a:hover {
  color: red;
}

/* FOOTER */
footer {
  padding: 30px;
  text-align: center;
  background: #111;
  margin-top: 50px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header {
    padding: 20px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .section {
    padding: 5px 20px;
  }
}

@media (max-width: 1200px) {
  .music-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .music-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================== */
/* VIDEO SECTION */
/* ===================== */

.section.video {
  padding: 100px 20px;
  background: #000;
  text-align: center;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #ff1a1a;
  display: block;
  margin: 12px auto 0;
}

/* Responsive 16:9 wrapper */
.video-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(255, 0, 0, 0.15);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

/* Mobile spacing */
@media (max-width: 768px) {
  .section.video {
    padding: 70px 15px;
  }

  .section-title {
    font-size: 24px;
  }
}
