/* 
  MUSIC RICH LEGACY OVERRIDE 
  Applicable to legacy music article templates to instantly give them a 2026 premium wow-factor 
*/

:root {
  --primary: #ff2a7a;
  --secondary: #00e5ff;
  --accent: #facc15;
  --dark: #0f172a;
  --glass: rgba(15, 23, 42, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
}

body {
  background-color: var(--dark) !important;
  color: #e2e8f0 !important;
  font-family: 'Outfit', 'Noto Sans Thai', 'Noto Sans JP', sans-serif !important;
  background-image: 
    radial-gradient(circle at 100% 0%, rgba(255,42,122,0.15) 0%, transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(0,229,255,0.1) 0%, transparent 40%) !important;
  background-attachment: fixed;
  line-height: 1.9 !important;
}

.container {
  max-width: 1000px !important;
  margin: 0 auto !important;
  padding: 2rem !important;
}

/* HERO SECTION */
.article-header, header:not(.site-header) {
  background: linear-gradient(145deg, rgba(255,42,122,0.15) 0%, rgba(15,23,42,0.8) 100%) !important;
  padding: 5rem 3rem !important;
  border-radius: 40px !important;
  margin-bottom: 4rem !important;
  border: 1px solid var(--glass-border) !important;
  text-align: center !important;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4) !important;
  backdrop-filter: blur(20px) !important;
  transition: transform 0.4s ease !important;
}

.article-header:hover, header:not(.site-header):hover {
  transform: translateY(-5px) !important;
  border-color: rgba(255,42,122,0.3) !important;
}

.article-header h1, header:not(.site-header) h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin-bottom: 1.5rem !important;
  text-shadow: 0 5px 20px rgba(255,42,122,0.4) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}

.subtitle {
  font-size: clamp(1.1rem, 3vw, 1.4rem) !important;
  color: var(--secondary) !important;
  font-weight: 700 !important;
  max-width: 800px !important;
  margin: 0 auto !important;
}

/* SUMMARY */
.executive-summary {
  background: var(--glass) !important;
  padding: 2.5rem !important;
  border-radius: 25px !important;
  border-left: 8px solid var(--primary) !important;
  margin-bottom: 4rem !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3) !important;
  backdrop-filter: blur(15px) !important;
  font-size: 1.2rem !important;
}

/* TYPOGRAPHY IN ARTICLE */
article h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem) !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin: 4rem 0 2rem 0 !important;
  padding-left: 1.5rem !important;
  border-left: 6px solid var(--secondary) !important;
  display: flex !important;
  align-items: center !important;
}

article p {
  font-size: 1.15rem !important;
  margin-bottom: 1.8rem !important;
  color: #cbd5e1 !important;
  letter-spacing: 0.01em !important;
}

/* KNOWLEDGE BOXES */
.word-box, .line-section, .vocab-list, .culture-note, .analysis-note, .intro {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 24px !important;
  padding: 2rem !important;
  margin-bottom: 2.5rem !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.word-box:hover, .line-section:hover, .vocab-list:hover {
  border-color: var(--secondary) !important;
  transform: translateY(-8px) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: 0 20px 40px rgba(0,229,255,0.15) !important;
}

.word-title, .lyric-header {
  font-size: 1.4rem !important;
  font-weight: 900 !important;
  color: #fff !important;
  margin-bottom: 1.5rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  padding-bottom: 1rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

.word-jp, .jp-text { 
  color: var(--secondary) !important; 
  font-size: 1.6rem !important;
}

.word-th, .ro-text { 
  color: #94a3b8 !important; 
  font-size: 1.1rem !important; 
  font-weight: 400 !important;
}

.vocab-meaning {
  color: #e2e8f0 !important;
  display: block;
  margin-top: 5px;
}

/* LINKS AND HIGHLIGHTS */
.highlight-orange { color: #f97316 !important; font-weight: 900 !important; }
article a {
  color: var(--secondary) !important;
  text-decoration: none !important;
  border-bottom: 1px dashed var(--secondary) !important;
  transition: 0.2s !important;
}
article a:hover {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}

/* MOBILE RESPONSIVE OVERRIDES */
@media (max-width: 768px) {
  .container { padding: 1rem !important; width: 100% !important; overflow-x: hidden !important; }
  .article-header, header:not(.site-header) { padding: 3rem 1.5rem !important; border-radius: 20px !important; }
  .executive-summary { padding: 1.5rem !important; border-radius: 15px !important; }
  .word-box, .line-section { padding: 1.5rem !important; border-radius: 15px !important; }
  article h2 { font-size: 1.5rem !important; margin: 3rem 0 1.5rem 0 !important; }
  article p { font-size: 1.05rem !important; }
}

/* GLOBAL VISIBILITY FIXES */
.footer-note, .footer-note p {
  color: #ffffff !important;
}
