:root {
  color-scheme: dark;
  --red: #f2070b;
  --bg: #070101;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  color: #f5f5f5;
  background: radial-gradient(ellipse 50% 38% at 50% 18%, #270202 0%, var(--bg) 75%);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.bio {
  width: min(100%, 470px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: clip;
  background: #060101;
}
.hero {
  height: clamp(350px, 107vw, 505px);
  position: relative;
  isolation: isolate;
  background-color: #060101;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url('./assets/background.jpg') top center / 100% auto no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(4,0,0,.04) 0%, rgba(4,0,0,0) 33%,
    rgba(3,0,0,.01) 60%, rgba(4,0,0,.24) 76%,
    #060101 98%);
  pointer-events: none;
}
/* Official El Jugador logo replaces the old two-line name block. */
.brand-logo {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  display: block;
  width: min(60%, 275px);
  height: auto;
  max-height: 105px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.75));
}
.ticker {
  position: relative;
  height: 36px;
  margin: 4px 10px 0;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(90deg, #c6000a, #b6000a 55%, #a40006);
  box-shadow: 0 2px 12px rgba(0,0,0,.30);
}
.ticker::before, .ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; width: 11px;
  z-index: 1; pointer-events: none;
}
.ticker::before {left: 0; background: linear-gradient(90deg,#b6000a,transparent)}
.ticker::after {right: 0; background: linear-gradient(270deg,#a40006,transparent)}
.ticker__track {
  display: flex;
  height: 100%;
  align-items: center;
  width: max-content;
  animation: marquee 22s linear infinite;
  will-change: transform;
}
.ticker__set { display:flex; align-items:center; flex: 0 0 auto; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  padding: 0 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
 .ticker__icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: 0 0 22px; color: #fff; }
.ticker__svg { display: block; width: 20px; height: 20px; }
.ticker__svg--youtube { width: 22px; height: 22px; }
.ticker__dot { color: #f3c6c6; font-size: 18px; line-height: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
.links {
  padding: 22px 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  scroll-margin-top: 18px;
}
.banner {
  display: block;
  position: relative;
  width: 100%;
  line-height: 0;
  border-radius: 18px;
  text-decoration: none;
  transform: translateZ(0);
  transition: filter .2s ease, scale .2s ease;
}
.banner img { width: 100%; height: auto; display: block; }
.banner:hover { filter: brightness(1.11); scale: 1.015; }
.banner:active { scale: .985; }
.banner--featured {
  animation: floatBanner 2.9s ease-in-out infinite;
  filter: drop-shadow(0 7px 13px rgba(255, 0, 0, .18));
  margin-bottom: 4px;
}
.banner--featured:hover { filter: drop-shadow(0 7px 18px rgba(255,0,0,.35)) brightness(1.10); }
@keyframes floatBanner { 0%,100% {transform: translateY(0)} 50% {transform: translateY(-8px)} }
.footer {
  padding: 20px 16px 28px;
  color: #a98e8e;
  font-size: 10px;
  text-align: center;
  font-weight: 700;
  letter-spacing: .075em;
}
.footer span { color:#a3000a; padding: 0 4px; }
/* Mobile: keep all three banners within the first screen on common phone sizes. */
@media (max-width: 599px) {
  /* Slightly shorter cover lifts all links above the old layout position. */
  .hero { height: clamp(268px, 80vw, 375px); }
  .brand-logo { width: min(55%, 235px); bottom: 2px; }
  .ticker { height: 34px; margin-top: 2px; }
  .links { padding-top: 14px; gap: 10px; }
  .banner--featured { margin-bottom: 2px; }
  .footer { padding-top: 13px; padding-bottom: 20px; }
}
@media (max-width: 340px) {
  .hero { height: 268px; }
  .brand-logo { width: 54%; bottom: 0; }
  .ticker__item { padding: 0 10px; }
  .links {padding-right: 8px;padding-left: 8px;gap: 12px;}
}
@media (min-width: 600px) {
  .bio {box-shadow: 0 20px 100px rgba(0,0,0,.65);}
}
@media (prefers-reduced-motion: reduce) {
  html {scroll-behavior:auto;}
  .ticker__track, .scroll-cue svg, .banner--featured {animation:none;}
  .banner {transition:none;}
}
