@import './landing.css';

/* ============================================================
   AWWWARDS-STYLE TYPOGRAPHIC PRELOADER
   ============================================================ */
#lp-page-loader {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.loader-wrap {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.loader-line {
  overflow: hidden;
  height: clamp(32px, 8vw, 72px);
}

.loader-text-item {
  display: block;
  font-family: 'Akira Expanded', sans-serif;
  font-size: clamp(26px, 6vw, 64px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  transform: translateY(100%);
}

.loader-progress {
  position: absolute;
  bottom: 40px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.2em;
}

/* ============================================================
   HEADER BANNER (PREVENT INITIAL JUMP)
   ============================================================ */
.lp-artisans-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #0c0c0c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 9980;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-60px);
}

.lp-header-title {
  font-family: 'ThccHandwritten', sans-serif;
  font-size: clamp(16px, 4vw, 24px);
  color: #ffffff;
  letter-spacing: 0.05em;
  margin: 0;
  text-align: center;
}

/* ============================================================
   SIDEBAR & CONTENT OVERRIDES (BREATHING ROOM)
   ============================================================ */
#lp-content {
  margin-top: 60px !important;
  padding-top: 40px;
  padding-left: var(--card-gap);
  padding-right: var(--card-gap);
  padding-bottom: calc(var(--card-gap) + 80px);
}

.lp-sidebar {
  pointer-events: all !important;
}

@media (min-width: 769px) {
  .lp-sidebar {
    top: 60px !important;
    height: calc(100vh - 60px) !important;
    transform: none !important;
    opacity: 0; /* Fade in on load */
  }
}

@media (max-width: 768px) {
  #lp-content {
    margin-top: 60px !important;
    padding-top: 24px;
    padding-left: var(--card-gap) !important;
    padding-right: var(--card-gap) !important;
  }
}

/* ============================================================
   HERO ARTISTS BANNER CARD
   ============================================================ */
.lp-artists-hero {
  position: relative;
  width: 100%;
  height: 380px;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.65) 100%), url('../artists/hero_artists.png');
  background-size: cover;
  background-position: center;
  border-radius: var(--card-radius);
  border: 1px solid rgba(255, 255, 255, 0.4); /* White border */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--card-gap);
  opacity: 0; /* GSAP reveal */
}

@media (max-width: 768px) {
  .lp-artists-hero {
    height: 200px;
    margin-top: 16px;
  }
}

.lp-artists-hero-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.lp-artists-hero-title {
  font-family: 'Akira Expanded', sans-serif;
  font-size: clamp(2.0rem, 6.5vw, 4.2rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

/* ============================================================
   ALBUM TITLE SECTION
   ============================================================ */
.lp-artists-title-section {
  text-align: left;
  margin-top: 64px;
  margin-bottom: 32px;
  opacity: 0; /* GSAP reveal */
}

@media (max-width: 768px) {
  .lp-artists-title-section {
    margin-top: 40px;
    margin-bottom: 20px;
  }
}

.lp-artists-section-title {
  font-family: 'Akira Expanded', sans-serif;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  font-weight: 900;
  color: var(--accent); /* Brand yellow #fff200 */
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ============================================================
   ARTISTS PROFILE CARDS GRID (HORIZONTAL SCROLLING SLIDER)
   ============================================================ */
.lp-artists-grid-section {
  width: 100%;
}

.lp-artists-grid {
  display: flex;
  gap: var(--card-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 24px;
  margin-bottom: 60px;
  scrollbar-width: none; /* Hide scrollbars for Firefox */
}

.lp-artists-grid::-webkit-scrollbar {
  display: none; /* Hide scrollbars for Chrome/Safari */
}

/* Tall vertical profile card wrapper with slider implementation */
.lp-artist-card {
  flex: 0 0 350px;
  height: 480px;
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--card-radius);
  border: 1px solid rgba(255, 255, 255, 0.4); /* White border */
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
  background: #080808;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Push content to bottom */
  padding: 36px;
  cursor: pointer;
  opacity: 0; /* GSAP reveal */
  transition: border-color 0.3s ease;
}

@media (max-width: 768px) {
  .lp-artist-card {
    flex: 0 0 290px;
    height: 390px;
    padding: 28px;
  }
}

.lp-artist-card:hover {
  border-color: rgba(255, 242, 0, 0.35);
}

.lp-artist-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-artist-card:hover .lp-artist-img {
  transform: scale(1.06);
}

.lp-artist-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
}

.lp-artist-card-content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.lp-artist-name {
  font-family: 'Akira Expanded', sans-serif;
  font-size: clamp(14px, 1.8vw, 19px);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.lp-artist-role {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 700;
  color: var(--accent); /* Brand yellow #fff200 */
  margin: 0 0 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.lp-artist-country {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
