
:root {
  --navy-950: #020817;
  --navy-900: #061a43;
  --navy-800: #08275f;
  --blue-700: #073f91;
  --blue-600: #0757c8;
  --cyan-400: #20c7ff;
  --cyan-300: #6cddff;
  --white: #ffffff;
  --text: #eaf6ff;
  --muted: #9db4ce;
  --line: rgba(135, 197, 255, 0.18);
  --glass: rgba(4, 20, 52, 0.72);
  --success: #3fe28a;
  --danger: #ff425d;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--navy-950);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 30% -20%, rgba(17, 105, 255, 0.22), transparent 34%),
    linear-gradient(180deg, #030b1d 0%, #020817 55%, #030b1d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }
svg { fill: currentColor; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.page-glow {
  position: fixed;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .09;
  pointer-events: none;
  z-index: -1;
}

.page-glow-a { background: #006dff; top: 16%; left: -270px; }
.page-glow-b { background: #20c7ff; right: -300px; bottom: 3%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(1240px, calc(100% - 32px));
  margin: 16px auto 0;
  min-height: 74px;
  padding: 8px 12px 8px 10px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(120, 191, 255, .18);
  border-radius: 22px;
  background: rgba(3, 13, 34, .78);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 48px rgba(0,0,0,.26);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  object-fit: contain;
  background: white;
  padding: 4px;
}

.brand span { display: grid; line-height: 1.1; }
.brand strong { font-size: 1.02rem; letter-spacing: .02em; text-transform: uppercase; }
.brand small { color: var(--cyan-300); margin-top: 5px; font-weight: 700; }

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-nav a {
  padding: 10px 13px;
  color: #c9d8eb;
  border-radius: 12px;
  font-size: .91rem;
  font-weight: 750;
  transition: .2s ease;
}

.main-nav a:hover, .main-nav a:focus-visible {
  color: white;
  background: rgba(255,255,255,.07);
}

.install-button {
  border: 1px solid rgba(79, 197, 255, .35);
  background: linear-gradient(135deg, rgba(4,74,173,.92), rgba(0,139,211,.92));
  color: white;
  border-radius: 14px;
  padding: 10px 15px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 118, 255, .22);
}

.hero {
  position: relative;
  width: min(1480px, 100%);
  min-height: 820px;
  margin: -106px auto 0;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom-left-radius: 44px;
  border-bottom-right-radius: 44px;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("assets/images/equipo-guarco-radio.webp");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1,7,21,.97) 0%, rgba(2,13,39,.84) 39%, rgba(2,13,39,.28) 67%, rgba(2,8,22,.3) 100%),
    linear-gradient(0deg, #020817 0%, rgba(2,8,23,.15) 42%, rgba(2,8,23,.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 220px 0 84px;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(98, 217, 255, .28);
  background: rgba(6, 39, 95, .58);
  border-radius: 999px;
  color: #d9f7ff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.live-chip span, .signal-status span, .chat-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 7px rgba(255,66,93,.13), 0 0 18px rgba(255,66,93,.9);
  animation: pulse 1.8s infinite;
}

.eyebrow {
  margin: 22px 0 8px;
  color: var(--cyan-300);
  font-size: .79rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(3.1rem, 7.2vw, 6.9rem);
  line-height: .9;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.hero h1 em {
  display: block;
  margin-top: 12px;
  color: transparent;
  background: linear-gradient(100deg, #ffffff 2%, #54d7ff 52%, #1887ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.hero-copy {
  max-width: 650px;
  margin: 25px 0 0;
  color: #c4d4e9;
  font-size: clamp(1rem, 1.8vw, 1.23rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 15px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, #0757c8 0%, #0098dc 100%);
  box-shadow: 0 18px 38px rgba(0, 116, 255, .3);
}

.secondary-button {
  color: #e7f5ff;
  background: rgba(255,255,255,.07);
  border-color: rgba(147, 205, 255, .24);
  backdrop-filter: blur(10px);
}

.primary-button:hover, .secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0, 116, 255, .28);
}

.primary-button svg, .secondary-button svg { width: 20px; height: 20px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 42px;
}

.hero-stats div {
  min-width: 155px;
  padding: 0 30px;
  border-left: 1px solid rgba(255,255,255,.18);
}

.hero-stats div:first-child { padding-left: 0; border-left: 0; }
.hero-stats strong { display: block; font-size: 1.18rem; text-transform: uppercase; }
.hero-stats span { color: #8fa7c2; font-size: .88rem; }

.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(113,194,255,.17);
  border-bottom: 1px solid rgba(113,194,255,.17);
  background: linear-gradient(90deg, rgba(4,38,92,.55), rgba(4,17,43,.76));
}

.ticker-track {
  width: max-content;
  min-width: 100%;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  color: #c9eaff;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .13em;
  font-weight: 900;
}

.ticker-track i { color: var(--cyan-400); font-style: normal; font-size: .55rem; }

.section-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

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

.section-heading .eyebrow, .sports-copy .eyebrow, .contact-panel .eyebrow { margin-top: 0; }
.section-heading h2, .sports-copy h2, .contact-panel h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.7vw, 4rem);
  line-height: 1;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
}

.signal-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #b9cce0;
  font-size: .86rem;
  font-weight: 800;
}

.signal-status span {
  width: 8px;
  height: 8px;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(63,226,138,.1), 0 0 18px rgba(63,226,138,.8);
}

.player-card {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr 1fr;
  gap: 26px;
  align-items: center;
  min-height: 410px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(125deg, rgba(7,50,117,.6), rgba(3,18,45,.92) 48%, rgba(3,13,33,.95)),
    radial-gradient(circle at 20% 50%, rgba(30,163,255,.2), transparent 37%);
  box-shadow: var(--shadow);
}

.player-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  top: -130px;
  right: -70px;
  border-radius: 50%;
  background: rgba(38,183,255,.12);
  filter: blur(45px);
}

.player-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 310px;
}

.vinyl {
  position: relative;
  width: min(280px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, #10182a 0 5px, #050a13 6px 10px);
  box-shadow: 0 28px 50px rgba(0,0,0,.46), inset 0 0 0 7px rgba(255,255,255,.03);
  animation: spin 12s linear infinite paused;
}

body.is-playing .vinyl { animation-play-state: running; }

.vinyl::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  border: 1px solid rgba(90,207,255,.22);
  border-radius: 50%;
  box-shadow: 0 0 42px rgba(17,163,255,.16);
}

.vinyl img {
  position: relative;
  z-index: 1;
  width: 48%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 8px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(0,149,255,.22);
}

.sound-waves {
  position: absolute;
  bottom: 3px;
  display: flex;
  align-items: end;
  gap: 5px;
  height: 42px;
}

.sound-waves b {
  width: 5px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #6ee4ff, #0870e4);
  opacity: .5;
}

body.is-playing .sound-waves b { animation: wave 1s ease-in-out infinite alternate; }
body.is-playing .sound-waves b:nth-child(2) { animation-delay: -.5s; }
body.is-playing .sound-waves b:nth-child(3) { animation-delay: -.2s; }
body.is-playing .sound-waves b:nth-child(4) { animation-delay: -.7s; }
body.is-playing .sound-waves b:nth-child(5) { animation-delay: -.35s; }
body.is-playing .sound-waves b:nth-child(6) { animation-delay: -.62s; }

.program-label {
  color: var(--danger);
  font-size: .76rem;
  letter-spacing: .15em;
  font-weight: 950;
}

.player-info h3 {
  margin: 7px 0 2px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: .94;
  text-transform: uppercase;
  letter-spacing: -.045em;
}

.player-info > p { margin: 0; color: var(--cyan-300); font-weight: 750; }

.player-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.play-button {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #0872f2, #04a4df);
  box-shadow: 0 15px 42px rgba(0,130,255,.38);
}

.play-button svg { width: 31px; height: 31px; }
.play-button .icon-pause { display: none; }
body.is-playing .play-button .icon-play { display: none; }
body.is-playing .play-button .icon-pause { display: block; }

.volume-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(220px, 48vw);
}

.volume-wrap svg { width: 22px; color: #a9c4df; }
.volume-wrap input { width: 100%; accent-color: var(--cyan-400); }

.player-note {
  margin-top: 18px !important;
  color: #8ea9c5 !important;
  font-size: .85rem;
  font-weight: 500 !important;
}

.text-button {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cyan-300);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.player-contact {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(134,196,255,.15);
  border-radius: 20px;
  background: rgba(0,0,0,.18);
}

.player-contact > p {
  margin: 0 0 5px;
  color: #91aac4;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.player-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border-radius: 14px;
  transition: background .2s ease, transform .2s ease;
}

.player-contact a:hover { background: rgba(255,255,255,.06); transform: translateX(2px); }
.player-contact a > span:last-child { display: grid; min-width: 0; }
.player-contact strong { font-size: .92rem; }
.player-contact small { color: #90a9c4; overflow: hidden; text-overflow: ellipsis; }

.contact-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 950;
}
.contact-icon.whatsapp { background: #1fc767; color: #062811; }
.contact-icon.mail { background: #0b71e7; }
.contact-icon.facebook { background: #1877f2; font-family: Arial, sans-serif; font-size: 1.4rem; }

.sports-section {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 64px;
  align-items: center;
}

.sports-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.feature-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(8,40,91,.45), rgba(4,16,38,.72));
}

.feature-grid article > span {
  color: var(--cyan-400);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .12em;
}

.feature-grid h3 { margin: 30px 0 7px; font-size: 1rem; text-transform: uppercase; }
.feature-grid p { margin: 0; color: #8ea7c1; font-size: .88rem; }

.sports-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}

.sports-poster img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
}

.poster-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(2,11,28,.83);
  border: 1px solid rgba(132,205,255,.27);
  backdrop-filter: blur(12px);
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #06132d;
  color: white;
  text-align: left;
}

.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(0deg, rgba(1,7,18,.94), transparent);
}

.gallery-item span {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.gallery-item:hover img { transform: scale(1.04); filter: saturate(1.12); }

.contact-section { padding-top: 20px; }

.contact-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 48px;
  border: 1px solid rgba(72,191,255,.25);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(110deg, rgba(4,57,137,.75), rgba(3,22,55,.94)),
    url("assets/images/equipo-guarco-radio.webp") center/cover;
  box-shadow: var(--shadow);
}

.contact-panel > div:first-child { max-width: 720px; }
.contact-panel p:not(.eyebrow) { color: #b8cae0; }
.contact-buttons { display: flex; flex-direction: column; gap: 10px; min-width: 220px; }

footer {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 60px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: #8da6c0;
  font-size: .88rem;
}

.footer-brand { display: flex; align-items: center; gap: 12px; color: white; }
.footer-brand img { width: 58px; height: 58px; border-radius: 14px; background: white; padding: 3px; }
.footer-brand div { display: grid; }
.footer-brand strong { text-transform: uppercase; }
.footer-brand span { color: var(--cyan-300); font-size: .8rem; }
.footer-links { justify-self: end; display: flex; gap: 16px; }
.footer-links a:hover { color: white; }

.floating-actions {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-whatsapp, .floating-chat {
  min-height: 52px;
  border: 0;
  border-radius: 17px;
  color: white;
  font-weight: 950;
  box-shadow: 0 18px 38px rgba(0,0,0,.35);
}

.floating-whatsapp {
  width: 52px;
  display: grid;
  place-items: center;
  background: #1fc767;
  color: #052b13;
}

.floating-chat {
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0757c8, #00a6df);
}

.floating-chat svg { width: 21px; }

.chat-panel {
  position: fixed;
  z-index: 90;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(82px, calc(env(safe-area-inset-bottom) + 82px));
  width: min(390px, calc(100% - 28px));
  height: min(630px, calc(100dvh - 112px));
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  overflow: hidden;
  border: 1px solid rgba(126,199,255,.27);
  border-radius: 24px;
  background: rgba(3,13,34,.97);
  box-shadow: 0 34px 90px rgba(0,0,0,.6);
  backdrop-filter: blur(22px);
  transform: translateY(20px) scale(.97);
  opacity: 0;
  visibility: hidden;
  transition: .24s ease;
}

.chat-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.chat-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 17px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(7,76,178,.4), rgba(2,20,49,.3));
}

.chat-panel > header > div { display: flex; align-items: center; gap: 13px; }
.chat-panel > header div div { display: grid; }
.chat-panel > header small { color: #95aec8; }
.chat-panel > header button {
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 11px;
  color: white;
  background: rgba(255,255,255,.07);
  font-size: 1.5rem;
}

.chat-live-dot {
  flex: 0 0 9px;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(63,226,138,.11), 0 0 15px rgba(63,226,138,.8);
}

.chat-name-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  color: #9ab2ca;
  font-size: .8rem;
  font-weight: 800;
}

.chat-name-row input {
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid rgba(141,204,255,.18);
  border-radius: 11px;
  outline: none;
  color: white;
  background: rgba(255,255,255,.05);
}

.chat-name-row input:focus, .chat-form textarea:focus {
  border-color: rgba(45,197,255,.7);
  box-shadow: 0 0 0 3px rgba(24,150,255,.13);
}

.chat-messages {
  padding: 15px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.system-message {
  align-self: center;
  max-width: 90%;
  padding: 9px 12px;
  border-radius: 12px;
  color: #8faac5;
  background: rgba(255,255,255,.05);
  font-size: .78rem;
  text-align: center;
}

.chat-message {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 15px 15px 15px 4px;
  background: #0a2b60;
  border: 1px solid rgba(91,175,255,.16);
  box-shadow: 0 8px 22px rgba(0,0,0,.16);
}

.chat-message.mine {
  align-self: end;
  border-radius: 15px 15px 4px 15px;
  background: linear-gradient(135deg, #0757c8, #087ebd);
}

.chat-message header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 3px;
  color: #78dcff;
  font-size: .72rem;
  font-weight: 900;
}

.chat-message.mine header { color: #d4f5ff; }
.chat-message header time { color: rgba(255,255,255,.5); font-weight: 600; }
.chat-message p { margin: 0; word-break: break-word; font-size: .9rem; }

.chat-form {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 9px;
  padding: 12px 13px 8px;
  border-top: 1px solid var(--line);
}

.chat-form textarea {
  width: 100%;
  resize: none;
  border: 1px solid rgba(141,204,255,.18);
  border-radius: 14px;
  outline: none;
  padding: 10px 12px;
  color: white;
  background: rgba(255,255,255,.05);
}

.chat-form button {
  border: 0;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, #0757c8, #00a3df);
}
.chat-form button svg { width: 22px; }

.chat-guideline {
  margin: 0;
  padding: 0 14px 12px;
  color: #6f89a5;
  font-size: .68rem;
  text-align: center;
}

.chat-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
}

.media-dialog, .fallback-dialog {
  width: min(1050px, calc(100% - 28px));
  max-height: 92dvh;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(112,201,255,.28);
  border-radius: 22px;
  background: #04102a;
  color: white;
  box-shadow: 0 36px 110px rgba(0,0,0,.65);
}

.media-dialog::backdrop, .fallback-dialog::backdrop {
  background: rgba(0,4,14,.82);
  backdrop-filter: blur(8px);
}

.media-dialog img {
  width: 100%;
  max-height: 88dvh;
  object-fit: contain;
}

.dialog-close {
  position: sticky;
  z-index: 3;
  top: 10px;
  float: right;
  width: 42px;
  height: 42px;
  margin: 10px;
  border: 0;
  border-radius: 13px;
  color: white;
  background: rgba(2,10,26,.86);
  font-size: 1.6rem;
}

.fallback-dialog { padding: 18px; }
.fallback-dialog h2 { margin: 4px 52px 16px 6px; }
.fallback-dialog iframe { border: 0; border-radius: 14px; background: #111827; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wave { from { height: 10px; opacity: .45; } to { height: 40px; opacity: 1; } }
@keyframes pulse { 50% { transform: scale(.76); opacity: .65; } }

@media (max-width: 1040px) {
  .main-nav { display: none; }
  .install-button { margin-left: auto; }
  .hero { min-height: 760px; }
  .player-card { grid-template-columns: .9fr 1.1fr; }
  .player-contact { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .player-contact > p { grid-column: 1 / -1; }
  .sports-section { grid-template-columns: 1fr; }
  .sports-poster { max-width: 760px; margin: 0 auto; transform: none; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-links { justify-self: center; }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    min-height: 66px;
    border-radius: 18px;
  }

  .brand img { width: 48px; height: 48px; }
  .brand small { display: none; }
  .install-button { padding: 9px 11px; font-size: .8rem; }

  .hero {
    min-height: 790px;
    margin-top: -86px;
    border-radius: 0 0 30px 30px;
  }

  .hero-image {
    background-position: 59% top;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, #020817 3%, rgba(2,8,23,.78) 47%, rgba(2,8,23,.35) 100%),
      linear-gradient(90deg, rgba(2,8,23,.74), rgba(2,8,23,.18));
  }

  .hero-content { width: calc(100% - 30px); padding: 400px 0 52px; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 4.5rem); }
  .hero-stats { gap: 20px; }
  .hero-stats div { min-width: 0; flex: 1; padding: 0 10px; }
  .ticker-track { justify-content: flex-start; padding-left: 15px; overflow: hidden; }

  .section-shell { width: calc(100% - 28px); padding: 78px 0; }
  .section-heading { display: grid; align-items: start; }
  .section-heading h2, .sports-copy h2, .contact-panel h2 { font-size: clamp(2rem, 10vw, 3.4rem); }

  .player-card { grid-template-columns: 1fr; padding: 20px; }
  .player-visual { min-height: 280px; }
  .player-info { text-align: center; }
  .player-controls { justify-content: center; }
  .player-contact { grid-column: auto; grid-template-columns: 1fr; }
  .player-contact > p { grid-column: auto; }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 0; }
  .feature-grid h3 { margin-top: 15px; }

  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .gallery-item.wide { grid-column: auto; }
  .gallery-item.tall { grid-row: auto; }

  .contact-panel { display: grid; padding: 28px 22px; }
  .contact-buttons { min-width: 0; }

  footer { width: calc(100% - 28px); }

  .floating-actions { right: 12px; bottom: 12px; }
  .floating-chat span { display: none; }
  .floating-chat { width: 52px; padding: 0; justify-content: center; }

  .chat-panel {
    right: 8px;
    bottom: 72px;
    width: calc(100% - 16px);
    height: min(660px, calc(100dvh - 84px));
    border-radius: 20px;
  }
}

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