:root {
  --bg: #f4f8fb;
  --ink: #14243a;
  --muted: #4b5f77;
  --panel: #ffffff;
  --line: #d4e0ec;
  --brand: #115e8a;
  --brand-2: #1e7a62;
  --brand-3: #f09a3e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #ffffff 0%, #eef5fb 48%, #edf7f4 100%);
  line-height: 1.58;
}

a {
  color: var(--brand);
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
}

.hero {
  padding: 3rem 0 2rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
}

.lead {
  color: var(--muted);
  max-width: 68ch;
  font-size: 1.05rem;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.1rem;
  background: linear-gradient(110deg, var(--brand), var(--brand-2));
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
}

.button:hover {
  filter: brightness(1.06);
}

.section {
  padding: 2rem 0;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.two-col {
  grid-template-columns: 1.2fr 1fr;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 30px rgba(17, 94, 138, 0.07);
}

.hero .media-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.game-card {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.game-card img.icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  flex: 0 0 auto;
}

.game-card h3 {
  margin: 0 0 0.3rem;
}

.shot {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: block;
  background: #fff;
}

.index-hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

.shot-stack {
  position: relative;
  width: 230px;
  height: 250px;
}

.shot-stack .shot {
  width: 158px;
  position: absolute;
  border-radius: 18px;
}

.shot-stack .shot-back {
  right: 10px;
  top: 8px;
  transform: rotate(7deg);
  opacity: 0.92;
  box-shadow: 0 14px 26px rgba(20, 36, 58, 0.2);
  z-index: 1;
}

.shot-stack .shot-front {
  left: 14px;
  top: 44px;
  transform: rotate(-6deg);
  box-shadow: 0 18px 34px rgba(20, 36, 58, 0.28);
  z-index: 2;
}

.hero .media-frame .shot {
  width: min(34%, 118px);
  transform: rotate(-6deg);
  border-radius: 20px;
  box-shadow: 0 14px 26px rgba(20, 36, 58, 0.22);
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--brand-2);
  margin: 0 0 0.35rem;
}

footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer .container {
  padding: 1.1rem 0;
}

ul.tight {
  margin-top: 0.45rem;
}

@media (max-width: 900px) {
  .three-col,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero .media-frame {
    min-height: 0;
  }

  .hero .media-frame .shot {
    width: min(38vw, 140px);
    transform: none;
  }

  .index-hero-media {
    min-height: 0;
  }

  .shot-stack {
    width: auto;
    height: auto;
  }

  .shot-stack .shot {
    position: static;
    width: min(44vw, 150px);
    transform: none;
    margin: 0 auto;
    display: block;
  }

  .shot-stack .shot-back {
    display: none;
  }
}
