/* ========================================
   AnotherLine.Music - Styles
   ======================================== */

:root {
  --primary: #00B0B9;
  --primary-light: #00ffff;
  --bg-dark: #000;
  --text-white: #fff;
  --btn-radius: 18px;
  --btn-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  --btn-shadow-hover: 0 10px 24px rgba(0, 176, 185, 0.25);
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --carousel-gap: 24px;
  --carousel-card: 320px;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Top Navigation */
.top-nav {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-btn {
  padding: 0.5rem 1.2rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.login-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-dark);
}


/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-white);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Background Layers */
.parallax {
  position: fixed;
  inset: 0;
  background: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.85)),
    url('images/bg.webp') center/cover no-repeat;
  z-index: -3;
  will-change: transform;
  filter: blur(4px) saturate(1.1);
  transform: scale(1.05); /* Prevent blur edges from showing */
}

#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}


/* Main Content */
.content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 10;
  pointer-events: none;
}

.content > * {
  pointer-events: auto;
}

/* Logo */
.logo {
  max-width: 760px;
  width: min(96vw, 760px);
  height: auto;
  animation: fadeInDown 1s ease-out;
  filter: drop-shadow(0 0 40px rgba(0, 176, 185, 0.4));
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Coming Soon Title */
.coming {
  font-size: clamp(2.5rem, 12vw, 5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: fadeInUp 1s ease-out 0.3s backwards;
  filter: drop-shadow(0 0 40px rgba(0, 176, 185, 0.5));
  position: relative;
  cursor: default;
}

.coming::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  pointer-events: none;
  text-shadow: 2px 0 0 #ff00ff, -2px 0 0 #00ffff;
}

.coming:hover::after {
  opacity: 0.9;
  animation: glitchHover 0.3s ease-in-out;
}

@keyframes glitchHover {
  0% { transform: translate(0); }
  20% { transform: translate(-3px, 2px); }
  40% { transform: translate(3px, -2px); }
  60% { transform: translate(-2px, -1px); }
  80% { transform: translate(2px, 1px); }
  100% { transform: translate(0); }
}


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

/* Hero message */
.hero-message {
  width: min(820px, 100%);
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 176, 185, 0.38);
  background: linear-gradient(135deg, rgba(0, 176, 185, 0.14), rgba(0, 0, 0, 0.58));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  animation: fadeIn 1s ease-out 0.45s backwards;
}

.hero-lead {
  font-size: clamp(1.4rem, 3.6vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 0.8rem;
}

.hero-copy {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 0 auto;
}

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

/* Staggered card animations */
@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.feature-card {
  width: 260px;
  height: 200px;
  perspective: 1000px;
  cursor: pointer;
  animation: cardSlideIn 0.6s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.4s; }
.feature-card:nth-child(2) { animation-delay: 0.55s; }
.feature-card:nth-child(3) { animation-delay: 0.7s; }

.feature-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-inner {
  transform: rotateY(180deg);
}

.face {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--primary);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  gap: 0.75rem;
  backface-visibility: hidden;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.feature-card:hover .face {
  box-shadow: 0 0 30px rgba(0, 176, 185, 0.4);
  border-color: var(--primary-light);
}

.face.back {
  transform: rotateY(180deg);
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.face b {
  font-size: 1.1rem;
  font-weight: 700;
}

/* Icons */
.icon {
  width: 40px;
  height: 40px;
  transition: transform var(--transition-fast);
}

.feature-card:hover .icon {
  transform: scale(1.1);
}

/* Contact Buttons */
.contacts {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeIn 1s ease-out 0.9s backwards;
}

.contact {
  display: flex;
  gap: 0.625rem;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--primary);
  padding: 0.875rem 1.5rem;
  border-radius: var(--btn-radius);
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  transition: 
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast);
  box-shadow: var(--btn-shadow);
}

.contact:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--btn-shadow-hover);
  background: rgba(0, 176, 185, 0.15);
  border-color: var(--primary-light);
}

.contact:active {
  transform: translateY(-1px) scale(0.98);
}

.contact .icon {
  width: 24px;
  height: 24px;
}

/* ========================================
   News & Releases Sections
   ======================================== */

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.news-section,
.releases-section,
.artists-section {
  width: 100%;
  max-width: 1400px;
  margin: 3rem auto 0;
  padding: 0;
  animation: fadeIn 1s ease-out 1s backwards;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
  background: linear-gradient(135deg, var(--primary), #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, rgba(0, 176, 185, 0.1), rgba(0, 255, 255, 0.1));
  border: 1px solid var(--primary);
  border-radius: var(--btn-radius);
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  box-shadow: var(--btn-shadow);
}

.section-link:hover {
  background: linear-gradient(135deg, var(--primary), #00ffff);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
}

.news-section.hidden,
.releases-section.hidden,
.artists-section.hidden {
  display: none;
}

.news-scroll,
.releases-scroll,
.artists-scroll {
  display: flex;
  gap: var(--carousel-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  padding: 12px 8px 20px;
  scroll-padding: 8px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 176, 185, 0.6) transparent;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.news-scroll::-webkit-scrollbar,
.releases-scroll::-webkit-scrollbar,
.artists-scroll::-webkit-scrollbar {
  height: 6px;
}

.news-scroll::-webkit-scrollbar-track,
.releases-scroll::-webkit-scrollbar-track,
.artists-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.news-scroll::-webkit-scrollbar-thumb,
.releases-scroll::-webkit-scrollbar-thumb,
.artists-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 176, 185, 0.6);
  border-radius: 20px;
}

.news-card,
.release-card,
.artist-card {
  flex: 0 0 var(--carousel-card);
  scroll-snap-align: center;
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-white);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.news-card:hover,
.release-card:hover,
.artist-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(0, 176, 185, 0.22);
  background: rgba(0, 0, 0, 0.8);
}

.news-card-image,
.release-card-cover,
.artist-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  filter: saturate(1.05) contrast(1.05);
}

.news-card-content,
.release-card-content,
.artist-card-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-card-title,
.release-card-title,
.artist-card-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-white);
}

.release-card-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.release-card-date svg {
  width: 14px;
  height: 14px;
}

.release-card-artists {
  font-size: 0.85rem;
  opacity: 0.8;
  color: var(--primary);
  margin-bottom: 8px;
}

.release-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.7rem 1.4rem;
  background: linear-gradient(135deg, var(--primary), #00ffff);
  color: var(--bg-dark);
  border-radius: var(--btn-radius);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--btn-shadow);
}

.release-card-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
  background: linear-gradient(135deg, #00ffff, var(--primary));
}

.artist-card-bio {
  font-size: 0.85rem;
  opacity: 0.78;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
  line-height: 1.4;
}

.artist-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, var(--primary), #00ffff);
  color: var(--bg-dark);
  border-radius: var(--btn-radius);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--btn-shadow);
}

.artist-card:hover .artist-card-btn {
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
}

.news-card-excerpt {
  font-size: 0.9rem;
  opacity: 0.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.news-card-date {
  font-size: 0.72rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Footer */
.footer {
  opacity: 0.5;
  font-size: 0.75rem;
  animation: fadeIn 1s ease-out 1.2s backwards;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 768px) {
  :root {
    --carousel-gap: 16px;
    --carousel-card: 270px;
  }

  .content {
    gap: 1.5rem;
    padding: 2rem 1rem;
    justify-content: flex-start;
    padding-top: 4rem;
    min-height: 100vh;
    height: auto;
  }

  .logo {
    max-width: 500px;
  }

  .coming {
    letter-spacing: 0.05em;
  }

  .hero-message {
    padding: 1.25rem 1rem;
  }

  .hero-copy {
    max-width: 100%;
  }

  .contacts {
    gap: 0.75rem;
    flex-direction: column;
    align-items: center;
  }

  .contact {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --carousel-gap: 14px;
    --carousel-card: 240px;
  }

  .content {
    padding: 1.5rem 1rem;
    padding-top: 3.5rem;
    gap: 1.25rem;
  }

  .logo {
    max-width: 380px;
  }
  
  .coming {
    font-size: 2rem;
  }

  .hero-message {
    padding: 1rem 0.9rem;
  }

  .hero-lead {
    letter-spacing: 0.02em;
  }

  .contact {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    width: calc(100% - 1rem);
    max-width: none;
    justify-content: center;
  }

  .contact .icon {
    width: 20px;
    height: 20px;
  }
  
  .news-section {
    margin-top: 2rem;
  }
  
  .news-card {
    flex: 0 0 240px;
  }
  
  .news-card-image {
    height: 130px;
  }
  
  .footer {
    font-size: 0.7rem;
    margin-top: 1rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   Artist Modal
   ======================================== */

.artist-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.artist-modal.open {
  opacity: 1;
  visibility: visible;
}

.artist-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.artist-modal-content {
  position: relative;
  background: linear-gradient(145deg, rgba(20, 20, 25, 0.95), rgba(10, 10, 15, 0.98));
  border: 1px solid rgba(0, 176, 185, 0.3);
  border-radius: 20px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 
              0 0 40px rgba(0, 176, 185, 0.1);
}

.artist-modal.open .artist-modal-content {
  transform: scale(1) translateY(0);
}

.artist-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.artist-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.artist-modal-photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--primary);
  box-shadow: 0 0 30px rgba(0, 176, 185, 0.3);
}

.artist-modal-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  text-shadow: 0 0 20px rgba(0, 176, 185, 0.3);
}

.artist-modal-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  min-height: 1.5em;
}

.artist-modal-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.artist-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 176, 185, 0.15);
  border: 1px solid rgba(0, 176, 185, 0.3);
  color: var(--primary);
  transition: all 0.2s ease;
}

.artist-social-link:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 176, 185, 0.4);
}

.artist-social-link svg {
  width: 22px;
  height: 22px;
}

.artist-modal-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--bg-dark);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.artist-modal-profile-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 176, 185, 0.4);
}

/* Mobile modal adjustments */
@media (max-width: 480px) {
  .artist-modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .artist-modal-photo {
    width: 100px;
    height: 100px;
  }
  
  .artist-modal-name {
    font-size: 1.25rem;
  }
  
  .artist-social-link {
    width: 40px;
    height: 40px;
  }
  
  .artist-social-link svg {
    width: 20px;
    height: 20px;
  }
}

/* ========================================
   Fullscreen Artist Modal (Mobile)
   ======================================== */

.artist-modal.fullscreen .artist-modal-content {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.artist-modal.fullscreen .artist-modal-photo {
  width: 160px;
  height: 160px;
}

.artist-modal.fullscreen .artist-modal-name {
  font-size: 1.75rem;
}

.artist-modal.fullscreen .artist-modal-close {
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  font-size: 2rem;
}

/* ========================================
   Pull-to-Refresh Indicator
   ======================================== */

.pull-refresh-indicator {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 40px;
  height: 40px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: var(--primary);
  pointer-events: none;
}

.pull-refresh-indicator svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px var(--primary));
}

.pull-refresh-indicator.refreshing {
  animation: refreshSpin 0.5s ease-out;
}

@keyframes refreshSpin {
  0% { transform: translateX(-50%) rotate(0deg) scale(1); }
  50% { transform: translateX(-50%) rotate(180deg) scale(1.2); }
  100% { transform: translateX(-50%) rotate(360deg) scale(1); opacity: 0; }
}