@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;700;800;900&family=DM+Sans:opsz,wght@9..40,200;9..40,300;9..40,400;9..40,500&family=Space+Mono:wght@400;700&display=swap");

:root {
  --bg: #050507;
  --surface: #0c0c11;
  --surface2: #12121a;
  --surface3: #181820;
  --border: rgba(255, 255, 255, 0.06);
  --border2: rgba(255, 255, 255, 0.11);
  --text: #eeeef3;
  --muted: #64647a;
  --muted2: #45455a;
  --accent: #e10600;
  --accent-glow: rgba(225, 6, 0, 0.18);
  --orange: #ff8c00;
  --gold: #c9a227;
  --silver: #8a9bb0;
  --bronze: #b87333;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 2px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 52px;
  background: linear-gradient(180deg,
      rgba(5, 5, 7, 0.96) 0%,
      rgba(5, 5, 7, 0) 100%);
  backdrop-filter: blur(16px);
}

.nav-logo {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.25s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links li {
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
}

.lang-switch {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

#lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 1px;
}

#lang-toggle:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(225, 6, 0, 0.1);
}

.lang-transition {
  opacity: 0;
  filter: blur(4px);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

/* HERO */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Softer vignette so countries show through but text stays readable */
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%,
      transparent 15%,
      rgba(5, 5, 7, 0.45) 65%,
      rgba(5, 5, 7, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  pointer-events: none;
}

.hero-eyebrow {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s ease forwards;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.35;
}

.hero-headline {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: clamp(78px, 13vw, 164px);
  line-height: 0.88;
  letter-spacing: 6px;
  text-shadow:
    0 0 160px rgba(225, 6, 0, 0.45),
    0 0 50px rgba(225, 6, 0, 0.25);
  opacity: 0;
  animation: fadeUp 0.9s 0.85s ease forwards;
}

.hero-sub {
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s ease forwards;
}

.hero-sub-div {
  width: 1px;
  height: 10px;
  background: var(--muted2);
}

.scroll-cue {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 0.8s 1.9s ease forwards;
}

.scroll-cue-label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted2);
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

/* TOOLTIP */
#race-tooltip {
  position: fixed;
  z-index: 3000;
  pointer-events: none;
  background: rgba(9, 9, 15, 0.97);
  border: 1px solid var(--border2);
  border-left: 2px solid var(--accent);
  padding: 16px 20px;
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.18s;
  min-width: 244px;
  max-width: 290px;
  backdrop-filter: blur(24px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.72),
    0 0 40px var(--accent-glow);
}

.tt-round {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.tt-flag {
  width: 22px;
  height: 14px;
  object-fit: cover;
  border-radius: 1px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tt-name {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 5px;
}

.tt-official {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.tt-date {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tt-sprint {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  background: rgba(255, 140, 0, 0.1);
  border: 1px solid rgba(255, 140, 0, 0.22);
  color: var(--orange);
  font-size: 9px;
  letter-spacing: 2px;
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
  width: fit-content;
}

/* SECTIONS */
.section-wrap {
  padding: 108px 52px;
}

.section-wrap.alt {
  background: var(--surface);
}

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 20px;
}

.sec-num {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 3px;
  flex-shrink: 0;
}

.sec-title {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 5.5vw, 68px);
  letter-spacing: 3px;
}

.sec-rule {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin-left: 16px;
}

.sec-intro {
  max-width: 600px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 50px;
}

/* CALENDAR */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(284px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.race-card {
  background: var(--bg);
  padding: 26px 26px 22px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}

.race-card:hover {
  background: var(--surface2);
}

.race-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.race-card:hover::after {
  transform: scaleX(1);
}

.rc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rc-round {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.rc-flag {
  width: 28px;
  height: 18px;
  object-fit: cover;
  border-radius: 2px;
  opacity: 0.85;
  border: 1px solid var(--border);
}

.rc-country {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 27px;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 4px;
}

.rc-venue {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.4;
}

.rc-map-wrap {
  height: 80px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.15;
  transition:
    opacity 0.3s,
    transform 0.3s;
  filter: grayscale(1);
}

.race-card:hover .rc-map-wrap {
  opacity: 0.8;
  transform: scale(1.1);
  filter: grayscale(0) drop-shadow(0 0 8px var(--accent));
}

.rc-map-wrap svg {
  max-width: 100%;
  max-height: 100%;
  fill: none;
  stroke: var(--text);
  stroke-width: 2;
}

.rc-map-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rc-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.rc-date {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 5px;
}

.sprint-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 140, 0, 0.09);
  border: 1px solid rgba(255, 140, 0, 0.2);
  color: var(--orange);
  font-size: 8px;
  letter-spacing: 1.5px;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
}

/* INFO BANNER */
.info-banner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(225, 6, 0, 0.04);
  border: 1px solid rgba(225, 6, 0, 0.1);
  border-left: 2px solid var(--accent);
  padding: 22px 28px;
  margin-bottom: 44px;
}

.info-banner-icon {
  flex-shrink: 0;
  padding-top: 2px;
}

.info-banner strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 5px;
}

.info-banner p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}

/* TEAMS */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(358px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.team-card {
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.25s;
}

.team-card:hover {
  background: var(--surface2);
}

/* Car image */
.team-car-area {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #06060e;
}

.team-car-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.45s ease;
  /* Slightly darken/saturate to make cars pop against the dark card */
  filter: brightness(0.92) contrast(1.06) saturate(1.12);
}

.team-card:hover .team-car-img {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.07) saturate(1.18);
}

/* Gradient fade — bottom fades to card background, sides subtly vignetted */
.team-car-area::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      transparent 28%,
      rgba(5, 5, 7, 0.38) 65%,
      rgba(5, 5, 7, 0.94) 100%),
    linear-gradient(to right,
      rgba(5, 5, 7, 0.18) 0%,
      transparent 12%,
      transparent 88%,
      rgba(5, 5, 7, 0.18) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Team-color left accent bar */
.team-car-area::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  z-index: 3;
  background: var(--tc, transparent);
}

.team-body {
  padding: 24px 26px 26px;
  flex: 1;
}

.tc-engine {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  color: var(--muted2);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tc-name {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 29px;
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 18px;
}

.tc-drivers {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.tc-drv {
  flex: 1;
  background: var(--surface3);
  border: 1px solid var(--border);
  padding: 13px 12px 11px;
  border-radius: 2px;
  transition: border-color 0.2s;
}

.team-card:hover .tc-drv {
  border-color: var(--border2);
}

.tc-dnum {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 5px;
  opacity: 0.5;
}

.tc-dname {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 3px;
}

.tc-dnat {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.tc-dnat img {
  width: 14px;
  height: 9px;
  object-fit: cover;
  border-radius: 1px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  vertical-align: middle;
}

.tc-meta {
  display: flex;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.tc-stat {
  flex: 1;
}

.tc-stat:not(:last-child) {
  padding-right: 14px;
  border-right: 1px solid var(--border);
  margin-right: 14px;
}

.tc-stat-l {
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 4px;
}

.tc-stat-v {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  color: var(--text);
}

.tc-note-row {
  margin-top: 3px;
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* PREDICTIONS */
.pred-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.pred-panel {
  background: var(--bg);
}

.pred-head {
  padding: 18px 26px;
  border-bottom: 1px solid var(--border);
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pred-row {
  display: flex;
  align-items: center;
  padding: 14px 26px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}

.pred-row:last-child {
  border-bottom: none;
}

.pred-row:hover {
  background: var(--surface2);
}

.pred-track {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  opacity: 0.05;
}

.pred-pos {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 22px;
  width: 26px;
  flex-shrink: 0;
  line-height: 1;
}

.pos-gold {
  color: var(--gold);
}

.pos-silver {
  color: var(--silver);
}

.pos-bronze {
  color: var(--bronze);
}

.pred-pip {
  width: 3px;
  height: 26px;
  border-radius: 1px;
  flex-shrink: 0;
}

.pred-info {
  flex: 1;
}

.pred-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.pred-team {
  font-size: 10px;
  color: var(--muted);
}

.pred-pct {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  color: var(--text);
  text-align: right;
}

.pred-pct span {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 1px;
}

/* REGULATIONS SECTION */
.reg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.reg-card {
  background: linear-gradient(145deg,
      rgba(20, 20, 25, 0.9),
      rgba(10, 10, 12, 0.8));
  border: 1px solid rgba(225, 6, 0, 0.1);
  padding: 40px;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.reg-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}

.reg-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(225, 6, 0, 0.5);
  box-shadow: 0 20px 40px rgba(225, 6, 0, 0.15);
}

.reg-card:hover::before {
  opacity: 1;
}

.reg-icon-box {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), #ff4d4d);
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(225, 6, 0, 0.3);
}

.reg-icon-box i {
  stroke: #fff;
  width: 28px !important;
  height: 28px !important;
}

.reg-card h3 {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.reg-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.reg-feature-list {
  list-style: none;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.reg-feature-item {
  font-size: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-family: "Space Mono", monospace;
  letter-spacing: 0.5px;
}

.reg-feature-item i {
  stroke: var(--accent);
  background: rgba(225, 6, 0, 0.1);
  border-radius: 50%;
  padding: 4px;
  width: 14px !important;
  height: 14px !important;
}

/* DRIVER PROFILES */
.driver-profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.driver-profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: 0.3s;
}

.driver-profile-card:hover {
  border-color: var(--accent);
}

.profile-img-wrap {
  height: 180px;
  background: var(--surface2);
  overflow: hidden;
  position: relative;
}

.profile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%);
  transition: 0.5s;
  opacity: 0.7;
}

.driver-profile-card:hover .profile-img-wrap img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.profile-content {
  padding: 24px;
}

.profile-num {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 44px;
  color: var(--accent);
  line-height: 1;
  opacity: 0.2;
  position: absolute;
  top: 10px;
  right: 10px;
}

.profile-name {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 4px;
}

.profile-team {
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.profile-bio {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  height: 60px;
  overflow: hidden;
}

.profile-stats {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 15px;
}

.profile-stat {
  flex: 1;
}

.profile-stat-val {
  font-family: "Space Mono", monospace;
  font-size: 14px;
  color: var(--text);
}

.profile-stat-lbl {
  font-size: 8px;
  color: var(--muted);
  text-transform: uppercase;
}

/* FOOTER */
footer {
  padding: 60px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-tags {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
}

/* LOADING */
#loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition:
    opacity 0.7s,
    visibility 0.7s;
}

#loading.out {
  opacity: 0;
  visibility: hidden;
}

.load-logo {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 52px;
  letter-spacing: 6px;
}

.load-logo .r {
  color: var(--accent);
}

.load-track {
  width: 220px;
  height: 1px;
  background: var(--border);
  overflow: hidden;
}

.load-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  box-shadow: 0 0 8px var(--accent);
}

.load-label {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--muted);
  text-transform: uppercase;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.25;
  }

  50% {
    opacity: 1;
  }
}

@media (max-width: 900px) {
  nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .section-wrap {
    padding: 80px 24px;
  }

  .pred-layout {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 40px 20px;
  }
}

@media (max-width: 600px) {

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