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

:root {
  --bg: #c7ffd5;
  --fg: #202020;
  --accent: #88da0b;
  --white: #ffffff;
  --container: 1200px;
  --side: 84px;
}

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

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Titan One', cursive;
  background: var(--bg);
  color: var(--fg);
  line-height: normal;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

p { line-height: normal; }

.page {
  background: var(--bg);
  width: 100%;
  overflow: hidden;
  position: relative;
}

.container {
  width: var(--container);
  max-width: calc(100% - 30px);
  margin: 0 auto;
}

.hero-title,
.cards-title,
.not-only-title,
.tiny-title,
.play-title,
.contacts-title {
  overflow-wrap: break-word;
}

.uc { text-transform: uppercase; }

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

.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: block;
}

.brand-name {
  font-size: 24px;
  color: var(--fg);
  text-transform: uppercase;
  white-space: nowrap;
}

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

.nav a {
  font-size: 14px;
  color: var(--fg);
  white-space: nowrap;
}

.nav a:hover { opacity: 0.7; }

.hero {
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 20px;
}

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

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

.hero-title {
  font-size: 80px;
  color: var(--fg);
  text-transform: uppercase;
  line-height: normal;
}

.hero-desc {
  font-size: 14px;
  width: 456px;
  max-width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border: 3px solid var(--fg);
  border-radius: 60px;
  padding: 19px 58px;
  color: var(--fg);
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
  align-self: flex-start;
  font-family: inherit;
  cursor: pointer;
  transition: transform .15s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 0 0 var(--fg);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.hero-stars {
  width: 202px;
  height: 54px;
  object-fit: contain;
}

.hero-avatars {
  display: flex;
  align-items: center;
}

.hero-avatars .av {
  width: 154px;
  height: 154px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-avatars .av + .av { margin-left: -40px; }

.hero-right {
  width: 398px;
  height: 675px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-cards {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cards-row {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.cards-title {
  font-size: 60px;
  text-transform: uppercase;
  width: 590px;
  flex-shrink: 0;
  color: var(--fg);
}

.card {
  background: var(--fg);
  color: var(--white);
  border-radius: 30px;
  padding: 20px;
  width: 590px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow: hidden;
}

.card-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.card-title {
  font-size: 28px;
  color: var(--white);
}

.card-text {
  font-size: 15px;
  color: var(--white);
  margin-top: 4px;
}

.section-not-only {
  margin-top: 60px;
  position: relative;
}

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

.not-only-title {
  font-size: 60px;
  text-transform: uppercase;
  width: 590px;
  flex-shrink: 0;
}

.not-only-text {
  font-size: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.full-banner {
  margin-top: 30px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 315px;
  overflow: hidden;
  display: block;
}

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

.section-tiny {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.tiny-side {
  width: 302px;
  height: 440px;
  flex-shrink: 0;
  border-radius: 26px;
  overflow: hidden;
}

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

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

.tiny-title {
  font-size: 60px;
  text-transform: uppercase;
}

.tiny-text {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-play {
  margin-top: 60px;
}

.play-row {
  display: flex;
  gap: 40px;
  align-items: center;
}

.play-left {
  width: 580px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.play-title {
  font-size: 90px;
  text-transform: uppercase;
  line-height: normal;
}

.play-text {
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.play-grid {
  width: 580px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.play-grid-row {
  display: flex;
  gap: 20px;
}

.play-thumb {
  width: 180px;
  height: 180px;
  border-radius: 26px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  transition: transform .15s ease;
}

a.play-thumb { transition: transform .25s ease, box-shadow .25s ease; }
a.play-thumb:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 12px 24px rgba(0,0,0,.15);
}
a.play-thumb img { transition: transform .4s ease; }
a.play-thumb:hover img { transform: scale(1.08); }

.section-play--catalog { margin-top: 50px; }

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

.game-hero {
  margin-top: 50px;
  display: flex;
  gap: 40px;
  align-items: center;
}

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

.game-hero-title {
  font-size: 90px;
  text-transform: uppercase;
  line-height: normal;
}

.game-hero-desc {
  font-size: 15px;
}

.game-hero-img {
  width: 290px;
  height: 290px;
  border-radius: 26px;
  overflow: hidden;
  flex-shrink: 0;
}

.game-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border: 3px solid var(--fg);
  border-radius: 60px;
  padding: 19px 58px;
  color: var(--fg);
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
  align-self: flex-start;
  font-family: inherit;
  cursor: pointer;
  transition: transform .15s ease;
 
}
.game-section2 .btn-secondary{
  margin: 0 auto;
}
.btn-secondary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 0 0 var(--fg);
}
.btn-secondary:active { transform: translateY(0) scale(0.98); }

.game-section2 {
  margin-top: 80px;
  width: 869px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
  align-items: center;
}

.game-section2-title {
  font-size: 60px;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.game-section2-desc {
  font-size: 14px;
}

.section-contacts {
  margin-top: 60px;
  background: var(--fg);
  color: var(--white);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 50px 0 0;
}

.contacts-inner {
  width: 869px;
  max-width: calc(100% - 30px);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  color: var(--white);
}

.contacts-title {
  font-size: 60px;
  text-transform: uppercase;
  color: var(--white);
}

.contacts-text {
  font-size: 14px;
  color: var(--white);
}

.contacts-info {
  font-size: 18px;
  color: var(--accent);
  margin-top: 18px;
}

.contacts-banner {
  margin-top: 30px;
  width: 100%;
  height: 315px;
  overflow: hidden;
}

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

.policy-page {
  margin-top: 50px;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1098px;
}

.policy-title {
  font-size: 90px;
  text-transform: uppercase;
  line-height: normal;
  overflow-wrap: break-word;
}

.policy-text {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.site-footer {
  padding: 50px 0 20px;
  background: var(--bg);
}

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

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

.footer-nav a { font-size: 14px; color: var(--fg); }
.footer-nav a:hover { opacity: 0.7; }

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

.socials a {
  width: 28px;
  height: 28px;
  display: inline-flex;
}

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

.copyright {
  font-size: 14px;
  color: var(--fg);
}

/* Hover & micro-interactions */
.brand { transition: transform .25s ease; }
.brand:hover { transform: scale(1.05); }
.brand-icon { transition: transform .5s ease; }
.brand:hover .brand-icon { transform: rotate(15deg) scale(1.1); }

.nav a, .footer-nav a {
  position: relative;
  transition: color .2s ease, opacity .2s ease;
}
.nav a::after, .footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}
.nav a:hover::after, .footer-nav a:hover::after { width: 100%; }

.card {
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0,0,0,.18);
}
.card-icon { transition: transform .4s ease; }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.1); }

.tiny-side { transition: transform .35s ease; }
.tiny-side:hover { transform: scale(1.03); }
.tiny-side img { transition: transform .5s ease; }
.tiny-side:hover img { transform: scale(1.08); }

.game-hero-img { transition: transform .35s ease, box-shadow .35s ease; }
.game-hero-img:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}
.game-hero-img img { transition: transform .5s ease; }
.game-hero-img:hover img { transform: scale(1.08); }

.hero-avatars .av {
  transition: transform .3s ease, z-index 0s .3s;
  position: relative;
}
.hero-avatars .av:hover {
  transform: translateY(-6px) scale(1.08);
  z-index: 5;
}

.socials a {
  transition: transform .25s ease;
}
.socials a:hover { transform: translateY(-3px) rotate(-8deg); }

.contacts-banner img,
.full-banner img {
  transition: transform 1s ease;
}
.contacts-banner:hover img,
.full-banner:hover img { transform: scale(1.04); }

/* Entry animations */
@keyframes ktFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ktFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ktPop {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes ktFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.hero-title { animation: ktFadeUp .8s ease both; }
.hero-desc  { animation: ktFadeUp .9s ease .1s both; }
.btn-primary { animation: ktPop .7s ease .2s both; }
.hero-stars { animation: ktFadeIn 1s ease .3s both; }
.hero-avatars { animation: ktFadeUp .8s ease .35s both; }
.hero-right img { animation: ktFloat 5s ease-in-out infinite, ktFadeIn .9s ease both; }

.cards-title, .not-only-title, .tiny-title, .play-title, .contacts-title,
.game-hero-title, .game-section2-title, .policy-title {
  animation: ktFadeUp .8s ease both;
}
.card, .play-thumb, .tiny-side, .game-hero-img, .game-section2-desc {
  animation: ktPop .7s ease both;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9999;
  width: 380px;
  max-width: calc(100% - 30px);
  background: var(--white);
  border: 3px solid var(--accent);
  border-radius: 30px;
  padding: 24px 24px 22px;
  display: none;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  animation: ktPop .35s ease both;
  color: var(--fg);
}
.cookie-banner.is-visible { display: flex; }

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

.cookie-banner__title {
  font-size: 22px;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.1;
}

.cookie-banner__text {
  font-size: 13px;
  color: var(--fg);
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  padding: 16px 24px;
  border: 3px solid var(--fg);
  font-family: inherit;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--fg);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.cookie-banner__btn--accept { background: var(--accent); }
.cookie-banner__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 0 var(--fg);
}
.cookie-banner__btn:active { transform: translateY(0); box-shadow: none; }

@media (max-width: 900px) {
  .cookie-banner {
    left: 15px;
    right: 15px;
    bottom: 15px;
    width: auto;
    padding: 20px;
    border-radius: 24px;
  }
  .cookie-banner__title { font-size: 18px; }
}

@media (max-width: 900px) {
  :root {
    --container: 100%;
    --side: 15px;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    margin-top: 30px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-left {
    width: 100%;
    min-width: 0;
    gap: 30px;
  }

  .hero-text { min-width: 0; width: 100%; max-width: 100%; }

  .hero-title { max-width: 100%; min-width: 0; width: 100%; box-sizing: border-box; }
  .hero-desc { max-width: 100%; min-width: 0; }

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

  .hero-desc { width: 100%; }

  .btn-primary { padding: 19px 40px; }

  .hero-avatars .av { width: 120px; height: 120px; }

  .hero-right {
    width: 244px;
    height: 413px;
  }

  .section-cards { margin-top: 40px; }

  .cards-row { flex-direction: column; gap: 20px; }

  .cards-title { width: 100%; font-size: 34px; }

  .card { width: 100%; }

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

  .section-not-only { margin-top: 40px; }

  .not-only-inner { flex-direction: column; }

  .not-only-title { width: 100%; font-size: 34px; }

  .full-banner { height: 112px; margin-top: 24px; }

  .section-tiny {
    margin-top: 40px;
    flex-direction: column;
    gap: 20px;
  }

  .tiny-side { width: 100%; max-width: 330px; height: 400px; }

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

  .section-play { margin-top: 40px; }

  .play-row { flex-direction: column; gap: 30px; }

  .play-left { width: 100%; }

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

  .play-grid { width: 100%; }

  .play-grid-row {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
  }

  .play-thumb {
    width: calc(50% - 8px);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .policy-page { margin-top: 30px; margin-bottom: 50px; }
  .policy-title { font-size: 34px; }

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

  .game-hero-left {
    width: 100%;
    order: 2;
  }

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

  .game-hero-img {
    width: 200px;
    height: 200px;
    order: 1;
  }

  .game-section2 {
    margin-top: 50px;
    width: 100%;
  }

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

  .section-contacts { margin-top: 40px; padding: 40px 0 0; }

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

  .contacts-banner { height: 112px; margin-top: 24px; }

  .site-footer { padding: 40px 0 20px; }

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