
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
  --blue: #00b5e2;
  --red: #ef3340;
  --green: #3f9c35;
  --background: #020617;
  --surface: #0f172a;
  --muted: #94a3b8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--white);
  font-family: 'Inter', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  min-height: 76px;
  padding: 0 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(2, 6, 23, 0.95);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.site-header nav {
  display: flex;
  gap: 30px;
}

.site-header nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s;
}

.site-header nav a:hover,
.site-header nav a.active {
  color: var(--white);
}

.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 20px;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,181,226,0.2), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(239,51,64,0.16), transparent 35%),
    var(--background);
}

.hero-content {
  max-width: 850px;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.archive-heading h1 {
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
  margin: 20px 0;
}

.hero-subtitle {
  color: #cbd5e1;
  font-size: 1.15rem;
}

.hero-actions {
  margin-top: 35px;
}

.primary-button {
  display: inline-block;
  background: var(--blue);
  color: #001018;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.2s, background 0.2s;
}

.primary-button:hover {
  background: #54d5f5;
  transform: translateY(-3px);
}


.secondary-button {
    display: block;
    width: fit-content;
    margin: 25px auto;
    background: var(--blue);
    color: #001018;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

.secondary-button:hover {
    background: #54d5f5;
    transform: translateY(-3px);
}


.intro-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 25px;
  text-align: center;
}

.intro-section h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
}

.intro-section p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--blue);
  font-weight: 700;
}

.archive-main {
  max-width: 1250px;
  margin: 0 auto;
  padding: 70px 25px 100px;
}

.archive-heading {
  margin-bottom: 45px;
}

.archive-heading h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
}

.archive-heading > p:last-child {
  color: var(--muted);
}

.archive-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.archive-controls input,
.archive-controls select {
  min-height: 48px;
  padding: 0 15px;
  color: white;
  background: var(--surface);
  border: 1px solid #334155;
  border-radius: 8px;
  font: inherit;
}

.archive-controls input {
  flex: 1;
  min-width: 230px;
}

.archive-controls select {
  min-width: 150px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.edition-card {
  background: var(--surface);
  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s;
}

.edition-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
}

.edition-number {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.edition-card h2 {
  margin: 12px 0;
  font-size: 1.6rem;
  font-weight: 800;
}

.edition-card p {
  color: var(--muted);
}

.card-button {
  margin-top: 15px;
  padding: 10px 15px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 7px;
  color: white;
  cursor: pointer;
  font-weight: 700;
}

.card-button:hover {
  background: var(--blue);
  color: #001018;
}

.archive-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
}

.archive-table th,
.archive-table td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid #334155;
}

.archive-table th {
  color: var(--blue);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.archive-table tr:last-child td {
  border-bottom: 0;
}

.archive-table button {
  color: var(--blue);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.empty-message {
  color: var(--muted);
  padding: 30px 0;
  text-align: center;
}

.hidden {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: min(600px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  padding: 35px;
  background: var(--surface);
  border: 1px solid #334155;
  border-radius: 15px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  color: white;
  background: transparent;
  border: 0;
  font-size: 2rem;
  cursor: pointer;
}

.site-footer {
  padding: 30px 7%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 650px) {
  .site-header {
    padding: 20px;
    flex-direction: column;
    gap: 18px;
  }

  .site-header nav {
    gap: 22px;
  }

  .archive-main {
    padding: 45px 18px 70px;
  }

  .archive-controls {
    flex-direction: column;
  }

  .archive-controls input,
  .archive-controls select {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .archive-table {
    font-size: 0.8rem;
  }

  .archive-table th,
  .archive-table td {
    padding: 10px 7px;
  }
}

/* Shared Azerbaijani identity */

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.itv-logo-placeholder {
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: white;
  color: #101820;
  border-radius: 7px;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

.itv-logo-placeholder span {
  font-size: 0.45rem;
  letter-spacing: 0.12em;
}

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name strong {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.brand-name span {
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.13em;
}

/* Latest entry hero */

.latest-entry {
  min-height: 75vh;
  padding: 70px 9%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 45%, rgba(0,181,226,.2), transparent 35%),
    radial-gradient(circle at 15% 80%, rgba(239,51,64,.13), transparent 30%),
    var(--background);
}

.latest-entry-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.country-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .15em;
}

.flag {
  font-size: 2rem;
}

.latest-entry h1 {
  margin: 20px 0 5px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1;
}

.latest-entry h2 {
  color: var(--blue);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
}

.entry-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.entry-details span {
  padding: 9px 13px;
  border: 1px solid #334155;
  border-radius: 30px;
  color: #cbd5e1;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.latest-entry-art {
  position: relative;
  width: min(35vw, 400px);
  aspect-ratio: 1;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.art-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--red), var(--green));
  opacity: .85;
  filter: blur(1px);
}

.art-label {
  position: relative;
  width: 75%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: rgba(2,6,23,.8);
  text-align: center;
}

.art-label strong {
  font-size: 6rem;
  font-weight: 900;
}

.art-label span {
  font-size: .7rem;
  letter-spacing: .2em;
}

/* Archive table */

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #334155;
  border-radius: 12px;
}

.archive-table {
  min-width: 950px;
}

.archive-table th {
  white-space: nowrap;
}

.qualified {
  color: #4ade80;
  font-weight: 800;
}

.not-qualified {
  color: #f87171;
  font-weight: 800;
}

@media (max-width: 750px) {
  .latest-entry {
    flex-direction: column;
    align-items: flex-start;
    padding: 65px 25px;
  }

  .latest-entry-art {
    width: min(75vw, 320px);
    align-self: center;
  }

  .brand-name strong {
    font-size: .75rem;
  }
}

/* Azerbaijani header */

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.itv-logo-placeholder {
  width: 58px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: white;
  color: #101820;
  border-radius: 7px;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

.itv-logo-placeholder span {
  font-size: .45rem;
  letter-spacing: .12em;
}

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name strong {
  font-size: .95rem;
  letter-spacing: .08em;
}

.brand-name span {
  color: var(--muted);
  font-size: .65rem;
  letter-spacing: .13em;
}

/* Homepage latest artist */

.latest-entry {
  min-height: 75vh;
  padding: 70px 9%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 45%, rgba(0,181,226,.2), transparent 35%),
    radial-gradient(circle at 15% 80%, rgba(239,51,64,.13), transparent 30%),
    var(--background);
}

.latest-entry-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.latest-label {
  margin-top: 35px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.country-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .15em;
}

.flag {
  font-size: 2rem;
}

.latest-entry h1 {
  margin: 18px 0 5px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1;
}

.latest-entry h2 {
  color: var(--blue);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
}

.latest-description {
  margin-top: 15px;
  color: #cbd5e1;
  line-height: 1.7;
}

.entry-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.entry-details span {
  padding: 9px 13px;
  border: 1px solid #334155;
  border-radius: 30px;
  color: #cbd5e1;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
}

/* Artist picture placeholder */

.artist-image-placeholder {
  position: relative;
  width: min(35vw, 420px);
  min-width: 280px;
  aspect-ratio: 4 / 5;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border: 2px dashed rgba(255,255,255,.4);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(0,181,226,.2), transparent 55%),
    linear-gradient(35deg, rgba(239,51,64,.2), transparent 60%),
    #0f172a;
}

.image-placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: #cbd5e1;
}

.placeholder-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid #64748b;
  border-radius: 50%;
  font-size: 2rem;
}

.image-placeholder-content strong {
  color: white;
  font-size: 1.1rem;
  letter-spacing: .1em;
}

.image-placeholder-content span:last-child {
  font-size: .65rem;
  letter-spacing: .15em;
}

/* Archive summary cards */

.archive-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin: 40px 0 65px;
}

.summary-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid #1e293b;
  border-radius: 12px;
}

.summary-number {
  color: var(--blue);
  font-size: 2rem;
  font-weight: 900;
}

.summary-label {
  color: var(--muted);
  font-size: .8rem;
}

.archive-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.archive-section-heading h2,
.archive-information h2 {
  margin-top: 8px;
  font-size: 1.8rem;
  font-weight: 900;
}

.archive-count {
  color: var(--muted);
  font-size: .85rem;
}

.archive-table {
  min-width: 1250px;
}

.archive-table th {
  white-space: nowrap;
  text-align: center;
}

.archive-table td {
  vertical-align: middle;
}

.archive-table td:nth-child(3),
.archive-table td:nth-child(4) {
  font-weight: 600;
}

.archive-table .song-cell {
  color: #cbd5e1;
  font-style: italic;
}

.qualified {
  color: #4ade80;
  font-weight: 800;
}

.not-qualified {
  color: #f87171;
  font-weight: 800;
}

.table-note {
  margin-top: 15px;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.6;
}

.archive-information {
  max-width: 800px;
  margin: 85px 0 20px;
  padding-top: 35px;
  border-top: 1px solid #334155;
}

.archive-information p:not(.eyebrow) {
  margin-top: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: white;
}

/* Mobile layout */

@media (max-width: 850px) {
  .latest-entry {
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 25px;
  }

  .artist-image-placeholder {
    width: min(100%, 400px);
    align-self: center;
  }

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

@media (max-width: 650px) {
  .brand-name strong {
    font-size: .75rem;
  }

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


/* =========================================
   PARTICIPATION ARCHIVE
========================================= */

.archive-page {
    max-width: 1450px;
    margin: 0 auto;
    padding: 85px 7% 110px;
}

/* Intro */

.archive-intro {
    max-width: 850px;
    margin-bottom: 65px;
}

.archive-intro h1 {
    margin: 18px 0 22px;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
    font-weight: 900;
}

.archive-intro h1 span {
    color: var(--blue);
}

.archive-description {
    max-width: 580px;
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Statistics */

.archive-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 100px;
}

.archive-stat {
    min-height: 135px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid #1e293b;
    border-radius: 12px;
}

.stat-number {
    color: var(--blue);
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 900;
}

.stat-label {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Table heading */

.archive-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.archive-section-heading h2 {
    margin: 10px 0 0;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.archive-count {
    color: var(--muted);
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Search and filters */

.archive-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 190px 170px;
    gap: 12px;
    margin-bottom: 20px;
}

.archive-toolbar input,
.archive-toolbar select {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    background: var(--surface);
    color: white;
    border: 1px solid #334155;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
}

.archive-toolbar input::placeholder {
    color: #64748b;
}

.archive-toolbar input:focus,
.archive-toolbar select:focus {
    border-color: var(--blue);
}

/* Table */

.archive-table-container {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #263449;
    border-radius: 12px;
    background: var(--surface);
}

.archive-record-table {
    width: 100%;
    min-width: 950px;
    border-collapse: collapse;
    text-align: left;
}

.archive-record-table th {
    padding: 18px 16px;
    color: var(--muted);
    background: #111e33;
    border-bottom: 1px solid #334155;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.archive-record-table td {
    padding: 18px 16px;
    border-bottom: 1px solid #1e293b;
    color: #cbd5e1;
    font-size: 0.85rem;
    vertical-align: middle;
}

.archive-record-table tbody tr {
    transition: background 0.2s;
}

.archive-record-table tbody tr:hover {
    background: rgba(0, 181, 226, 0.045);
}

.archive-record-table tbody tr:last-child td {
    border-bottom: none;
}

/* Table columns */

.edition-cell {
    color: var(--blue) !important;
    font-weight: 900;
    white-space: nowrap;
}

.city-cell {
    white-space: nowrap;
}

.entry-cell {
    min-width: 220px;
}

.song-title {
    display: block;
    color: white;
    font-weight: 700;
}

.artist-name {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.78rem;
}

.language-cell {
    color: var(--muted) !important;
    font-size: 0.78rem !important;
}

/* Results */

.result-points {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.75rem;
}

.status-qualified {
    color: #4ade80;
    font-weight: 700;
}

.status-not-qualified {
    color: #f87171;
    font-weight: 700;
}

.automatic-label {
    display: inline-block;
    padding: 6px 9px;
    border: 1px solid rgba(0, 181, 226, 0.3);
    border-radius: 5px;
    color: var(--blue);
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.nq-label {
    color: #f87171;
    font-weight: 700;
    font-size: 0.8rem;
}

/* Empty search result */

.archive-empty {
    padding: 35px 15px;
    color: var(--muted);
    text-align: center;
}

.archive-table-note {
    max-width: 800px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.7;
}

/* Accessibility */

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

/* Responsive layout */

@media (max-width: 850px) {
    .archive-page {
        padding: 65px 5% 85px;
    }

    .archive-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 75px;
    }

    .archive-toolbar {
        grid-template-columns: 1fr 1fr;
    }

    .search-wrapper {
        grid-column: 1 / -1;
    }
}

@media (max-width: 550px) {
    .archive-page {
        padding: 50px 18px 70px;
    }

    .archive-intro {
        margin-bottom: 45px;
    }

    .archive-intro h1 {
        font-size: clamp(3.2rem, 15vw, 4.5rem);
    }

    .archive-stats {
        gap: 10px;
        margin-bottom: 65px;
    }

    .archive-stat {
        min-height: 115px;
        padding: 17px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    .archive-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .archive-toolbar {
        grid-template-columns: 1fr;
    }

    .search-wrapper {
        grid-column: auto;
    }
}

/* Streaming buttons */

.streaming-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.streaming-button {
    min-height: 52px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.streaming-button:hover {
    transform: translateY(-3px);
}

.youtube-button {
    background: #ef3340;
    color: white;
    border: 1px solid #ef3340;
}

.youtube-button:hover {
    background: #d92330;
}

.spotify-button {
    background: #1db954;
    color: #061b0d;
    border: 1px solid #1db954;
}

.spotify-button:hover {
    background: #1ed760;
}

.streaming-icon {
    font-size: 1.1rem;
}

@media (max-width: 550px) {
    .streaming-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .streaming-button {
        width: 100%;
    }
}

/* =========================================
   SONG STREAMING DROPDOWNS
========================================= */

.song-actions {
    position: relative;
    display: inline-block;
}

.song-actions summary {
    display: inline-block;
    cursor: pointer;
    list-style: none;
}

.song-actions summary::-webkit-details-marker {
    display: none;
}

.song-actions .song-title {
    display: inline-block;
    color: white;
    font-weight: 700;
    transition: color 0.2s;
}

.song-actions .song-title:hover {
    color: var(--blue);
}

.song-actions .song-title::after {
    content: " ▾";
    color: var(--blue);
    font-size: 0.7rem;
}

.song-actions[open] .song-title::after {
    content: " ▴";
}

.song-action-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 50;
    min-width: 195px;
    padding: 7px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: #101d35;
    border: 1px solid #334155;
    border-radius: 9px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.song-action-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s;
}

.song-youtube {
    color: #ff5964;
}

.song-youtube:hover {
    background: rgba(239, 51, 64, 0.14);
}

.song-spotify {
    color: #1ed760;
}

.song-spotify:hover {
    background: rgba(29, 185, 84, 0.14);
}

.song-action-menu a span {
    font-size: 1rem;
}

/* =========================================
   IMAGE FILES
========================================= */

.itv-logo-image {
    width: 48px;
    height: 48px;
    display: block;
    object-fit: contain;
    background: white;
    border-radius: 7px;
}

.artist-image-placeholder {
    border: 1px solid rgba(255,255,255,.15);
    padding: 0;
}

.artist-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* =========================================
   NATIONAL FINAL PAGE
========================================= */

.national-page {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 7% 100px;
}

.national-hero {
    min-height: 570px;
    padding: 95px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background:
        radial-gradient(circle at 80% 40%, rgba(0,181,226,.18), transparent 35%),
        radial-gradient(circle at 20% 85%, rgba(239,51,64,.12), transparent 35%);
}

.national-hero h1 {
    margin: 20px 0;
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: .95;
    letter-spacing: -.07em;
    font-weight: 900;
}

.national-hero h1 span {
    color: var(--blue);
}

.national-description {
    max-width: 620px;
    margin: 10px 0 30px;
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.8;
}

.national-overview {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
    border-top: 1px solid #1e293b;
}

.national-overview-text h2 {
    margin: 15px 0 25px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.05em;
}

.national-overview-text p:not(.eyebrow) {
    max-width: 650px;
    color: var(--muted);
    line-height: 1.8;
    margin: 15px 0;
}

.national-highlight {
    min-height: 260px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--surface);
    border: 1px solid #263449;
    border-radius: 16px;
}

.national-highlight-number {
    color: var(--blue);
    font-size: 6rem;
    line-height: 1;
    font-weight: 900;
}

.national-highlight-label {
    margin-top: 12px;
    font-size: 1.1rem;
    font-weight: 800;
}

.national-highlight-note {
    margin-top: 8px;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.6;
}

.national-history {
    padding: 80px 0;
    border-top: 1px solid #1e293b;
}

.national-section-heading {
    max-width: 650px;
    margin-bottom: 35px;
}

.national-section-heading h2,
.national-archive-preview h2 {
    margin: 12px 0;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -.05em;
}

.national-section-heading > p:last-child,
.national-archive-preview > p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.8;
}

.selection-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.selection-card {
    padding: 32px;
    background: var(--surface);
    border: 1px solid #263449;
    border-radius: 14px;
    transition: transform .2s, border-color .2s;
}

.selection-card:hover {
    transform: translateY(-4px);
    border-color: var(--blue);
}

.selection-card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border-radius: 10px;
    background: rgba(0,181,226,.12);
    color: var(--blue);
    font-size: 1.5rem;
}

.selection-card-number {
    color: var(--blue);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.selection-card h3 {
    margin: 12px 0;
    font-size: 1.7rem;
    font-weight: 900;
}

.selection-card > p:not(.selection-card-number) {
    min-height: 105px;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.8;
}

.selection-tag {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 12px;
    border: 1px solid rgba(0,181,226,.3);
    border-radius: 6px;
    color: var(--blue);
    font-size: .75rem;
    font-weight: 800;
}

.national-archive-preview {
    padding: 75px 0 20px;
    border-top: 1px solid #1e293b;
}

.national-archive-preview > p:not(.eyebrow) {
    max-width: 650px;
}

.national-coming-soon {
    max-width: 850px;
    margin: 35px 0 20px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--surface);
    border: 1px solid #263449;
    border-radius: 12px;
}

.coming-soon-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(0,181,226,.12);
    color: var(--blue);
    font-size: 1.5rem;
}

.national-coming-soon div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.national-coming-soon div strong {
    font-size: .95rem;
}

.national-coming-soon div span {
    color: var(--muted);
    font-size: .78rem;
}

.coming-soon-label {
    margin-left: auto;
    color: var(--blue);
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .1em;
    white-space: nowrap;
}

/* National Final responsive layout */

@media (max-width: 750px) {
    .national-page {
        padding: 0 25px 75px;
    }

    .national-hero {
        min-height: 480px;
        padding: 70px 0;
    }

    .national-overview {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 60px 0;
    }

    .national-highlight {
        min-height: 210px;
    }

    .national-history {
        padding: 60px 0;
    }

    .selection-methods {
        grid-template-columns: 1fr;
    }

    .selection-card > p:not(.selection-card-number) {
        min-height: 0;
    }
}

@media (max-width: 550px) {
    .national-page {
        padding-right: 18px;
        padding-left: 18px;
    }

    .national-hero h1 {
        font-size: clamp(3.8rem, 18vw, 5rem);
    }

    .national-coming-soon {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .coming-soon-label {
        width: 100%;
        margin-left: 66px;
    }
}


/* VOTING PAGE */

.vote-form {
    width: 100%;
    max-width: 650px;
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vote-form > label,
.vote-form h2 {
    font-weight: 800;
}

.vote-form > input {
    width: 100%;
    padding: 16px;
    color: white;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    font: inherit;
}

.vote-form > input:focus {
    outline: 2px solid var(--blue);
    border-color: var(--blue);
}

.vote-hint {
    margin-top: -7px;
    color: var(--muted);
    font-size: .8rem;
}

.vote-form h2 {
    margin-top: 25px;
    font-size: 1.3rem;
}

.vote-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vote-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid #263449;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.vote-option:hover {
    border-color: var(--blue);
}

.vote-option:has(input:checked) {
    border-color: var(--blue);
    background: rgba(0,181,226,.08);
}

.vote-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
}

.vote-option span {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vote-option small {
    color: var(--muted);
}

.vote-submit {
    margin-top: 15px;
    cursor: pointer;
}

.vote-message {
    display: none;
    padding: 15px;
    border-radius: 8px;
    background: var(--surface);
    line-height: 1.6;
}

.vote-message.visible {
    display: block;
}


/* =========================================
   AZERBAIJANI CULTURAL DESIGN
========================================= */

/* Traditional colour palette */

:root {
    --blue: #55b8b0;
    --red: #c94a50;
    --green: #739b68;
    --gold: #c8a66a;

    --background: #101b1a;
    --surface: #192725;
    --muted: #b7b6a9;
    --white: #f4efe2;
}

/* Overall appearance */

body {
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(85,184,176,.07),
            transparent 55%
        ),
        var(--background);

    color: var(--white);
    font-family: 'Manrope', sans-serif;
}

/* Elegant headings */

h1,
h2,
h3,
.archive-heading h1,
.archive-intro h1,
.latest-entry h1,
.national-hero h1,
.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    letter-spacing: -.025em;
}

h1 span {
    color: var(--gold);
}

/* Eyebrows */

.eyebrow {
    color: var(--gold);
    letter-spacing: .2em;
    font-size: .72rem;
}

/* Header */

.site-header {
    position: relative;
    min-height: 88px;
    background: #111e1c;
    border-bottom: 1px solid rgba(200,166,106,.25);
}

/* Decorative carpet-inspired header border */

.site-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;

    background:
        linear-gradient(
            135deg,
            transparent 35%,
            var(--gold) 36% 46%,
            transparent 47%
        ),
        linear-gradient(
            45deg,
            transparent 35%,
            var(--gold) 36% 46%,
            transparent 47%
        );

    background-size: 16px 5px;
    opacity: .75;
}

.brand-name strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    letter-spacing: .1em;
    color: var(--white);
}

.brand-name span {
    color: var(--gold);
}

/* Navigation */

.site-header nav a {
    font-size: .82rem;
    letter-spacing: .04em;
    color: #b7b6a9;
}

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

/* Hero sections */

.hero,
.latest-entry,
.national-hero {
    background:
        radial-gradient(
            circle at 80% 35%,
            rgba(85,184,176,.12),
            transparent 38%
        ),
        radial-gradient(
            circle at 15% 85%,
            rgba(201,74,80,.09),
            transparent 35%
        ),
        var(--background);
}

/* Main titles */

.latest-entry h1,
.hero h1,
.national-hero h1,
.archive-intro h1,
.archive-heading h1 {
    font-size: clamp(4rem, 9vw, 7rem);
    line-height: .95;
    color: var(--white);
}

.latest-entry h2 {
    color: var(--gold);
}

.national-hero h1 span,
.latest-entry h1 span,
.archive-intro h1 span,
.archive-heading h1 span {
    color: var(--gold);
}

/* Decorative section dividers */

.intro-section,
.archive-information,
.national-overview,
.national-history,
.national-archive-preview {
    border-color: rgba(200,166,106,.25);
}

/* Buttons */

.primary-button {
    background: var(--gold);
    color: #17201b;
    border: 1px solid #dfc28b;
    border-radius: 3px;
    padding: 15px 28px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.primary-button:hover {
    background: #dfc28b;
    color: #17201b;
}

.text-link {
    color: var(--gold);
}

/* Cards */

.edition-card,
.summary-card,
.archive-stat,
.selection-card,
.national-highlight {
    background: #192725;
    border: 1px solid rgba(200,166,106,.2);
    border-radius: 4px;
}

.edition-card:hover,
.selection-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.edition-number,
.summary-number,
.stat-number,
.national-highlight-number {
    color: var(--gold);
}

/* Archive table */

.archive-table,
.archive-record-table {
    background: #192725;
}

.archive-table th,
.archive-record-table th {
    background: #22342f;
    color: var(--gold);
    border-color: rgba(200,166,106,.25);
}

.archive-table td,
.archive-record-table td {
    border-color: rgba(200,166,106,.13);
}

.archive-record-table tbody tr:hover {
    background: rgba(85,184,176,.07);
}

.edition-cell {
    color: var(--gold) !important;
}

/* Search fields */

.archive-toolbar input,
.archive-toolbar select,
.archive-controls input,
.archive-controls select,
.vote-form > input {
    background: #192725;
    border: 1px solid rgba(200,166,106,.35);
    border-radius: 3px;
    color: var(--white);
}

.archive-toolbar input:focus,
.archive-toolbar select:focus,
.vote-form > input:focus {
    border-color: var(--gold);
    outline: 1px solid var(--gold);
}

/* Voting cards */

.vote-option {
    background: #192725;
    border: 1px solid rgba(200,166,106,.25);
    border-radius: 4px;
}

.vote-option:hover {
    border-color: var(--gold);
}

.vote-option:has(input:checked) {
    border-color: var(--gold);
    background: rgba(200,166,106,.09);
}

.vote-option input {
    accent-color: var(--gold);
}

.vote-form h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
}

/* Streaming buttons */

.youtube-button {
    background: var(--red);
    border-color: var(--red);
    border-radius: 3px;
}

.spotify-button {
    background: var(--green);
    border-color: var(--green);
    border-radius: 3px;
}

/* Song dropdown */

.song-action-menu {
    background: #192725;
    border-color: rgba(200,166,106,.35);
    border-radius: 4px;
}

/* Artist image */

.artist-image-placeholder {
    border: 1px solid rgba(200,166,106,.55);
    border-radius: 4px;
}

/* Footer */

.site-footer {
    position: relative;
    background: #111e1c;
    border-top: 1px solid rgba(200,166,106,.3);
}

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

/* Traditional ornamental accents */

.archive-section-heading::after {
    content: "✦";
    color: var(--gold);
    font-size: 1.3rem;
    margin-left: 12px;
}

.national-section-heading::after {
    content: "✦";
    display: block;
    margin-top: 20px;
    color: var(--gold);
    font-size: 1.5rem;
}

/* Subtle geometric background pattern */

.archive-page,
.national-page {
    position: relative;
}

.archive-intro,
.national-hero {
    position: relative;
}

/* Mobile adjustments */

@media (max-width: 650px) {
    .brand-name strong {
        font-size: 1rem;
    }

    .site-header nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .latest-entry h1,
    .hero h1,
    .national-hero h1 {
        font-size: clamp(3.8rem, 16vw, 5.5rem);
    }
}


/* =========================================
   AZERBAIJANI ANIMATIONS & MOTION
========================================= */

/* Smooth scrolling */

html {
    scroll-behavior: smooth;
}

/* Page entrance */

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

main {
    animation: pageFadeIn 1s ease both;
}


/* Slowly moving background glow */

@keyframes backgroundDrift {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, center;
    }
    50% {
        background-position: 8% 12%, 92% 88%, center;
    }
}

.hero,
.latest-entry,
.national-hero {
    background-size: 140% 140%, 140% 140%, auto;
    animation: backgroundDrift 18s ease-in-out infinite;
}

/* Animated carpet-inspired header ornament */

@keyframes ornamentMove {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 32px 0;
    }
}

.site-header::after {
    animation: ornamentMove 8s linear infinite;
}

/* Card hover effects */

.edition-card,
.summary-card,
.archive-stat,
.selection-card,
.national-highlight,
.vote-option {
    transition:
        transform .35s ease,
        border-color .35s ease,
        background-color .35s ease,
        box-shadow .35s ease;
}

.edition-card:hover,
.selection-card:hover,
.national-highlight:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

/* Button movement */

.primary-button,
.streaming-button {
    transition:
        transform .25s ease,
        background-color .25s ease,
        box-shadow .25s ease;
}

.primary-button:hover,
.streaming-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 18px rgba(0, 0, 0, .2);
}

/* Navigation underline animation */

.site-header nav a {
    position: relative;
    transition: color .3s ease;
}

.site-header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width .3s ease;
}

.site-header nav a:hover::after,
.site-header nav a.active::after {
    width: 100%;
}

/* Gold shimmer */

@keyframes goldShimmer {
    0%, 100% {
        opacity: .55;
        text-shadow: 0 0 0 transparent;
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 12px rgba(200, 166, 106, .35);
    }
}

.eyebrow,
.archive-section-heading::after,
.national-section-heading::after {
    animation: goldShimmer 4s ease-in-out infinite;
}

/* Decorative gold divider */

@keyframes dividerGlow {
    0%, 100% {
        box-shadow: 0 0 0 rgba(200, 166, 106, 0);
    }
    50% {
        box-shadow: 0 0 12px rgba(200, 166, 106, .3);
    }
}

.archive-section-heading::after,
.national-section-heading::after {
    animation:
        goldShimmer 4s ease-in-out infinite,
        dividerGlow 4s ease-in-out infinite;
}

/* Respect reduced-motion preferences */

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



/* Scroll reveal */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}



/* =========================================
   LIVING AZERBAIJANI BACKGROUND
========================================= */

body {
    position: relative;
    isolation: isolate;
}

/* Background layer */

.ambient-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: transparent;
}

/* Moving coloured glows */

.ambient-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .13;
    animation: glowDrift 20s ease-in-out infinite alternate;
}

.glow-one {
    background: #55b8b0;
    top: -180px;
    left: -150px;
}

.glow-two {
    background: #c94a50;
    right: -180px;
    top: 30%;
    animation-delay: -7s;
}

.glow-three {
    background: #739b68;
    bottom: -200px;
    left: 35%;
    animation-delay: -13s;
}

@keyframes glowDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(100px, 70px) scale(1.2);
    }
    100% {
        transform: translate(-60px, 120px) scale(.9);
    }
}

/* Floating Azerbaijani-inspired stars */

.ornament {
    position: absolute;
    color: var(--gold);
    opacity: .22;
    font-size: 35px;
    text-shadow: 0 0 20px rgba(200,166,106,.3);
    animation: ornamentFloat 12s ease-in-out infinite;
}

.ornament-one {
    top: 15%;
    left: 9%;
    font-size: 45px;
}

.ornament-two {
    top: 65%;
    left: 18%;
    font-size: 25px;
    animation-delay: -3s;
}

.ornament-three {
    top: 30%;
    right: 12%;
    font-size: 55px;
    animation-delay: -6s;
}

.ornament-four {
    bottom: 12%;
    right: 22%;
    font-size: 32px;
    animation-delay: -9s;
}

.ornament-five {
    top: 80%;
    left: 65%;
    font-size: 22px;
    animation-delay: -5s;
}

@keyframes ornamentFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: .12;
    }
    50% {
        transform: translateY(-35px) rotate(35deg);
        opacity: .35;
    }
}

/* Large subtle geometric patterns */

.ambient-pattern {
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(200,166,106,.12);
    transform: rotate(45deg);
    animation: patternRotate 35s linear infinite;
}

.ambient-pattern::before,
.ambient-pattern::after {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(200,166,106,.12);
}

.ambient-pattern::after {
    inset: 48px;
}

.pattern-one {
    top: 12%;
    right: -130px;
}

.pattern-two {
    bottom: 8%;
    left: -150px;
    animation-direction: reverse;
    animation-duration: 45s;
}

@keyframes patternRotate {
    from {
        rotate: 0deg;
    }
    to {
        rotate: 360deg;
    }
}

/* Small floating gold particles */

.floating-particles {
    position: absolute;
    inset: 0;
    opacity: .4;
    background-image:
        radial-gradient(circle, #c8a66a 1px, transparent 1.5px),
        radial-gradient(circle, #55b8b0 1px, transparent 1.5px),
        radial-gradient(circle, #c94a50 1px, transparent 1.5px);
    background-size: 130px 150px, 190px 210px, 240px 180px;
    background-position: 0 0, 60px 90px, 120px 40px;
    animation: particleDrift 30s linear infinite;
}

@keyframes particleDrift {
    from {
        background-position:
            0 0,
            60px 90px,
            120px 40px;
    }
    to {
        background-position:
            0 -300px,
            60px -210px,
            120px -260px;
    }
}

/* Keep content above background */

.site-header,
main,
.site-footer {
    position: relative;
    z-index: 1;
}

/* Mobile adjustments */

@media (max-width: 650px) {
    .ambient-glow {
        width: 280px;
        height: 280px;
        filter: blur(75px);
    }

    .ambient-pattern {
        width: 150px;
        height: 150px;
    }

    .ornament {
        font-size: 25px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .ambient-background *,
    .ambient-background {
        animation: none !important;
    }
}



/* =========================================
   HOMEPAGE: REMOVE STATIC HERO BACKGROUND
========================================= */

body.home-page .national-hero,
body.home-page .hero,
body.home-page .latest-entry {
    background: transparent !important;
    background-image: none !important;
    animation: none !important;
    box-shadow: none;
}



/* =========================================
   AZERBAIJANI HOMEPAGE ATMOSPHERE
========================================= */


body.home-page {
    background-color: #101b1a;
}


/* More prominent geometric background */

body.home-page .ambient-pattern {
    width: 380px;
    height: 380px;
    border: 1px solid rgba(200,166,106,.16);
    opacity: .8;
}

body.home-page .ambient-pattern::before {
    inset: 35px;
    border: 1px solid rgba(85,184,176,.18);
}

body.home-page .ambient-pattern::after {
    inset: 75px;
    border: 1px solid rgba(200,166,106,.14);
}

body.home-page .pattern-one {
    top: 18%;
    right: -190px;
}

body.home-page .pattern-two {
    bottom: 10%;
    left: -200px;
}

/* Additional carpet-inspired diamond ornament */

body.home-page .national-hero::before,
body.home-page .hero::before,
body.home-page .latest-entry::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    top: 15%;
    right: 7%;
    border: 1px solid rgba(200,166,106,.2);
    transform: rotate(45deg);
    pointer-events: none;
    animation: heroOrnament 28s linear infinite;
}

body.home-page .national-hero::after,
body.home-page .hero::after,
body.home-page .latest-entry::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    top: 19%;
    right: calc(7% + 35px);
    border: 1px solid rgba(85,184,176,.2);
    transform: rotate(45deg);
    pointer-events: none;
    animation: heroOrnament 35s linear infinite reverse;
}

@keyframes heroOrnament {
    from {
        rotate: 0deg;
    }
    to {
        rotate: 360deg;
    }
}

/* Warm traditional section styling */

body.home-page .intro-section {
    border-top: 1px solid rgba(200,166,106,.25);
    border-bottom: 1px solid rgba(200,166,106,.25);
}

body.home-page .latest-entry h1,
body.home-page .hero h1,
body.home-page .national-hero h1 {
    text-shadow: 0 4px 35px rgba(85,184,176,.1);
}

/* Gold details */

body.home-page .eyebrow {
    color: #d4b77d;
}

body.home-page .primary-button {
    background: #c8a66a;
    border-color: #dfc28b;
}

/* Mobile */

@media (max-width: 650px) {
    body.home-page .national-hero::before,
    body.home-page .hero::before,
    body.home-page .latest-entry::before {
        width: 130px;
        height: 130px;
        right: -45px;
    }

    body.home-page .national-hero::after,
    body.home-page .hero::after,
    body.home-page .latest-entry::after {
        width: 90px;
        height: 90px;
        right: -25px;
    }
}

body.home-page .national-hero,
body.home-page .hero,
body.home-page .latest-entry {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

body.home-page .national-hero > *,
body.home-page .hero > *,
body.home-page .latest-entry > * {
    position: relative;
    z-index: 1;
}


/* =========================================
   ANIMATED AZERBAIJANI PAGE BACKGROUND
========================================= */

body {
    position: relative;
    isolation: isolate;
    background-color: #101b1a !important;
    background-image:
        radial-gradient(
            ellipse at 15% 20%,
            rgba(85, 184, 176, 0.17),
            transparent 45%
        ),
        radial-gradient(
            ellipse at 85% 75%,
            rgba(201, 74, 80, 0.13),
            transparent 45%
        ),
        radial-gradient(
            ellipse at 50% 50%,
            rgba(200, 166, 106, 0.09),
            transparent 50%
        ) !important;
    background-size: 200% 200%, 200% 200%, 180% 180% !important;
    animation: azeriBackgroundMove 22s ease-in-out infinite alternate !important;
}

/* Moving carpet-inspired geometric pattern */

body::before {
    content: "";
    position: fixed;
    inset: -50%;
    z-index: -1;
    pointer-events: none;

    background-image:
        repeating-linear-gradient(
            45deg,
            transparent 0 45px,
            rgba(200, 166, 106, 0.12) 46px 47px,
            transparent 48px 90px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 0 45px,
            rgba(85, 184, 176, 0.09) 46px 47px,
            transparent 48px 90px
        );

    background-size: 130px 130px;
    opacity: 0.3;
    animation: azeriCarpetMove 65s linear infinite;
}

@keyframes azeriBackgroundMove {
    0% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }

    50% {
        background-position: 100% 40%, 0% 60%, 80% 20%;
    }

    100% {
        background-position: 30% 100%, 70% 0%, 10% 80%;
    }
}

@keyframes azeriCarpetMove {
    from {
        transform: translate(0, 0) rotate(0deg);
    }

    to {
        transform: translate(-100px, 100px) rotate(8deg);
    }
}

/* Mobile */

@media (max-width: 650px) {
    body::before {
        opacity: 0.2;
        background-size: 95px 95px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    body,
    body::before {
        animation: none !important;
    }
}

/* ANIMATED BACKGROUND - VOTING PAGE ONLY */
body.voting-page {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    background-color: #101b1a !important;
    background-image:
        radial-gradient(ellipse at 15% 20%, rgba(85, 184, 176, 0.16), transparent 40%),
        radial-gradient(ellipse at 85% 75%, rgba(201, 74, 80, 0.13), transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(200, 166, 106, 0.09), transparent 45%) !important;
    background-size: 200% 200%, 200% 200%, 180% 180% !important;
    animation: votingBackgroundMove 22s ease-in-out infinite alternate !important;
}

@keyframes votingBackgroundMove {
    0% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }
    50% {
        background-position: 100% 50%, 0% 50%, 80% 20%;
    }
    100% {
        background-position: 50% 100%, 50% 0%, 20% 80%;
    }
}


html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

footer {
    margin-top: auto;
}



/* =================================
   NATIONAL FINAL SONG GRID
================================= */

.national-final-songs {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 24px;
}

.national-finalpage {
    max-width: 850px;
    margin-bottom: 65px;
    margin-top: 60px;
    align-items: center;
    display:flex;
    
}

.national-finalpage h1 {
    margin: 18px 0 22px;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
    font-weight: 900;
}

.national-finalpage h1 span {
    color: var(--blue);
}

.song-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.song-card {
    position: relative;
    background: linear-gradient(145deg, #192725, #111e1c);
    border: 1px solid rgba(200, 166, 106, 0.35);
    border-radius: 12px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    min-width: 0;
}

.song-card:hover {
    transform: translateY(-6px);
    border-color: #c8a66a;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* SONG IMAGES */

.song-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 22px;
    background: #263b37;
    border: 1px solid rgba(200, 166, 106, 0.3);
}

/* SONG INFORMATION */

.song-number {
    color: #c8a66a;
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
}

.song-card h2 {
    color: #f4efe2;
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    margin: 0;
}

.song-artist {
    color: #b7b6a9;
    font-size: 14px;
    margin: 8px 0 28px;
}

/* BUTTONS */

.song-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.song-button {
    flex: 1;
    text-align: center;
    padding: 11px 8px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.25s ease,
                color 0.25s ease;
}

.youtube-button {
    background: rgba(201, 74, 80, 0.15);
    color: #e77b7f;
    border: 1px solid rgba(201, 74, 80, 0.4);
}

.youtube-button:hover {
    background: #c94a50;
    color: white;
}

.spotify-button {
    background: rgba(115, 155, 104, 0.15);
    color: #9fc48e;
    border: 1px solid rgba(115, 155, 104, 0.4);
}

.spotify-button:hover {
    background: #739b68;
    color: white;
}

/* RESPONSIVE DESIGN */

@media (max-width: 800px) {
    .song-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 550px) {
    .song-grid {
        grid-template-columns: 1fr;
    }

    .national-final-songs {
        padding: 0 18px;
        margin: 35px auto;
    }
}



/* CENTER NATIONAL FINAL TITLE */

.national-finalpage {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding: 80px 20px 50px;
}

.national-finalpage h1 {
    text-align: center;
}

.national-finalpage .eyebrow,
.national-finalpage .archive-description {
    text-align: center;
    max-width: 700px;
}


