:root {
  --brand-green: #043a00;
  --brand-green-light: #0f5c1d;
  --brand-blue: #005bab;
  --text-color: #1d2b1d;
  --muted-color: #4d5f70;
  --surface: #ffffff;
  --surface-alt: #f3f7f2;
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Ubuntu", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-color);
  background: var(--surface);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin: 0 auto;
}

.hero {
  position: relative;
  background: url("shutterstock-1618412827-10.png") center/cover no-repeat;
  color: #ffffff;
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero__logo {
  width: clamp(200px, 35vw, 320px);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.4));
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
}

.hero p {
  margin: 0;
  max-width: 620px;
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  line-height: 1.5;
  opacity: 0.9;
}

.hero__stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.store-link img {
  width: clamp(180px, 25vw, 240px);
  height: auto;
}

.store-link:hover,
.store-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
}

.partnership {
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
}

.partnership__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 8vw, 4rem);
  flex-wrap: wrap;
}

.partnership__inner img {
  height: clamp(80px, 12vw, 120px);
  width: auto;
}

.partnership__carrefour {
  max-width: 320px;
}

.partnership__divider {
  width: 1px;
  height: clamp(60px, 10vw, 100px);
  background: rgba(0, 0, 0, 0.08);
}

.game-section {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}

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

.game-section__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.game-section__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.game-section__logo {
  width: clamp(140px, 25vw, 200px);
  height: auto;
}

.game-section__content p {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--muted-color);
  margin: 0;
}

.game-section__phones {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 2.5rem);
  position: relative;
}

.game-section__phones--reverse {
  order: -1;
}

.phone {
  position: relative;
  width: clamp(180px, 28vw, 220px);
  transition: transform 0.3s ease;
}

.phone--offset {
  transform: translateY(30px);
}

.phone__frame {
  width: 100%;
  border-radius: 34px;
  box-shadow: 0 18px 38px rgba(13, 42, 21, 0.22);
}

.phone__screen {
  position: absolute;
  top: 4.5%;
  left: 10.5%;
  width: 79%;
  height: 90.5%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.site-footer {
  background: var(--brand-green);
  color: rgba(255, 255, 255, 0.86);
  padding: 2.5rem 0;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.site-footer__link {
  color: inherit;
  text-decoration: underline;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: #ffffff;
}

@media (max-width: 960px) {
  .game-section__inner {
    grid-template-columns: 1fr;
  }

  .game-section__phones--reverse {
    order: 0;
  }

  .phone--offset {
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .hero__stores {
    gap: 0.75rem;
  }

  .store-link img {
    width: 180px;
  }

  .partnership__divider {
    display: none;
  }

  .game-section__phones {
    flex-wrap: wrap;
  }

  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
