/* ========================================================
   AYMO - Official Web Styling
   Dark & Dramatic Rock Aesthetic with Neon Green Accents
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --color-bg: #09090b;
  --color-surface: #121316;
  --color-surface-hover: #1a1c22;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-primary: #22c55e;
  --color-primary-glow: rgba(34, 197, 94, 0.45);
  --color-primary-hover: #4ade80;
  --color-text-main: #f4f4f5;
  --color-text-muted: #a1a1aa;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.07) 0%, transparent 60%),
              radial-gradient(circle at 100% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 50%),
              #09090b;
  color: #fafafa;
  overflow-x: hidden;
  padding-bottom: 90px; /* Space for sticky player */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0d0e12;
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ========================================================
   Hero Section - Dramatic Landing
   ======================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 2rem 1.5rem;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/foto_studio.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.32) contrast(1.15);
  transform: scale(1.05);
  transition: transform 10s ease-out;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(9, 9, 11, 0.4) 0%, rgba(9, 9, 11, 0.85) 65%, #09090b 100%),
              linear-gradient(to bottom, rgba(9, 9, 11, 0.7) 0%, transparent 40%, #09090b 98%);
}

.hero-glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.22) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(50px);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.95; }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 760px;
  margin: 0 auto;
}

.hero-logo-wrapper {
  margin-bottom: 1.75rem;
  display: inline-block;
  position: relative;
}

.hero-logo-img {
  max-width: 320px;
  width: 80vw;
  height: auto;
  filter: drop-shadow(0 0 35px rgba(34, 197, 94, 0.45));
  animation: logo-float 4s ease-in-out infinite alternate;
}

@keyframes logo-float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.hero-tagline {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #4ade80;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

.hero-desc {
  font-size: 1.05rem;
  color: #a1a1aa;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Dramatic "Lanjutkan" CTA Button */
.btn-dramatic-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #050505;
  background: #22c55e;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.65), 0 0 10px rgba(34, 197, 94, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-dramatic-cta:hover {
  background: #4ade80;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 45px rgba(34, 197, 94, 0.85), 0 0 15px rgba(34, 197, 94, 0.5);
}

.btn-dramatic-cta:active {
  transform: translateY(0) scale(0.98);
}

.btn-dramatic-cta .chevron-icon {
  width: 20px;
  height: 20px;
  animation: bounce-y 1.5s infinite;
}

@keyframes bounce-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ========================================================
   Catalog & Navigation Bar
   ======================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(9, 9, 11, 0.85);
  border-bottom: 1px solid var(--color-border);
}

.filter-chip {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.filter-chip.active {
  background: var(--color-primary);
  color: #050505;
  border-color: var(--color-primary);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.35);
}

/* Song Card */
.song-card {
  cursor: pointer;
  background: rgba(18, 19, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 0.85rem;
  transition: all 0.3s ease;
}

.song-card:hover {
  background: rgba(26, 28, 34, 0.9);
  border-color: rgba(34, 197, 94, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.8), 0 0 20px -5px rgba(34, 197, 94, 0.15);
}

/* Badges */
.badge-chord {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.badge-lyric {
  background: rgba(255, 255, 255, 0.12);
  color: #e4e4e7;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.badge-key {
  background: rgba(15, 23, 42, 0.8);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

/* ========================================================
   Song Detail View & Chord Sheet
   ======================================================== */
.sticky-toolbar {
  position: sticky;
  top: 0;
  z-index: 35;
  background: rgba(15, 17, 21, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
}

.control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e4e4e7;
  background: #1f222a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.control-btn:hover {
  background: #2c303c;
  border-color: rgba(34, 197, 94, 0.4);
  color: #fff;
}

.control-btn.active {
  background: var(--color-primary);
  color: #050505;
  border-color: var(--color-primary);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}

.control-btn.active-glow {
  background: #22c55e !important;
  color: #050505 !important;
  animation: pulse-border 1.5s infinite alternate;
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 5px rgba(34, 197, 94, 0.5); }
  100% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.9); }
}

/* Chord Sheet Formatting */
.chord-sheet-container {
  background: #0d0e12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 2.25rem 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
  position: relative;
}

@media (max-width: 640px) {
  .chord-sheet-container {
    padding: 1.5rem 1rem;
    font-size: 0.92rem;
  }
}

.section-tag {
  display: inline-block;
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
  padding: 0.3rem 0.85rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 0.4rem;
}

.section-tag:first-child {
  margin-top: 0;
}

.instruction-line {
  color: #71717a;
  font-style: italic;
  font-size: 0.9em;
  margin: 0.25rem 0;
}

.chord-line {
  color: #4ade80;
  font-weight: 700;
  margin-top: 0.6rem;
  letter-spacing: 0.04em;
  min-height: 1.4em;
}

.chord-token {
  color: #22c55e;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.35);
  transition: color 0.15s ease;
}

.lyric-line {
  color: #e4e4e7;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  margin-bottom: 0.3rem;
  line-height: 1.7;
}

.empty-line {
  height: 0.75rem;
}

/* Mode Lyrics Only */
.mode-lyrics-only .chord-line {
  display: none !important;
}

/* Font Sizing Levels */
.font-size-1 { font-size: 0.85rem !important; }
.font-size-2 { font-size: 1rem !important; }
.font-size-3 { font-size: 1.18rem !important; }
.font-size-4 { font-size: 1.35rem !important; }

/* ========================================================
   Floating Mini Audio Player
   ======================================================== */
.audio-player-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(13, 14, 18, 0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 1.25rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-track {
  width: 100%;
  height: 6px;
  background: #27272a;
  border-radius: 9999px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  border-radius: 9999px;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

.progress-track:hover .progress-fill {
  background: #4ade80;
}
