/* --- ROOT VARIABLES & RESET --- */
:root {
  --dark-bg: #09090e;
  --primary-glow: #6d64ff;
  --secondary-glow: #da95ff;
  --accent-red: #ff3b6b;
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  --glass-bg: rgba(20, 20, 30, 0.4);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- PAGE LOADER --- */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--dark-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

#page-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: loaderPulse 2s infinite ease-in-out;
}

.loader-inner img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
    linear-gradient(135deg, var(--primary-glow), var(--secondary-glow)) border-box;
  box-shadow: 0 0 30px rgba(218, 149, 255, 0.4);
}

.loader-name {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--secondary-glow), var(--primary-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes loaderPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

/* --- ANIMATED BACKGROUND --- */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: radial-gradient(circle at 15% 50%, rgba(109, 100, 255, 0.15), transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(218, 149, 255, 0.15), transparent 50%);
  background-color: var(--dark-bg);
  animation: bgDrift 15s infinite alternate ease-in-out;
}

@keyframes bgDrift {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.page-wrapper {
  position: relative;
  z-index: 1;
}

/* --- GLASSMORPHISM UTILITY --- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 20px rgba(109, 100, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.15);
}

/* --- HERO SECTION --- */
.hero-small {
  text-align: center;
  padding: 6rem 1rem 4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--secondary-glow);
  filter: blur(120px);
  opacity: 0.2;
  border-radius: 50%;
  top: 20%;
  z-index: -1;
}

.hero-profile-pic {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 3px solid transparent;
  background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
    linear-gradient(135deg, var(--secondary-glow), var(--primary-glow)) border-box;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-small h1 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, #fff, var(--secondary-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- NEW: LATEST RELEASE BOX --- */
.latest-release-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 1.5rem;
  width: 100%;
  max-width: 600px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.release-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-red), #ff758c);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 15px rgba(255, 59, 107, 0.4);
}

.spotify-embed-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

/* --- GENERAL SECTIONS --- */
.content-section {
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-main);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-glow), var(--secondary-glow));
  border-radius: 5px;
}

/* --- ALBUMS --- */
.albums-container {
  display: grid;
  gap: 2rem;
}

.album-box {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.album-img-wrapper {
  overflow: hidden;
  width: 100%;
  padding-top: 100%;
  /* 1:1 Aspect ratio */
  position: relative;
}

.album-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.album-box:hover .album-cover {
  transform: scale(1.08);
}

.album-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.album-details h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.album-details p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.streaming-buttons {
  display: flex;
  gap: 1rem;
}

.streaming-buttons a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #fff;
  padding: 0.8rem 0;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-spotify {
  background-color: rgba(29, 185, 84, 0.15);
  border: 1px solid rgba(29, 185, 84, 0.4);
  color: #1DB954 !important;
}

.btn-spotify:hover {
  background-color: #1DB954;
  color: #000 !important;
  box-shadow: 0 8px 20px rgba(29, 185, 84, 0.4);
}

.btn-apple {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-apple:hover {
  background-color: #fff;
  color: #000 !important;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* --- CONCERTS --- */
.concert-box {
  padding: 2rem;
}

.concert-details h4 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1.5rem;
  text-align: center;
}

.concert-info-list {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--glass-border);
}

.concert-info-list p {
  font-size: 1rem;
  margin: 0.8rem 0;
  color: var(--text-muted);
}

.concert-info-list i {
  color: var(--secondary-glow);
  width: 24px;
  text-align: center;
  margin-right: 10px;
}

.concert-info-list strong {
  color: #fff;
}

/* CONCERT SLIDER */
.concert-slider-container {
  position: relative;
  width: 100%;
  margin: 2rem auto 0;
  border-radius: 16px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  border: 1px solid var(--glass-border);
}

.concert-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.concert-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.concert-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 2;
}

.concert-slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.concert-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid var(--glass-border);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.concert-slider-btn:hover {
  background: var(--primary-glow);
  border-color: var(--primary-glow);
  box-shadow: 0 0 15px var(--primary-glow);
}

.concert-prev {
  left: 15px;
}

.concert-next {
  right: 15px;
}

/* --- ARTISTS SECTION --- */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.artist-box {
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.artist-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 2px solid transparent;
  background: linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
    linear-gradient(135deg, var(--secondary-glow), transparent) border-box;
}

.artist-info a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 5px;
  letter-spacing: 1px;
}

.artist-info a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-glow), var(--secondary-glow));
  transition: width 0.3s ease;
}

.artist-info a:hover::after {
  width: 100%;
}

.artist-info a:hover {
  color: var(--secondary-glow);
}

/* --- CONTACT --- */
.contact-box {
  padding: 3rem 2rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-box .artist-pic {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
}

.contact-box h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.contact-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  transition: all 0.3s;
  font-weight: 500;
  width: 100%;
  max-width: 350px;
  justify-content: center;
}

.contact-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

.social-links-footer {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  transition: all 0.3s;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary-glow);
  border-color: var(--primary-glow);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(109, 100, 255, 0.4);
}

/* --- FOOTER --- */
.main-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- RESPONSIVE DESKTOP --- */
@media (min-width: 768px) {
  .hero-small h1 {
    font-size: 4.5rem;
  }

  .albums-container {
    grid-template-columns: 1fr 1fr;
  }

  .concert-box {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
  }

  .concert-details h4 {
    text-align: left;
  }

  .concert-slider-container {
    margin-top: 0;
  }

  .contact-links {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .albums-container {
    grid-template-columns: repeat(3, 1fr);
  }
}