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

body {
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  scroll-behavior: smooth;
}


/* ========= Header ========= */
/* All Links */
a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff5f5f;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

header.scrolled {
  background: #000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

header h1 {
  font-size: 1.5rem;
  letter-spacing: 2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  font-weight: 500;
}


/* ========= Hero ========= */
#hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url('Images/hero-bg.jpg') center/cover no-repeat;
  position: relative;
}

#hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  /* FIX: Ensures the card is centered vertically */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 120px;
  margin-bottom: 1rem;
  opacity: 0.9;
}

#hero h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

#hero p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

button {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 30px;
  background: #ff5f5f;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
button:hover {
  background: #ff3030;
  transform: scale(1.05);
}


/* ========= Sections ========= */
section {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ========= Music Card ========= */
.music-card {
  width: 250px;
  height: 250px;
  perspective: 1000px;
  margin: 2rem auto;
  position: relative;
  /* FIX: Required for the 3D flip to work correctly */
  transform-style: preserve-3d;
}

/* Base style for both front and back of the card */
.music-card .card-face {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #fff;
  border-radius: 10px;
  transition: transform 0.8s;
  text-align: center;
}

.music-card .card-face img {
  /* FIX: Ensures image fits the card container */
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.card-front {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: rotateY(0deg);
  position: relative;
  padding: 0;
}

/* --- NEW: Hover Prompt Styling --- */
.hover-prompt {
  position: absolute;
  bottom: 0.5rem; /* Adjust distance from the bottom */
  font-size: 0.8rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.7); /* Subtle dark background */
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  opacity: 0.9;
  font-weight: 500;
  transition: opacity 0.3s;
  z-index: 10;
}

/* Fades the prompt out when the card starts to flip */
.music-card:hover .hover-prompt {
    opacity: 0;
}
/* --- END NEW STYLING --- */


/* NOTE: The .coming-soon rule is left here but is no longer used in the HTML */
.coming-soon {
  position: absolute;
  bottom: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.card-back {
  background: #ff5f5f;
  color: #000;
  transform: rotateY(180deg);
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

/* FIX: Flip transitions on hover */
.music-card:hover .card-front {
  transform: rotateY(180deg);
}

.music-card:hover .card-back {
  transform: rotateY(0deg);
}

.pre-save {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #000;
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.pre-save:hover {
  background: #222;
}


/* ========= Bio ========= */
#bio img {
  /* FIX: Ensures image is sized and maintains aspect ratio */
  display: block;
  max-width: 150px;
  height: auto;
  margin: 2rem auto 0;
  border-radius: 50%;
  opacity: 0.8;
}
/* ======== Music ============ */
#music ul {
  list-style: none;
  text-align: center;
  padding: 0%;
}
/* ========= Contact ========= */
#contact ul {
  list-style: none;
  text-align: center;
  padding: 0;
}
#contact li {
  margin: 0.5rem 0;
}
#contact a {
  font-size: 1.1rem;
}


/* ========= Footer ========= */
footer {
  background: #111;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #333;

}


/* ========= Policy & TOS Pages (Placeholders) ========= */
.policy-page, .tos-page {
  padding: 6rem 2rem 4rem;
  max-width: 1000px;
  margin: auto;
}
.policy-page h1, .tos-page h1 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
}
.policy-page h2, .tos-page h2 {
  font-size: 1.4rem;
  margin: 1.5rem 0 0.8rem;
}
.policy-page p, .tos-page p, 
.policy-page li, .tos-page li {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #ddd;
}
.policy-page ul, .tos-page ul {
  padding-left: 1.2rem;
  list-style: disc;
}