@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;700&display=swap");

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

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

:root {
  --bg: #080821;
  --accent: #53dad4;
  --accent-bg: rgba(83, 218, 212, 0.1);
  --btn-text: #030e14;
  --white: #ffffff;
  --white-50: rgba(255, 255, 255, 0.5);
  --card-border: 3px solid #53dad4;
  --thumb-border: 2px solid #53dad4;
  --btn-shadow: 0px 0px 24px 0px rgba(83, 218, 212, 0.95);
  --thumb-shadow: 0px 0px 15px 0px rgba(83, 218, 212, 0.8);
  --content-width: 1200px;
  --content-pad: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--white);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
ul {
  list-style: none;
}

.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--btn-text);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  border: 2px solid var(--white);
  border-radius: 50px;
  padding: 24px 50px;
  box-shadow: var(--btn-shadow);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 250px;
  text-align: center;
}
.btn-cta:hover {
  transform: scale(1.04);
  box-shadow: 0px 0px 40px 6px rgba(83, 218, 212, 1);
}

.site-header {
  position: relative;
  z-index: 100;
  padding: 20px var(--content-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(var(--content-width) + var(--content-pad) * 2);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.logo:hover {
  opacity: 0.75;
}
.logo img {
  width: 30px;
  height: 30px;
}
.logo-name {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  transition: color 0.2s;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.site-nav a:hover {
  color: var(--accent);
}
.site-nav a:hover::after {
  width: 100%;
}

.site-footer {
  padding: 40px var(--content-pad) 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: calc(var(--content-width) + var(--content-pad) * 2);
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav a {
  font-size: 14px;
  color: var(--white);
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--accent);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer-socials a {
  transition: transform 0.2s ease;
  display: inline-flex;
}
.footer-socials a:hover {
  transform: scale(1.2) rotate(8deg);
}
.footer-socials a img {
  width: 40px;
  height: 40px;
}

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

.section-title-row {
  display: flex;
  align-items: center;
  gap: 30px;
}
.section-title-row .sparkle {
  width: 106px;
  height: 106px;
  flex-shrink: 0;
  animation: spin-slow 20s linear infinite;
}
.section-title-row h1,
.section-title-row h2 {
  font-size: 56px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
}

.hero {
  padding: 0 var(--content-pad) 60px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: calc(var(--content-width) + var(--content-pad) * 2);
  margin: 0 auto;
}

.hero-images {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 0px;
  flex-shrink: 0;
}
.hero-img-tall {
  width: 480px;
  height: 660px;
  object-fit: cover;
  object-position: top;
  border-radius: 26px;
  animation: float 7s ease-in-out infinite;
}
.hero-img-small {
  width: 183px;
  height: 104px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 580px;
}

.hero-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.hero-title-row h1 {
  font-size: 60px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  max-width: 444px;
}
.hero-title-row .sparkle {
  width: 106px;
  height: 106px;
  flex-shrink: 0;
  animation: spin-slow 20s linear infinite;
}

.hero-content p {
  max-width: 426px;
  line-height: 1.6;
}

.why-choose {
  background: var(--accent-bg);
  padding: 60px 0;
  overflow: hidden;
}

.why-choose-inner {
  display: flex;
  align-items: center;
  gap: 90px;
  max-width: calc(var(--content-width) + var(--content-pad) * 2);
  margin: 0 auto;
  padding: 0 var(--content-pad);
}

.why-left {
  flex: 0 0 470px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.why-right {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  border: var(--card-border);
  border-radius: 26px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 28px rgba(83, 218, 212, 0.4);
}
.feature-card img {
  width: 40px;
  height: 40px;
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.2;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.6;
}

.gallery {
  padding: 60px var(--content-pad);
  display: flex;
  align-items: flex-end;
  gap: 40px;
  max-width: calc(var(--content-width) + var(--content-pad) * 2);
  margin: 0 auto;
}

.gallery-left {
  flex: 0 0 760px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.gallery-thumbs {
  display: flex;
  gap: 20px;
}
.gallery-thumbs img {
  width: 240px;
  height: 386px;
  object-fit: cover;
  border-radius: 26px;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-thumbs img:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 0 28px rgba(83, 218, 212, 0.5);
}

.gallery-right {
  flex-shrink: 0;
}
.gallery-right img {
  width: 400px;
  height: 610px;
  object-fit: cover;
  border-radius: 26px;
}

.top-games {
  background: var(--accent-bg);
  padding: 60px 0;
  overflow: hidden;
}

.top-games-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: calc(var(--content-width) + var(--content-pad) * 2);
  margin: 0 auto;
  padding: 0 var(--content-pad);
}

.games-left {
  flex: 0 0 530px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.games-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 200px);
  gap: 20px;
}
.games-grid img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 22px;
  border: var(--thumb-border);
  box-shadow: var(--thumb-shadow);
}

.games-grid a,
.games-grid .game-card {
  position: relative;
  display: block;
  width: 200px;
  height: 200px;
  border-radius: 22px;
  border: var(--thumb-border);
  box-shadow: var(--thumb-shadow);
  overflow: hidden;
  flex-shrink: 0;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.games-grid .game-card:hover {
  box-shadow: 0px 0px 32px 6px rgba(83, 218, 212, 1);
  transform: scale(1.05) translateY(-3px);
}
.games-grid a img,
.games-grid .game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: none;
  box-shadow: none;
  display: block;
  transition: opacity 0.2s;
}
.games-grid .game-card:hover img {
  opacity: 0;
}

.game-card__name {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--btn-text);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.2s;
}
.game-card:hover .game-card__name {
  opacity: 1;
}

.cta-section {
  padding: 60px var(--content-pad);
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: calc(var(--content-width) + var(--content-pad) * 2);
  margin: 0 auto;
}

.cta-image {
  flex-shrink: 0;
}
.cta-image img {
  width: 372px;
  height: 460px;
  object-fit: cover;
  border-radius: 26px;
}

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

.contact-info {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.8;
}

@media (max-width: 900px) {
  :root {
    --content-pad: 15px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 15px;
  }

  .section-title-row .sparkle {
    width: 60px !important;
    height: 60px !important;
  }
  .section-title-row h1,
  .section-title-row h2 {
    font-size: 38px;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 15px 40px;
    gap: 20px;
  }
  .hero-images {
    gap: 20px;
  }
  .hero-img-small {
    width: 70px;
    height: 40px;
  }
  .hero-img-tall {
    width: 248px;
    height: 369px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-title-row {
    flex-direction: row;
    align-items: flex-start;
  }
  .hero-title-row h1 {
    font-size: 42px;
    max-width: 100%;
  }
  .hero-title-row .sparkle {
    width: 80px !important;
    height: 80px !important;
  }

  .why-choose {
    padding: 60px 0;
  }
  .why-choose-inner {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    padding: 0 15px;
  }
  .why-left {
    flex: none;
    width: 100%;
  }
  .why-right {
    grid-template-columns: 1fr;
  }

  .gallery {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 15px;
    gap: 30px;
  }
  .gallery-left {
    flex: none;
    width: 100%;
  }
  .gallery-thumbs {
    flex-direction: column;
    gap: 20px;
  }
  .gallery-thumbs img {
    width: 100%;
    height: 386px;
  }
  .gallery-right {
    width: 100%;
  }
  .gallery-right img {
    width: 100%;
    height: auto;
  }

  .top-games {
    padding: 60px 0;
  }
  .top-games-inner {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    padding: 0 15px;
  }
  .games-left {
    flex: none;
    width: 100%;
  }
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
  }
  .games-grid img {
    width: 100%;
    height: 157px;
  }
  .games-grid a,
  .games-grid .game-card {
    width: 100%;
    height: 157px;
  }

  .cta-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 15px;
    gap: 30px;
  }
  .cta-image img {
    width: 265px;
    height: 328px;
  }

  .site-footer {
    padding: 40px 15px 20px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 20px;
  }
}

.game-hero {
  background: var(--accent-bg);
  padding: 60px 0;
  overflow: hidden;
}

.game-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  max-width: calc(var(--content-width) + var(--content-pad) * 2);
  margin: 0 auto;
  padding: 0 var(--content-pad);
}

.game-hero-left {
  flex: 0 0 770px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.game-hero-screenshot {
  flex-shrink: 0;
}
.game-hero-screenshot img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 22px;
  border: var(--thumb-border);
  box-shadow: var(--thumb-shadow);
  display: block;
}

.game-second {
  padding: 60px var(--content-pad);
  max-width: calc(var(--content-width) + var(--content-pad) * 2);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.game-second-screenshot img {
  width: 540px;
  height: 340px;
  object-fit: cover;
  border-radius: 22px;
  border: var(--thumb-border);
  box-shadow: var(--thumb-shadow);
  display: block;
}

@media (max-width: 900px) {
  .game-hero {
    padding: 60px 0;
  }
  .game-hero-inner {
    flex-direction: column;
    gap: 30px;
    padding: 0 15px;
  }
  .game-hero-left {
    flex: none;
    width: 100%;
  }
  .game-hero-screenshot img {
    width: 280px;
    height: 280px;
  }

  .game-second {
    padding: 40px 15px;
  }
  .game-second-screenshot img {
    width: 100%;
    height: 208px;
  }
}

.policy-section {
  padding: 60px var(--content-pad);
  max-width: calc(var(--content-width) + var(--content-pad) * 2);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.policy-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.policy-body h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .policy-section {
    padding: 40px 15px;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 32px));
  background: #0d0e2a;
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 9999;
  box-shadow: 0 0 0 1.5px rgba(83, 218, 212, 0.25), 0 8px 40px rgba(0, 0, 0, 0.6);
}

.cookie-banner__icon {
  width: 70px;
  height: 70px;
}

.cookie-banner__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
}

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

.cookie-banner__btn {
  width: 100%;
  padding: 18px 24px;
  border-radius: 50px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid var(--accent);
  transition: opacity 0.2s;
}

.cookie-banner__btn:hover {
  opacity: 0.85;
}

.cookie-banner__btn--accept {
  background: var(--accent);
  color: var(--btn-text);
  box-shadow: var(--btn-shadow);
}

.cookie-banner__btn--settings {
  background: transparent;
  color: var(--white);
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 12px;
    padding: 20px 16px;
    border-radius: 16px;
  }
  .cookie-banner__title {
    font-size: 20px;
  }
  .hero-images {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-title-row,
  .hero-title-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
