:root {
  --bg-primary: #0d0d0d;
  --bg-secondary: #000;
  --bg-card: #111;
  --text-primary: #fff;
  --text-secondary: #ccc;
  --border-color: #333;
  --accent-color: #6366f1;
  --accent-hover: #4f46e5;
  --section-alt-bg: #ffffff;
  --section-alt-text: #000000;
  --transition: all 0.3s ease;
  --container-padding: clamp(15px, 5vw, 40px);
  --section-padding: clamp(60px, 10vh, 100px);
}

[data-theme="light"] {
  --bg-primary: #f5f5f5;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --text-primary: #0d0d0d;
  --text-secondary: #444;
  --border-color: #ddd;
  --section-alt-bg: #e8e8e8;
  --section-alt-text: #0d0d0d;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  line-height: 1.6;
  text-align: center;
}

/* HEADER */
header {
  padding: clamp(12px, 2vh, 20px) var(--container-padding);
  background: var(--bg-secondary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo {
  font-family: "Dancing Script", cursive;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  background: linear-gradient(135deg, var(--accent-color), #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* THEME TOGGLE */
.theme-toggle {
  cursor: pointer;
  background: var(--bg-card);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-color);
  transition: var(--transition);
}
.theme-toggle:hover {
  transform: rotate(20deg) scale(1.1);
  background: var(--accent-color);
  color: white;
}

/* HAMBURGER */
  #hamburger {
    width: clamp(22px, 5vw, 28px);
    height: clamp(18px, 4vw, 22px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
  }

  #hamburger span {
    height: clamp(2px, 0.5vw, 3px);
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.4s ease;
  }

  #hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  #hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  #hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
/* SIDEBAR */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  z-index: 1040;
}
#overlay.show {
  opacity: 1;
  visibility: visible;
}

#sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: min(300px, 80vw);
  height: 100%;
  background: var(--bg-card);
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ✅ aligns links to left */
  text-align: left;        /* ✅ ensures text aligns left */
  transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 1050;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
}

#sidebar.show {
  left: 0;
}

#sidebar a {
  color: var(--text-primary);
  padding: 15px 30px; /* ✅ slightly increased left padding */
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  width: 100%; /* ✅ makes link clickable across full width */
  display: block; /* ✅ ensures proper alignment */
}

#sidebar a:hover {
  background: var(--accent-color);
  color: white;
  padding-left: 40px; /* ✅ smooth slide-in hover */
}

/* SECTIONS */
section {
  padding: var(--section-padding) var(--container-padding);
  max-width: 1200px;
  margin: auto;
}
.section-title {
  font-family: "Dancing Script", cursive;
  font-size: 2.5rem;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--accent-color), #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-subtitle {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.section-text {
  font-size: 1rem;
  margin: 0 auto 25px;
  color: var(--text-secondary);
  max-width: 800px;
}

/* ABOUT */
#about {
  background: var(--section-alt-bg);
  color: var(--section-alt-text);
  border-radius: 18px;
  margin: 30px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
#about h2,
#about h3,
#about p {
  color: var(--section-alt-text);
}

/* BUTTONS */
.cta-btn,
.btn {
  padding: 14px 28px;
  border-radius: 30px;
  border: 2px solid var(--accent-color);
  background: var(--accent-color);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cta-btn:hover,
.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* RELEASES CAROUSEL */
#releases {
  text-align: center;
  background: var(--bg-secondary);
}
.carousel {
  width: min(90%, 500px);
  overflow: hidden;
  margin: auto;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-item {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card-inner {
  max-width: 300px;
  width: 100%;
  aspect-ratio: 2/2;
  position: relative;
  transform-style: preserve-3d;
  transition: 0.6s;
  cursor: pointer;
}
.card-inner.is-flipped {
  transform: rotateY(180deg);
}
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  backface-visibility: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-back {
  background: linear-gradient(135deg, var(--accent-color), #ec4899);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotateY(180deg);
}
.card-caption {
  margin-top: 12px;
  font-family: "Dancing Script", cursive;
  color: var(--text-secondary);
}

/* YOUTUBE */
.youtube-carousel {
  overflow: hidden;
  max-width: 900px;
  margin: auto;
}
.youtube-track {
  display: flex;
  transition: 0.6s;
}
.youtube-item {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
}
.card {
  max-width: 500px;
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  perspective: 1000px;
}
.card-front,
.card-back {
  border-radius: 15px;
  backface-visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  transition: 0.6s;
}
.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-back {
  background: linear-gradient(135deg, var(--accent-color), #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateY(180deg);
}
.card.tap-flip .card-front {
  transform: rotateY(180deg);
}
.card.tap-flip .card-back {
  transform: rotateY(0);
}

.listen-btn {
  background: white;
  color: var(--accent-color);
  border-radius: 30px;
  padding: 14px 28px;
  font-weight: 600;
}

/* FAQ FIX → FULL OPEN ANSWERS */
.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: var(--bg-card);
  border-left: 2px solid var(--border-color);
  border-right: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
  border-radius: 0 0 10px 10px;
  padding: 0 16px;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-question.active + .faq-answer {
  max-height: 400px;
  padding: 16px;
}
.arrow-icon {
  transition: 0.3s;
}
.faq-question.active .arrow-icon {
  transform: rotate(180deg);
}

/* NEWSLETTER */
#newsletter {
  background: var(--section-alt-bg);
  color: var(--section-alt-text);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
#newsletter input,
#newsletter textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  margin-bottom: 14px;
}

/* FOOTER - Responsive */
  footer {
    background: var(--bg-secondary);
    padding: clamp(20px, 4vh, 30px) var(--container-padding);
    text-align: center;
    font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
  }

  footer a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    padding: 0 clamp(4px, 1vw, 8px);
  }

  footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
  }

  footer p {
    margin: clamp(8px, 1.5vh, 12px) 0;
  }

/* SCROLL TOP */
#scrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: var(--accent-color);
  border-radius: 50%;
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#scrollTop.show {
  display: flex;
}
