:root {
  --bg: #eef2f8;
  --surface: #ffffff;
  --surface-alt: #f7f9ff;
  --line: #d7deeb;

  --text: #111827;
  --muted: #5d677c;

  --brand: #0c3ea7;
  --brand-soft: #e8efff;
  --accent: #d7242a;
  --ok: #1fba66;

  --player-bg: #05090f;
  --player-surface: #0a111c;

  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 10px 28px rgba(10, 20, 40, 0.08);
  --shadow-strong: 0 18px 38px rgba(0, 0, 0, 0.28);

  --header-h: 78px;
  --player-h: 88px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(12, 62, 167, 0.08), transparent 58%),
    radial-gradient(760px 380px at 88% 2%, rgba(215, 36, 42, 0.08), transparent 60%),
    var(--bg);
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  backdrop-filter: blur(12px);
  background: rgba(238, 242, 248, 0.88);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.header-row {
  width: min(1060px, calc(100% - 28px));
  min-height: var(--header-h);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.header-row::before {
  content: "";
  width: 42px;
  height: 42px;
  border-radius: 12px;
  justify-self: start;
  visibility: hidden;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  border-color: #c1cde2;
}

.brand-mark {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d7deeb;
  box-shadow: var(--shadow-soft);
  background: #ffffff;
  flex: 0 0 auto;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2px;
  color: #0f213f;
  white-space: nowrap;
}

.right-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 6px;
}

.header-nav a {
  padding: 8px 10px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.header-nav a:hover {
  background: #eef3ff;
  color: #0f2f78;
}

.header-nav a.active {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: #bfd0fb;
}

.menu-toggle {
  justify-self: end;
}

.mobile-menu {
  width: min(1060px, calc(100% - 28px));
  margin: 0 auto;
  padding: 0 0 12px;
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-nav {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 8px;
  display: grid;
  gap: 6px;
}

.mobile-nav a {
  padding: 11px 12px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  color: #2b3548;
  border: 1px solid transparent;
}

.mobile-nav a:hover {
  background: #f3f6fd;
}

.mobile-nav a.active {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: #bfd0fb;
}

.menu-wa {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid #b8cfbe;
  background: #f0faf3;
  color: #15703c;
  font-weight: 700;
}

.container {
  width: 100%;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 0;
}

#view {
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
}

.card {
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.pad {
  padding: 20px;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.1;
  color: #111a2c;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #44516c;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid #d8e1f0;
  background: #f8faff;
}

.wa-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask: url("/assets/img/wa-icon.svg") center / contain no-repeat;
  mask: url("/assets/img/wa-icon.svg") center / contain no-repeat;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #c4d2ed;
  background: #f3f7ff;
  color: #12367d;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, #0c3ea7, #275bd2);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field span {
  color: #2a3650;
  font-size: 13px;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #ccd9ef;
  border-radius: 12px;
  background: #f9fbff;
  color: #1d2a44;
  font: inherit;
  padding: 11px 12px;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #7b879f;
}

.form-submit {
  width: fit-content;
}

@media (min-width: 680px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 940px) {
  .grid.cols-2 {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list li {
  padding: 14px 18px;
  border-top: 1px solid #e7edf7;
}

.list li:first-child {
  border-top: 0;
}

.muted {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.figure img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.figure .cap {
  padding: 12px 18px;
  border-top: 1px solid #e7edf7;
  color: var(--muted);
  font-size: 13px;
}

.mini-map {
  width: 100%;
  height: 170px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d6e1f2;
  background: #eef3fb;
}

.mini-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.home-participation {
  align-items: stretch;
}

.participation-actions {
  overflow: hidden;
}

.participation-list {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.cta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #d9e4f7;
  background: #f8fbff;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.cta-item:hover {
  transform: translateY(-1px);
  border-color: #bcd0f2;
  background: #f3f8ff;
  box-shadow: var(--shadow-soft);
}

.cta-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #c8d7f3;
  background: #e8f0ff;
  color: #123b8b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 auto;
}

.cta-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.cta-copy strong {
  color: #152138;
  font-size: 18px;
  line-height: 1.2;
}

.cta-copy span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.cta-chip {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid #bfd0ef;
  background: #edf4ff;
  color: #12367d;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.participation-media-link {
  display: block;
}

.participation-media img {
  width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  background: #ffffff;
}


.source-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.source-list a {
  color: #12367d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.city-gallery {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.city-gallery-item {
  margin: 0;
  border: 1px solid #d7deeb;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.city-gallery-item img {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: cover;
  background: #eef2f8;
}

.city-gallery-item figcaption {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #1a2a48;
}

.live-hero-grid {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.live-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #1d3f8e;
  background: #e8f0ff;
  border: 1px solid #c7d7f7;
  border-radius: 999px;
  padding: 5px 10px;
}

.live-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.live-status-line {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #c7d6f2;
  background: #f3f7ff;
  color: #1f3f88;
  font-size: 12px;
  font-weight: 700;
}

.live-status-pill.is-playing {
  border-color: #92e5b3;
  background: #ebfaf1;
  color: #13683a;
}

.live-status-pill.is-error {
  border-color: #f1b1b3;
  background: #fff2f3;
  color: #99262b;
}

.live-status-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.live-hero-visual {
  min-height: 210px;
  border-radius: 16px;
  border: 1px solid #d8e1f1;
  background:
    radial-gradient(380px 180px at 20% 0%, rgba(39, 91, 210, 0.18), transparent 65%),
    radial-gradient(320px 140px at 85% 100%, rgba(215, 36, 42, 0.16), transparent 68%),
    linear-gradient(180deg, #f8fbff, #edf3ff);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-glow {
  position: absolute;
  inset: auto auto -35% -8%;
  width: 65%;
  height: 65%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(39, 91, 210, 0.3), rgba(39, 91, 210, 0));
}

.live-hero-logo {
  position: relative;
  z-index: 1;
  width: min(320px, 68%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid #d6deef;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(12, 29, 74, 0.22);
}

@media (min-width: 920px) {
  .city-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .live-hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: stretch;
  }
}

.player-bar {
  position: relative;
  z-index: 80;
  padding: 0 12px calc(10px + var(--safe-b));
}

.player-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  min-height: var(--player-h);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, var(--player-surface), var(--player-bg));
  color: #f3f6ff;
  box-shadow: var(--shadow-strong);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.pp {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2d66df, #4d86ff);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  flex: 0 0 auto;
}

.track {
  flex: 1;
  min-width: 0;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #7ef2a9;
  letter-spacing: 0.4px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--ok);
  box-shadow: 0 0 0 6px rgba(31, 186, 102, 0.18);
}

.track-title {
  margin-top: 5px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-sub {
  margin-top: 3px;
  color: rgba(227, 236, 255, 0.78);
  font-size: 12px;
}

.player-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(138, 253, 179, 0.32);
  color: #87f8b2;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.site-credit {
  width: min(980px, 100%);
  margin: 6px auto 0;
  text-align: center;
  color: #6b7895;
  font-size: 11px;
  line-height: 1.35;
}

.site-credit a {
  color: #355ea9;
  text-decoration: none;
}

.site-credit a:hover {
  text-decoration: underline;
}

.vol {
  width: 150px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vol input {
  width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 1px;
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 919px) {
  .brand-text {
    font-size: 17px;
  }

  .player-whatsapp {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 72px;
    --player-h: 84px;
  }

  .container {
    padding: 14px 0;
  }

  #view {
    width: calc(100% - 22px);
  }

  .header-row,
  .mobile-menu {
    width: calc(100% - 22px);
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .brand-text {
    font-size: 15px;
  }

  .icon-btn,
  .pp {
    width: 44px;
    height: 44px;
  }

  .header-row::before {
    width: 44px;
    height: 44px;
  }

  .vol {
    display: none;
  }

  .site-credit {
    font-size: 10px;
  }

  .pad {
    padding: 16px;
  }

  .cta-item {
    align-items: flex-start;
  }

  .cta-copy strong {
    font-size: 17px;
  }

  .cta-chip {
    font-size: 11px;
    padding: 6px 8px;
  }

  .form-submit {
    width: 100%;
  }

  .live-hero-grid {
    padding: 16px;
  }

  .live-hero-actions .btn {
    width: 100%;
  }

  .live-hero-visual {
    min-height: 170px;
  }

  .live-hero-logo {
    width: min(230px, 72%);
    border-radius: 18px;
  }

}

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