@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;600;700;800&display=swap');

:root {
  --pink: #ff83a2;
  --black: #000;
  --white: #fff;
  --muted: rgba(0, 0, 0, 0.6);
}

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

body {
  font-family: 'Oxanium', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; }
a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }

.btn {
  display: inline-block;
  background: var(--pink);
  color: var(--black);
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 20px 60px;
  border-radius: 10px;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
  border-right: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  max-width: 200px;
}

.header {
  background: var(--pink);
  padding: 20px 84px;
}

.nav-card {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 60px;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
  border-right: 1px solid var(--black);
  border-bottom: 3px solid var(--black);
  overflow: hidden;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 24px;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  padding: 30px 84px 60px;
  max-width: 1368px;
  margin: 0 auto;
}

.hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.hero-img-wrap {
  width: 557px;
  height: 618px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.hero-img-wrap img {
  position: absolute;
  left: -9.4%;
  top: -4.25%;
  width: 118.69%;
  height: 108.5%;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
  padding-top: 20px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  color: var(--pink);
  text-transform: uppercase;
  line-height: 1.1;
  width: 100%;
}

.hero-bottom {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  width: 100%;
}

.hero-text {
  flex-shrink: 0;
  width: 285px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-text p {
  font-size: 14px;
  line-height: 1.6;
}

.hero-deco {
  flex: 1;
  height: 289px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.hero-deco img {
  position: absolute;
  left: -26.16%;
  top: 0;
  width: 152.32%;
  height: 100%;
}

.about {
  padding: 0 84px 60px;
  max-width: 1368px;
  margin: 0 auto;
}

.about-inner {
  display: flex;
  gap: 105px;
  align-items: center;
}

.about-left {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-shrink: 0;
}

.about-text-col {
  width: 265px;
  height: 466px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.about-icon {
  flex-shrink: 0;
}

.about-img-wrap {
  width: 358px;
  height: 466px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.about-img-wrap img {
  position: absolute;
  left: -24.86%;
  top: -7.51%;
  width: 149.72%;
  height: 115.02%;
}

.about-right {
  max-width: 432px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-right p {
  font-size: 14px;
  line-height: 1.6;
}

.section-title-pink {
  font-size: 54px;
  font-weight: 800;
  color: var(--pink);
  text-transform: uppercase;
  line-height: 1.1;
}

.games {
  background: var(--pink);
  overflow: hidden;
}

.games-inner {
  max-width: 1368px;
  margin: 0 auto;
  padding: 60px 84px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.games-heading {
  max-width: 1071px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.section-title-white {
  font-size: 54px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
}

.section-body-white {
  font-size: 14px;
  color: var(--white);
  line-height: 1.6;
}

.games-grid {
  position: relative;
  width: 1200px;
  height: 540px;
  flex-shrink: 0;
}

.games-row {
  position: absolute;
  display: flex;
  gap: 20px;
  align-items: center;
}

.games-row-1 {
  top: 0;
  left: 0;
}

.games-row-2 {
  top: 280px;
  left: 380px;
}

.game-card {
  width: 260px;
  height: 260px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 20px 0 rgba(255, 255, 255, 0.5);
}

.game-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card-label {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-card-label {
  opacity: 1;
}

.game-card:hover {
  box-shadow: 0 0 30px 6px rgba(255, 255, 255, 0.85);
}

.advantages {
  padding: 60px 84px;
  max-width: 1368px;
  margin: 0 auto;
}

.advantages-inner {
  display: flex;
  gap: 40px;
  align-items: center;
}

.advantages-left {
  width: 662px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.adv-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.adv-content > p {
  font-size: 14px;
  line-height: 1.6;
}

.adv-cards {
  width: 585px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-content: flex-start;
}

.adv-card {
  width: 285px;
  background: var(--white);
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
  border-right: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  border-radius: 24px;
  padding: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  text-align: center;
}

.adv-card-full {
  width: 100%;
}

.adv-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.adv-icon img {
  position: absolute;
  left: -23.31%;
  top: -23.31%;
  width: 146.62%;
  height: 146.62%;
}

.adv-card-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.adv-card-body {
  font-size: 14px;
  line-height: 1.5;
}

.advantages-right {
  flex: 1;
  height: 711px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.advantages-right img {
  position: absolute;
  left: -15.87%;
  top: -12.99%;
  width: 131.74%;
  height: 125.98%;
}

.faq {
  padding: 60px 84px;
  max-width: 1368px;
  margin: 0 auto;
}

.faq-inner {
  max-width: 942px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.faq-intro {
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.faq-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--white);
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
  border-right: 1px solid var(--black);
  border-bottom: 3px solid var(--black);
  border-radius: 24px;
  padding: 20px;
  overflow: hidden;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  cursor: pointer;
  user-select: none;
}

.faq-text {
  flex: 1;
}

.faq-q {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.faq-a {
  font-size: 14px;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.4s ease;
  margin-top: 0;
}

.faq-item.is-open .faq-a {
  max-height: 300px;
  opacity: 1;
  margin-top: 10px;
}

.faq-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  margin-top: 4px;
  transition: transform 0.35s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.contacts {
  background: var(--pink);
  overflow: hidden;
}

.contacts-inner {
  max-width: 1368px;
  margin: 0 auto;
  padding: 60px 84px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.contacts-title {
  font-size: 54px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
}

.contacts-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  max-width: 800px;
}

.contacts-body p {
  font-size: 14px;
  color: var(--white);
  line-height: 1.6;
}

.contacts-details p {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
}

.contacts-img-wrap {
  width: 418px;
  height: 432px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.contacts-img-wrap img {
  position: absolute;
  left: -6.36%;
  top: -4.44%;
  width: 112.71%;
  height: 108.88%;
}

.footer {
  background: var(--pink);
  padding: 20px 84px;
}

.footer-card {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 30px;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
  border-right: 1px solid var(--black);
  border-bottom: 3px solid var(--black);
  overflow: hidden;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

.footer-socials {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link img {
  width: 40px;
  height: 40px;
}

.footer-copy {
  font-size: 14px;
  color: var(--muted);
}

.cookie-overlay {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 40px);
  max-width: 580px;
}

.cookie-banner {
  background: var(--white);
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
  border-right: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  border-radius: 24px;
  padding: 30px 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.cookie-banner-icon {
  width: 80px;
  height: 80px;
}

.cookie-banner-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--black);
}

.cookie-banner-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--black);
}

.cookie-btn {
  width: 100%;
  padding: 20px;
  border-radius: 10px;
  font-family: 'Oxanium', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
  border-right: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
}

.cookie-btn-accept {
  background: var(--pink);
  color: var(--black);
}

.cookie-btn-decline {
  background: var(--white);
  color: var(--black);
}

@media (max-width: 768px) {

  .header {
    padding: 20px 15px;
  }

  .nav-card {
    border-radius: 26px;
  }

  .nav-inner {
    height: auto;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    align-items: center;
  }

  .nav-links {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    justify-content: center;
  }

  .burger {
    display: none;
  }

  .hero {
    padding: 20px 15px 40px;
  }

  .hero-inner {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .hero-img-wrap {
    width: 269px;
    height: 298px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-text {
    width: 100%;
  }

  .hero-deco {
    width: 158px;
    height: 161px;
    flex: none;
  }

  .about {
    padding: 0 15px 40px;
  }

  .about-inner {
    flex-direction: column;
    gap: 30px;
  }

  .about-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .about-text-col {
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .section-title-pink {
    font-size: 28px;
  }

  .about-icon {
    width: 60px;
    height: 60px;
  }

  .about-img-wrap {
    width: 190px;
    height: 248px;
  }

  .about-right {
    max-width: 100%;
    width: 100%;
  }

  .games-inner {
    padding: 60px 15px;
    max-width: 360px;
  }

  .games-heading {
    max-width: 100%;
  }

  .section-title-white {
    font-size: 28px;
  }

  .games-grid {
    width: 330px;
    height: auto;
    position: static;
    display: flex;
    gap: 15px;
    flex-shrink: 1;
  }

  .games-row {
    position: static;
    flex-direction: column;
    flex: 1;
    gap: 20px;
  }

  .game-card {
    width: 157px;
    height: 157px;
  }

  .advantages {
    padding: 40px 15px;
  }

  .advantages-inner {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }

  .advantages-left {
    width: 100%;
  }

  .adv-cards {
    width: 100%;
    flex-direction: column;
  }

  .adv-card,
  .adv-card-full {
    width: 100%;
  }

  .advantages-right {
    width: 283px;
    height: 405px;
    align-self: center;
    flex: none;
  }

  .faq {
    padding: 40px 15px;
  }

  .faq-inner .section-title-pink {
    font-size: 28px;
  }

  .contacts-inner {
    padding: 60px 15px;
    max-width: 360px;
  }

  .contacts-title {
    font-size: 28px;
  }

  .contacts-details p {
    font-size: 18px;
  }

  .contacts-img-wrap {
    width: 330px;
    height: 342px;
  }

  .footer {
    padding: 20px 15px;
  }

  .footer-card {
    border-radius: 30px;
    padding: 20px;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

html {
  scroll-behavior: smooth;
}

.btn {
  transition: transform 0.15s ease;
}
.btn:hover {
  transform: translate(-1px, -2px);
}
.btn:active {
  transform: translate(2px, 2px);
  border-bottom-width: 1px;
  border-right-width: 1px;
}

.logo {
  transition: transform 0.2s ease;
}
.logo:hover {
  transform: scale(1.04);
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width 0.25s ease;
}
.nav-links a:hover {
  color: var(--pink);
}
.nav-links a:hover::after {
  width: 100%;
}

.footer-nav a {
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: var(--pink);
}

.social-link {
  transition: transform 0.2s ease;
}
.social-link:hover {
  transform: scale(1.15);
}

.adv-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.adv-card:hover {
  transform: translate(-1px, -4px);
  box-shadow: 4px 7px 0 rgba(0, 0, 0, 0.12);
}

.faq-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.faq-item:hover {
  transform: translate(-1px, -3px);
  box-shadow: 3px 6px 0 rgba(0, 0, 0, 0.1);
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes img-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

@keyframes img-float-down {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(16px); }
}

@keyframes img-drift {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(-14px); }
}

.hero-img-wrap img {
  animation: img-float 7s ease-in-out infinite;
}

.hero-deco img {
  animation: img-drift 9s ease-in-out infinite;
  animation-delay: -4s;
}

.about-img-wrap img {
  animation: img-float 8s ease-in-out infinite;
  animation-delay: -3s;
}

.advantages-right img {
  animation: img-float-down 10s ease-in-out infinite;
  animation-delay: -5s;
}

.contacts-img-wrap img {
  animation: img-float 8s ease-in-out infinite;
  animation-delay: -2s;
}
