* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: #111;
  background: #fff;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 680px;
}

.centred {
  text-align: center;
}

h1,
h2 {
  font-family: "Caprasimo", Georgia, serif;
  font-weight: 400;
}

h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

p {
  line-height: 1.55;
}


/* HERO */

.hero {
  padding: 35px 0;
  text-align: center;

  background-image:
    radial-gradient(
      circle at 50% 30%,
      rgba(255, 220, 80, .10),
      rgba(255, 120, 80, .07) 25%,
      rgba(120, 190, 255, .06) 50%,
      rgba(170, 120, 255, .04) 70%,
      transparent 82%
    ),
    linear-gradient(
      rgba(255, 255, 255, .82),
      rgba(255, 255, 255, .82)
    ),
    url("images/background.png");

  background-size:
    auto,
    auto,
    800px auto;

  background-repeat:
    no-repeat,
    repeat,
    repeat;
}

.hero-inner {
  max-width: 900px;
}

.hero-card {
  width: 260px;
  margin: 55px auto 35px;
  border-radius: 20px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, .14);
  transform: rotate(90deg);
}

.hero h1 {
  max-width: 720px;
  margin: 0 auto 16px;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.08;
}

.hero-copy {
  max-width: 650px;
  margin: 0 auto 24px;
  font-size: 19px;
  color: #333;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}


/* BUTTONS */

.button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.button-dark {
  background: #111;
  color: #fff;
}

.button-light {
  background: #fff;
  color: #111;
  border: 2px solid #111;
}


/* CARD DISPLAY */

.cards-section {
  padding: 15px 0 30px;
  overflow: hidden;

  background: linear-gradient(
    90deg,
    rgba(255, 90, 90, .16) 0%,
    rgba(255, 175, 70, .14) 20%,
    rgba(255, 225, 90, .13) 40%,
    rgba(90, 190, 120, .12) 60%,
    rgba(80, 170, 230, .14) 80%,
    rgba(155, 105, 220, .16) 100%
  );
}

.card-row {
  position: relative;
  height: 330px;
  max-width: 980px;
  margin: 0 auto;
}

.game-card {
  position: absolute;
  width: 190px;
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .16);
}

.card-one {
  left: 7%;
  top: 45px;
  transform: rotate(-8deg);
}

.card-two {
  left: 24%;
  top: 20px;
  transform: rotate(4deg);
}

.card-three {
  left: 41%;
  top: 55px;
  transform: rotate(-2deg);
  z-index: 3;
}

.card-four {
  left: 58%;
  top: 15px;
  transform: rotate(6deg);
  z-index: 2;
}

.card-five {
  left: 75%;
  top: 45px;
  transform: rotate(-5deg);
}

.swipe-hint {
  display: none;
}


/* GENERAL SECTIONS */

.section {
  padding: 60px 0;
}

.section-grey {
  background: #f7f7f7;
}

.section-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: #777;
}

.section h2 {
  margin: 0 0 26px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
}

.section > .wrap > p,
.narrow > p {
  font-size: 17px;
  color: #333;
}


/* SPOT BACKGROUND SECTION */

.spot-section {
  background-image:
    radial-gradient(
      circle at 50% 30%,
      rgba(255, 220, 80, .10),
      rgba(255, 120, 80, .07) 25%,
      rgba(120, 190, 255, .06) 50%,
      rgba(170, 120, 255, .04) 70%,
      transparent 82%
    ),
    linear-gradient(
      rgba(255, 255, 255, .82),
      rgba(255, 255, 255, .82)
    ),
    url("images/background.png");

  background-size:
    auto,
    auto,
    800px auto;

  background-repeat:
    no-repeat,
    repeat,
    repeat;
}


/* BUSINESS CTA */

.business-section {
  background: linear-gradient(
    135deg,
    rgba(255, 90, 90, .15) 0%,
    rgba(255, 180, 70, .14) 20%,
    rgba(255, 225, 90, .13) 40%,
    rgba(95, 190, 125, .12) 60%,
    rgba(80, 170, 230, .14) 80%,
    rgba(155, 105, 220, .15) 100%
  );
}


/* HOW IT WORKS */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.info-card {
  padding: 26px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
}

.info-card p {
  margin: 8px 0 0;
  font-size: 16px;
  color: #333;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-weight: 700;
}

.friends-line {
  margin: 28px 0 0;
  text-align: center;
  font-weight: 600;
  color: #111;
}


/* CONTACT */

.contact-logo {
  width: min(270px, 75%);
  margin: 0 auto 28px;
}


/* FOOTER */

footer {
  padding: 24px 0;
  border-top: 1px solid #e5e5e5;
}

.footer-simple {
  text-align: center;
}

.footer-simple p {
  margin: 0;
  font-size: 13px;
  color: #777;
}


/* MOBILE */

@media (max-width: 750px) {

  .wrap {
    width: min(100% - 28px, 1080px);
  }

  .hero {
    padding-top: 15px;

    background-size:
      auto,
      auto,
      700px auto;
  }

  .hero-card {
    width: 220px;
    margin: 45px auto 30px;
    border-radius: 17px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .section {
    padding: 45px 0;
  }

  .steps,
  .features {
    grid-template-columns: 1fr;
  }

  .cards-section {
    padding: 10px 0 35px;
  }

  .card-row {
    display: flex;
    position: static;
    height: auto;
    gap: 14px;
    overflow-x: auto;
    margin: 0;
    padding: 12px calc(50vw - 95px) 18px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .card-row::-webkit-scrollbar {
    display: none;
  }

  .game-card {
    position: static;
    flex: 0 0 190px;
    width: 190px;
    transform: none;
    border-radius: 14px;
    scroll-snap-align: center;
  }

  .swipe-hint {
    display: block;
    margin: 2px 0 0;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #888;
  }

  .spot-section {
    background-size:
      auto,
      700px auto;
  }

}
