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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #000430 0%, #111759 51.442%, #000430 100%);
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

.header {
  padding: 20px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 30px;
  height: 30px;
}

.logo span {
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

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

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

.nav a:hover {
  opacity: 0.8;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px 50px;
  background: linear-gradient(180deg, #ff3535 0%, #fc8403 100%);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 60px;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 16px;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  opacity: 0.9;
}

.section-title {
  font-weight: 900;
  line-height: 1.2;
  color: #fc8403;
  text-transform: uppercase;
}

.section-title--large {
  font-size: 70px;
}

.section-text {
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  line-height: normal;
}

.hero {
  padding-top: 56px;
  padding-bottom: 60px;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  width: 702px;
  flex-shrink: 0;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-title {
  font-weight: 900;
  font-size: 72px;
  line-height: 1.2;
  color: #fc8403;
  text-transform: uppercase;
}

.hero-img {
  width: 478px;
  height: 643px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.hero-img img {
  position: absolute;
  width: 142.72%;
  height: 105.98%;
  top: -2.76%;
  left: -19.2%;
  max-width: none;
}

.top-performers {
  padding: 60px 0;
}

.top-performers .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.top-performers-header {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.top-performers-img {
  width: 339px;
  height: 427px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

.top-performers-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-performers-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  width: 831px;
}

.top-performers-title {
  font-size: 70px;
}

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

.games-col-pair {
  display: flex;
  gap: 20px;
  align-items: center;
}

.games-col-small {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 160px;
}

.games-col-small .game-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 28px;
  overflow: hidden;
}

.games-col-small .game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-thumb-large {
  width: 340px;
  height: 340px;
  border-radius: 28px;
  overflow: hidden;
  flex-shrink: 0;
}

.game-thumb-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.joystick-icon {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.joystick-icon img {
  position: absolute;
  width: 141.81%;
  height: 141.81%;
  top: -20.62%;
  left: -18.69%;
  max-width: none;
}

.why-stand-out {
  padding: 60px 0;
}

.why-stand-out .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.why-stand-out-img {
  width: 550px;
  height: 433px;
  border-radius: 30px;
  overflow: hidden;
  flex-shrink: 0;
}

.why-stand-out-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-stand-out-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  width: 590px;
}

.why-stand-out-title {
  font-size: 70px;
}

.stats-grid {
  display: flex;
  align-items: flex-end;
  gap: 15px;
}

.stats-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 285px;
}

.stat-card {
  background: #ffffff;
  border: 3px solid #fc8403;
  border-radius: 20px;
  padding: 17px;
  overflow: hidden;
  color: #242424;
}

.stat-card--small {
  height: 104px;
}

.stat-card--medium {
  height: 125px;
}

.stat-number {
  font-weight: 900;
  font-size: 34px;
  line-height: normal;
  color: #242424;
}

.stat-label {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  color: #242424;
}

.why-choose {
  padding: 60px 0;
}

.why-choose .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.why-choose-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  max-width: 972px;
}

.why-choose-title {
  font-size: 70px;
}

.why-choose-cards {
  display: flex;
  gap: 20px;
  align-items: center;
  width: 100%;
}

.why-choose-card {
  background: #ffffff;
  border: 3px solid #fc8403;
  border-radius: 20px;
  padding: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  width: 387px;
}

.why-choose-card-icon {
  width: 60px;
  height: 60px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.why-choose-card-icon img {
  position: absolute;
  width: 141.81%;
  height: 141.81%;
  top: -20.62%;
  left: -18.69%;
  max-width: none;
}

.why-choose-card-title {
  font-weight: 900;
  font-size: 34px;
  line-height: normal;
  color: #fc8403;
}

.why-choose-card-text {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  color: #242424;
}

.why-choose-banner {
  width: 1200px;
  max-width: 100%;
  height: 269px;
  border-radius: 30px;
  overflow: hidden;
}

.why-choose-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contacts {
  padding: 60px 0;
}

.contacts .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contacts-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 798px;
}

.contacts-text-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

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

.contacts-info {
  font-weight: 700;
  font-size: 20px;
  color: #fc8403;
  line-height: normal;
}

.contacts-banner {
  width: 1200px;
  max-width: 100%;
  height: 269px;
  border-radius: 30px;
  overflow: hidden;
}

.contacts-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  padding: 20px 0 20px;
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

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

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

.footer-nav a:hover {
  opacity: 0.8;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: block;
  overflow: hidden;
}

.social-links a img {
  width: 100%;
  height: 100%;
}

.copyright {
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.policy {
  padding: 56px 0 60px;
}

.policy .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  max-width: 997px;
}

.policy-title {
  font-size: 70px;
}

.policy-text {
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  line-height: normal;
}

.policy-text p {
  margin-bottom: 14px;
}

.policy-text p:last-child {
  margin-bottom: 0;
}

.game-detail {
  padding: 56px 0 60px;
}

.game-detail .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.game-detail-hero {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.game-detail-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  width: 831px;
}

.game-detail-title {
  font-size: 70px;
}

.game-detail-img {
  width: 300px;
  height: 300px;
  border-radius: 28px;
  overflow: hidden;
  flex-shrink: 0;
}

.game-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-detail-dynamics {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  padding-top: 60px;
  width: 100%;
}

.game-detail-dynamics-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  max-width: 972px;
  text-align: center;
}

.game-detail-dynamics-title {
  font-size: 70px;
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .nav {
    gap: 20px;
  }

  .hero {
    padding-top: 20px;
  }

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

  .hero-content {
    width: 100%;
  }

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

  .hero-img {
    width: 100%;
    height: 443px;
  }

  .top-performers-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .top-performers-img {
    width: 255px;
    height: 320px;
  }

  .top-performers-info {
    width: 100%;
  }

  .top-performers-title {
    font-size: 32px;
  }

  .games-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .games-col-pair {
    gap: 15px;
  }

  .games-col-small {
    width: 154px;
  }

  .games-col-small .game-thumb {
    width: 154px;
    height: 154px;
  }

  .game-thumb-large {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .joystick-icon {
    display: block;
  }

  .why-stand-out .container {
    flex-direction: column;
    gap: 30px;
  }

  .why-stand-out-img {
    width: 100%;
    height: auto;
    aspect-ratio: 530 / 417;
  }

  .why-stand-out-content {
    width: 100%;
  }

  .why-stand-out-title {
    font-size: 32px;
  }

  .stats-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-card-single {
    width: 285px;
  }

  .why-choose-title {
    font-size: 32px;
  }

  .why-choose-cards {
    flex-direction: column;
  }

  .why-choose-card {
    width: 100%;
  }

  .why-choose-card-title {
    font-size: 24px;
  }

  .why-choose-banner {
    height: 238px;
  }

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

  .contacts-banner {
    height: 269px;
  }

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

  .section-title--large {
    font-size: 32px;
  }

  .policy-title {
    font-size: 32px;
  }

  .game-detail {
    padding-top: 20px;
  }

  .game-detail-hero {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 30px;
  }

  .game-detail-info {
    width: 100%;
  }

  .game-detail-title {
    font-size: 32px;
  }

  .game-detail-dynamics-title {
    font-size: 32px;
  }
}

/* ===================== Animations & hover effects ===================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes cookieFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating imagery */
.hero-img img {
  animation: floaty 6s ease-in-out infinite;
}

.joystick-icon {
  animation: floaty 5s ease-in-out infinite;
}

/* Buttons */
.btn-primary {
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.btn-primary:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(252, 132, 3, 0.45);
}

.btn-primary:active {
  transform: translateY(-1px);
}

/* Game cards */
.game-thumb,
.game-thumb-large {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.game-thumb:hover,
.game-thumb-large:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

.game-thumb img,
.game-thumb-large img {
  transition: transform 0.5s ease;
}

.game-thumb:hover img,
.game-thumb-large:hover img {
  transform: scale(1.08);
}

/* Links / logo / socials */
.nav a,
.footer-nav a {
  transition: opacity 0.3s ease, color 0.3s ease;
}

.logo {
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.04);
}

.social-links a {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px) scale(1.1);
  opacity: 0.85;
}

/* ===================== Cookie consent banner ===================== */
.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 4, 48, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: cookieFadeIn 0.4s ease;
}

.cookie-overlay.hidden {
  display: none;
}

.cookie-overlay.closing {
  animation: cookieFadeIn 0.3s ease reverse forwards;
}

.cookie-card {
  background: #ffffff;
  border-radius: 30px;
  padding: 45px 40px;
  max-width: 720px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  animation: cookieSlideUp 0.5s ease;
}

.cookie-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 22px;
}

.cookie-title {
  font-weight: 900;
  font-size: 32px;
  line-height: 1.2;
  color: #000430;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.cookie-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: #000430;
  margin-bottom: 26px;
}

.cookie-accept {
  width: 100%;
  margin-bottom: 16px;
}

.cookie-manage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 22px 50px;
  background: #ffffff;
  border: 2px solid #000430;
  border-radius: 60px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #000430;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.cookie-manage:hover {
  background: #000430;
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cookie-card {
    padding: 32px 22px;
    border-radius: 24px;
  }

  .cookie-title {
    font-size: 26px;
  }

  .cookie-text {
    font-size: 14px;
  }

  .cookie-accept,
  .cookie-manage {
    padding: 18px 30px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-img img,
  .joystick-icon {
    animation: none;
  }
}
