/* home bundle: concat main + animations + components + pages/home (same -hfu893 names) */
/* LeagueZone.es — global styles */
:root {
  --color-bg-primary: #0a0a0f;
  --color-bg-secondary: #111118;
  --color-bg-elevated: #1a1a24;
  --color-accent-primary: #6c63ff;
  --color-accent-secondary: #ff6b35;
  --color-accent-tertiary: #00d4aa;
  --color-text-primary: #f0f0f5;
  --color-text-secondary: #9090a8;
  --color-text-muted: #55556a;
  --color-border: rgba(108, 99, 255, 0.15);
  --color-gradient-hero: linear-gradient(135deg, #6c63ff 0%, #ff6b35 50%, #00d4aa 100%);
  --color-glow-violet: 0 0 40px rgba(108, 99, 255, 0.3);
  --color-glow-orange: 0 0 40px rgba(255, 107, 53, 0.3);
  --font-display: "Bebas Neue", "Impact", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-tertiary);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 0.5em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}
h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}
h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin: 0 0 1em;
  color: var(--color-text-secondary);
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2100;
  padding: 0.75rem 0;
  transition: background var(--transition-medium), backdrop-filter var(--transition-medium);
}

.site-header.scrolled {
  background: rgba(10, 10, 15, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  width: min(1200px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.logo-league {
  color: var(--color-text-primary);
}
.logo-zone {
  background: var(--color-gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-tld {
  color: var(--color-text-muted);
  font-size: 0.9em;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
}

.nav-menu a {
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-primary);
  transition: width var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-accent-primary);
}

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

.nav-cta {
  background: var(--color-gradient-hero);
  background-size: 200% 200%;
  padding: 0.45rem 1rem !important;
  border-radius: 50px;
  color: white !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.active span:nth-child(2) {
  opacity: 0;
}
.nav-burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1023px) {
  .nav-burger {
    display: flex;
    position: relative;
    z-index: 2;
  }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: auto;
    width: min(360px, 88vw);
    z-index: 1;
    background: linear-gradient(160deg, rgba(18, 18, 28, 0.98) 0%, rgba(10, 10, 15, 0.99) 100%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border-left: 1px solid var(--color-border);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.5rem 1.25rem 2.5rem;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--transition-medium), visibility 0s linear var(--transition-medium);
  }
  .nav-menu.open {
    visibility: visible;
    transform: translateX(0);
    transition: transform var(--transition-medium), visibility 0s linear 0s;
  }
  .nav-menu::before {
    content: "";
    display: block;
    height: 3px;
    width: 48px;
    margin: 0 0 1.25rem;
    border-radius: 999px;
    background: var(--color-gradient-hero);
    opacity: 0.9;
  }
  .nav-menu li {
    width: 100%;
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 280ms ease, transform 280ms ease;
  }
  .nav-menu.open li {
    opacity: 1;
    transform: translateX(0);
  }
  .nav-menu.open li:nth-child(1) { transition-delay: 60ms; }
  .nav-menu.open li:nth-child(2) { transition-delay: 110ms; }
  .nav-menu.open li:nth-child(3) { transition-delay: 160ms; }
  .nav-menu.open li:nth-child(4) { transition-delay: 210ms; }
  .nav-menu.open li:nth-child(5) { transition-delay: 260ms; }
  .nav-menu.open li:nth-child(6) { transition-delay: 310ms; }
  .nav-menu.open li:nth-child(7) { transition-delay: 360ms; }
  .nav-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 0.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-menu a::after {
    content: "›";
    position: static;
    width: auto;
    height: auto;
    background: none;
    color: var(--color-text-muted);
    font-size: 1.4rem;
    line-height: 1;
    transform: translateX(0);
    transition: transform var(--transition-fast), color var(--transition-fast);
  }
  .nav-menu a:hover,
  .nav-menu a.active {
    color: var(--color-accent-primary);
  }
  .nav-menu a:hover::after,
  .nav-menu a.active::after {
    width: auto;
    color: var(--color-accent-primary);
    transform: translateX(4px);
  }
  .nav-menu li:has(.nav-cta) {
    margin-top: 1.25rem;
  }
  .nav-menu .nav-cta {
    justify-content: center;
    padding: 0.85rem 1.25rem !important;
    border-radius: 999px;
    border-bottom: 0;
    text-align: center;
    box-shadow: 0 10px 24px rgba(124, 92, 255, 0.25);
  }
  .nav-menu .nav-cta::after {
    content: "";
    display: none;
  }
  body.nav-open {
    overflow: hidden;
  }
  body.nav-open::before {
    content: "";
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 1900;
    animation: nav-backdrop-fade 220ms ease both;
  }
  body.nav-open .ai-widget-btn,
  body.nav-open .ai-chat-panel,
  body.nav-open .cookie-banner {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 0s linear 180ms;
  }
}

@keyframes nav-backdrop-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

body > main {
  padding-top: var(--header-h);
}

/* Footer */
.site-footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  width: min(1200px, 92vw);
  margin-inline: auto;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.footer-logo span {
  background: var(--color-gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1rem;
}

.footer-social a {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  word-break: break-all;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-primary);
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.footer-contact address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.footer-bottom {
  width: min(1200px, 92vw);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-payments {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-payments svg {
  height: 28px;
  width: auto;
  opacity: 0.85;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform var(--transition-medium);
  pointer-events: none;
}

.cookie-banner.visible {
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-content {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  padding: 1.25rem clamp(1rem, 4vw, 2rem);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.4);
}

.cookie-content p {
  max-width: 900px;
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-settings-panel {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.cookie-settings-panel.open {
  display: block;
}

.cookie-settings-panel label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  cursor: pointer;
}

/* AI widget */
.ai-widget-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1500;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--color-gradient-hero);
  background-size: 200% 200%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--color-glow-violet);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.ai-widget-btn:hover {
  transform: scale(1.06);
}

.ai-widget-btn svg {
  width: 28px;
  height: 28px;
}

.ai-ping {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--color-accent-primary);
  animation: aiPing 2s ease-out infinite;
  pointer-events: none;
}

@keyframes aiPing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.ai-chat-panel {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 1501;
  width: min(360px, calc(100vw - 32px));
  height: min(520px, 70vh);
  background: rgba(26, 26, 36, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.85) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-medium), opacity var(--transition-medium);
}

.ai-chat-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.ai-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-gradient-hero);
}

.ai-chat-header small {
  color: var(--color-text-muted);
}

.ai-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ai-message {
  max-width: 88%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ai-message.bot {
  align-self: flex-start;
  background: var(--color-bg-secondary);
  color: var(--color-text-secondary);
}

.ai-message.user {
  align-self: flex-end;
  background: var(--color-accent-primary);
  color: white;
}

.ai-typing {
  display: flex;
  gap: 4px;
  padding: 0.75rem 1rem;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  align-self: flex-start;
}

.ai-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-primary);
  animation: aiDot 1s ease-in-out infinite;
}
.ai-typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.ai-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes aiDot {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.ai-input-area {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid var(--color-border);
}

.ai-input-area input {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: inherit;
}

.ai-input-area .btn-primary {
  padding: 0.65rem 1.25rem;
}

/* Legal / content pages */
.legal-page {
  padding: 3rem 0 5rem;
}

.legal-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .legal-layout {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.legal-toc h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.legal-toc ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.legal-toc a {
  color: var(--color-text-secondary);
}

.legal-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.legal-card h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
}
.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.legal-card ul {
  margin: 0 0 1em;
  padding-left: 1.25rem;
}

.form-error {
  color: var(--color-accent-secondary);
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}
.form-error.visible {
  display: block;
}
.shake {
  animation: shake 0.5s ease;
}
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(6px);
  }
  75% {
    transform: translateX(-6px);
  }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}
/* Keyframes and page transitions */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: var(--color-glow-violet);
  }
  50% {
    box-shadow: var(--color-glow-orange);
  }
}

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

@keyframes counterUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes borderRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pageFadeOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

body.page-exit {
  animation: pageFadeOut 0.3s ease forwards;
}

[data-animate] {
  opacity: 1;
  transform: none;
}

[data-animate].animated {
  animation: fadeSlideUp 0.7s ease forwards;
}

[data-animate="left"].animated {
  animation: fadeSlideLeft 0.7s ease forwards;
}

.float-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.float-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  animation: floatParticle 12s linear infinite;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-20vh) translateX(20px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  body.page-exit,
  [data-animate].animated,
  [data-animate="left"].animated,
  .float-particles span {
    animation: none !important;
  }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* Buttons, cards, forms */
.btn-primary {
  background: var(--color-gradient-hero);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--color-glow-violet);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-accent-primary);
  color: var(--color-accent-primary);
  padding: 13px 31px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
  font-size: 0.9rem;
}

.btn-outline:hover {
  background: var(--color-accent-primary);
  color: white;
  transform: translateY(-2px);
}

.card-sport {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 220px;
  border: 1px solid var(--color-border);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.card-sport:hover {
  transform: translateY(-8px);
  box-shadow: var(--color-glow-violet);
}

.card-sport img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card-sport:hover img {
  transform: scale(1.06);
}

.card-sport .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.card-sport h3 {
  margin: 0 0 0.5rem;
  color: white;
}

.card-sport a {
  color: var(--color-accent-tertiary);
  font-weight: 600;
  font-size: 0.9rem;
}

.stat-pill {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.stat-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-text-primary);
  letter-spacing: 0.04em;
}

.stat-pill span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.form-success {
  background: rgba(0, 212, 170, 0.12);
  border: 1px solid var(--color-accent-tertiary);
  color: var(--color-accent-tertiary);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.lead-form,
.contact-form-style,
.modal-card form {
  display: grid;
  gap: 1.25rem;
}

.lead-form input:not([type="checkbox"]):not([type="radio"]),
.lead-form select,
.contact-form-style input:not([type="checkbox"]):not([type="radio"]),
.contact-form-style select,
.contact-form-style textarea,
.modal-card input:not([type="checkbox"]):not([type="radio"]),
.modal-card select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: inherit;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  height: auto;
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee {
  display: flex;
  gap: 3rem;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brand-pill {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: color var(--transition-medium), filter var(--transition-medium);
  filter: grayscale(1);
}

.brand-pill:hover {
  color: var(--color-text-primary);
  filter: grayscale(0);
}

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--color-bg-secondary);
}

.accordion-head {
  width: 100%;
  padding: 1rem 1.25rem;
  text-align: left;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

.accordion-item.open .accordion-body {
  max-height: 500px;
}

.accordion-body-inner {
  padding: 0 1.25rem 1rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.compare-table th,
.compare-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.compare-table thead th {
  background: var(--color-bg-elevated);
  position: sticky;
  top: 0;
  z-index: 1;
}

.compare-table svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}
/* Home */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  position: relative;
  padding: 4rem 0 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--color-bg-primary);
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      135deg,
      rgba(108, 99, 255, 0.35) 0%,
      rgba(255, 107, 53, 0.25) 50%,
      rgba(0, 212, 170, 0.2) 100%
    ),
    radial-gradient(ellipse at 20% 30%, rgba(108, 99, 255, 0.4), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 107, 53, 0.35), transparent 45%);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  mix-blend-mode: screen;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.hero h1 {
  max-width: 16ch;
  margin-bottom: 1rem;
}

.hero-lead {
  max-width: 36ch;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-float-icons {
  display: flex;
  gap: 1.5rem;
  opacity: 0.9;
}

.hero-float-icons svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 12px rgba(108, 99, 255, 0.5));
  animation: floatIcon 4s ease-in-out infinite;
}
.hero-float-icons svg:nth-child(2) {
  animation-delay: 0.5s;
}
.hero-float-icons svg:nth-child(3) {
  animation-delay: 1s;
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounceArrow 2s ease infinite;
}

.scroll-indicator svg {
  width: 32px;
  height: 32px;
  opacity: 0.6;
}

@keyframes bounceArrow {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

.stats-bar {
  background: var(--color-bg-secondary);
  border-block: 1px solid var(--color-border);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.sports-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .sports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .sports-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.steps-path {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .steps-path {
    grid-template-columns: repeat(3, 1fr);
    position: relative;
  }
  .steps-path::before {
    content: "";
    position: absolute;
    top: 2rem;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary), var(--color-accent-tertiary));
    opacity: 0.35;
  }
}

.step-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  z-index: 1;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  background: var(--color-gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fantasy-bracket {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.bracket-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: space-around;
}

.bracket-match {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  min-width: 100px;
  position: relative;
}

.bracket-match::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 50%;
  width: 1rem;
  height: 2px;
  background: var(--color-accent-primary);
  opacity: 0.5;
}

.testimonial-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background: var(--color-bg-secondary);
  border-left: 4px solid var(--color-accent-primary);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  color: var(--color-text-primary);
  font-size: 0.9rem;
}

.lead-section {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  max-width: 640px;
  margin-inline: auto;
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: var(--radius-lg);
}
