@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@400;500;600;700&display=swap');

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

:root {
  --yellow: #F5C400;
  --navy:   #0D1235;
  --mid:    #141848;
  --light:  #1E2468;
  --text:   #E8EAF6;
  --muted:  #7B82B5;
  --nav-h:  68px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
}

/* ── SITE HEADER ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  background: var(--navy);
}

.site-header a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--yellow);
  text-decoration: none;
  letter-spacing: 0.08em;
}

/* ── HERO ── */
.hero {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

@media (min-width: 600px) {
  .hero { height: 420px; }
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(transparent, var(--navy));
}

/* ── MAIN ── */
main {
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 10vw, 3.6rem);
  color: var(--yellow);
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.tagline {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto;
}

/* ── FIXTURE CARDS ── */
.fixtures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.fixture-card {
  background: var(--mid);
  border: 1px solid var(--light);
  border-radius: 12px;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow);
  opacity: 0.8;
}

.result {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* ── INSTAGRAM ── */
.insta-section {
  margin-top: 2rem;
  text-align: left;
}

.section-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 1rem;
  text-align: center;
}

.insta-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}

.insta-scroll::-webkit-scrollbar { display: none; }

.insta-scroll .instagram-media {
  min-width: 280px;
  flex-shrink: 0;
}

/* ── SPONSORS ── */
.sponsors {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light);
}

.sponsors h2 {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.sponsor-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.tier-1 {
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.tier-1 .sponsor {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  letter-spacing: 0.06em;
  color: var(--text);
  opacity: 0.85;
}

.tier-2 { gap: 1.5rem; }

.sponsor-logo {
  height: 56px;
  width: auto;
  opacity: 0.7;
}

.sponsor-logo--circle { border-radius: 50%; }

/* ── BOTTOM NAV ── */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--mid);
  border-top: 1px solid var(--light);
  display: flex;
  z-index: 200;
}

.bn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0;
  transition: color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.bn-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bn-item.active,
.bn-item:active {
  color: var(--yellow);
}
