:root {
  --bg: #e9fff7;
  --bg-soft: #f7fffb;
  --ink: #102224;
  --muted: #547174;
  --primary: #00c48c;
  --primary-dark: #009b79;
  --accent: #ffcf4a;
  --coral: #ff6b6b;
  --card: rgba(255, 255, 255, 0.78);
  --border: rgba(16, 34, 36, 0.12);
  --shadow: 0 24px 70px rgba(0, 126, 103, 0.18);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 207, 74, 0.35), transparent 30rem),
    radial-gradient(circle at 85% 10%, rgba(0, 196, 140, 0.35), transparent 32rem),
    linear-gradient(180deg, #d9fff1 0%, #f7fffb 48%, #eaf9ff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 28px clamp(18px, 5vw, 72px) 64px;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  content: "";
  filter: blur(4px);
}

.hero::before {
  width: 340px;
  height: 340px;
  right: -110px;
  top: 140px;
  background: rgba(255, 207, 74, 0.42);
}

.hero::after {
  width: 460px;
  height: 460px;
  left: -190px;
  bottom: 20px;
  background: rgba(0, 196, 140, 0.2);
}

.nav,
.hero-grid,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 40px rgba(0, 126, 103, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 34px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(0, 196, 140, 0.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1180px;
  min-height: calc(100vh - 120px);
  margin: 0 auto;
  padding-top: 54px;
}

.hero-copy {
  position: relative;
}

.hero-brand-plate {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 12px 18px;
  border: 1px solid rgba(0, 196, 140, 0.18);
  border-radius: 26px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 44px rgba(0, 126, 103, 0.12);
  backdrop-filter: blur(16px);
}

.hero-brand-plate img {
  width: 180px;
  height: 52px;
  object-fit: contain;
}

.hero-brand-plate span {
  max-width: 150px;
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8.2vw, 7.2rem);
  line-height: 1.16;
  letter-spacing: 0.005em;
  word-spacing: 0.08em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.7vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.hero-lead,
.section-heading p,
.join-panel p,
.rules-list p,
.benefit-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.event-time {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 28px;
  padding: 12px 16px;
  border: 1px solid rgba(0, 196, 140, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-weight: 700;
}

.event-time strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.game-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button {
  min-height: 54px;
  padding: 0 22px;
}

.button:hover,
.game-link:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #14b8ff);
  box-shadow: 0 18px 38px rgba(0, 160, 126, 0.28);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--border);
}

.hero-card {
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.52)),
    radial-gradient(circle at top right, rgba(255, 207, 74, 0.42), transparent 16rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card-kicker {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.countdown div {
  padding: 22px 14px;
  border: 1px solid rgba(0, 196, 140, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.countdown strong {
  display: block;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1;
}

.countdown span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 207, 74, 0.26);
  color: #835b00;
  font-weight: 900;
  text-align: center;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 74px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.benefit-grid,
.branch-grid,
.rules-list {
  display: grid;
  gap: 18px;
}

.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card,
.rules-list article,
.branch-grid article,
.join-panel {
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: var(--card);
  box-shadow: 0 18px 48px rgba(0, 126, 103, 0.1);
  backdrop-filter: blur(16px);
}

.benefit-card {
  min-height: 260px;
  padding: 30px;
  border-radius: 32px;
}

.benefit-card span {
  display: inline-grid;
  min-width: 72px;
  height: 72px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #14b8ff);
  font-size: 1.55rem;
  font-weight: 900;
}

.join-panel {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.42fr);
  gap: 26px;
  align-items: center;
  padding: clamp(26px, 5vw, 48px);
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 255, 247, 0.8)),
    radial-gradient(circle at bottom right, rgba(255, 107, 107, 0.2), transparent 20rem);
}

.join-steps {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.join-steps span {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(0, 196, 140, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
}

.game-link {
  flex-direction: column;
  min-height: 180px;
  padding: 22px;
  border: 0;
  color: var(--ink);
  background: linear-gradient(135deg, var(--accent), #fff176);
  box-shadow: 0 20px 42px rgba(255, 174, 0, 0.26);
  text-align: center;
}

.game-link span {
  margin-bottom: 8px;
  color: #6b4d00;
  font-size: 0.9rem;
  font-weight: 800;
}

.game-link strong {
  font-size: 1.45rem;
}

.rules-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rules-list article {
  padding: 24px;
  border-radius: 28px;
}

.rules-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.03rem;
}

.rules-list p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.branch-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.branch-grid article {
  position: relative;
  min-height: 124px;
  padding: 50px 18px 18px;
  border-radius: 30px;
  font-weight: 900;
  line-height: 1.45;
}

.branch-grid article::before {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, #fff 0 22%, transparent 23%),
    linear-gradient(135deg, var(--primary), #14b8ff);
  box-shadow: 0 8px 18px rgba(0, 196, 140, 0.26);
  content: "";
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 28px clamp(18px, 5vw, 72px) 42px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--primary-dark);
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    border-radius: 28px;
  }

  .hero-grid,
  .join-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .benefit-grid,
  .rules-list,
  .branch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 16px;
  }

  .nav {
    display: block;
    padding: 12px;
  }

  .nav-links {
    justify-content: flex-start;
    margin-top: 14px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .event-time,
  .hero-actions,
  .button {
    width: 100%;
  }

  .event-time {
    border-radius: 24px;
  }

  .benefit-grid,
  .rules-list,
  .branch-grid,
  .countdown {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .footer {
    display: block;
  }

  .footer a {
    display: inline-block;
    margin-top: 10px;
  }
}
