@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

:root {
  --bg: #05011b;
  --white: #ffffff;
  --white-60: rgba(255, 255, 255, 0.6);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);
  --grad: linear-gradient(90deg, #ffa72e 0%, #ee00a4 100%);
}

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

html, body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Anton', 'Arial Narrow', Impact, sans-serif;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 50px;
  border-radius: 60px;
  background: var(--grad);
  color: var(--white);
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(238, 0, 164, 0.3);
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  line-height: 1.2;
}

.h1 { font-size: 110px; }
.h2 { font-size: 110px; }

.site-header {
  padding: 20px 0;
}

.site-header__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.brand__logo {
  width: 30px;
  height: 30px;
}

.brand__name {
  font-size: 24px;
  text-transform: uppercase;
  color: var(--white);
  font-family: 'Anton', sans-serif;
}

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

.nav a {
  font-size: 14px;
  color: var(--white);
  font-family: 'Anton', sans-serif;
  transition: opacity 0.2s ease;
}

.nav a:hover { opacity: 0.7; }

.divider {
  height: 1px;
  background: var(--white-20);
  width: 100%;
}

.site-footer {
  padding: 60px 0 30px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.site-footer .nav {
  flex-wrap: wrap;
}

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

.socials a {
  display: inline-flex;
  width: 28px;
  height: 28px;
  transition: opacity 0.2s ease;
}

.socials a:hover { opacity: 0.7; }

.socials img { width: 100%; height: 100%; }

.copyright {
  font-size: 14px;
  color: var(--white-60);
  font-family: 'Anton', sans-serif;
}

.hero {
  padding: 77px 0 0;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
}

.hero__panda {
  width: 379px;
  height: 650px;
  flex-shrink: 0;
  object-fit: cover;
  transform: scaleX(-1);
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 453px;
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: 110px;
}

.hero__text {
  font-size: 14px;
  color: var(--white);
  font-family: 'Anton', sans-serif;
  line-height: 1.3;
}

.hero__coconut {
  position: absolute;
  right: 0;
  top: 320px;
  width: 535px;
  height: 371px;
  pointer-events: none;
  object-fit: contain;
}

.bologna {
  padding: 100px 0 0;
}

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

.bologna__row {
  display: flex;
  align-items: center;
  gap: 55px;
  width: 100%;
}

.bologna__left {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 453px;
  flex-shrink: 0;
}

.bologna__text {
  font-size: 14px;
  font-family: 'Anton', sans-serif;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bologna__image {
  flex: 1;
  height: 289px;
  border-radius: 30px;
  overflow: hidden;
}

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

.trouble {
  padding: 100px 0 0;
}

.trouble__inner {
  display: flex;
  gap: 30px;
  align-items: center;
}

.trouble__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 510px;
  flex-shrink: 0;
}

.trouble__title {
  font-size: 110px;
}

.trouble__character {
  width: 100%;
  height: 483px;
  object-fit: contain;
  object-position: left center;
}

.trouble__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  align-items: flex-start;
}

.trouble__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.card {
  background: var(--white-10);
  border-radius: 26px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.card__icon {
  width: 60px;
  height: 60px;
}

.card__title {
  font-size: 24px;
  font-family: 'Anton', sans-serif;
  color: var(--white);
}

.card__text {
  font-size: 14px;
  font-family: 'Anton', sans-serif;
  color: var(--white);
  line-height: 1.4;
}

.fight {
  padding: 100px 0 0;
}

.fight--page {
  padding: 77px 0 0;
}

.fight__tile {
  display: block;
  transition: transform 0.25s ease;
}

.fight__tile:hover {
  transform: translateY(-4px) scale(1.02);
}

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

.fight__title {
  text-align: center;
}

.fight__text {
  font-size: 14px;
  font-family: 'Anton', sans-serif;
  color: var(--white);
  text-align: center;
  max-width: 1116px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fight .btn { align-self: center; }

.fight__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1116px;

}

.fight__gallery > :nth-child(5) { grid-column-start: 2; }

.fight__tile {
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  overflow: hidden;
}

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

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

.policy__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.policy__title {
  font-size: 110px;
  text-transform: uppercase;
  line-height: 1.1;
}

.policy__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1116px;
}

.policy__section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.policy__heading {
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  color: var(--white);
}

.policy__text {
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  color: var(--white);
  line-height: 1.5;
}

.policy__text a {
  color: var(--white);
  text-decoration: underline;
}

.policy__text a:hover { opacity: 0.7; }

.game-block {
  padding: 100px 0 0;
}

.game-block--first {
  padding: 77px 0 0;
}

.game-block__inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
.game-block__inner a {
  margin: 0 auto;
}

.game-block__tile {
  border-radius: 26px;
  overflow: hidden;
  flex-shrink: 0;
}

.game-block__tile--small {
  width: 264px;
  height: 264px;
}

.game-block__tile--wide {
  width: 600px;
  height: 264px;
}

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

.game-block__title {
  text-align: center;
  font-size: 110px;
  width: 100%;
}

.game-block__text {
  font-size: 14px;
  font-family: 'Anton', sans-serif;
  color: var(--white);
  text-align: center;
  max-width: 1116px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contacts {
  padding: 100px 0 0;
}

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

.contacts__row {
  display: flex;
  align-items: center;
  gap: 55px;
  width: 100%;
}

.contacts__image {
  width: 692px;
  height: 289px;
  border-radius: 30px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.contacts__text {
  width: 453px;
  font-family: 'Anton', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contacts__text p { font-size: 14px; line-height: 1.4; }
.contacts__text .contacts__info { font-size: 18px; line-height: 1.5; }

@media (max-width: 1023px) {
  .container { padding: 0 15px; }

  .h1 { font-size: 60px; }
  .h2 { font-size: 40px; }
  .hero__title { font-size: 60px; }
  .trouble__title { font-size: 40px; }

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

  .hero { padding: 18px 0 0; }
  .hero__inner {
    flex-direction: column;
    gap: 28px;
    align-items: center;
  }
  .hero__panda {
    width: 205px;
    height: 352px;
    order: 1;
  }
  .hero__content {
    width: 100%;
    max-width: 330px;
    order: 2;
  }
  .hero__coconut {
    position: static;
    width: 100%;
    max-width: 330px;
    height: auto;
    order: 3;
    margin: 0 auto;
  }

  .bologna { padding: 60px 0 0; }
  .bologna__row {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }
  .bologna__left { width: 100%; }
  .bologna__image {
    width: 100%;
    height: 289px;
  }

  .trouble { padding: 60px 0 0; }
  .trouble__inner {
    flex-direction: column;
    gap: 30px;
  }
  .trouble__left {
    width: 100%;
    align-items: stretch;
  }
  .trouble__character {
    width: 100%;
    height: auto;
    aspect-ratio: 388 / 384;
    object-position: center;
  }
  .trouble__right { width: 100%; }
  .trouble__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fight { padding: 60px 0 0; }
  .fight--page { padding: 18px 0 0; }

  .policy { padding: 30px 0 60px; }
  .policy__title { font-size: 50px; }

  .game-block { padding: 60px 0 0; }
  .game-block--first { padding: 18px 0 0; }
  .game-block__title { font-size: 40px; }
  .game-block__tile--small { width: 100%; max-width: 264px; height: auto; aspect-ratio: 1 / 1; }
  .game-block__tile--wide { width: 100%; height: auto; aspect-ratio: 600 / 264; }
  .fight__gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .fight__gallery > :nth-child(5) { grid-column-start: auto; }
  .fight__tile { border-radius: 18px; }

  .contacts { padding: 60px 0 0; }
  .contacts__row {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }
  .contacts__image {
    width: 100%;
    height: 289px;
    order: 1;
  }
  .contacts__text {
    width: 100%;
    order: 2;
  }

  .site-footer { padding: 60px 0 30px; }
  .site-footer .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .btn { padding: 18px 40px; }
}

/* ---------- Hover effects ---------- */
.brand { transition: opacity 0.25s ease, transform 0.25s ease; }
.brand:hover { opacity: 0.85; transform: translateY(-1px); }

.nav a {
  position: relative;
  padding-bottom: 4px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--grad);
  transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }

.btn:active { transform: translateY(0); }

.card {
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px rgba(238, 0, 164, 0.18);
}

.card__icon { transition: transform 0.4s ease; }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); }

.fight__tile img { transition: transform 0.5s ease; }
.fight__tile:hover img { transform: scale(1.08); }

.game-block__tile {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.game-block__tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(238, 0, 164, 0.22);
}
.game-block__tile img { transition: transform 0.6s ease; }
.game-block__tile:hover img { transform: scale(1.05); }

.bologna__image img,
.contacts__image img,
.trouble__character,
.hero__panda,
.hero__coconut { transition: transform 0.6s ease; }
.bologna__image:hover img,
.contacts__image:hover img { transform: scale(1.04); }
.hero__panda:hover { transform: scaleX(-1) translateY(-6px); }
.hero__coconut:hover { transform: translateY(-6px) rotate(-2deg); }
.trouble__character:hover { transform: translateY(-4px); }

.policy__text a { transition: opacity 0.2s ease; }

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

/* ---------- Hero float animation ---------- */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes floatPanda {
  0%, 100% { transform: scaleX(-1) translateY(0); }
  50% { transform: scaleX(-1) translateY(-10px); }
}
.hero__coconut { animation: floatY 6s ease-in-out infinite; }
.hero__panda { animation: floatPanda 7s ease-in-out infinite; }
.hero__panda:hover,
.hero__coconut:hover { animation-play-state: paused; }

/* ---------- Gradient text shimmer ---------- */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.gradient-text {
  background: linear-gradient(90deg, #ffa72e 0%, #ee00a4 50%, #ffa72e 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientShift 8s ease infinite;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 520px;
  background: #0b0a1f;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: 28px;
  z-index: 1000;
  color: var(--white);
  font-family: 'Anton', sans-serif;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: cookieRise 0.5s ease;
}
@keyframes cookieRise {
  from { opacity: 0; transform: translate(-50%, 40px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.cookie-banner[hidden] { display: none !important; }

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner__icon {
  width: 50px;
  height: 50px;
}
.cookie-banner__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cookie-banner__title {
  font-size: 28px;
  line-height: 1.1;
  text-transform: none;
  font-family: 'Anton', sans-serif;
  color: var(--white);
}

.cookie-banner__text {
  font-size: 14px;
  line-height: 1.45;
  color: var(--white);
  font-family: 'Anton', sans-serif;
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 30px;
  border-radius: 60px;
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  width: 100%;
}
.cookie-banner__btn--primary {
  background: var(--grad);
}
.cookie-banner__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(238, 0, 164, 0.35);
}
.cookie-banner__btn--secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
}
.cookie-banner__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .cookie-banner { padding: 22px; border-radius: 26px; }
  .cookie-banner__title { font-size: 22px; }
  .cookie-banner__btn { padding: 18px 22px; }
}
