:root {
  --green: #0f6b34;
  --green-dark: #0a4e28;
  --yellow: #e8b30a;
  --blue: #123b8f;
  --paper: #efe2b8;
  --paper-light: #f7edca;
  --white: #fffaf0;
  --shadow: 0 18px 45px rgba(13, 53, 30, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(rgba(15, 107, 52, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, #f6edcc 0%, var(--paper) 48%, #dfcf9f 100%);
  background-size: 5px 5px, 100% 100%;
  color: var(--green);
  font-family: "Montserrat", Arial, sans-serif;
}

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

.site-header {
  display: flex;
  min-height: 100svh;
  align-items: center;
  padding: clamp(32px, 6vw, 80px) clamp(18px, 8vw, 112px);
}

.hero {
  display: grid;
  width: min(100%, 1320px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: clamp(0.75rem, 1.5vw, 0.88rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
.match,
.ticket strong {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  color: var(--green);
  font-size: clamp(4.6rem, 13vw, 10rem);
  line-height: 0.88;
}

h1 span {
  color: var(--yellow);
  display: inline-block;
}

.line {
  width: clamp(128px, 18vw, 210px);
  height: 8px;
  margin: 22px 0;
  background: var(--green);
  border-radius: 999px;
}

.subtitle {
  max-width: 560px;
  color: var(--green-dark);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticket {
  display: grid;
  width: min(100%, 310px);
  margin-top: 32px;
  gap: 8px;
  padding: 22px;
  transform: rotate(-2deg);
  border: 2px dashed rgba(243, 211, 75, 0.72);
  border-radius: 18px;
  background: var(--green);
  box-shadow: var(--shadow);
  color: #f3d34b;
}

.ticket small {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ticket strong {
  color: var(--white);
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  line-height: 1;
}

.ticket span {
  color: #f8e892;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(340px, 45vw, 600px);
}

.hero-media::before {
  position: absolute;
  width: min(78vw, 520px);
  aspect-ratio: 1;
  content: "";
  background:
    linear-gradient(135deg, transparent 18%, rgba(232, 179, 10, 0.86) 18% 50%, transparent 50%),
    linear-gradient(45deg, transparent 26%, rgba(18, 59, 143, 0.9) 26% 62%, transparent 62%);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: 0.88;
}

.hero-media img {
  position: relative;
  width: min(72vw, 470px);
  max-height: 68svh;
  object-fit: contain;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.28));
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.games-section {
  padding: clamp(56px, 8vw, 92px) clamp(18px, 8vw, 112px);
}

.section-heading {
  width: min(100%, 1120px);
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  color: var(--green);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.95;
}

.games {
  display: grid;
  width: min(100%, 1260px);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.game-card {
  position: relative;
  display: grid;
  min-height: 100%;
  gap: 22px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  border: 4px solid var(--green);
  border-radius: 8px;
  background: rgba(247, 237, 202, 0.94);
  box-shadow: 0 12px 26px rgba(13, 53, 30, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.game-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 105px;
  height: 105px;
  content: "";
  background: var(--yellow);
  border-radius: 0 0 0 100%;
  opacity: 0.18;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(13, 53, 30, 0.18);
}

.match {
  position: relative;
  z-index: 1;
  color: var(--green);
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1;
}

.match span {
  color: var(--yellow);
}

.game-info {
  display: grid;
  gap: 12px;
}

.game-info div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.game-info dt {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-info dd {
  color: var(--green-dark);
  font-size: 0.98rem;
  font-weight: 700;
}

.countdown {
  align-self: end;
  min-height: 48px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

footer {
  padding: 34px 18px;
  background: var(--green);
  color: var(--paper-light);
  font-size: clamp(0.86rem, 2vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .line,
  .ticket {
    margin-right: auto;
    margin-left: auto;
  }

  .subtitle {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-media {
    min-height: 360px;
    order: -1;
  }

  .hero-media img {
    width: min(68vw, 380px);
  }

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

@media (max-width: 680px) {
  .site-header {
    min-height: auto;
    padding-top: 28px;
  }

  .hero {
    gap: 24px;
  }

  h1 {
    font-size: clamp(4.3rem, 24vw, 6.6rem);
  }

  .hero-media {
    min-height: 270px;
  }

  .hero-media::before {
    width: min(86vw, 330px);
  }

  .hero-media img {
    width: min(62vw, 280px);
  }

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

  .game-info div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
