/* ==========================================================================
   VARIABLES & RESET — FC Bayern Fan Club CDMX
   Mobile-First | BEM | Dark-only
   ========================================================================== */

/* Google Fonts preload handled in HTML */

:root {
  /* Color palette — exact values from Figma */
  --color-bg:      #050b13;
  --color-primary: #d3010c;
  --color-navy:    #162b4c;
  --color-text:    #ffffff;
  --color-muted:   #7988a6;
  --color-border:  #616161;
  --color-divider: #dcdcdc;
  --color-black:      #000000;
  --color-dark-navy:  #102039;
  --color-grey-mid:   #858585;
  --color-warm-white: #fff8f7;
  --color-bundesliga: #540005;
  --color-pokal: #4da33c;



  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Roboto', sans-serif;
  --font-accent:  'Montserrat', sans-serif;

  /* Font sizes — exact from Figma */
  --fs-hero:    57px;
  --fs-h1:      45px;
  --fs-h2:      36px;
  --fs-h3:      32px;
  --fs-banner:  25px;
  --fs-sub:     18px;
  --fs-body:    14px;
  --fs-caption: 12px;
  --fs-small:   11px;
  --fs-micro:   10px;

  /* Spacing — mobile base */
  --section-px:       12px;
  --section-gap:      0px;
  --header-height:    63px;
  --container-max:    390px;

  /* Border radius */
  --radius-btn:  100px;
  --radius-card: 8px;
}

@media (min-width: 768px) {
  :root {
    --section-px:    12px;
    --section-gap:   8px;
    --header-height: 63px;
    --container-max: 740px;
  }

  main {
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  :root {
    --section-px:    12px;
    --section-gap:   20px;
    --header-height: 112px;
    --container-max: 1576px;
  }
}

/* ==========================================================================
   RESET
   ========================================================================== */

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

html {
  font-size:   16px;
  overflow-x:  hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  display:          flex;
  flex-direction:   column;
  gap:              16px;
  background-color: var(--color-bg);
  color:            var(--color-text);
  font-family:      var(--font-body);
  font-weight:      400;
  font-size:        var(--fs-body);
  line-height:      1.4;
  overflow-x:       hidden;
  -webkit-font-smoothing: antialiased;
}

main {
  display:        flex;
  flex-direction: column;
  gap:            16px;
  width:          100%;
}

@media (min-width: 1200px) {
  body {
    max-width: 1200px;
    margin:    0 auto;
  }
}

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

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

a:visited {
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  background: none;
  border:     none;
  cursor:     pointer;
  font:       inherit;
  color:      inherit;
}

iframe {
  border: none;
  display: block;
}

/* ==========================================================================
   LAYOUT — Contenedor centrado
   ========================================================================== */

.container {
  width:     100%;
  max-width: var(--container-max);
  margin:    0 auto;
  padding:   0 var(--section-px);
}

/* ==========================================================================
   UTILIDADES
   ========================================================================== */

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

.text-uppercase { text-transform: uppercase; }
.text-center    { text-align: center; }

/* Scrollbar oscuro para carruseles */
::-webkit-scrollbar {
  height: 4px;
  width:  4px;
}
::-webkit-scrollbar-track {
  background: var(--color-navy);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 2px;
}
