/* ==================================================
   SHARED SECTIONS - Mobile First
================================================== */

/* ==================================================
   1. SECTION TITLE SYSTEM
================================================== */

.section-title {
  text-align: center;
  margin-bottom: var(--space-xs);
}

.section-title-wrap {
  display: inline-block;
  text-align: center;
}

.music-section,
.latest-release,
.about-section {
  text-align: center;
}

/* Blue underline */
.section-title-line {
  width: 90%;
  height: 4px;
  background: var(--color-accent);
  margin: 0 auto;
  border-radius: 999px;

  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.6s ease;
}

.section-title-line.animate {
  transform: scaleX(1);
}

/* Consistent spacing below titles */
.section-content {
  margin-top: var(--space-md);
}

/* ==================================================
   2. HOME PAGE SECTIONS
================================================== */

.latest-release {
  text-align: center;
}

.latest-release .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-section {
  text-align: center;
  padding-top: var(--space-sm);
}

.about-section .about-text {
  max-width: 700px;
  margin: var(--space-sm) auto 0;
  padding: 0 var(--space-xs);
}

.about-section .about-image {
  display: block;
  max-width: 65%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

/* ==================================================
   3. SECTION ACTIONS
================================================== */

.release-actions,
.about-actions {
  margin-top: var(--space-sm);
}

/* ==================================================
   4. GLOBAL FADE-UP ANIMATION SYSTEM
================================================== */

/* Reusable animation base */
.fade-up {
  opacity: 0;
  transform: translateY(var(--space-sm));
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  will-change: transform, opacity;
}

/* When animated in */
.fade-up.animate {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================
   5. SOCIAL ICONS (FOOTER / GLOBAL)
================================================== */

.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

/* Each clickable icon */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* Apply reusable animation */
  opacity: 0;
  transform: translateY(var(--space-sm));
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  will-change: transform, opacity;
}

/* Animate in */
.social-link.animate {
  opacity: 1;
  transform: translateY(0);
}

/* SVG icon styling */
.social-icon {
  height: 40px;
  width: 40px;
  color: var(--color-text);
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

/* Hover effects */
.social-link:hover .social-icon {
  transform: translateY(-4px) scale(1.15);
  color: var(--color-accent);
}

/* Click feedback */
.social-link:active .social-icon {
  transform: scale(0.9);
}

/* ==================================================
   6. GLOBAL TEXT ANIMATION (LEFT → RIGHT)
================================================== */

.fade-in-left {
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.fade-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}
