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

:root {
  --red-1: #c62222;
  --red-2: #601012;
  --bg: #000;
  --white: #fff;
  --grad-v: linear-gradient(180deg, #c62222 0%, #601012 100%);
  --grad-h: linear-gradient(90deg, #c62222 0%, #601012 100%);
  --font: 'Lora', serif;
}

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

html {
  scroll-behavior: smooth;
}

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

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-12px) rotate(var(--rot, 0deg)); }
}

@keyframes glowPulse {
  0%, 100% { opacity: .85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

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

.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }
.reveal--delay-4 { transition-delay: .4s; }
.reveal--delay-5 { transition-delay: .5s; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-v);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  padding: 20px 50px;
  border-radius: 100px;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(198, 34, 34, .35);
}

.btn--sm {
  font-size: 14px;
  padding: 14px 50px;
}

.btn--grad-h {
  background: var(--grad-h);
}

.site-header {
  background: var(--grad-v);
  padding: 10px 60px;
  position: relative;
  z-index: 10;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

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

.site-header__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-header__name {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

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

.site-header__nav a {
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  transition: opacity .2s ease;
}

.site-header__nav a:hover {
  opacity: .8;
}

.site-header__burger {
  display: none;
  width: 30px;
  height: 22px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: transform .2s ease, opacity .2s ease;
}

.site-header__burger:hover {
  transform: scale(1.08);
  opacity: .85;
}

.site-header__burger img {
  width: 100%;
  height: auto;
  transition: transform .3s ease;
}

.site-header__burger--open img {
  transform: rotate(90deg);
}

.no-scroll {
  overflow: hidden;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 30px);
  width: calc(100% - 40px);
  max-width: 980px;
  background: var(--grad-v);
  color: var(--white);
  border-radius: 24px;
  padding: 36px 40px;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}

.cookie-banner--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.cookie-banner__title {
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: .5px;
}

.cookie-banner__text {
  font-size: 16px;
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.cookie-banner__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner__btn {
  background: var(--white);
  color: #000;
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  padding: 18px 50px;
  border-radius: 100px;
  border: 0;
  cursor: pointer;
  min-width: 200px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.cookie-banner__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .4);
  background: #f3f3f3;
}

.cookie-banner__btn:active {
  transform: translateY(0);
}

.section {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 6s ease-in-out infinite;
}

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

.discover__deco,
.catalog__deco {
  animation: floatY 6s ease-in-out infinite;
}

.discover__deco--left { --rot: 15.25deg; }
.discover__deco--right { --rot: -17.96deg; animation-duration: 7s; }
.catalog__deco--left { --rot: 15.25deg; }
.catalog__deco--right { --rot: -17.96deg; animation-duration: 7s; }

.hero__image,
.about__image,
.why__image,
.contact__image,
.game__image {
  transition: transform .5s ease, box-shadow .5s ease;
}

.hero__image:hover,
.about__image:hover,
.why__image:hover,
.contact__image:hover,
.game__image:hover {
  transform: scale(1.015);
  box-shadow: 0 18px 40px rgba(198, 34, 34, .25);
}

.discover__game {
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  cursor: pointer;
}

.discover__game:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 30px rgba(198, 34, 34, .35);
  filter: brightness(1.08);
}

.why__item {
  transition: transform .25s ease, color .25s ease;
}

.why__item:hover {
  transform: translateX(6px);
}

.why__item:hover h3 {
  color: var(--red-1);
}

.site-header__brand {
  transition: opacity .2s ease;
}

.site-header__brand:hover {
  opacity: .9;
}

.site-footer__brand {
  transition: opacity .2s ease;
}

.site-footer__brand:hover {
  opacity: .9;
}

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

.hero__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 1;
}

.hero__glow {
  width: 590px;
  height: 590px;
  top: -180px;
  right: -120px;
}

.hero__title {
  font-size: 60px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.05;
}

.hero__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.hero__text {
  font-size: 16px;
  color: var(--white);
  max-width: 727px;
}

.hero__image {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.about {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding: 60px 0;
}

.about__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 1;
}

.about__glow {
  width: 900px;
  height: 900px;
  left: -400px;
  top: -100px;
}

.about__content {
  flex: 0 0 calc(60% - 11px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--white);
}

.h-section {
  font-size: 46px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
}

.about__text p {
  font-size: 16px;
  margin-bottom: 16px;
}

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

.about__image {
  flex: 1;
  height: 448px;
  object-fit: cover;
  border-radius: 20px;
  min-width: 0;
}

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

.why__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 1;
}

.why__glow {
  width: 900px;
  height: 900px;
  right: -400px;
  top: 0;
}

.why__title {
  text-align: center;
  width: 100%;
}

.why__grid {
  display: flex;
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.why__image {
  width: 471px;
  flex-shrink: 0;
  border-radius: 20px;
  object-fit: cover;
  align-self: stretch;
}

.why__items {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--white);
  min-width: 0;
}

.why__item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.why__item p {
  font-size: 16px;
  font-weight: 400;
}

.discover {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding: 60px 0;
}

.discover__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 1;
}

.discover__glow {
  width: 1180px;
  height: 1180px;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
}

.discover__title {
  text-align: center;
  width: 100%;
}

.discover__text {
  font-size: 16px;
  text-align: center;
  width: 100%;
  color: var(--white);
}

.discover__games {
  display: grid;
  grid-template-columns: repeat(3, 150px);
  gap: 20px;
  margin-top: 20px;
}

.discover__game {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
}

.discover__deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.discover__deco--left {
  left: 30px;
  bottom: 60px;
  width: 175px;
  height: 172px;
  transform: rotate(15.25deg);
}

.discover__deco--right {
  right: 0;
  bottom: 110px;
  width: 365px;
  height: 408px;
  transform: rotate(-17.96deg);
}

.contact {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding: 60px 0 0;
}

.contact__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.contact__title {
  text-align: center;
  width: 100%;
}

.contact__text {
  font-size: 16px;
  text-align: center;
  width: 100%;
  color: var(--white);
}

.contact__pills {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact__pill {
  background: var(--grad-h);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  padding: 14px 50px;
  border-radius: 100px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact__pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(198, 34, 34, .35);
}

.contact__image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.site-footer {
  background: var(--grad-h);
  padding: 40px 60px;
}

.site-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 35px;
}

.site-footer__logo {
  width: 117px;
  height: 117px;
  object-fit: contain;
}

.site-footer__name {
  font-size: 80px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  line-height: 1;
}

.site-footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  flex-wrap: wrap;
}

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

.site-footer__nav a {
  font-size: 16px;
  color: var(--white);
  transition: opacity .2s ease;
}

.site-footer__nav a:hover {
  opacity: .8;
}

.site-footer__social {
  display: flex;
  gap: 35px;
  align-items: center;
}

.site-footer__social a {
  display: inline-flex;
  width: 67px;
  height: 67px;
  transition: transform .2s ease;
}

.site-footer__social a:hover {
  transform: scale(1.08);
}

.site-footer__social img {
  width: 100%;
  height: 100%;
}

.site-footer__copy {
  font-size: 14px;
  color: var(--white);
  white-space: nowrap;
}

.catalog {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding: 60px 0;
}

.catalog__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 1;
}

.catalog__glow {
  width: 1180px;
  height: 1180px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.catalog__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  text-align: center;
  color: var(--white);
}

.catalog__title {
  text-align: center;
  width: 100%;
}

.catalog__text p {
  font-size: 16px;
  margin-bottom: 12px;
}

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

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 150px);
  gap: 20px;
  margin-top: 20px;
}

.catalog__card {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  transition: transform .2s ease, box-shadow .2s ease;
}

.catalog__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(198, 34, 34, .35);
}

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

.catalog__deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.catalog__deco--left {
  left: -20px;
  bottom: 60px;
  width: 240px;
  height: 277px;
  transform: rotate(15.25deg);
}

.catalog__deco--right {
  right: -40px;
  bottom: 60px;
  width: 282px;
  height: 287px;
  transform: rotate(-17.96deg);
}

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

.game__inner {
  display: flex;
  gap: 22px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 1;
}

.game__glow {
  width: 900px;
  height: 900px;
  right: -380px;
  top: -100px;
}

.game__image {
  width: 471px;
  height: 448px;
  flex-shrink: 0;
  border-radius: 20px;
  object-fit: cover;
}

.game__content {
  flex: 0 0 calc(60% - 11px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--white);
  min-width: 0;
}

.game__title {
  font-size: 46px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
}

.game__text p {
  font-size: 16px;
  margin-bottom: 16px;
}

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

.game__btn {
  align-self: flex-start;
}

.policy {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding: 60px 0;
}

.policy__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.policy__glow {
  width: 1180px;
  height: 1180px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.policy__title {
  text-align: center;
  width: 100%;
}

.policy__body {
  width: 100%;
  color: var(--white);
  font-size: 16px;
}

.policy__body p {
  margin-bottom: 10px;
}

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

.policy__body ul {
  margin: 0 0 10px 24px;
  padding-left: 24px;
  list-style: disc;
}

.policy__body ul li {
  margin-bottom: 0;
}

.policy__body a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy__body a:hover {
  opacity: .85;
}

@media (max-width: 1100px) {
  .hero__title { font-size: 48px; }
  .h-section { font-size: 38px; }
  .site-footer__name { font-size: 60px; }
  .hero__row { flex-direction: column; align-items: flex-start; }
  .hero__text { max-width: none; }
  .about__inner { flex-direction: column; }
  .about__content { flex: 0 0 auto; width: 100%; }
  .about__image { width: 100%; flex: 0 0 auto; }
  .why__grid { flex-direction: column; }
  .why__image { width: 100%; height: 360px; }
  .site-footer__logo { width: 80px; height: 80px; }
}

@media (max-width: 768px) {
  .site-header { padding: 10px 20px; }
  .site-header__name { font-size: 22px; }

  .site-header__nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--grad-v);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 80px 30px 30px;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 20;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .35);
  }

  .site-header__nav--open {
    transform: translateX(0);
  }

  .site-header__nav a {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
  }

  .site-header__burger { display: block; position: relative; z-index: 30; }

  .cookie-banner { padding: 24px 20px; border-radius: 20px; bottom: 16px; }
  .cookie-banner__title { font-size: 28px; margin-bottom: 12px; }
  .cookie-banner__text { font-size: 14px; margin-bottom: 18px; }
  .cookie-banner__actions { gap: 12px; flex-direction: row; }
  .cookie-banner__btn { min-width: 0; flex: 1; padding: 16px 20px; font-size: 14px; }

  .hero { padding: 40px 0 0; }
  .hero__inner { padding: 0 20px; }
  .hero__title { font-size: 40px; margin-bottom: 20px; }
  .hero__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 0;
  }
  .hero__text { max-width: none; order: 1; }
  .hero__row .btn { order: 2; }
  .hero__image { height: 300px; margin-top: 20px; }
  .hero__glow { width: 296px; height: 296px; top: 34px; right: -100px; }

  .about { padding: 40px 0; }
  .about__inner { padding: 0 20px; gap: 20px; flex-direction: column; }
  .h-section { font-size: 32px; }
  .about__image { height: 300px; }

  .why { padding: 40px 0; }
  .why__inner { padding: 0 20px; gap: 20px; align-items: stretch; }
  .why__title { font-size: 32px; }
  .why__grid { gap: 20px; flex-direction: column; }
  .why__image { order: -1; height: 300px; width: 100%; }

  .discover { padding: 40px 0; }
  .discover__inner { padding: 0 20px; gap: 20px; }
  .discover__title { font-size: 32px; }
  .discover__games {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 390px;
  }
  .discover__game { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .discover__deco { display: none; }

  .catalog { padding: 40px 0; }
  .catalog__inner { padding: 0 20px; gap: 20px; }
  .catalog__title { font-size: 32px; }
  .catalog__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 390px;
  }
  .catalog__card { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .catalog__deco { display: none; }

  .game { padding: 40px 0; }
  .game__inner {
    flex-direction: column;
    padding: 0 20px;
    gap: 20px;
    align-items: stretch;
  }
  .game__image { width: 100%; height: 300px; }
  .game__content { flex: 0 0 auto; width: 100%; }
  .game__title { font-size: 32px; }

  .policy { padding: 40px 0; }
  .policy__inner { padding: 0 20px; gap: 20px; }
  .policy__title { font-size: 32px; }

  .contact { padding: 40px 0 0; }
  .contact__inner { padding: 0 20px; gap: 20px; }
  .contact__title { font-size: 32px; }
  .contact__pills { flex-direction: column; gap: 10px; width: 100%; }
  .contact__pill { width: 100%; padding: 14px 20px; }
  .contact__image { height: 300px; }

  .site-footer { padding: 40px 20px; }
  .site-footer__brand { gap: 20px; }
  .site-footer__logo { width: 40px; height: 40px; }
  .site-footer__name { font-size: 30px; }
  .site-footer__row {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .site-footer__nav { flex-wrap: wrap; justify-content: center; }
  .site-footer__copy { white-space: normal; text-align: center; }
}

@media (max-width: 480px) {
  .site-header__name { font-size: 18px; }
  .hero__title { font-size: 32px; }
  .h-section, .why__title, .discover__title, .contact__title { font-size: 28px; }
  .site-footer__name { font-size: 22px; }
  .site-footer__nav { gap: 12px; font-size: 14px; }
  .contact__pill { font-size: 12px; padding: 14px 16px; }
}
