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

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #000b17;
  color: #ffffff;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.city-body {
  display: flex;
  flex-direction: column;
}

.city-ambient-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #03162b 0%, #000b17 85%);
  z-index: 0;
  pointer-events: none;
}

.city-ambient-bg canvas {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.92;
  transform: scale(1.08);
  will-change: transform;
}

/* Header & Navigation */
.city-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0, 11, 23, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.city-header-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.city-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.city-brand img {
  height: 50px;
  width: auto;
  display: block;
}

.city-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.city-nav-link {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 9px 12px;
  border-radius: 10px;
  background: transparent;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.city-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.city-nav-link.is-active {
  color: #ffffff;
  background: #b30000;
}

.city-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Header RO / RU Language Switch */
.city-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 4px;
}

.city-lang-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 7px 10px;
  border-radius: 7px;
  cursor: pointer;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.city-lang-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.city-lang-btn.is-active {
  background: #b30000;
  color: #ffffff;
}

.city-lang-sep {
  display: none;
}

.city-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  padding: 11px 9px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.2s ease;
}

.city-burger:hover {
  background: #b30000;
}

.city-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

.city-mobile-drawer {
  background: rgba(0, 11, 23, 0.98);
  padding: 12px 20px 20px;
}

.city-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.city-mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.city-mobile-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.city-mobile-link.is-active {
  background: #b30000;
  color: #ffffff;
}

.city-mobile-sub {
  font-size: 0.84rem;
  color: #94a3b8;
}

.city-mobile-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 0;
}

/* Main Content Area */
.city-main {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
  width: 100%;
}

.city-page-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 20px 76px;
}

.city-page-hero {
  text-align: center;
  margin-bottom: 34px;
}

.city-page-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #ff4d4d;
  margin-bottom: 10px;
}

.city-page-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
  color: #ffffff;
  text-wrap: balance;
}

.city-page-lead {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.65;
}

.city-page-updated {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}

/* Glass Cards & Borderless Color-Shifting Buttons */
.city-card {
  background: rgba(3, 22, 43, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

.city-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 11px 20px;
  border-radius: 10px;
  border: none;
  background: #0d2b4c;
  color: #f8fafc;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.16s ease, box-shadow 0.22s ease;
}

.city-btn:hover {
  background: #b30000;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(179, 0, 0, 0.35);
}

.city-btn-primary {
  background: #b30000;
  color: #ffffff;
}

.city-btn-primary:hover {
  background: #d60000;
  box-shadow: 0 8px 22px rgba(214, 0, 0, 0.45);
}

/* Top 15 & City Release */
.chart-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(3, 22, 43, 0.84);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: background-color 0.22s ease, transform 0.2s ease;
}

.chart-row:hover {
  background: rgba(11, 37, 69, 0.92);
  transform: translateY(-1px);
}

.chart-rank {
  min-width: 46px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.chart-rank-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.chart-trend {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.chart-trend.is-up { color: #34d399; }
.chart-trend.is-down { color: #f87171; }
.chart-trend.is-new { color: #fbbf24; }
.chart-trend.is-same { color: #94a3b8; }

.chart-cover {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #000b17;
}

.chart-info {
  flex: 1 1 auto;
  min-width: 0;
}

.chart-title {
  font-size: 1.04rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chart-artist {
  font-size: 0.9rem;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chart-note {
  margin-top: 4px;
  font-size: 0.78rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chart-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Borderless color-shifting action buttons (unique feel, no generic outlines) */
.preview-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  background: #8f0808;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.22s ease, transform 0.16s ease, box-shadow 0.22s ease;
}

.preview-play-btn:hover {
  background: #d60000;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(214, 0, 0, 0.35);
}

.preview-play-btn.is-playing {
  background: #ffffff;
  color: #b30000;
}

.store-link-pill {
  padding: 9px 13px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.15s ease;
}

.store-link-pill:hover {
  background: #1d4ed8;
  color: #ffffff;
  transform: translateY(-1px);
}

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

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

.release-card, .rec-card {
  display: flex;
  flex-direction: column;
  background: rgba(3, 22, 43, 0.84);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 20px;
  gap: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  transition: background-color 0.22s ease, transform 0.2s ease;
}

.release-card:hover, .rec-card:hover {
  background: rgba(9, 34, 64, 0.9);
  transform: translateY(-2px);
}

.release-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.release-cover {
  width: 86px;
  height: 86px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #000b17;
}

.badge-red {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #ff5c5c;
  margin-bottom: 4px;
}

.rec-event-meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: #93c5fd;
  margin-top: 2px;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-tab {
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.16s ease;
}

.filter-tab:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.filter-tab.is-active {
  background: #b30000;
  color: #ffffff;
}

/* Divertisment (5 Games) */
.games-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.game-tab-btn {
  padding: 11px 16px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.16s ease;
}

.game-tab-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.game-tab-btn.is-active {
  background: #b30000;
  color: #ffffff;
}

.game-panel {
  display: none;
}

.game-panel.is-active {
  display: block;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

.quiz-opt-btn {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.quiz-opt-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(2px);
}

.quiz-opt-btn.is-correct {
  background: #065f46;
  color: #ecfdf5;
}

.quiz-opt-btn.is-wrong {
  background: #991b1b;
  color: #fef2f2;
}

.quiz-controls-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.quiz-vol-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.quiz-vol-range {
  width: 110px;
  accent-color: #d60000;
  cursor: pointer;
}

/* Memory 8x8 grid */
.memory-grid-8x8 {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  max-width: 720px;
  margin: 18px auto 0;
}

.memory-card {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  border: none;
  background: #071e38;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.16s ease, background-color 0.2s ease;
}

.memory-card:hover {
  background: #10325a;
}

.memory-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.memory-card.is-flipped img,
.memory-card.is-matched img {
  display: block;
}

.memory-card .memory-back {
  font-weight: 800;
  font-size: 0.72rem;
  color: #ff4d4d;
  letter-spacing: 0.3px;
}

.memory-card.is-flipped .memory-back,
.memory-card.is-matched .memory-back {
  display: none;
}

.memory-card.is-matched {
  opacity: 0.68;
  box-shadow: inset 0 0 0 2px #10b981;
}

/* Anagram Game */
.anagram-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 18px 0;
}

.anagram-tile {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: none;
  background: #0d2b4c;
  color: #ffffff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.18s ease, transform 0.14s ease;
}

.anagram-tile:hover:not(:disabled) {
  background: #b30000;
  transform: translateY(-2px);
}

.anagram-tile:disabled {
  opacity: 0.32;
  cursor: default;
}

.anagram-answer-box {
  min-height: 52px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0, 11, 23, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: #ffffff;
  text-transform: uppercase;
}

/* Year Guess Game */
.year-game-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 14px 0;
  flex-wrap: wrap;
}

.year-game-cover {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Calculator Publicitate CITY FM (theme matched, Inter, borderless controls) */
.city-calc-scope {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  width: 100%;
}

.city-calc-wrapper {
  background: rgba(3, 22, 43, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.city-calc-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.city-calc-box {
  background: rgba(0, 11, 23, 0.68);
  border-radius: 12px;
  padding: 16px;
}

.city-calc-box label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #ff5c5c;
  font-weight: 800;
  margin-bottom: 8px;
}

.city-calc-box select,
.city-calc-input {
  width: 100%;
  background: #041529;
  color: #ffffff;
  border: none;
  padding: 11px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  outline: none;
}

.city-calc-box select:focus,
.city-calc-input:focus {
  box-shadow: 0 0 0 2px #d60000;
}

.city-calc-matrix {
  background: rgba(0, 11, 23, 0.7);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.city-calc-matrix-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.city-calc-matrix-bar h3 {
  margin: 0;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #ffffff;
}

.city-calc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.city-calc-mbtn {
  background: #0d2b4c;
  color: #ffffff;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.city-calc-mbtn:hover {
  background: #b30000;
}

.city-media-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: center;
  color: #ffffff;
  min-width: 920px;
  font-variant-numeric: tabular-nums;
}

.city-media-table th,
.city-media-table td {
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 3px 1px;
  height: 27px;
}

.city-media-table th {
  background: rgba(179, 0, 0, 0.22);
  color: #ffffff;
  font-weight: 700;
}

.city-media-table th.time-col,
.city-media-table td.time-col {
  width: 96px;
  text-align: left;
  padding-left: 8px;
  font-weight: 600;
  color: #cbd5e1;
}

.city-media-table .day-num { display: block; font-size: 11px; font-weight: 800; }
.city-media-table .day-name { display: block; font-size: 9px; opacity: 0.72; }
.city-media-table .weekend-col { background: rgba(255, 255, 255, 0.03); }

.city-cell-check {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  font-weight: 800;
  font-size: 10px;
  transition: background-color 0.14s ease;
}

.city-cell-check:hover {
  background: rgba(214, 0, 0, 0.32);
}

.city-cell-check.checked {
  background: #d60000 !important;
  color: #ffffff !important;
}

.city-row-stat,
.city-col-total {
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
  color: #fca5a5;
}

.city-contract-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.city-contract-card {
  background: rgba(0, 11, 23, 0.68);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.city-contract-card:hover {
  background: #0d2b4c;
}

.city-contract-card.active {
  background: #b30000;
  color: #ffffff;
}

.city-contract-card input[type="radio"] {
  display: none;
}

.city-contract-title {
  font-size: 0.9rem;
  font-weight: 800;
}

.city-contract-desc {
  font-size: 0.76rem;
  opacity: 0.8;
  margin-top: 4px;
}

.city-calc-summary {
  background: rgba(0, 11, 23, 0.78);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}

.city-summary-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.city-stat-item label {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
}

.city-stat-item div {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.city-total-price {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.city-price-val {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.city-old-price {
  font-size: 1.1rem;
  color: #94a3b8;
  text-decoration: line-through;
  margin-right: 10px;
}

.city-discount-note {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #34d399;
}

.city-calc-notice {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}

.city-calc-notice.is-err {
  display: block;
  background: rgba(239, 68, 68, 0.22);
  color: #fecaca;
}

.city-calc-notice.is-ok {
  display: block;
  background: rgba(16, 185, 129, 0.22);
  color: #a7f3d0;
}

.city-xpand-promo {
  margin-top: 24px;
  background: rgba(0, 11, 23, 0.82);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.city-xpand-promo > div {
  min-width: 0;
}

.city-xpand-cta-wrap {
  flex: 0 1 auto;
  max-width: 100%;
}

/* Modal in Calculator */
.city-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 8, 18, 0.86);
  backdrop-filter: blur(8px);
  z-index: 100;
  justify-content: center;
  align-items: center;
  padding: 18px;
}

.city-modal-overlay.active {
  display: flex;
}

.city-modal-box {
  background: #03162b;
  border-radius: 16px;
  padding: 26px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.city-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 26px;
  cursor: pointer;
}

.city-modal-close:hover {
  color: #ffffff;
}

.city-msg-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Scroll to top button */
.city-scroll-top {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 46;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #d60000;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, background-color 0.2s ease;
}

.city-scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.city-scroll-top:hover {
  background: #ffffff;
  color: #b30000;
}

/* Persistent Full-Width Edge-to-Edge Bottom Player (no red border, no dot) */
.city-mini-player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 45;
  background: rgba(0, 11, 23, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -6px 26px rgba(0, 0, 0, 0.55);
}

.city-mini-player.is-hidden {
  display: none !important;
}

.city-mini-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.city-mini-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
  text-decoration: none;
  color: inherit;
}

.city-mini-cover {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.city-mini-text {
  min-width: 0;
}

.city-mini-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.city-mini-artist {
  font-size: 0.8rem;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.city-mini-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.city-mini-vol-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.city-mini-volume {
  width: 110px;
  height: 5px;
  border-radius: 3px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.25);
  outline: none;
  cursor: pointer;
}

.city-mini-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d60000;
  cursor: pointer;
}

.city-mini-volume::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  background: #d60000;
  cursor: pointer;
}

.city-mini-icon-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  padding: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.city-mini-icon-btn:hover {
  background: #b30000;
}

.city-mini-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.16s ease;
}

.city-mini-play-btn:hover {
  background: #ffe5e5;
  transform: scale(1.06);
}

/* Structured 3-column Footer */
.city-footer {
  position: relative;
  z-index: 2;
  background: rgba(0, 11, 23, 0.9);
  color: #ffffff;
  padding: 36px 20px 88px;
}

.city-footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 28px;
  text-align: left;
}

.city-footer-heading {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ff5c5c;
  margin-bottom: 12px;
}

.city-footer-desc {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.city-footer-socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.city-social-btn {
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.city-social-btn:hover {
  background: #b30000;
}

.city-footer-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.city-footer-muted {
  font-size: 0.78rem;
  color: #94a3b8;
}

.city-footer-cta {
  display: inline-block;
  margin-top: 4px;
  padding: 9px 14px;
  border-radius: 8px;
  background: #b30000;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.city-footer-cta:hover {
  background: #d60000;
}

.city-sep {
  opacity: 0.45;
  margin: 0 4px;
}

.footer-cc-btn {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.city-footer-bottom {
  max-width: 1120px;
  margin: 26px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* CookieConsent v3 dark palette customization */
.cc--darkmode {
  --cc-bg: #03162b;
  --cc-primary-color: #f8fafc;
  --cc-secondary-color: #cbd5e1;
  --cc-btn-primary-bg: #b30000;
  --cc-btn-primary-color: #ffffff;
  --cc-btn-primary-border-color: #b30000;
  --cc-btn-primary-hover-bg: #d60000;
  --cc-btn-primary-hover-border-color: #d60000;
  --cc-btn-secondary-bg: rgba(255, 255, 255, 0.08);
  --cc-btn-secondary-color: #f8fafc;
  --cc-btn-secondary-border-color: transparent;
  --cc-btn-secondary-hover-bg: rgba(255, 255, 255, 0.16);
  --cc-toggle-on-bg: #b30000;
  --cc-cookie-category-block-bg: rgba(0, 11, 23, 0.65);
  --cc-cookie-category-block-border: rgba(255, 255, 255, 0.12);
}

/* Responsive */
@media (max-width: 1020px) {
  .city-nav {
    display: none;
  }
  .city-burger {
    display: flex;
  }
  .cards-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .city-contract-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .city-summary-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .city-footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 640px) {
  .city-brand img {
    height: 42px;
  }
  .city-calc-wrapper {
    padding: 18px 14px;
  }
  .city-xpand-promo {
    padding: 18px 16px;
    gap: 14px;
  }
  .city-xpand-cta-wrap,
  .city-xpand-cta-wrap .city-btn,
  .city-calc-summary .city-btn {
    width: 100%;
  }
  .cards-grid-2,
  .cards-grid-3,
  .city-calc-steps {
    grid-template-columns: 1fr;
  }
  .chart-row {
    display: grid;
    grid-template-columns: 36px 52px 1fr;
    align-items: center;
    padding: 12px;
    gap: 10px 12px;
  }
  .chart-rank {
    min-width: 36px;
  }
  .chart-rank-num {
    font-size: 1.05rem;
  }
  .chart-cover {
    width: 52px;
    height: 52px;
  }
  .chart-note {
    display: none;
  }
  .chart-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .memory-grid-8x8 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .city-mini-inner {
    padding: 9px 12px;
    gap: 10px;
  }
  .city-mini-volume {
    width: 70px;
  }
  .city-scroll-top {
    right: 12px;
    bottom: 76px;
    width: 40px;
    height: 40px;
  }
}