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

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

html, body {
  font-family: 'Lora', serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

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

/* ==================== VARIABLES ==================== */
:root {
  --grad-v: linear-gradient(to bottom, #c622ac, #601053);
  --grad-h: linear-gradient(to right, #c622ac, #601053);
}

/* ==================== PAGE WRAPPER ==================== */
.page {
  position: relative;
}

/* ==================== HEADER ==================== */
.header {
  background: var(--grad-v);
  position: relative;
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.header__logo-text {
  font-family: 'Lora', serif;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

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

.header__nav a {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}

.header__burger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 0;
}

.header__burger img {
  width: 30px;
  height: 8px;
  object-fit: contain;
}

.header__mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--grad-v);
  z-index: 200;
  padding: 0 20px 20px;
}

.header__mobile-nav.is-open {
  display: flex;
}

.header__mobile-nav a {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header__mobile-nav a:last-child {
  border-bottom: none;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-block;
  font-family: 'Lora', serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  border-radius: 100px;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  line-height: 1;
}

.btn--v {
  background: var(--grad-v);
  padding: 20px 50px;
  font-size: 16px;
  max-width: 300px;
}

.btn--h {
  background: var(--grad-h);
  padding: 20px 50px;
  font-size: 14px;
}

.btn--pill {
  background: var(--grad-h);
  padding: 14px 50px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==================== HERO ==================== */
.hero {
  background: #000;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  width: 296px;
  height: 296px;
  right: -62px;
  top: -88px;
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__heading {
  font-family: 'Lora', serif;
  font-size: 60px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}

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

.hero__text {
  flex: 1;
  max-width: 727px;
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.6;
}

.hero__text p + p {
  margin-top: 16px;
}

.hero__banner {
  margin-top: 20px;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

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

/* ==================== ABOUT ==================== */
.about {
  background: #000;
  position: relative;
  overflow: hidden;
}

.about__glow {
  position: absolute;
  width: 454px;
  height: 454px;
  left: -100px;
  top: 57px;
  pointer-events: none;
  z-index: 0;
}

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

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

.about__text h2 {
  font-family: 'Lora', serif;
  font-size: 46px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}

.about__text p {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.6;
}

.about__image {
  position: relative;
  z-index: 1;
  flex: 1;
  height: 448px;
  border-radius: 20px;
  overflow: hidden;
}

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

/* ==================== WHY CHOOSE ==================== */
.why {
  background: #000;
  position: relative;
  overflow: hidden;
}

.why__glow {
  position: absolute;
  width: 454px;
  height: 454px;
  right: -187px;
  top: 116px;
  pointer-events: none;
  z-index: 0;
}

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

.why__heading {
  font-family: 'Lora', serif;
  font-size: 46px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.why__row {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.why__image {
  width: 471px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  align-self: stretch;
}

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

.why__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature__title {
  font-family: 'Lora', serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.feature__desc {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.6;
}

/* ==================== EXPLORE GAMES ==================== */
.explore {
  background: #000;
  position: relative;
}

.explore__glow {
  position: absolute;
  width: 596px;
  height: 596px;
  left: 50%;
  transform: translateX(-50%);
  top: 60px;
  pointer-events: none;
  z-index: 0;
}

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

.explore__heading {
  font-family: 'Lora', serif;
  font-size: 46px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.explore__desc {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  max-width: 700px;
  line-height: 1.6;
}

.explore__games {
  width: 100%;
  display: flex;
  justify-content: center;
}

.explore__grid-wrapper {
  position: relative;
  padding: 20px 180px 80px;
}

.explore__decor {
  position: absolute;
  pointer-events: none;
}

.explore__decor--1 {
  width: 176px;
  height: 172px;
  left: -10%;
  top: 25%;
  transform: rotate(15.25deg);
  z-index: 2;
  object-fit: contain;
}

.explore__decor--2 {
  width: 327px;
  height: 290px;
  right: -20%;
  bottom: 25%;
  transform: rotate(-17.96deg);
  z-index: 2;
  object-fit: contain;
}

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

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

.explore__grid-row a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.explore__grid-row img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

/* ==================== CONTACT ==================== */
.contact {
  background: #000;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.contact__inner {
  width: 100%;
  max-width: 1080px;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact__heading {
  font-family: 'Lora', serif;
  font-size: 46px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.contact__desc {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  max-width: 800px;
  line-height: 1.6;
}

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

.contact__banner {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

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

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner__box {
  background: var(--grad-h);
  border-radius: 20px;
  padding: 40px 60px;
  max-width: 1080px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  pointer-events: all;
}

.cookie-banner__title {
  font-family: 'Lora', serif;
  font-size: 46px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.cookie-banner__text {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  line-height: 1.6;
  max-width: 800px;
}

.cookie-banner__btns {
  display: flex;
  gap: 20px;
}

.cookie-banner__btn {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 100px;
  padding: 20px 80px;
  cursor: pointer;
  line-height: 1;
}

.cookie-banner__btn--accept {
  background: #fff;
  color: #000;
}

.cookie-banner__btn--decline {
  background: #fff;
  color: #000;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--grad-h);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

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

.footer__logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer__logo-text {
  font-family: 'Lora', serif;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.footer__links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}

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

.footer__social-link img {
  width: 67px;
  height: 67px;
  object-fit: contain;
}

.footer__copy {
  font-family: 'Lora', serif;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  text-align: center;
}

/* ==================== POLICY PAGES ==================== */
.policy {
  background: #000;
}

.policy__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.policy__heading {
  font-family: 'Lora', serif;
  font-size: 46px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

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

.policy__section h2 {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.policy__section p {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 10px;
}

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

.policy__section ul {
  margin-left: 24px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.policy__section ul li {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .policy__inner {
    padding: 40px 20px;
    gap: 30px;
  }

  .policy__heading {
    font-size: 28px;
  }

  .policy__body {
    gap: 30px;
  }
}

/* ==================== GAME PAGE ==================== */
.game-hero {
  background: #000;
  position: relative;
  overflow: hidden;
}

.game-hero__glow {
  position: absolute;
  width: 596px;
  height: 596px;
  right: -150px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.game-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.game-hero__image {
  width: 471px;
  height: 448px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
}

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

.game-hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.game-hero__title {
  font-family: 'Lora', serif;
  font-size: 46px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}

.game-hero__desc {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.6;
}

.game-hero__desc p + p {
  margin-top: 16px;
}

/* ==================== CATALOG HERO ==================== */
.catalog-hero {
  background: #000;
  position: relative;
  overflow: hidden;
}

.catalog-hero__glow {
  position: absolute;
  width: 596px;
  height: 596px;
  left: 50%;
  transform: translateX(-50%);
  top: 60px;
  pointer-events: none;
  z-index: 0;
}

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

.catalog-hero__heading {
  font-family: 'Lora', serif;
  font-size: 46px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  line-height: 1.1;
}

.catalog-hero__desc {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  max-width: 700px;
  line-height: 1.6;
}

.catalog-games {
  width: 100%;
  display: flex;
  justify-content: center;
}

.catalog-grid-wrapper {
  position: relative;
  padding: 20px 180px 80px;
}

.catalog-decor {
  position: absolute;
  pointer-events: none;
}

.catalog-decor--1 {
  width: 184px;
  height: 238px;
  left: -10%;
  top: 25%;
  transform: rotate(15.25deg);
  z-index: 2;
  object-fit: contain;
}

.catalog-decor--2 {
  width: 196px;
  height: 287px;
  right: -15%;
  top: 20%;
  transform: rotate(-17.96deg);
  z-index: 2;
  object-fit: contain;
}

.catalog-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.catalog-game-card {
  display: block;
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

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

/* ==================== RESPONSIVE — MOBILE ≤ 768px ==================== */
@media (max-width: 768px) {

  /* Header */
  .header__inner {
    padding: 10px 20px;
  }

  .header__logo-text {
    font-size: 24px;
  }

  .header__nav {
    display: none;
  }

  .header__burger {
    display: block;
  }

  /* Hero */
  .hero {
    padding-top: 40px;
  }

  .hero__glow {
    right: -20px;
    top: -52px;
  }

  .hero__content {
    padding: 0 20px;
  }

  .hero__heading {
    font-size: 40px;
  }

  .hero__row {
    flex-direction: column;
  }

  .hero__text {
    max-width: 100%;
  }

  /* About */
  .about__inner {
    flex-direction: column;
    padding: 40px 20px;
  }

  .about__text {
    width: 100%;
    order: 2;
  }

  .about__text h2 {
    font-size: 28px;
  }

  .about__image {
    width: 100%;
    height: 200px;
    order: 1;
  }

  /* Why Choose */
  .why__inner {
    padding: 40px 20px;
  }

  .why__heading {
    font-size: 28px;
  }

  .why__row {
    flex-direction: column;
  }

  .why__image {
    width: 100%;
    height: 200px;
    align-self: auto;
  }

  /* Explore Games */
  .explore__inner {
    padding: 40px 20px;
    overflow: hidden;
  }

  .explore__heading {
    font-size: 28px;
  }

  .explore__games {
    justify-content: flex-start;
  }

  .explore__grid-wrapper {
    padding: 0;
    width: 100%;
  }

  .explore__decor--1,
  .explore__decor--2 {
    display: none;
  }

  .explore__grid {
    width: 100%;
  }

  .explore__grid-row {
    width: 100%;
  }

  .explore__grid-row img {
    flex: 1;
    width: 0;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  /* Contact */
  .contact {
    padding-top: 40px;
    gap: 20px;
  }

  .contact__inner {
    padding: 0 20px;
  }

  .contact__heading {
    font-size: 28px;
  }

  .contact__pills {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .contact__pills .btn--pill {
    width: 100%;
  }

  /* Footer */
  .footer__inner {
    padding: 40px 20px;
  }

  .footer__links {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* Cookie Banner */
  .cookie-banner__box {
    padding: 30px 20px;
    border-radius: 16px;
  }

  .cookie-banner__title {
    font-size: 28px;
  }

  .cookie-banner__btns {
    flex-direction: column;
    width: 100%;
  }

  .cookie-banner__btn {
    width: 100%;
    padding: 16px 20px;
  }

  /* Game Page */
  .game-hero__inner {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .game-hero__image {
    width: 100%;
    height: auto;
    aspect-ratio: 390 / 371;
  }

  .game-hero__title {
    font-size: 28px;
  }

  /* Catalog Hero */
  .catalog-hero__inner {
    padding: 40px 20px;
  }

  .catalog-hero__heading {
    font-size: 28px;
  }

  .catalog-hero__desc {
    max-width: 100%;
  }

  .catalog-games {
    justify-content: flex-start;
  }

  .catalog-grid-wrapper {
    padding: 0;
    width: 100%;
  }

  .catalog-decor--1,
  .catalog-decor--2 {
    display: none;
  }

  .catalog-grid {
    width: 100%;
  }

  .catalog-grid-row {
    width: 100%;
  }

  .catalog-game-card {
    flex: 1;
    width: 0;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* ==================== ANIMATIONS ==================== */

/* Keyframes */
@keyframes float-cw {
  0%, 100% { transform: rotate(15.25deg) translateY(0); }
  50%       { transform: rotate(15.25deg) translateY(-14px); }
}

@keyframes float-ccw {
  0%, 100% { transform: rotate(-17.96deg) translateY(0); }
  50%       { transform: rotate(-17.96deg) translateY(-14px); }
}

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

@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Glow pulse */
.hero__glow,
.about__glow,
.why__glow,
.explore__glow,
.game-hero__glow,
.catalog-hero__glow {
  animation: glow-pulse 5s ease-in-out infinite;
}

/* Floating decor */
.explore__decor--1 {
  animation: float-cw 4s ease-in-out infinite;
}
.explore__decor--2 {
  animation: float-ccw 5s ease-in-out infinite 0.6s;
}
.catalog-decor--1 {
  animation: float-cw 4s ease-in-out infinite;
}
.catalog-decor--2 {
  animation: float-neutral 5s ease-in-out infinite 1s;
}

/* Buttons */
.btn {
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn:hover {
  transform: scale(1.05);
  opacity: 0.9;
}
.btn:active {
  transform: scale(0.97);
}

/* Nav links */
.header__nav a,
.footer__links a {
  transition: opacity 0.2s ease;
}
.header__nav a:hover,
.footer__links a:hover {
  opacity: 0.65;
}

/* Logo */
.header__logo,
.footer__logo {
  transition: opacity 0.2s ease;
}
.header__logo:hover,
.footer__logo:hover {
  opacity: 0.8;
}

/* Game cards */
.explore__grid-row a,
.catalog-game-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.explore__grid-row a:hover,
.catalog-game-card:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 32px rgba(198, 34, 172, 0.55);
}

/* Social links */
.footer__social-link {
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.footer__social-link:hover {
  transform: scale(1.15);
  opacity: 0.85;
}

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