/* =========================================================
   LMEH — LIGA MEXICANA ÉLITE DE HOCKEY
   SEASON 5
   HOCKEYMX.IO
   ========================================================= */


/* ---------- RESET ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #111111;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}


/* ---------- VARIABLES ---------- */

:root {
  --black: #090909;
  --white: #ffffff;

  --text: #151515;
  --text-soft: #666666;

  --background: #ffffff;
  --background-soft: #f5f5f5;

  --line: #e1e1e1;

  --lmeh: #161616;
  --accent: #7057a5;

  --success: #0d684d;

  --radius-small: 12px;
  --radius: 22px;
  --radius-large: 32px;

  --max-width: 1440px;
}


/* ---------- GLOBAL LAYOUT ---------- */

.container {
  width: min(92%, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 90px 0;
}

.section-soft {
  background: var(--background-soft);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 45px;
}

.eyebrow {
  display: block;
  margin-bottom: 12px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.section-description {
  max-width: 540px;
  color: var(--text-soft);
  line-height: 1.6;
}


/* =========================================================
   HOCKEYMX.IO TOP BAR
   ========================================================= */

.ecosystem-bar {
  min-height: 56px;
  background: var(--black);
  color: var(--white);

  display: flex;
  align-items: center;
}

.ecosystem-inner {
  width: min(92%, var(--max-width));
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hmx-brand {
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 19px;
}

.ecosystem-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.65;
}


/* =========================================================
   LMEH NAVIGATION
   ========================================================= */

.lmeh-nav {
  position: sticky;
  top: 0;
  z-index: 100;

  min-height: 82px;

  display: flex;
  align-items: center;

  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);

  backdrop-filter: blur(14px);
}

.nav-inner {
  width: min(92%, var(--max-width));
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.lmeh-logo {
  display: flex;
  align-items: center;
  gap: 14px;

  font-size: 26px;
  font-weight: 900;
}

.lmeh-logo img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;

  list-style: none;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.45;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  min-height: 52px;
  padding: 0 30px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  border: 1px solid transparent;

  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  cursor: pointer;
  transition: 0.2s ease;
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--black);
}

.btn-outline {
  border-color: currentColor;
  background: transparent;
}

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--black);
}


/* =========================================================
   HERO — SEASON 5
   ========================================================= */

.hero {
  position: relative;

  min-height: 78vh;

  display: flex;
  align-items: flex-end;

  background: #111;
  color: var(--white);

  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.82) 0%,
      rgba(0,0,0,0.45) 48%,
      rgba(0,0,0,0.10) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;

  width: min(92%, var(--max-width));
  margin: 0 auto;

  padding: 100px 0 85px;
}

.hero-kicker {
  margin-bottom: 18px;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 900px;

  font-size: clamp(62px, 10vw, 150px);
  line-height: 0.78;
  letter-spacing: -0.065em;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.hero-description {
  max-width: 600px;
  margin-top: 34px;

  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;

  color: rgba(255,255,255,0.82);
}

.hero-actions {
  margin-top: 35px;

  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


/* =========================================================
   TEAMS
   ========================================================= */

.teams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.team-card {
  min-height: 300px;

  padding: 35px;

  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border-radius: var(--radius);
  border: 1px solid var(--line);

  background: var(--white);

  transition: transform 0.25s ease,
              box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.team-logo {
  height: 120px;
  width: 120px;

  object-fit: contain;
}

.team-name {
  margin-top: 30px;

  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.team-city {
  margin-top: 5px;

  color: var(--text-soft);
  font-size: 13px;
}


/* =========================================================
   NEXT GAME
   ========================================================= */

.next-game {
  background: var(--black);
  color: var(--white);

  border-radius: var(--radius-large);

  padding: clamp(35px, 6vw, 75px);
}

.game-meta {
  margin-bottom: 45px;

  display: flex;
  justify-content: space-between;
  gap: 30px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: rgba(255,255,255,0.6);
}

.game-matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 45px;
}

.game-team {
  text-align: center;
}

.game-team img {
  width: 145px;
  height: 145px;

  object-fit: contain;

  margin: 0 auto 20px;
}

.game-team-name {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 900;
}

.game-vs {
  font-size: 18px;
  font-weight: 900;
  opacity: 0.4;
}


/* =========================================================
   STANDINGS
   ========================================================= */

.standings {
  width: 100%;
  border-collapse: collapse;
}

.standings th,
.standings td {
  padding: 20px 15px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.standings th {
  color: var(--text-soft);

  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.standings th:nth-child(2),
.standings td:nth-child(2) {
  text-align: left;
}

.standings td {
  font-weight: 700;
}

.standings-position {
  color: var(--text-soft);
}

.standings-team {
  display: flex;
  align-items: center;
  gap: 14px;

  font-weight: 900;
}

.standings-team img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}


/* =========================================================
   LEAGUE LEADERS
   ========================================================= */

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.leader-card {
  padding: 32px;

  border-radius: var(--radius);
  background: var(--background-soft);
}

.leader-type {
  margin-bottom: 25px;

  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;

  color: var(--text-soft);
}

.leader-player {
  display: flex;
  align-items: center;
  gap: 18px;
}

.leader-player img {
  width: 74px;
  height: 74px;

  border-radius: 50%;
  object-fit: cover;
}

.leader-name {
  font-size: 21px;
  font-weight: 900;
}

.leader-team {
  margin-top: 4px;

  color: var(--text-soft);
  font-size: 12px;
}

.leader-stat {
  margin-top: 30px;

  font-size: 56px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
}


/* =========================================================
   DRAFT
   ========================================================= */

.draft-section {
  background: var(--black);
  color: var(--white);
}

.draft-box {
  min-height: 470px;

  display: flex;
  align-items: flex-end;

  position: relative;
  overflow: hidden;

  padding: clamp(40px, 7vw, 90px);

  border-radius: var(--radius-large);
}

.draft-background {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  opacity: 0.42;
}

.draft-box::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.9),
    rgba(0,0,0,0.2)
  );
}

.draft-content {
  position: relative;
  z-index: 2;

  max-width: 750px;
}

.draft-title {
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.85;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.draft-text {
  max-width: 520px;
  margin: 25px 0 30px;

  color: rgba(255,255,255,0.75);
  line-height: 1.55;
}


/* =========================================================
   MERCH
   ========================================================= */

.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.merch-card {
  overflow: hidden;
}

.merch-image {
  aspect-ratio: 4 / 5;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--background-soft);
  border-radius: var(--radius);

  overflow: hidden;
}

.merch-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merch-name {
  margin-top: 16px;

  font-size: 16px;
  font-weight: 900;
}

.merch-category {
  margin-top: 5px;

  color: var(--text-soft);
  font-size: 12px;
}


/* =========================================================
   NEWS
   ========================================================= */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card-image {
  aspect-ratio: 16 / 10;

  border-radius: var(--radius);
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.news-date {
  margin-top: 18px;

  color: var(--text-soft);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-title {
  margin-top: 9px;

  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.025em;
}


/* =========================================================
   PARTNERS
   ========================================================= */

.partners {
  border-top: 1px solid var(--line);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 45px;
}

.partner-logo {
  max-height: 55px;
  max-width: 150px;

  margin: auto;

  object-fit: contain;

  filter: grayscale(1);
  opacity: 0.55;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  padding: 70px 0 35px;

  background: var(--black);
  color: var(--white);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.footer-brand {
  font-size: clamp(40px, 7vw, 90px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.footer-tagline {
  margin-top: 15px;

  color: rgba(255,255,255,0.55);
}

.footer-bottom {
  margin-top: 65px;
  padding-top: 25px;

  border-top: 1px solid rgba(255,255,255,0.15);

  display: flex;
  justify-content: space-between;
  gap: 30px;

  color: rgba(255,255,255,0.45);
  font-size: 11px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .nav-links {
    gap: 16px;
    font-size: 10px;
  }

  .teams-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leaders-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .merch-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

  .section {
    padding: 65px 0;
  }

  .ecosystem-label {
    display: none;
  }

  .lmeh-nav {
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .lmeh-logo img {
    height: 42px;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-content {
    padding: 80px 0 55px;
  }

  .hero-title {
    font-size: clamp(58px, 19vw, 92px);
  }

  .section-header {
    display: block;
  }

  .section-description {
    margin-top: 20px;
  }

  .teams-grid,
  .leaders-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .game-meta {
    display: block;
  }

  .game-meta > * + * {
    margin-top: 8px;
  }

  .game-matchup {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .game-vs {
    margin: -5px 0;
  }

  .game-team img {
    width: 110px;
    height: 110px;
  }

  .standings-wrapper {
    overflow-x: auto;
  }

  .standings {
    min-width: 680px;
  }

  .merch-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top,
  .footer-bottom {
    display: block;
  }

  .footer-bottom > * + * {
    margin-top: 10px;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

  .container,
  .nav-inner,
  .ecosystem-inner,
  .hero-content {
    width: 90%;
  }

  .merch-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

}