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

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

html, body {
  background-color: #0e0e0e;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

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

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

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

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.site-header {
  background: #0e0e0e;
  position: relative;
  z-index: 100;
}

.site-header-inner {
  max-width: 1368px;
  margin: 0 auto;
  padding: 20px 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  transition: opacity 0.2s;
}

.logo:hover { opacity: 0.8; }

.logo img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.logo:hover img { transform: rotate(-8deg) scale(1.1); }

.logo-text {
  font-family: 'Luckiest Guy', cursive;
  font-size: 24px;
  color: #fff;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 20px;
  font-family: 'Luckiest Guy', cursive;
  font-size: 14px;
  color: #fff;
}

.nav a {
  position: relative;
  transition: color 0.2s;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #ffae00;
  transition: width 0.25s;
}

.nav a:hover { color: #ffae00; }
.nav a:hover::after { width: 100%; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px 40px;
  background: linear-gradient(90deg, #ffae00 0%, #ff5e00 100%);
  border: 2px solid #fff;
  border-radius: 60px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  flex-shrink: 0;
  max-width: 190px;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(255, 94, 0, 0.45);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}

.hero {
  background: #e7d2aa;
  overflow: hidden;
  position: relative;
  min-height: 799px;
}

.hero-inner {
  max-width: 1368px;
  margin: 0 auto;
  padding: 101px 84px 60px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  position: relative;
}

.hero-content {
  width: 748px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  animation: fadeInUp 0.8s ease both;
}

.hero-title {
  font-family: 'Luckiest Guy', cursive;
  font-size: 80px;
  line-height: 1.05;
  color: #0e0e0e;
}

.hero-desc {
  font-size: 14px;
  color: #0e0e0e;
  max-width: 681px;
  line-height: 1.65;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 60px;
  width: 480px;
  height: 679px;
  overflow: hidden;
  pointer-events: none;
  animation: fadeIn 1s ease 0.3s both;
}

.hero-image img {
  position: absolute;
  width: 153%;
  height: 111%;
  top: -6.33%;
  left: -26.87%;
  max-width: none;
  object-fit: cover;
}

.section-story {
  position: relative;
  overflow: hidden;
  padding: 50px 0 80px;
}

.section-story-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-story-bg img {
  width: 100%;
  height: 97%;
  object-fit: cover;
  position: absolute;
  bottom: 0;
  left: 0;
}

.section-story-inner {
  position: relative;
  z-index: 1;
  max-width: 1368px;
  margin: 0 auto;
  padding: 0 84px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.story-text-block {
  max-width: 1005px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  width: 100%;
}

.section-title {
  font-family: 'Luckiest Guy', cursive;
  font-size: 74px;
  color: #fff;
  text-shadow: 0 5px 4px rgba(0,0,0,0.35);
  line-height: 1.05;
}

.section-desc {
  font-size: 14px;
  color: #fff;
  line-height: 1.65;
}

.story-images {
  display: flex;
  gap: 30px;
  justify-content: center;
  max-width: 1140px;
  margin: 0 auto;
}

.story-img {
  width: 500px;
  height: 532px;
  border-radius: 30px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.35s, box-shadow 0.35s;
}

.story-img:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.45);
}

.section-favorites {
  padding: 80px 84px;
}

.catalog-favorites {
  padding-top: 40px;
}

.favorites-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.favorites-left {
  flex: 0 0 781px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 200px);
  gap: 20px;
  max-width: 640px;
}

.game-thumb {
  width: 200px;
  height: 200px;
  border-radius: 26px;
  border: 6px solid #ffae00;
  object-fit: cover;
  display: block;
}

.favorites-right {
  flex: 0 0 389px;
  height: 667px;
  position: relative;
  overflow: hidden;
}

.favorites-right img {
  position: absolute;
  width: 175%;
  height: 105%;
  top: -2.92%;
  left: -37.71%;
  max-width: none;
  object-fit: cover;
}

.section-numbers {
  padding: 80px 84px;
}

.numbers-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 65px;
}

.numbers-image {
  flex: 0 0 399px;
  height: 771px;
  position: relative;
  overflow: hidden;
}

.numbers-image img {
  position: absolute;
  width: 112.88%;
  height: 100%;
  top: 0;
  left: -8.74%;
  max-width: none;
  object-fit: cover;
}

.numbers-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-card {
  background: #fff;
  border-radius: 26px;
  padding: 40px 20px;
  width: 335px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255,174,0,0.3);
}

.stat-number {
  font-family: 'Luckiest Guy', cursive;
  font-size: 55px;
  color: #ffae00;
  line-height: 1;
  text-align: center;
}

.stat-desc {
  font-size: 14px;
  color: #0e0e0e;
  text-align: center;
  line-height: 1.5;
}

.section-cta {
  position: relative;
  overflow: hidden;
  padding: 50px 0 80px;
}

.section-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-cta-bg img {
  width: 100%;
  height: 97%;
  object-fit: cover;
  position: absolute;
  bottom: 0;
  left: 0;
}

.section-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1368px;
  margin: 0 auto;
  padding: 0 84px;
}

.cta-flex {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 65px;
}

.cta-left {
  flex: 0 0 736px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cta-title {
  font-family: 'Luckiest Guy', cursive;
  font-size: 74px;
  color: #fff;
  text-shadow: 0 5px 4px rgba(0,0,0,0.35);
  line-height: 1.05;
}

.contact-card {
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  display: inline-block;
  transition: transform 0.25s, box-shadow 0.25s;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.contact-card p {
  font-family: 'Luckiest Guy', cursive;
  font-size: 20px;
  color: #ffae00;
  line-height: 1.5;
}

.cta-image {
  flex: 0 0 399px;
  height: 353px;
  position: relative;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-game-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 0;
}

.section-game-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-game-hero-bg img {
  width: 100%;
  height: 97%;
  object-fit: cover;
  position: absolute;
  bottom: 0;
  left: 0;
}

.section-game-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1368px;
  margin: 0 auto;
  padding: 50px 84px 60px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.game-hero-content {
  flex: 0 0 790px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  animation: fadeInUp 0.8s ease both;
}

.game-hero-title {
  font-family: 'Luckiest Guy', cursive;
  font-size: 74px;
  color: #fff;
  text-shadow: 0 5px 4px rgba(0,0,0,0.35);
  line-height: 1.05;
}

.game-thumbnail {
  width: 380px;
  height: 380px;
  border-radius: 26px;
  border: 6px solid #ffae00;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeIn 0.8s ease 0.3s both;
}

.game-thumbnail:hover {
  transform: scale(1.04) rotate(1deg);
  box-shadow: 0 20px 48px rgba(255,174,0,0.4);
}

.section-game-detail {
  padding: 60px 84px 80px;
}

.section-game-detail-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.game-detail-text {
  max-width: 1005px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.game-screenshot {
  width: 752px;
  height: 351px;
  border-radius: 30px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s, box-shadow 0.3s;
}

.game-screenshot:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.section-policy {
  padding: 80px 0 100px;
}

.section-policy-inner {
  max-width: 1368px;
  margin: 0 auto;
  padding: 0 84px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.policy-title {
  font-family: 'Luckiest Guy', cursive;
  font-size: 74px;
  color: #fff;
  text-shadow: 0 5px 4px rgba(0,0,0,0.35);
  line-height: 1.05;
}

.policy-body {
  font-size: 14px;
  color: #fff;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.policy-entry {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.game-card {
  display: block;
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 26px;
  border: 6px solid #ffae00;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.game-card:hover {
  transform: scale(1.07);
  box-shadow: 0 12px 36px rgba(255,174,0,0.5);
  border-color: #ff5e00;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s;
}

.game-card:hover img {
  opacity: 0;
}

.game-card-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffae00;
  font-family: 'Luckiest Guy', cursive;
  font-size: 18px;
  color: #0e0e0e;
  text-align: center;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.25s;
  line-height: 1.2;
}

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

.site-footer {
  background: #0e0e0e;
}

.site-footer-inner {
  max-width: 1368px;
  margin: 0 auto;
  padding: 40px 84px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  font-family: 'Luckiest Guy', cursive;
  font-size: 14px;
  color: #fff;
  flex-wrap: wrap;
}

.footer-nav a {
  position: relative;
  transition: color 0.2s;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #ffae00;
  transition: width 0.25s;
}

.footer-nav a:hover { color: #ffae00; }
.footer-nav a:hover::after { width: 100%; }

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

.footer-socials a {
  transition: transform 0.2s, opacity 0.2s;
}

.footer-socials a:hover {
  transform: scale(1.2) rotate(-5deg);
  opacity: 0.85;
}

.footer-socials a img {
  width: 40px;
  height: 40px;
}

.footer-copy {
  font-family: 'Luckiest Guy', cursive;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {

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

  .nav {
    gap: 20px;
  }

  .hero {
    min-height: unset;
  }

  .hero-inner {
    padding: 60px 15px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-width: 100%;
  }

  .hero-image {
    position: relative;
    right: auto;
    top: auto;
    width: 259px;
    height: 367px;
    order: -1;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .hero-image img {
    width: 153%;
    height: 111%;
    top: -6.33%;
    left: -26.87%;
  }

  .hero-content {
    width: 100%;
    padding-top: 0;
  }

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

  .hero-desc {
    max-width: 100%;
  }

  .section-story {
    padding: 50px 0 60px;
  }

  .section-story-inner {
    padding: 0 15px;
  }

  .story-text-block {
    text-align: center;
    align-items: center;
  }

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

  .story-images {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .story-img {
    width: 300px;
    height: 319px;
  }

  .section-favorites {
    padding: 60px 15px;
  }

  .catalog-favorites {
    padding-top: 30px;
  }

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

  .favorites-left {
    flex: none;
    width: 100%;
  }

  .games-grid {
    grid-template-columns: repeat(2, 157px);
    gap: 15px;
    max-width: 330px;
  }

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

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

  .favorites-right {
    flex: none;
    width: 249px;
    height: 427px;
  }

  .favorites-right img {
    width: 175%;
    height: 105%;
    top: -2.92%;
    left: -37.71%;
  }

  .section-numbers {
    padding: 60px 15px;
  }

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

  .numbers-image {
    flex: none;
    width: 238px;
    height: 460px;
  }

  .numbers-image img {
    width: 112.88%;
    height: 100%;
    top: 0;
    left: -8.74%;
  }

  .numbers-right {
    width: 100%;
  }

  .stat-card {
    width: 100%;
    padding: 20px;
  }

  .section-cta {
    padding: 50px 0 60px;
  }

  .section-cta-inner {
    padding: 0 15px;
  }

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

  .cta-left {
    flex: none;
    width: 100%;
  }

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

  .contact-card {
    width: 100%;
  }

  .contact-card p {
    font-size: 20px;
  }

  .cta-image {
    flex: none;
    width: 260px;
    height: 230px;
  }

  .site-footer-inner {
    padding: 40px 15px;
  }

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

  .section-policy {
    padding: 40px 0 60px;
  }

  .section-policy-inner {
    padding: 0 15px;
  }

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

  .section-game-hero {
    padding: 70px 0 0;
  }

  .section-game-hero-inner {
    padding: 50px 15px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .game-hero-content {
    flex: none;
    width: 100%;
  }

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

  .game-thumbnail {
    width: 260px;
    height: 260px;
  }

  .section-game-detail {
    padding: 40px 15px 60px;
  }

  .game-detail-text {
    max-width: 100%;
  }

  .game-screenshot {
    width: 100%;
    height: 180px;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 520px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.22);
  z-index: 9999;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: opacity 0.3s, transform 0.3s;
}

.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
}

.cookie-banner-img {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
}

.cookie-banner-title {
  font-family: 'Luckiest Guy', cursive;
  font-size: 28px;
  color: #111;
  line-height: 1.1;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.cookie-banner-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #111;
  line-height: 1.6;
  margin-bottom: 22px;
}

.cookie-btn-accept {
  width: 100%;
  padding: 18px 0;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #f5a623 0%, #e8420a 100%);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 14px;
  transition: opacity 0.2s, transform 0.2s;
}

.cookie-btn-accept:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cookie-btn-settings {
  width: 100%;
  padding: 18px 0;
  border: 2.5px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.cookie-btn-settings:hover {
  background: #f5f5f5;
  transform: translateY(-1px);
}
