/*
Theme Name: Shahrokh Archive Theme
Description: Official archive for Shahrokh – Persian music, videos, legacy
Version: 2.1
*/

/* Fonts loaded via <link> in header.php for reliability */

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

:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim: #7a6230;
  --black: #0a0908;
  --surface: #111010;
  --surface2: #1e1a15;
  --surface3: #302719;
  --player: #3a2a12;
  --player2: #4a3515;
  --text: #f5ecdc;
  --text-muted: #c7b9a4;
  --text-dim: #8a7a61;
  --border: rgba(201,168,76,0.15);
  --border-bright: rgba(201,168,76,0.35);
  --font-display: 'Cinzel', serif;
  --font-body: 'Cormorant Garamond', serif;
  --font-ui: 'Tajawal', sans-serif;
  --radius: 4px;
  --max: 1200px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }

/* ─── HEADER ─────────────────────────────────────────────── */

#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,9,8,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: height 0.3s, background 0.3s;
}

#site-header.scrolled {
  height: 56px;
  background: rgba(10,9,8,0.98);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(1.15) contrast(1.05);
  flex-shrink: 0;
}

/* Show text fallback block always, but visually hide it when image is present */
.site-logo-img + .site-logo-text-wrap {
  display: block;
}

.site-logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-logo .logo-text {
  font-family: 'Cinzel', serif !important;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1.3;
  display: block;
}

.site-logo .logo-sub {
  font-family: 'Tajawal', sans-serif !important;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

#site-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

#site-nav a {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d6cbb8;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

#site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

#site-nav a:hover,
#site-nav a.current {
  color: var(--gold);
}

#site-nav a:hover::after,
#site-nav a.current::after {
  transform: scaleX(1);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-social a {
  font-family: 'Tajawal', sans-serif !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #d9ceb9;
  padding: 5px 12px;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  transition: all 0.2s;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-social a:hover {
  color: var(--gold-light);
  border-color: var(--border-bright);
  background: rgba(201,168,76,0.07);
}

/* hamburger */
#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
#nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold);
  transition: all 0.3s;
}

/* mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10,9,8,0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

#mobile-menu.open { display: flex; }

#mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: color 0.2s;
}

#mobile-menu a:hover { color: var(--gold-light); }

/* ─── MAIN CONTENT OFFSET ────────────────────────────────── */

main { padding-top: 72px; }

/* ─── HERO ───────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://shahrokhmusic.com/wp-content/uploads/2026/06/Shahrokh-Hero.png');
  background-size: cover;
  background-position: 68% center;
  filter: brightness(0.6);
  transform: scale(1.02);
  transition: transform 8s ease;
}

.hero:hover .hero-bg { transform: scale(1.0); }

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,9,8,0.92) 0%,
    rgba(10,9,8,0.75) 35%,
    rgba(10,9,8,0.25) 60%,
    rgba(10,9,8,0.05) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Constrain text to left 52% so it never overlaps the face on right */
  max-width: 600px;
  margin-left: max(2rem, calc((100vw - 1200px) / 2 + 2rem));
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: clamp(2.8rem, 6vw, 5.5rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.0 !important;
  color: #ffffff !important;
  margin-bottom: 1rem !important;
  text-transform: uppercase;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 400;
  font-style: italic;
  color: #e7dcca;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-persian {
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0;
  margin-bottom: 2.5rem;
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid var(--border-bright);
  border-radius: 2px;
  background: rgba(201,168,76,0.06);
  direction: rtl;
  unicode-bidi: embed;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--black);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-bright);
}

.btn-outline:hover {
  background: rgba(201,168,76,0.08);
  border-color: var(--gold);
  color: var(--gold-light);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  display: block;
}

.hero-stat-label {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #bcae96;
}

/* ─── SECTION SHARED ─────────────────────────────────────── */

.section {
  padding: 7rem 2rem;
  max-width: var(--max);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-tag {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.05em;
  line-height: 1.15;
}

.section-desc {
  font-size: 1.16rem;
  font-weight: 300;
  font-style: italic;
  color: #cdbfa9;
  max-width: 500px;
  line-height: 1.7;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ─── VIDEO GRID ─────────────────────────────────────────── */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.video-card {
  position: relative;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s;
}

.video-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.video-card:hover .video-thumb img { transform: scale(1.05); }

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,9,8,0.35);
  transition: background 0.3s;
}

.video-card:hover .video-play-btn { background: rgba(10,9,8,0.2); }

.video-play-icon {
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(201,168,76,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.video-card:hover .video-play-icon {
  border-color: var(--gold);
  background: rgba(201,168,76,0.12);
}

.video-play-icon svg {
  fill: var(--gold);
  width: 18px;
  height: 18px;
  margin-left: 3px;
}

.video-info {
  padding: 1rem 1.25rem;
}

.video-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.video-meta {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* ─── MUSIC PAGE ─────────────────────────────────────────── */

.music-hero {
  text-align: center;
  padding: 6rem 2rem 3rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.music-hero .section-tag { justify-content: center; }

.music-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text);
  margin: 0.5rem 0 1rem;
}

.music-hero p {
  font-size: 1.22rem;
  font-style: italic;
  color: #d7c8b2;
}

/* filter bar */
.music-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  max-width: 100%;
}

.filter-label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-right: 0.5rem;
}

.filter-btn {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 16px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--gold);
  border-color: var(--border-bright);
  background: rgba(201,168,76,0.06);
}

.filter-search {
  margin-left: auto;
  background: var(--surface3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 7px 14px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text);
  outline: none;
  width: 200px;
  transition: border-color 0.2s;
}

.filter-search:focus { border-color: var(--border-bright); }
.filter-search::placeholder { color: var(--text-dim); }

/* song list */
.song-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem;
}

.song-list-header {
  display: grid;
  grid-template-columns: 3rem 1fr 8rem 3rem;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 2px solid rgba(201,168,76,0.45);
  background: #2a2114;
}

.song-list-header span {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f0d27a;
  opacity: 0.95;
}

.song-list-header .col-duration { text-align: right; }

.song-row {
  display: grid;
  grid-template-columns: 3rem 1fr 8rem 3rem;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 1.1rem;
  border-bottom: 1px solid rgba(201,168,76,0.18);
  cursor: pointer;
  transition: background 0.2s, border-left 0.2s, box-shadow 0.2s;
  position: relative;
  background: #231b10;
}

.song-row:nth-child(even) {
  background: #2b2113;
}

.song-row:hover {
  background: #3a2b15 !important;
  box-shadow: inset 0 0 0 1px rgba(201,168,76,0.18);
}

.song-row:hover .song-num { display: none; }
.song-row:hover .song-play-icon { display: flex; }

.song-num {
  font-family: var(--font-ui);
  font-size: 15px;
  color: #b8a579;
  text-align: center;
}

.song-play-icon {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.song-play-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

.song-title {
  font-family: var(--font-body);
  font-size: 1.28rem;
  color: #fff2dd;
  font-weight: 600;
  line-height: 1.24;
}

.song-title-persian {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1rem;
  color: #c7b68b;
  direction: rtl;
  margin-top: 2px;
}

.song-album {
  font-family: var(--font-ui);
  font-size: 13px;
  color: #b6a47c;
  letter-spacing: 0.05em;
}

.song-duration {
  font-family: var(--font-ui);
  font-size: 14px;
  color: #dcc98e;
  text-align: right;
  letter-spacing: 0.05em;
}

/* audio player inline — hidden until row clicked */
.song-audio-wrap {
  display: none;
  grid-column: 1 / -1;
  padding: 0.75rem 1rem;
  background: rgba(201,168,76,0.06);
  border-top: 1px solid rgba(201,168,76,0.15);
}

.song-row.playing {
  background:
    linear-gradient(90deg, rgba(201,168,76,0.18), rgba(74,53,21,0.86)),
    #372813 !important;
  border-left: 5px solid var(--gold);
  box-shadow: inset 0 0 0 1px rgba(201,168,76,0.34), 0 14px 34px rgba(0,0,0,0.22);
}

.song-row.playing .song-title { color: var(--gold-light); }

/* ─── MUSIC PAGE FILTER BAR ──────────────────────────────── */

.music-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  max-width: 100%;
  flex-wrap: wrap;
}

.filter-label {
  font-family: 'Tajawal', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.filter-btn {
  font-family: 'Tajawal', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 16px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--gold);
  border-color: var(--border-bright);
  background: rgba(201,168,76,0.06);
}

/* ─── ALBUM BLOCKS — ACCORDION ───────────────────────────── */

.album-block {
  border: 1px solid rgba(201,168,76,0.18);
  border-top-color: rgba(201,168,76,0.34);
  max-width: var(--max);
  margin: 0 auto 1rem;
  background: #0f0d09;
  box-shadow: 0 18px 48px rgba(0,0,0,0.22);
}

/* Clickable accordion header */
.album-accordion-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.65rem 2rem;
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
  position: relative;
  background:
    linear-gradient(90deg, rgba(58,42,18,0.72), rgba(26,22,17,0.92)),
    var(--surface2);
}

.album-accordion-header:hover {
  background:
    linear-gradient(90deg, rgba(76,55,22,0.86), rgba(35,29,21,0.98)),
    var(--surface2);
}

.album-cover-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: block;
}

.album-cover-thumb-placeholder {
  width: 72px;
  height: 72px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-dim);
  flex-shrink: 0;
}

.album-accordion-meta {
  flex: 1;
  min-width: 0;
}

.album-accordion-year {
  font-family: 'Tajawal', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}

.album-accordion-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.25rem, 2.7vw, 1.75rem);
  font-weight: 500;
  color: #fff7e8;
  letter-spacing: 0.05em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-accordion-label {
  font-family: 'Tajawal', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #b5a380;
  margin-top: 3px;
  text-transform: uppercase;
}

.album-accordion-count {
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  color: #d0bd92;
  letter-spacing: 0.1em;
  white-space: nowrap;
  margin-right: 1rem;
}

.album-accordion-arrow {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold);
  font-size: 11px;
  transition: transform 0.3s, border-color 0.2s;
  flex-shrink: 0;
}

.album-block.open .album-accordion-arrow {
  transform: rotate(180deg);
  border-color: var(--border-bright);
}

/* Accordion body */
.album-accordion-body {
  display: none;
  border-top: 1px solid rgba(201,168,76,0.24);
  background: #14100b;
}

.album-block.open .album-accordion-body {
  display: block;
}

/* Album detail strip inside body */
.album-detail-strip {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  background: rgba(201,168,76,0.035);
  align-items: flex-start;
  flex-wrap: wrap;
}

.album-cover-large {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.album-cover-large-placeholder {
  width: 140px;
  height: 140px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--gold-dim);
  flex-shrink: 0;
}

.album-detail-info { flex: 1; }

.album-detail-desc {
  font-size: 1.05rem;
  font-style: italic;
  color: #c9baa1;
  line-height: 1.7;
  margin-top: 0.5rem;
}

/* ─── SINGLES SECTION ────────────────────────────────────── */

.singles-block .album-accordion-header {
  background: var(--surface);
}

.single-cover-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.single-cover-placeholder {
  width: 48px;
  height: 48px;
  background: var(--surface3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold-dim);
  flex-shrink: 0;
}

/* ─── AUDIO PLAYER — HIGH CONTRAST ──────────────────────── */

.song-audio-wrap {
  grid-column: 1 / -1 !important;
  padding: 1.15rem 1.35rem !important;
  background:
    linear-gradient(135deg, rgba(201,168,76,0.14), rgba(74,53,21,0.78)),
    var(--player) !important;
  border-top: 2px solid rgba(232,201,122,0.9) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  display: none;
}

/* Custom styled player */
.audio-player-styled {
  display: flex;
  align-items: center;
  gap: 1rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.04)),
    var(--player2);
  border: 1px solid rgba(232,201,122,0.78);
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow: 0 18px 42px rgba(0,0,0,0.25);
}

.ap-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.ap-play-btn:hover { background: var(--gold-light); }

.ap-play-btn svg {
  width: 15px;
  height: 15px;
  fill: var(--black);
  margin-left: 2px;
}

.ap-play-btn.playing svg { margin-left: 0; }

.ap-progress-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ap-progress-bar {
  height: 8px;
  background: rgba(10,9,8,0.62);
  border: 1px solid rgba(232,201,122,0.2);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
}

.ap-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 999px;
  width: 0%;
  transition: width 0.1s linear;
  pointer-events: none;
}

.ap-time {
  font-family: 'Tajawal', sans-serif;
  font-size: 12px;
  color: #ead9ab;
  display: flex;
  justify-content: space-between;
}

.ap-volume {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ap-volume-icon {
  color: #ead9ab;
  font-size: 14px;
  cursor: pointer;
}

.ap-volume-slider {
  -webkit-appearance: none;
  width: 76px;
  height: 5px;
  background: rgba(10,9,8,0.6);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.ap-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
}

/* ─── TRACKLIST SHARED ───────────────────────────────────── */

.album-tracklist { padding: 0; }

.album-no-songs {
  font-style: italic;
  color: var(--text-dim);
  padding: 1rem 2rem;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .album-accordion-header { padding: 1rem 1.25rem; gap: 1rem; }
  .album-cover-thumb,
  .album-cover-thumb-placeholder { width: 54px; height: 54px; }
  .album-detail-strip { padding: 1rem 1.25rem; }
  .album-cover-large,
  .album-cover-large-placeholder { width: 100px; height: 100px; }
  .album-accordion-count { display: none; }
}

/* streaming services */
.streaming-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 2.5rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  align-items: center;
  justify-content: center;
}

.streaming-bar-label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  width: 100%;
  text-align: center;
  margin-bottom: 0.5rem;
}

.streaming-link {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.2s;
}

.streaming-link:hover {
  color: var(--gold);
  border-color: var(--border-bright);
}

/* ─── VIDEO LIGHTBOX ─────────────────────────────────────── */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,9,8,0.96);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
}

.lightbox-close:hover { color: var(--gold); }

.lightbox-embed {
  position: relative;
  padding-bottom: 56.25%;
  background: #000;
}

.lightbox-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ─── PLAYLISTS PAGE ─────────────────────────────────────── */

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.playlist-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.playlist-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.playlist-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.playlist-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.playlist-desc {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── ARCHIVE / LEGACY ───────────────────────────────────── */

.legacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.legacy-item {
  background: var(--black);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
}

.legacy-item:hover { background: var(--surface2); }

.legacy-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold-dim);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.legacy-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.legacy-desc {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── NEWSLETTER ─────────────────────────────────────────── */

.newsletter-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 6rem 2rem;
}

.newsletter-section .section-tag { justify-content: center; }

.newsletter-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.05em;
  margin: 0.5rem 0 1rem;
}

.newsletter-section p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ─── FOOTER ─────────────────────────────────────────────── */

#site-footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.35rem;
}

.footer-brand p {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-dim);
  max-width: 220px;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-link-group h4 {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer-link-group a {
  display: block;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

.footer-link-group a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-social a {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.footer-social a:hover {
  color: var(--gold);
  border-color: var(--border-bright);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-dim);
}

/* ─── PAGE BANNER (inner pages) ──────────────────────────── */

.page-banner {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem 3rem;
  text-align: center;
}

.page-banner .section-tag { justify-content: center; }

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text);
  margin: 0.5rem 0 0.75rem;
}

.page-banner p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-muted);
}

/* ─── EMPTY STATE ────────────────────────────────────────── */

.empty-state {
  text-align: center;
  padding: 5rem 2rem;
}

.empty-state p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

/* ─── GOLD ORNAMENT ──────────────────────────────────────── */

.ornament {
  display: block;
  text-align: center;
  color: var(--gold-dim);
  font-size: 1.2rem;
  letter-spacing: 0.5em;
  margin: 1rem 0;
  opacity: 0.4;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 900px) {
  #site-nav, .nav-social { display: none; }
  #nav-toggle { display: flex; }

  .hero {
    align-items: flex-end;
    background: linear-gradient(to bottom, transparent 0%, var(--black) 100%);
  }

  .hero-bg {
    background-position: 76% top;
    transform: scale(1);
  }

  .hero-vignette {
    background: linear-gradient(
      to bottom,
      rgba(10,9,8,0.1) 0%,
      rgba(10,9,8,0.0) 30%,
      rgba(10,9,8,0.75) 70%,
      rgba(10,9,8,1.0) 100%
    );
  }

  .hero-content {
    max-width: 100%;
    margin-left: 0;
    padding: 0 1.5rem 4rem;
  }

  .hero-stats { gap: 2rem; }

  .section-header { flex-direction: column; align-items: flex-start; }

  .song-list-header,
  .song-row {
    grid-template-columns: 2.5rem 1fr 3rem;
  }

  .song-list-header .col-album,
  .song-row .song-album { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }

  .hero-stats { display: none; }

  .hero {
    min-height: 100svh;
  }

  .hero-bg {
    background-size: auto 100%;
    background-position: 92% top;
    filter: brightness(0.54);
  }

  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(7, 6, 5, 0.92) 0%, rgba(7, 6, 5, 0.72) 48%, rgba(7, 6, 5, 0.22) 100%),
      linear-gradient(180deg, rgba(7, 6, 5, 0.06) 0%, rgba(7, 6, 5, 0.5) 62%, rgba(7, 6, 5, 0.98) 100%);
  }

  .hero-content {
    padding: 0 1.25rem 8.5rem;
  }

  .section { padding: 4rem 1.25rem; }

  .song-list { padding: 1rem 1.25rem; }

  .song-row {
    padding: 1rem 0.85rem;
    gap: 0.75rem;
  }

  .song-title {
    font-size: 1.18rem;
  }

  .audio-player-styled {
    align-items: stretch;
    flex-direction: column;
    gap: 0.85rem;
  }

  .ap-play-btn {
    align-self: flex-start;
  }

  .ap-volume {
    width: 100%;
  }

  .ap-volume-slider {
    flex: 1;
    width: auto;
  }

  .music-filter-bar { padding: 1rem 1.25rem; }

  .filter-search { width: 100%; margin-left: 0; }

  .footer-links { gap: 2rem; }
}

/* ─── MUSIC PAGE LIGHT LISTENING SURFACE ───────────────────────────────
   The rest of the site stays cinematic and dark, but the music archive
   needs a brighter surface so tracks and player controls are easy to read. */
.music-filter-bar {
  background: #2a241a;
  border-bottom: 1px solid rgba(201,168,76,0.35);
}

.album-block {
  background: #efe2c7;
  border: 1px solid rgba(201,168,76,0.5);
  box-shadow: 0 26px 70px rgba(0,0,0,0.36);
}

.album-accordion-header {
  background:
    linear-gradient(90deg, rgba(247,232,196,0.98), rgba(224,198,139,0.88)),
    #efe2c7;
  border-bottom: 1px solid rgba(111,76,24,0.24);
}

.album-accordion-header:hover {
  background:
    linear-gradient(90deg, rgba(255,241,206,1), rgba(234,205,144,0.94)),
    #f4e7cc;
}

.album-accordion-year,
.album-accordion-label,
.album-accordion-count {
  color: #76541b;
}

.album-accordion-title {
  color: #17100a;
  text-shadow: none;
}

.album-accordion-arrow {
  border-color: rgba(111,76,24,0.35);
  color: #6f4c18;
  background: rgba(255,255,255,0.34);
}

.album-accordion-body {
  background: #f5ead6;
  border-top: 1px solid rgba(111,76,24,0.22);
}

.album-detail-strip {
  background: #ead8b8;
  border-bottom: 1px solid rgba(111,76,24,0.22);
}

.album-detail-strip .section-tag,
.album-detail-info .album-accordion-year {
  color: #7a571a;
}

.album-detail-desc {
  color: #4b3921;
}

.song-list-header {
  background: #d9bf82;
  border-bottom: 2px solid rgba(111,76,24,0.42);
}

.song-list-header span {
  color: #24170a;
  opacity: 1;
}

.song-row {
  background: #f7edd9;
  border-bottom: 1px solid rgba(111,76,24,0.18);
  color: #1a1209;
}

.song-row:nth-child(even) {
  background: #efe0c4;
}

.song-row:hover {
  background: #fff5df !important;
  box-shadow: inset 0 0 0 1px rgba(111,76,24,0.24);
}

.song-num,
.song-duration {
  color: #6f4c18;
  font-weight: 600;
}

.song-title {
  color: #16100a;
  font-weight: 700;
}

.song-title-persian {
  color: #5b421d;
  font-weight: 500;
}

.song-play-icon svg {
  fill: #6f4c18;
}

.song-row.playing {
  background:
    linear-gradient(90deg, rgba(201,168,76,0.36), rgba(255,246,222,1)),
    #fff1cf !important;
  border-left: 6px solid #8b631e;
  box-shadow: inset 0 0 0 1px rgba(111,76,24,0.35), 0 14px 36px rgba(0,0,0,0.22);
}

.song-row.playing .song-title {
  color: #3a2508;
}

.song-audio-wrap {
  background:
    linear-gradient(135deg, #fff7e5, #e0c27f),
    #f2dfb5 !important;
  border-top: 2px solid #8b631e !important;
}

.audio-player-styled {
  background:
    linear-gradient(180deg, #fffaf0, #e6cc91),
    #f0dba9;
  border: 1px solid rgba(111,76,24,0.56);
  box-shadow: 0 18px 42px rgba(65,40,10,0.22);
}

.ap-play-btn {
  background: #6f4c18;
}

.ap-play-btn:hover {
  background: #8b631e;
}

.ap-play-btn svg {
  fill: #fff4d8;
}

.ap-progress-bar {
  background: rgba(67,42,10,0.2);
  border-color: rgba(111,76,24,0.24);
}

.ap-progress-fill {
  background: linear-gradient(90deg, #6f4c18, #c9a84c);
}

.ap-time,
.ap-volume-icon {
  color: #3f2a0d;
  font-weight: 600;
}

.ap-volume-slider {
  background: rgba(67,42,10,0.22);
}

.ap-volume-slider::-webkit-slider-thumb {
  background: #6f4c18;
}

/* ─── FORCE LIGHT MUSIC ARCHIVE SURFACE (#ececec) ────────────────────── */
body .album-block,
body .album-accordion-body,
body .song-list,
body .album-tracklist {
  background: #ececec !important;
  border-color: rgba(0,0,0,0.16) !important;
}

body .album-accordion-header,
body .album-detail-strip {
  background: #ececec !important;
  border-color: rgba(0,0,0,0.18) !important;
}

body .song-list-header {
  background: #d7d7d7 !important;
  border-color: rgba(0,0,0,0.22) !important;
}

body .song-row,
body .song-row:nth-child(even) {
  background: #ececec !important;
  border-color: rgba(0,0,0,0.12) !important;
  color: #111111 !important;
}

body .song-row:hover {
  background: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2) !important;
}

body .album-accordion-title,
body .song-title,
body .song-title-persian,
body .song-list-header span,
body .song-num,
body .song-duration,
body .album-accordion-label,
body .album-accordion-count,
body .album-detail-desc {
  color: #111111 !important;
  text-shadow: none !important;
}

body .album-accordion-year,
body .section-tag,
body .filter-label {
  color: #6f4c18 !important;
}

body .song-row.playing {
  background: #ffffff !important;
  border-left: 6px solid #c9a84c !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.22), 0 12px 30px rgba(0,0,0,0.24) !important;
}

body .song-audio-wrap {
  background: #ffffff !important;
  border-top: 2px solid #c9a84c !important;
}

body .audio-player-styled {
  background: #ececec !important;
  border: 1px solid rgba(0,0,0,0.24) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18) !important;
}

body .ap-progress-bar,
body .ap-volume-slider {
  background: rgba(0,0,0,0.18) !important;
}

body .ap-time,
body .ap-volume-icon {
  color: #111111 !important;
}

/* --------------------------------------------------------------------------
   FINAL DESIGN PASS
   Clearer typography, richer video cards, and a high-contrast music surface.
-------------------------------------------------------------------------- */

body {
  color: #f0e6d5;
}

#site-header,
.site-header {
  background: rgba(7, 7, 6, 0.96) !important;
  border-bottom: 1px solid rgba(201, 168, 76, 0.28) !important;
  backdrop-filter: blur(18px);
}

.site-title,
.brand-text,
.site-logo-text {
  color: #f4ead9 !important;
}

#site-nav a,
.site-nav a,
.main-navigation a {
  color: #e8dcc9 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
}

#site-nav a:hover,
#site-nav a.current,
.site-nav a:hover,
.site-nav a.current,
.main-navigation a:hover {
  color: #d9b64f !important;
}

.page-banner,
.music-hero {
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.14), transparent 42%),
    linear-gradient(180deg, #0c0b0a 0%, #080807 100%) !important;
}

.page-banner h1,
.music-hero h1,
.section-title,
.newsletter-section h2 {
  color: #fff7e8 !important;
  text-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
}

.page-banner p,
.music-hero p,
.section-desc,
.hero-subtitle,
.newsletter-section p {
  color: #e0d3bf !important;
  font-size: clamp(1rem, 1.1vw, 1.18rem) !important;
  line-height: 1.75 !important;
}

.section-tag,
.hero-eyebrow {
  color: #d9b64f !important;
  font-weight: 800 !important;
}

/* Cinematic inner-page heroes for archive sections. */
.archive-cinematic-hero {
  position: relative;
  min-height: clamp(430px, 52vh, 620px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: clamp(8rem, 12vw, 11rem) clamp(2rem, 11vw, 12rem) clamp(4rem, 7vw, 6rem) !important;
  text-align: left !important;
  border-bottom: 1px solid rgba(217, 182, 79, 0.18);
}

.archive-cinematic-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(4, 4, 4, 0.94) 0%, rgba(4, 4, 4, 0.78) 38%, rgba(4, 4, 4, 0.34) 68%, rgba(4, 4, 4, 0.12) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(5, 5, 4, 0.72));
  pointer-events: none;
}

.archive-cinematic-hero > * {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.archive-cinematic-hero .section-tag {
  justify-content: flex-start !important;
}

.archive-cinematic-hero h1 {
  font-size: clamp(3.2rem, 8vw, 7rem) !important;
  line-height: 0.98;
}

.archive-cinematic-hero p {
  max-width: 620px;
}

.video-page-hero {
  background:
    url('https://shahrokhmusic.com/wp-content/uploads/2026/06/shharokh_video.png') right center / auto 100% no-repeat,
    #050505 !important;
}

.music-page-hero {
  background:
    url('https://shahrokhmusic.com/wp-content/uploads/2026/06/shharokh_music.png') right center / auto 100% no-repeat,
    #050505 !important;
}

.playlist-page-hero {
  background:
    url('https://shahrokhmusic.com/wp-content/uploads/2026/06/shahrokh_Playlist.png') right center / auto 100% no-repeat,
    #050505 !important;
}

.hero-content {
  max-width: 760px !important;
}

.hero h1 {
  color: #fff7e8 !important;
}

.hero-persian {
  display: none !important;
}

.hero-legend-frame {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 1.1rem 0 1.55rem;
  padding: 1rem 1.45rem;
  min-height: 64px;
  border: 1px solid rgba(217, 182, 79, 0.5);
  background:
    linear-gradient(135deg, rgba(217, 182, 79, 0.12), rgba(12, 10, 7, 0.58)),
    rgba(10, 9, 8, 0.48);
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 216, 0.05),
    0 20px 50px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
}

.hero-legend-frame::before,
.hero-legend-frame::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 1px;
  background: #d9b64f;
  opacity: 0.9;
}

.hero-legend-frame::before {
  top: -1px;
  left: 18px;
}

.hero-legend-frame::after {
  bottom: -1px;
  right: 18px;
}

.hero-legend-frame span {
  color: #f4df9d;
  font-family: 'Vazirmatn', 'Tajawal', sans-serif;
  font-size: clamp(1.35rem, 2.05vw, 2rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.hero-stats {
  background: rgba(9, 8, 7, 0.64) !important;
  border: 1px solid rgba(201, 168, 76, 0.32) !important;
}

.btn,
.streaming-link,
.filter-btn {
  min-height: 42px;
  align-items: center;
}

.btn-outline,
.streaming-link {
  color: #f1e6d2 !important;
  border-color: rgba(217, 182, 79, 0.42) !important;
  background: rgba(255, 255, 255, 0.035) !important;
}

.btn-outline:hover,
.streaming-link:hover {
  color: #090806 !important;
  background: #d9b64f !important;
  border-color: #d9b64f !important;
}

.section .video-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.35rem !important;
}

.video-card {
  background:
    linear-gradient(180deg, rgba(33, 29, 23, 0.94), rgba(12, 11, 10, 0.98)) !important;
  border: 1px solid rgba(201, 168, 76, 0.22) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42) !important;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 182, 79, 0.58) !important;
  box-shadow: 0 30px 78px rgba(0, 0, 0, 0.52) !important;
}

.video-card-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.video-thumb {
  position: relative;
  background: #050505;
}

.video-card-featured .video-thumb {
  aspect-ratio: 16 / 9;
}

.video-thumb img {
  filter: saturate(1.06) contrast(1.08);
}

.video-card:hover .video-thumb img {
  transform: scale(1.035);
}

.video-play-btn {
  background: rgba(0, 0, 0, 0.28) !important;
}

.video-play-icon {
  background: #d9b64f !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
}

.video-play-icon svg {
  fill: #0c0905 !important;
}

.video-duration-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 0.38rem 0.55rem;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff6e3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.video-info {
  padding: 1.25rem 1.25rem 1.35rem !important;
}

.video-title {
  color: #fff6e3 !important;
  font-size: 1.08rem !important;
  line-height: 1.35 !important;
}

.video-card-featured .video-title {
  font-size: clamp(1.28rem, 2vw, 1.75rem) !important;
}

.video-meta {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
  color: #d8c8aa !important;
  font-size: 0.72rem !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-meta span {
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(201, 168, 76, 0.26);
  background: rgba(201, 168, 76, 0.08);
}

.lightbox {
  padding: clamp(1rem, 4vw, 3rem) !important;
}

.lightbox-inner {
  width: min(1180px, 96vw) !important;
  max-height: 92vh !important;
  background: #050505 !important;
  border: 1px solid rgba(217, 182, 79, 0.4) !important;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72) !important;
}

.lightbox-embed {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
}

.lightbox-embed iframe {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.lightbox-close {
  top: 18px !important;
  right: 18px !important;
  z-index: 5 !important;
  background: #d9b64f !important;
  color: #0b0804 !important;
  border: 0 !important;
  font-weight: 800 !important;
}

body .music-filter-bar {
  background: #15120d !important;
  border-top: 1px solid rgba(217, 182, 79, 0.2) !important;
  border-bottom: 1px solid rgba(217, 182, 79, 0.28) !important;
}

body .streaming-help {
  display: block;
  flex-basis: 100%;
  margin-bottom: 1rem;
  color: #e8dcc9;
  font-size: 0.92rem;
  font-style: italic;
}

body .album-block,
body .album-accordion-body,
body .song-list,
body .album-tracklist {
  background: #f0eee8 !important;
  border-color: rgba(18, 14, 10, 0.22) !important;
  color: #15110b !important;
}

body .album-block {
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42) !important;
}

body .album-accordion-header {
  background:
    linear-gradient(90deg, #fbf8f0 0%, #eadfcb 60%, #dec68b 100%) !important;
  border-bottom: 1px solid rgba(18, 14, 10, 0.18) !important;
}

body .album-accordion-header:hover {
  background:
    linear-gradient(90deg, #ffffff 0%, #f3ead9 58%, #e7cf91 100%) !important;
}

body .album-detail-strip {
  background: #e7dfd1 !important;
  border-bottom: 1px solid rgba(18, 14, 10, 0.18) !important;
}

body .song-list-header {
  grid-template-columns: 3rem 3.2rem minmax(0, 1fr) 5.5rem !important;
  background: #d5c298 !important;
  border-color: rgba(18, 14, 10, 0.28) !important;
}

body .song-list-header span:nth-child(2) {
  grid-column: 3;
}

body .song-list-header span:nth-child(4) {
  grid-column: 4;
  justify-self: end;
}

body .song-row {
  grid-template-columns: 3rem 3.2rem minmax(0, 1fr) 5.5rem !important;
  background: #f5f2eb !important;
  min-height: 72px;
  border-color: rgba(18, 14, 10, 0.13) !important;
}

body .song-row:nth-child(even) {
  background: #e9e4d9 !important;
}

body .song-row:hover {
  background: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(111, 76, 24, 0.24) !important;
}

body .song-row:hover .song-num {
  display: block !important;
}

body .song-play-icon {
  display: flex !important;
  width: 34px !important;
  height: 34px !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #c9a84c;
  box-shadow: 0 8px 20px rgba(91, 62, 12, 0.2);
}

body .song-play-icon svg {
  width: 14px;
  height: 14px;
  fill: #111 !important;
}

body .album-accordion-title,
body .song-title,
body .song-title-persian,
body .song-list-header span,
body .song-num,
body .song-duration,
body .album-accordion-label,
body .album-accordion-count,
body .album-detail-desc {
  color: #15110b !important;
}

body .song-title {
  font-size: clamp(1.05rem, 1.15vw, 1.25rem) !important;
  line-height: 1.35 !important;
}

body .song-title-persian {
  color: #59421d !important;
  font-size: 1rem !important;
}

body .song-duration,
body .song-num {
  font-size: 0.95rem !important;
}

body .song-row.playing {
  background: #fffaf0 !important;
  border-left: 7px solid #c9a84c !important;
  box-shadow: inset 0 0 0 1px rgba(18, 14, 10, 0.22), 0 16px 38px rgba(0, 0, 0, 0.2) !important;
}

body .song-audio-wrap {
  grid-column: 1 / -1 !important;
  background: #ffffff !important;
  border-top: 2px solid #c9a84c !important;
}

body .audio-player-styled {
  background: #fbf8f0 !important;
  border: 1px solid rgba(18, 14, 10, 0.22) !important;
}

body .ap-context {
  min-width: 170px;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

body .ap-label {
  color: #17110a;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body .ap-next {
  max-width: 260px;
  color: #6b5428;
  font-size: 0.78rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .ap-play-btn {
  background: #17110a !important;
}

body .ap-play-btn:hover {
  background: #c9a84c !important;
}

body .ap-progress-fill {
  background: linear-gradient(90deg, #17110a, #c9a84c) !important;
}

body .ap-share-btn {
  min-height: 36px;
  padding: 0 0.9rem;
  border: 1px solid rgba(18, 14, 10, 0.24);
  border-radius: 999px;
  background: #ffffff;
  color: #17110a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

body .ap-share-btn:hover {
  background: #17110a;
  color: #fff6e3;
}

.playlist-grid {
  gap: 1.25rem !important;
}

.playlist-card {
  display: block;
  color: inherit;
  text-decoration: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(217, 182, 79, 0.18), transparent 32%),
    linear-gradient(180deg, #201b14, #11100d) !important;
  border: 1px solid rgba(217, 182, 79, 0.24) !important;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.38);
}

.playlist-card:hover {
  text-decoration: none;
}

.playlist-icon {
  color: #d9b64f !important;
}

.playlist-title {
  color: #fff5df !important;
}

.playlist-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 1rem;
}

.playlist-meta span {
  padding: 0.34rem 0.55rem;
  border: 1px solid rgba(217, 182, 79, 0.26);
  background: rgba(217, 182, 79, 0.08);
  color: #e7d19a;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.playlist-desc,
.playlist-preview-meta,
.playlist-track-preview {
  color: #d8c8aa !important;
}

.playlist-track-preview {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(217, 182, 79, 0.18);
  font-size: 0.86rem;
  font-style: italic;
  line-height: 1.65;
}

.playlist-preview-meta {
  margin-top: 1.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.playlist-detail-section {
  max-width: 980px;
  margin: 0 auto;
}

.playlist-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.archive-back-link {
  color: #d9b64f;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.archive-back-link::before {
  content: "←";
  margin-right: 0.45rem;
}

.archive-back-link:hover {
  color: #fff1c4;
}

.playlist-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.playlist-detail-meta span {
  padding: 0.44rem 0.7rem;
  border: 1px solid rgba(217, 182, 79, 0.28);
  border-radius: 999px;
  color: #e7d19a;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.playlist-tracklist {
  border-radius: 14px;
  overflow: hidden;
}

.newsletter-section {
  background:
    radial-gradient(circle at 88% 20%, rgba(217, 182, 79, 0.18), transparent 28%),
    linear-gradient(135deg, #241018, #3b1118 52%, #11100e) !important;
  border-top: 1px solid rgba(217, 182, 79, 0.22);
  border-bottom: 1px solid rgba(217, 182, 79, 0.18);
}

footer,
.site-footer {
  background: #070706 !important;
  border-top: 1px solid rgba(217, 182, 79, 0.18) !important;
}

footer a,
.site-footer a {
  color: #d8c8aa !important;
}

footer a:hover,
.site-footer a:hover {
  color: #d9b64f !important;
}

@media (max-width: 900px) {
  .section .video-grid {
    grid-template-columns: 1fr !important;
  }

  .video-card-featured {
    grid-column: auto;
    grid-row: auto;
  }

  body .song-list-header {
    display: none !important;
  }

  body .song-row {
    grid-template-columns: 2.3rem minmax(0, 1fr) 4.5rem !important;
    gap: 0.75rem !important;
    padding: 1rem !important;
  }

  body .song-play-icon {
    width: 30px !important;
    height: 30px !important;
  }

  body .song-row > div:not(.song-audio-wrap) {
    min-width: 0;
  }

  body .song-num {
    display: none !important;
  }

  body .song-duration {
    justify-self: end;
  }

  body .audio-player-styled {
    flex-wrap: wrap;
    gap: 0.9rem !important;
  }

  body .ap-context,
  body .ap-progress-wrap {
    flex: 1 1 calc(100% - 54px);
  }

  body .ap-next {
    max-width: 100%;
  }

  body .ap-volume {
    flex: 1 1 140px;
  }

  body .ap-share-btn {
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  .page-banner,
  .music-hero {
    padding-top: 7rem !important;
  }

  .lightbox {
    padding: 0.75rem !important;
  }

  .lightbox-inner {
    width: 100% !important;
  }

  .lightbox-close {
    top: 10px !important;
    right: 10px !important;
  }

  .video-info {
    padding: 1rem !important;
  }
}

/* --------------------------------------------------------------------------
   MUSIC PAGE WARMER SURFACE
   Softens the listening archive from stark off-white to warm parchment.
-------------------------------------------------------------------------- */

body .album-block,
body .album-accordion-body,
body .song-list,
body .album-tracklist {
  background: #e7dfd1 !important;
  border-color: rgba(89, 65, 28, 0.24) !important;
}

body .album-accordion-header {
  background:
    linear-gradient(90deg, #eee5d4 0%, #dfd0b5 60%, #cdb071 100%) !important;
  border-bottom: 1px solid rgba(89, 65, 28, 0.22) !important;
}

body .album-accordion-header:hover {
  background:
    linear-gradient(90deg, #f5ecdc 0%, #e6d8bf 58%, #d7bd7d 100%) !important;
}

body .album-detail-strip {
  background: #ddd2bf !important;
  border-bottom: 1px solid rgba(89, 65, 28, 0.2) !important;
}

body .song-list-header {
  background: #cdbb92 !important;
  border-color: rgba(89, 65, 28, 0.3) !important;
}

body .song-row {
  background: #eee7db !important;
  border-color: rgba(89, 65, 28, 0.14) !important;
}

body .song-row:nth-child(even) {
  background: #e3dacb !important;
}

body .song-row:hover {
  background: #f8f1e5 !important;
  box-shadow: inset 0 0 0 1px rgba(137, 102, 42, 0.28) !important;
}

body .song-row.playing {
  background: #f6ead2 !important;
  border-left-color: #b99335 !important;
}

body .song-audio-wrap {
  background: #f8f1e5 !important;
  border-top-color: #b99335 !important;
}

body .audio-player-styled {
  background: #efe5d3 !important;
  border-color: rgba(89, 65, 28, 0.25) !important;
}

body .song-play-icon {
  background: #c7a047 !important;
}

body .song-title,
body .song-title-persian,
body .song-num,
body .song-duration {
  color: #1b140c !important;
}

/* --------------------------------------------------------------------------
   HERO STATS FRAME SPACING
-------------------------------------------------------------------------- */

.hero-stats {
  width: fit-content;
  max-width: 100%;
  gap: clamp(3rem, 6vw, 5.5rem) !important;
  margin-top: 3.25rem !important;
  padding: 1.65rem 2.3rem 1.45rem !important;
}

.hero-stats > div {
  min-width: 118px;
}

.hero-stat-num {
  margin-bottom: 0.75rem;
  line-height: 1;
}

.hero-stat-label {
  display: block;
  line-height: 1.35;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-stats {
    gap: 1.5rem !important;
    padding: 1.35rem 1.3rem !important;
  }

  .hero-stats > div {
    min-width: 92px;
  }
}

/* --------------------------------------------------------------------------
   COMPACT MUSIC ROWS
-------------------------------------------------------------------------- */

body .album-accordion-header {
  padding: 1.05rem 1.45rem !important;
  gap: 1.1rem !important;
}

body .album-cover-thumb,
body .album-cover-thumb-placeholder {
  width: 58px !important;
  height: 58px !important;
}

body .album-accordion-title {
  font-size: clamp(1.05rem, 1.2vw, 1.35rem) !important;
  line-height: 1.25 !important;
}

body .album-accordion-year,
body .album-accordion-label,
body .album-accordion-count {
  font-size: 0.72rem !important;
}

body .song-list-header {
  min-height: 40px;
  padding: 0.65rem 1.35rem !important;
  grid-template-columns: 2.65rem 2.7rem minmax(0, 1fr) 4.8rem !important;
}

body .song-row {
  min-height: 48px !important;
  padding: 0.62rem 1.35rem !important;
  grid-template-columns: 2.65rem 2.7rem minmax(0, 1fr) 4.8rem !important;
}

body .song-play-icon {
  width: 28px !important;
  height: 28px !important;
}

body .song-play-icon svg {
  width: 11px !important;
  height: 11px !important;
}

body .song-title {
  font-size: clamp(0.96rem, 1vw, 1.12rem) !important;
  line-height: 1.25 !important;
}

body .song-duration,
body .song-num {
  font-size: 0.82rem !important;
}

body .album-block {
  margin-bottom: 0.9rem !important;
}

body .song-audio-wrap {
  padding: 0.85rem 1rem !important;
}

body .audio-player-styled {
  min-height: 54px;
  padding: 0.75rem 0.9rem !important;
}

@media (max-width: 900px) {
  body .song-row {
    grid-template-columns: 2.1rem minmax(0, 1fr) 4rem !important;
    min-height: 52px !important;
    padding: 0.72rem 0.9rem !important;
  }

  body .album-accordion-header {
    padding: 0.9rem 1rem !important;
  }
}

/* --------------------------------------------------------------------------
   NARROWER MUSIC ARCHIVE COLUMN
-------------------------------------------------------------------------- */

body .album-block,
body .singles-block {
  width: min(100%, 860px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body .music-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

body .streaming-bar {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1180px) {
  body .album-block,
  body .singles-block,
  body .streaming-bar {
    width: calc(100% - 2rem) !important;
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   VIDEO ARCHIVE PAGINATION + DENSER GRID
-------------------------------------------------------------------------- */

.video-archive-section {
  max-width: 1240px !important;
}

.video-archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.video-page-count {
  color: #cbb889;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.video-pagination-bottom {
  margin-top: 2.5rem;
}

.video-pagination a,
.video-pagination span {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.8rem;
  border: 1px solid rgba(217, 182, 79, 0.3);
  background: rgba(255, 255, 255, 0.03);
  color: #e8dcc9;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.video-pagination .current,
.video-pagination a:hover {
  background: #d9b64f;
  color: #0b0804;
  border-color: #d9b64f;
}

.video-archive-section .video-archive-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

.video-archive-section .video-card {
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34) !important;
}

.video-archive-section .video-info {
  padding: 0.95rem 0.95rem 1.05rem !important;
}

.video-archive-section .video-title {
  font-size: 0.92rem !important;
}

.video-archive-section .video-meta {
  gap: 0.35rem;
  margin-top: 0.65rem;
  font-size: 0.62rem !important;
}

.video-archive-section .video-meta span {
  padding: 0.28rem 0.4rem;
}

.video-archive-section .video-play-icon {
  width: 46px !important;
  height: 46px !important;
}

.video-archive-section .video-play-icon svg {
  width: 15px;
  height: 15px;
}

.video-archive-section .video-duration-badge {
  right: 8px;
  bottom: 8px;
  font-size: 0.62rem;
  padding: 0.28rem 0.42rem;
}

@media (max-width: 1120px) {
  .video-archive-section .video-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .video-archive-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .video-archive-section .video-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 540px) {
  .video-archive-section .video-archive-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
   FINAL REVIEW POLISH
-------------------------------------------------------------------------- */

#site-nav a::after {
  bottom: -8px !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, #d9b64f, transparent) !important;
}

#site-nav a.current::after,
#site-nav a:hover::after {
  transform: scaleX(1) !important;
}

.music-list-heading {
  width: min(100%, 860px);
  margin: 2rem auto 0.9rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  color: #e8dcc9;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.music-list-heading span {
  color: #d9b64f;
  font-size: 0.78rem;
  font-weight: 900;
}

.music-list-heading strong {
  color: #9d8a69;
  font-size: 0.72rem;
}

body .album-accordion-header {
  background:
    linear-gradient(90deg, #e8decb 0%, #dfcfb0 68%, #c7a96a 100%) !important;
  border: 1px solid rgba(111, 82, 35, 0.18) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body .album-accordion-header:hover {
  background:
    linear-gradient(90deg, #f1e7d5 0%, #e4d4b7 68%, #d2b676 100%) !important;
  transform: translateY(-1px);
}

body .album-accordion-arrow {
  background: rgba(255, 255, 255, 0.36) !important;
}

.video-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: -0.75rem auto 2rem;
}

.video-filter-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  border: 1px solid rgba(217, 182, 79, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: #d8c8aa;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.video-filter-link:hover,
.video-filter-link.active {
  background: #d9b64f;
  border-color: #d9b64f;
  color: #0b0804;
}

#site-footer {
  background:
    radial-gradient(circle at 15% 0%, rgba(217, 182, 79, 0.08), transparent 28%),
    #050505 !important;
}

.footer-top {
  border-top: 1px solid rgba(217, 182, 79, 0.22);
  padding-top: 3rem;
}

.footer-brand .logo-text {
  font-size: 1.85rem !important;
}

.footer-persian {
  margin: 0.75rem 0 0 !important;
  color: #d9b64f !important;
  font-family: 'Vazirmatn', 'Tajawal', sans-serif !important;
  font-size: 1.05rem !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  direction: rtl;
  text-align: left !important;
  width: fit-content;
}

.footer-bottom {
  border-top-color: rgba(217, 182, 79, 0.18) !important;
}

@media (max-width: 900px) {
  .music-list-heading {
    width: calc(100% - 2rem);
  }
}

/* --------------------------------------------------------------------------
   ALBUM PAGINATION + ROUNDED MUSIC PLAYER
-------------------------------------------------------------------------- */

.album-pagination {
  width: min(100%, 860px);
  margin: 1rem auto 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.album-pagination-bottom {
  margin-top: 1.5rem;
}

.album-pagination a,
.album-pagination span {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.8rem;
  border: 1px solid rgba(217, 182, 79, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #e8dcc9;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.album-pagination .current,
.album-pagination a:hover {
  background: #d9b64f;
  border-color: #d9b64f;
  color: #0b0804;
}

body .album-block {
  border-radius: 10px !important;
  overflow: hidden;
}

body .album-accordion-header {
  border-radius: 10px !important;
}

body .album-block.open .album-accordion-header {
  border-radius: 10px 10px 0 0 !important;
}

body .album-tracklist {
  border-radius: 0 0 10px 10px !important;
  overflow: hidden;
}

body .song-row {
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body .song-row:hover {
  transform: translateX(2px);
}

body .song-play-icon {
  border-radius: 999px !important;
  box-shadow: 0 8px 18px rgba(91, 62, 12, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

body .song-row.playing {
  border-radius: 8px !important;
}

body .song-audio-wrap {
  border-radius: 0 0 10px 10px !important;
}

body .audio-player-styled {
  border-radius: 18px !important;
  background:
    linear-gradient(135deg, #f9f1e2, #e7d6b8) !important;
  box-shadow:
    0 14px 34px rgba(58, 39, 12, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.52) !important;
}

body .ap-play-btn,
body .ap-share-btn,
body .ap-progress-bar,
body .ap-volume-slider {
  border-radius: 999px !important;
}

body .album-accordion-title,
body .song-title {
  font-family: 'Vazirmatn', 'Tajawal', var(--font-body), sans-serif !important;
  font-weight: 600 !important;
}

body .song-credits {
  margin-top: 0.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.35rem 0.65rem;
  color: rgba(72, 50, 18, 0.68);
  font-family: 'Vazirmatn', 'Tajawal', var(--font-body), sans-serif !important;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
}

body .song-credits span {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .album-pagination {
    width: calc(100% - 2rem);
  }

  body .song-credits {
    font-size: 0.68rem;
  }
}

/* --------------------------------------------------------------------------
   ARCHIVE SEARCH
-------------------------------------------------------------------------- */

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.archive-search-form {
  width: min(100%, 520px);
  min-height: 44px;
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
}

.archive-search-form-video {
  margin: 0 auto 1.25rem;
}

.archive-search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(217, 182, 79, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #f3ead8;
  padding: 0 1rem;
  font-family: 'Vazirmatn', 'Tajawal', var(--font-body), sans-serif;
  font-size: 0.9rem;
  outline: none;
}

.archive-search-form input[type="search"]::placeholder {
  color: rgba(232, 220, 201, 0.52);
}

.archive-search-form input[type="search"]:focus {
  border-color: rgba(217, 182, 79, 0.7);
  box-shadow: 0 0 0 3px rgba(217, 182, 79, 0.12);
}

.archive-search-form button,
.archive-search-clear {
  min-width: 84px;
  border: 1px solid rgba(217, 182, 79, 0.42);
  border-radius: 999px;
  background: #d9b64f;
  color: #070604;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.archive-search-clear {
  min-width: 70px;
  background: transparent;
  color: #d9b64f;
}

@media (max-width: 900px) {
  body .music-filter-bar {
    flex-direction: column;
    align-items: center;
  }

  .archive-search-form {
    width: min(100%, 420px);
  }
}

@media (max-width: 560px) {
  .archive-search-form {
    flex-wrap: wrap;
  }

  .archive-search-form input[type="search"] {
    flex-basis: 100%;
    min-height: 44px;
  }

  .archive-search-form button,
  .archive-search-clear {
    min-height: 40px;
    flex: 1;
  }
}

/* --------------------------------------------------------------------------
   HOMEPAGE FEATURED LISTENING + SIGNUP POPUP + MOBILE POLISH
-------------------------------------------------------------------------- */

.home-listen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1rem;
  align-items: stretch;
  margin-top: 1.75rem;
}

.home-featured-albums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-album-card,
.home-song-row {
  text-decoration: none;
  border: 1px solid rgba(217, 182, 79, 0.24);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(217,182,79,0.055)),
    rgba(12, 10, 7, 0.76);
  color: #f2e7d3;
  box-shadow: 0 18px 40px rgba(0,0,0,0.26);
}

.home-album-card {
  min-height: 260px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
}

.home-album-card img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  margin-bottom: auto;
  border: 1px solid rgba(217, 182, 79, 0.25);
}

.home-album-year,
.home-album-card small,
.home-song-row small,
.home-song-row em {
  color: #cdbb8e;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-album-card strong,
.home-song-row strong {
  display: block;
  color: #fff7e9;
  font-family: 'Vazirmatn', 'Tajawal', var(--font-body), sans-serif;
  font-size: 1.05rem;
  line-height: 1.35;
}

.home-song-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.home-song-row {
  min-height: 64px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
}

.home-song-play {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #d9b64f;
  color: #090704;
  font-size: 0.75rem;
}

.home-album-card:hover,
.home-song-row:hover {
  border-color: rgba(217, 182, 79, 0.58);
  transform: translateY(-2px);
}

.home-streaming-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.archive-signup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.archive-signup.open {
  display: flex;
}

.archive-signup-card {
  position: relative;
  width: min(100%, 460px);
  padding: 2rem;
  border: 1px solid rgba(217, 182, 79, 0.38);
  background:
    radial-gradient(circle at 85% 0%, rgba(217, 182, 79, 0.16), transparent 34%),
    #0c0906;
  box-shadow: 0 28px 80px rgba(0,0,0,0.55);
}

.archive-signup-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(217, 182, 79, 0.28);
  border-radius: 50%;
  background: transparent;
  color: #d9b64f;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.archive-signup-card h2 {
  margin: 0.75rem 0 0.7rem;
  color: #fff7e9;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.05;
}

.archive-signup-card p {
  color: #d9cbb2;
  font-style: italic;
  line-height: 1.6;
}

.archive-signup-card form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.archive-signup-card input {
  min-height: 46px;
  border: 1px solid rgba(217, 182, 79, 0.24);
  background: rgba(255,255,255,0.055);
  color: #fff7e9;
  padding: 0 0.9rem;
  font-family: var(--font-body);
}

.archive-signup-card input::placeholder {
  color: rgba(232,220,201,0.52);
}

.archive-signup-status {
  min-height: 1.2rem;
  margin-top: 0.8rem !important;
  color: #d9b64f !important;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .home-listen-grid {
    grid-template-columns: 1fr;
  }

  .home-featured-albums {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #site-header {
    min-height: 68px;
  }

  .site-logo-img {
    width: 42px;
    height: 42px;
  }

  #mobile-menu {
    gap: 1.45rem;
  }

  #mobile-menu a {
    font-size: clamp(1.35rem, 8vw, 2rem);
  }

  .hero {
    min-height: 82vh;
  }

  .hero-content {
    padding-bottom: 3rem !important;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .home-featured-albums {
    grid-template-columns: 1fr;
  }

  .home-album-card {
    min-height: 150px;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-content: center;
    column-gap: 0.9rem;
  }

  .home-album-card img {
    width: 72px;
    height: 72px;
    grid-row: span 3;
    margin-bottom: 0;
  }

  .home-song-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .home-song-row em {
    grid-column: 2;
  }

  .archive-signup-card {
    padding: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   HOME FEATURED LISTENING REFINEMENT
-------------------------------------------------------------------------- */

#music .section-header {
  align-items: end;
  gap: 2rem;
}

#music .section-desc {
  max-width: 620px;
}

#music .btn-outline {
  align-self: center;
  white-space: nowrap;
}

.home-listen-grid {
  grid-template-columns: minmax(320px, 0.85fr) minmax(420px, 1.15fr);
  gap: 1.15rem;
  align-items: start;
  margin-top: 2.25rem;
}

.home-featured-albums {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.home-album-card {
  min-height: 0;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.22rem;
  padding: 0.95rem;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 0%, rgba(217, 182, 79, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(217, 182, 79, 0.035)),
    rgba(16, 13, 9, 0.9);
}

.home-album-card img {
  width: 88px;
  height: 88px;
  grid-row: span 3;
  margin: 0;
  border-radius: 6px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

.home-album-card .home-album-year,
.home-album-card strong,
.home-album-card small {
  grid-column: 2;
}

.home-album-card strong {
  font-size: 1.02rem;
}

.home-song-list {
  gap: 0.55rem;
}

.home-song-row {
  min-height: 0;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  padding: 0.82rem 0.95rem;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(217, 182, 79, 0.075), rgba(255, 255, 255, 0.028)),
    rgba(15, 13, 9, 0.9);
}

.home-song-row strong {
  font-size: 1.05rem;
}

.home-song-play {
  width: 40px;
  height: 40px;
  box-shadow: 0 12px 28px rgba(217, 182, 79, 0.17);
}

.home-streaming-links {
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.55rem;
}

.home-streaming-links .streaming-link {
  min-width: 132px;
  text-align: center;
}

@media (max-width: 980px) {
  #music .section-header {
    align-items: start;
  }

  #music .btn-outline {
    align-self: start;
  }

  .home-listen-grid {
    grid-template-columns: 1fr;
  }

  .home-featured-albums {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-album-card {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .home-album-card img {
    width: 74px;
    height: 74px;
  }
}

@media (max-width: 720px) {
  #music .section-header {
    gap: 1.1rem;
  }

  #music .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .home-featured-albums {
    grid-template-columns: 1fr;
  }

  .home-album-card {
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 0;
  }

  .home-album-card img {
    width: 72px;
    height: 72px;
  }

  .home-song-row {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 0.78rem;
  }

  .home-streaming-links .streaming-link {
    flex: 1 1 42%;
    min-width: 0;
  }
}

/* --------------------------------------------------------------------------
   SOCIAL / LISTENING PLATFORM LOGOS
-------------------------------------------------------------------------- */

.nav-social a,
.streaming-link,
.footer-link-group a,
#mobile-menu a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link-group a {
  width: fit-content;
}

.platform-logo {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 6px 18px rgba(0, 0, 0, 0.22);
}

.streaming-link .platform-logo {
  width: 20px;
  height: 20px;
}

.platform-youtube {
  width: 22px;
  border-radius: 6px;
  background: #ff0033;
}

.platform-youtube::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #fff;
  transform: translateX(1px);
}

.platform-instagram {
  border-radius: 6px;
  background: radial-gradient(circle at 28% 105%, #fdf497 0 16%, #fd5949 38%, #d6249f 62%, #285aeb 100%);
}

.platform-instagram::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1.6px solid #fff;
  border-radius: 50%;
}

.platform-instagram::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
}

.platform-spotify {
  background: #1db954;
}

.platform-spotify::before {
  content: "S";
  color: #061108;
  font-size: 11px;
}

.platform-apple {
  background: #f7f0e2;
  color: #0b0907;
}

.platform-apple::before {
  content: "A";
  font-size: 10px;
}

.platform-soundcloud {
  width: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7700, #ff3300);
}

.platform-soundcloud::before {
  content: "SC";
  font-size: 8px;
}

.platform-tiktok {
  background: #080808;
  color: #fff;
}

.platform-tiktok::before {
  content: "T";
  text-shadow: -1px 0 #25f4ee, 1px 0 #fe2c55;
}

.platform-telegram {
  background: #2aabee;
}

.platform-telegram::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 9px solid #fff;
  transform: rotate(-18deg) translateX(1px);
}

.platform-facebook {
  background: #1877f2;
}

.platform-facebook::before {
  content: "f";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 900;
  transform: translateY(1px);
}

.streaming-link:hover .platform-logo,
.nav-social a:hover .platform-logo,
.footer-link-group a:hover .platform-logo,
#mobile-menu a:hover .platform-logo {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(217, 182, 79, 0.28), 0 10px 22px rgba(217, 182, 79, 0.12);
}

@media (max-width: 720px) {
  .platform-logo {
    width: 17px;
    height: 17px;
  }

  .platform-youtube {
    width: 21px;
  }
}

/* --------------------------------------------------------------------------
   STICKY ARCHIVE RADIO
-------------------------------------------------------------------------- */

.archive-radio {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  width: 100%;
  padding: 0.72rem clamp(1rem, 4vw, 3rem);
  color: #fff7e8;
  font-family: var(--font-ui);
  border-top: 1px solid rgba(243, 217, 130, 0.45);
  background:
    radial-gradient(circle at 82% 0%, rgba(233, 193, 75, 0.26), transparent 30%),
    linear-gradient(90deg, rgba(21, 12, 6, 0.98), rgba(48, 31, 13, 0.97) 48%, rgba(9, 8, 6, 0.98));
  box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(14px);
}

body.has-archive-radio {
  padding-bottom: 104px;
}

.archive-radio-shell {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0.5rem 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 18%),
    transparent;
  box-shadow: none;
}

.radio-play {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3d982, #d2a83d);
  color: #080706;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(217, 182, 79, 0.34);
}

.radio-play:hover {
  background: #f3d982;
}

.radio-play-icon {
  display: block;
  font-size: 1.04rem;
  font-weight: 900;
  transform: translateX(1px);
}

.archive-radio.playing .radio-play-icon {
  transform: none;
  font-size: 1rem;
  letter-spacing: -0.18em;
}

.radio-main {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: start;
  cursor: pointer;
}

.radio-kicker,
.radio-now {
  display: block;
  margin-bottom: 0.18rem;
  color: #d9b64f;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.radio-main strong,
.radio-track-info strong {
  display: block;
  overflow: hidden;
  color: #fff7e8;
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  unicode-bidi: plaintext;
}

.radio-main span:last-child,
.radio-track-info > span:last-of-type {
  display: block;
  overflow: hidden;
  color: #b8a88b;
  font-size: 0.74rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
  unicode-bidi: plaintext;
}

.radio-main .is-persian,
.radio-track-info .is-persian {
  font-family: 'Vazirmatn', 'Tajawal', sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.radio-track-info strong.is-persian {
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  line-height: 1.45;
}

.radio-track-info span.is-persian,
.radio-main span.is-persian {
  line-height: 1.65;
}

.radio-expanded {
  display: none;
  align-items: center;
  gap: 1rem;
  flex: 1 1 auto;
  min-width: 0;
}

.archive-radio.open .radio-main {
  display: none;
}

.archive-radio.open .radio-expanded {
  display: flex;
}

.radio-cover {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(217, 182, 79, 0.3);
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(217, 182, 79, 0.16), rgba(255,255,255,0.04));
  color: #d9b64f;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.radio-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.radio-track-info {
  flex: 1 1 auto;
  min-width: 0;
  text-align: start;
}

.radio-progress {
  height: 6px;
  margin-top: 0.62rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  overflow: hidden;
}

.radio-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d9b64f, #f3d982);
}

.radio-next,
.radio-collapse {
  flex: 0 0 auto;
  min-height: 44px;
  border: 1px solid rgba(217, 182, 79, 0.3);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  color: #f1dfaa;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
}

.radio-next {
  padding: 0 1.05rem;
}

.radio-collapse {
  width: 44px;
  padding: 0;
  font-size: 1.15rem;
  line-height: 1;
}

.radio-next:hover,
.radio-collapse:hover {
  border-color: #d9b64f;
  color: #fff7e8;
}

@media (max-width: 720px) {
  body.has-archive-radio {
    padding-bottom: 118px;
  }

  .archive-radio {
    padding: 0.58rem 0.72rem calc(0.58rem + env(safe-area-inset-bottom));
  }

  .archive-radio-shell {
    gap: 0.62rem;
    padding: 0;
  }

  .radio-play {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .radio-cover {
    display: none;
  }

  .radio-next {
    min-height: 36px;
    padding: 0 0.72rem;
  }

  .radio-collapse {
    min-height: 36px;
    width: 36px;
  }
}

/* --------------------------------------------------------------------------
   FOOTER SOCIAL PANELS
-------------------------------------------------------------------------- */

#site-footer .footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.7fr);
  align-items: start;
  gap: 2rem;
}

#site-footer .footer-links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 1rem;
}

#site-footer .footer-link-group {
  min-height: 128px;
  padding: 1.1rem;
  border: 1px solid rgba(217, 182, 79, 0.22);
  border-radius: 10px;
  background:
    radial-gradient(circle at 0% 0%, rgba(217, 182, 79, 0.09), transparent 42%),
    rgba(14, 12, 9, 0.78);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

#site-footer .footer-link-group h4 {
  margin-bottom: 0.9rem;
  color: var(--gold);
}

#site-footer .footer-link-group a {
  display: inline-flex;
  width: auto;
  min-height: 34px;
  margin: 0 0.45rem 0.55rem 0;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(217, 182, 79, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #e9dcc2;
}

#site-footer .footer-link-group a:hover {
  color: var(--gold-light);
  border-color: rgba(217, 182, 79, 0.45);
  background: rgba(217, 182, 79, 0.07);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  #site-footer .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  #site-footer .footer-links {
    grid-template-columns: 1fr;
  }

  #site-footer .footer-link-group {
    padding: 0.95rem;
  }

  #site-footer .footer-link-group a {
    margin-right: 0.3rem;
    font-size: 12px;
  }
}

/* --------------------------------------------------------------------------
   LIFE & LEGACY
-------------------------------------------------------------------------- */

.life-legacy-teaser {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.life-legacy-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(217, 182, 79, 0.28);
  border-radius: 12px;
  background:
    radial-gradient(circle at 85% 20%, rgba(217, 182, 79, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(217, 182, 79, 0.035)),
    rgba(12, 10, 7, 0.88);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.life-legacy-frame::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(217, 182, 79, 0.16);
  border-radius: 8px;
  pointer-events: none;
}

.life-legacy-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.life-legacy-copy .section-title {
  margin-bottom: 1rem;
}

.life-legacy-copy p {
  max-width: 680px;
  margin-bottom: 1.6rem;
  color: #eadfc9;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-style: italic;
  line-height: 1.75;
}

.life-legacy-mark {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 300px);
  padding: 1.4rem;
  border: 1px solid rgba(217, 182, 79, 0.24);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}

.life-legacy-mark span {
  display: block;
  margin-bottom: 1.25rem;
  color: rgba(217, 182, 79, 0.75);
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
}

.life-legacy-mark strong {
  display: block;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(217, 182, 79, 0.16);
  color: #fff7e8;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.life-legacy-page-hero {
  position: relative;
  min-height: clamp(560px, 72vh, 780px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(3, 5, 10, 0.96) 0%, rgba(3, 5, 10, 0.82) 30%, rgba(3, 5, 10, 0.44) 58%, rgba(3, 5, 10, 0.16) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(8, 7, 5, 0.7)),
    url('https://shahrokhmusic.com/wp-content/uploads/2026/06/Shahrokh-Legacy.png') 62% 35% / cover no-repeat !important;
}

.life-legacy-page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, #080705);
  pointer-events: none;
}

.life-legacy-hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-width: var(--max);
  margin: 0 auto;
}

.life-legacy-hero-content .section-tag {
  justify-content: flex-start;
}

.life-legacy-page-hero h1 {
  max-width: 680px;
  margin-top: 0.8rem;
  margin-bottom: 1rem;
}

.life-legacy-page-hero p {
  max-width: 660px;
  margin-left: 0;
  margin-right: 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.life-legacy-hero-fa {
  width: fit-content;
  max-width: 100%;
  margin-top: 1.35rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(217, 182, 79, 0.34);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.42);
  color: var(--gold-light);
  font-family: 'Vazirmatn', 'Tajawal', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.7;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.legacy-story-section {
  padding-top: 5rem;
}

.legacy-story-intro {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.legacy-story-intro > .section-tag {
  justify-content: center;
}

.legacy-story-intro > .section-title {
  text-align: center;
}

.legacy-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 680px;
  margin: 1.4rem auto 0;
  border: 1px solid rgba(217, 182, 79, 0.24);
  background: rgba(217, 182, 79, 0.22);
}

.legacy-dates div {
  padding: 1rem 1.2rem;
  background:
    linear-gradient(135deg, rgba(217, 182, 79, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(12, 10, 7, 0.92);
}

.legacy-dates span {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(217, 182, 79, 0.72);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legacy-dates strong {
  display: block;
  color: #fff5df;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.legacy-bilingual-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  margin-top: 1.35rem;
  border: 1px solid rgba(217, 182, 79, 0.18);
  background: rgba(217, 182, 79, 0.18);
}

.legacy-bilingual-intro p {
  margin: 0;
  padding: 1.35rem;
  background: rgba(12, 10, 7, 0.9);
  color: #eadfc9;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.75;
}

.legacy-bilingual-intro p[lang="fa"] {
  color: #f0d985;
  font-family: 'Vazirmatn', 'Tajawal', sans-serif;
  font-style: normal;
  line-height: 2;
}

.legacy-story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(217, 182, 79, 0.18);
  background: rgba(217, 182, 79, 0.18);
}

.legacy-story-card {
  min-height: 260px;
  padding: 1.55rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(217, 182, 79, 0.035)),
    rgba(12, 10, 7, 0.92);
}

.legacy-story-card span {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 2.2rem;
}

.legacy-story-card h3 {
  margin-bottom: 0.75rem;
  color: #fff7e8;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.legacy-story-card p {
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.65;
}

.legacy-memorial-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 1px;
  margin-top: 2.4rem;
  border: 1px solid rgba(217, 182, 79, 0.18);
  background: rgba(217, 182, 79, 0.18);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
}

.legacy-memorial-panel figure {
  margin: 0;
  min-height: 420px;
  background: #060504;
  overflow: hidden;
}

.legacy-memorial-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.92) contrast(1.04) brightness(0.9);
}

.legacy-memorial-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 182, 79, 0.12), transparent 35%),
    rgba(12, 10, 7, 0.94);
}

.legacy-memorial-copy h3 {
  max-width: 620px;
  margin: 1rem 0;
  color: #fff7e8;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.legacy-memorial-copy p {
  max-width: 640px;
  margin: 0 0 1rem;
  color: #e7dac5;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.8;
}

.legacy-memorial-copy p[lang="fa"] {
  color: #f0d985;
  font-family: 'Vazirmatn', 'Tajawal', sans-serif;
  font-size: 1.08rem;
  font-style: normal;
  line-height: 2;
}

@media (max-width: 980px) {
  .life-legacy-page-hero {
    background:
      linear-gradient(90deg, rgba(3, 5, 10, 0.95) 0%, rgba(3, 5, 10, 0.72) 52%, rgba(3, 5, 10, 0.3) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(8, 7, 5, 0.76)),
      url('https://shahrokhmusic.com/wp-content/uploads/2026/06/Shahrokh-Legacy.png') 66% 32% / cover no-repeat !important;
  }

  .life-legacy-frame {
    grid-template-columns: 1fr;
  }

  .life-legacy-mark {
    justify-self: start;
  }

  .legacy-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legacy-bilingual-intro {
    grid-template-columns: 1fr;
  }

  .legacy-memorial-panel {
    grid-template-columns: 1fr;
  }

  .legacy-memorial-panel figure,
  .legacy-memorial-panel img {
    min-height: 520px;
  }
}

@media (max-width: 720px) {
  .life-legacy-page-hero {
    min-height: 680px;
    align-items: flex-end;
    padding: 7rem 1.25rem 4rem;
    background:
      linear-gradient(180deg, rgba(3, 5, 10, 0.3) 0%, rgba(3, 5, 10, 0.62) 34%, rgba(3, 5, 10, 0.96) 78%),
      url('https://shahrokhmusic.com/wp-content/uploads/2026/06/Shahrokh-Legacy.png') 68% 18% / cover no-repeat !important;
  }

  .life-legacy-hero-fa {
    width: 100%;
  }

  .life-legacy-teaser {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .life-legacy-frame {
    padding: 1.5rem;
  }

  .life-legacy-frame::before {
    inset: 0.65rem;
  }

  .life-legacy-copy .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .legacy-story-grid {
    grid-template-columns: 1fr;
  }

  .legacy-dates {
    grid-template-columns: 1fr;
  }

  .legacy-memorial-panel figure,
  .legacy-memorial-panel img {
    min-height: 420px;
  }
}

/* Keep the expanded primary navigation balanced after adding Life & Legacy. */
#site-nav {
  gap: clamp(1rem, 2vw, 2rem);
}

#site-nav a {
  font-size: 12px !important;
  letter-spacing: 0.13em !important;
}

@media (max-width: 1100px) {
  .nav-social {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   HERO LIFE & LEGACY FRAME
-------------------------------------------------------------------------- */

.hero-legacy-frame {
  position: relative;
  width: min(100%, 760px);
  margin-top: 2.4rem;
  padding: 1.35rem 1.55rem 1.25rem;
  border: 1px solid rgba(217, 182, 79, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(217, 182, 79, 0.08)),
    rgba(8, 7, 5, 0.58);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(5px);
}

.hero-legacy-frame::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border-top: 1px solid rgba(217, 182, 79, 0.13);
  pointer-events: none;
}

.hero-legacy-frame .section-tag {
  margin-bottom: 0.65rem;
  font-size: 0.62rem;
}

.hero-legacy-frame p {
  max-width: 670px;
  margin: 0 0 0.75rem;
  color: #f0e3cb;
  font-family: var(--font-serif);
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  font-style: italic;
  line-height: 1.65;
}

.hero-legacy-frame a {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

.hero-legacy-frame a::after {
  content: "";
  width: 38px;
  height: 1px;
  margin-left: 0.75rem;
  background: currentColor;
}

.hero-legacy-frame a:hover {
  color: var(--gold-light);
}

@media (max-width: 900px) {
  .hero-legacy-frame {
    width: 100%;
    margin-top: 1.6rem;
    padding: 1.1rem;
  }
}

@media (max-width: 720px) {
  .hero-legacy-frame {
    display: block;
  }

  .hero-legacy-frame p {
    font-size: 0.98rem;
  }
}

@media (max-width: 900px) {
  .archive-cinematic-hero {
    min-height: 560px;
    justify-content: flex-end;
    padding: 8rem 1.35rem 4rem !important;
  }

  .archive-cinematic-hero::after {
    background:
      linear-gradient(180deg, rgba(4, 4, 4, 0.28) 0%, rgba(4, 4, 4, 0.72) 44%, rgba(4, 4, 4, 0.96) 100%);
  }

  .video-page-hero,
  .music-page-hero,
  .playlist-page-hero {
    background-position: 74% top !important;
    background-size: cover !important;
  }

  .archive-cinematic-hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem) !important;
  }
}
