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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  background: #f7fbc1;
  color: #1c1c1c;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* =====================
   Container
   ===================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

/* =====================
   Buttons
   ===================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #ffae00, #f2ff40);
  color: #1c1c1c;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 60px;
  padding: 22px 60px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: scale(1.04);
}

/* =====================
   Header
   ===================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 0;
  background: #f7fbc1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1c1c1c;
  border-radius: 60px;
  padding: 15px 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo span {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  text-transform: lowercase;
  letter-spacing: -0.5px;
}

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

.header-nav a {
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  transition: opacity 0.2s;
}

.header-nav a:hover {
  opacity: 0.7;
}

/* Burger button */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 34px;
  height: 28px;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: #1c1c1c;
  border-radius: 20px;
  margin-top: 8px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.mobile-menu.open {
  max-height: 300px;
  padding: 10px 0;
}

.mobile-menu a {
  display: block;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  transition: background 0.2s;
}

.mobile-menu a:hover {
  background: rgba(255,255,255,0.05);
}

/* =====================
   Main wrapper
   ===================== */
main {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 60px 0;
}

/* =====================
   Hero Section
   ===================== */
.hero .container {
  position: relative;
  min-height: unset;
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-size: 160px;
  font-weight: 800;
  text-transform: uppercase;
  color: #1c1c1c;
  line-height: 0.9;
  letter-spacing: -4px;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.hero-mascot {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  height: auto;
  object-fit: contain;
  object-position: top center;
  z-index: 2;
  pointer-events: none;
}

.hero-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 30px;
  padding-bottom: 60px;
  position: relative;
  z-index: 3;
}

.hero-left {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-desc {
  font-size: 16px;
  font-weight: 400;
  color: #1c1c1c;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-size: 40px;
  font-weight: 800;
  color: #1c1c1c;
  line-height: 1;
}

.stat-label {
  font-size: 16px;
  font-weight: 400;
  color: #1c1c1c;
  line-height: 1.4;
}

.hero-right {
  width: 323px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-right-desc {
  font-size: 16px;
  font-weight: 400;
  color: #1c1c1c;
  line-height: 1.6;
}

/* =====================
   About Section
   ===================== */
.about .container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.about-image {
  flex: 1 0 0;
  height: 588px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.about-content {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section-title {
  font-size: 60px;
  font-weight: 800;
  text-transform: uppercase;
  color: #1c1c1c;
  line-height: 1.1;
  letter-spacing: -1px;
}

.about-desc {
  font-size: 16px;
  font-weight: 400;
  color: #1c1c1c;
  line-height: 1.6;
}

.about-texts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

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

.feature-cards-row .feature-card {
  flex: 1;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #1c1c1c;
  border-radius: 24px;
  padding: 20px;
  flex-direction: column;
}

.feature-card--full {
  width: 100%;
}

.feature-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.feature-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.feature-card p {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.5;
}

/* =====================
   Games Section
   ===================== */
.games .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.games-desc {
  font-size: 16px;
  font-weight: 400;
  color: #1c1c1c;
  max-width: 860px;
  line-height: 1.6;
}

.games-grid {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
  justify-content: center;
}

.games-col-small {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.games-col-small img {
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 20px;
}

.games-col-large img {
  width: 260px;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
}

/* =====================
   Reviews Section
   ===================== */
.reviews .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
}

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

.review-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.review-card {
  background: #1c1c1c;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.review-stars {
  display: flex;
  gap: 3px;
  align-items: center;
}

.review-stars img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

.review-name {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.review-text {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.5;
}

.reviews-image {
  width: 400px;
  flex-shrink: 0;
}

.reviews-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* =====================
   Partner Section
   ===================== */
.partner .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.partner-desc {
  font-size: 16px;
  font-weight: 400;
  color: #1c1c1c;
  max-width: 780px;
  line-height: 1.6;
}

.contact-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffae00;
  border-radius: 20px;
  padding: 14px 20px;
  min-height: 62px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: #1c1c1c;
  text-align: center;
  transition: opacity 0.2s;
  line-height: 1.4;
}

.contact-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.partner-image {
  width: 326px;
  height: auto;
}

/* =====================
   Footer
   ===================== */
footer {
  padding-bottom: 30px;
}

.footer-inner {
  background: #1c1c1c;
  border-radius: 30px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

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

.footer-nav a {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  transition: opacity 0.2s;
}

.footer-nav a:hover {
  opacity: 0.7;
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-social img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-copyright {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* =====================
   Mobile Responsive
   ===================== */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  header {
    padding: 10px 0;
  }

  .header-nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  main {
    gap: 40px;
    padding: 30px 0;
  }

  /* Hero mobile */
  .hero .container {
    min-height: unset;
  }

  .hero-title {
    font-size: 60px;
    letter-spacing: -1px;
    white-space: normal;
    word-break: break-word;
    z-index: auto;
  }

  .hero-mascot {
  
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
    z-index: auto;
    pointer-events: auto;
    margin: 15px 0;
    transform: none;
  }

  .hero-body {
    margin-top: 300px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 25px;
    padding-bottom: 0;
    z-index: auto;
  }

  .hero-left {
    width: 100%;
  }

  .hero-right {
    width: 100%;
  }

  .stat-num {
    font-size: 36px;
  }

  .btn-primary {
    width: 100%;
    font-size: 16px;
    padding: 18px 40px;
  }

  /* About mobile */
  .about .container {
    flex-direction: column;
    gap: 30px;
  }

  .about-image {
    height: 300px;
    width: 100%;
  }

  .about-image img {
    border-radius: 16px;
  }

  .feature-cards-row {
    flex-direction: column;
  }

  .section-title {
    font-size: 28px;
    letter-spacing: -0.5px;
  }

  /* Games mobile */
  .games-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
  }

  .games-col-small {
    display: contents;
  }

  .games-col-large {
    display: contents;
  }

  .games-col-small img,
  .games-col-large img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 16px;
  }

  .games-col-small .game-card-link,
  .games-col-large .game-card-link {
    width: 100%;
    height: 170px;
    border-radius: 16px;
  }

  /* Reviews mobile */
  .reviews .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .review-cards {
    grid-template-columns: 1fr;
  }

  .reviews-image {
    width: 100%;
  }

  /* Partner mobile */
  .contact-buttons {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .partner-image {
    width: 100%;
    max-width: 326px;
  }

  /* Footer mobile */
  footer {
    padding-bottom: 20px;
  }

  .footer-inner {
    align-items: center;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
  }

  .footer-top .logo {
    flex-direction: column;
    gap: 8px;
  }

  .footer-top .logo img {
    width: 70px;
    height: 70px;
  }

  .footer-top .logo span {
    font-size: 36px;
    text-transform: uppercase;
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 24px;
  }

  .footer-social {
    justify-content: center;
    gap: 20px;
  }

  .footer-social img {
    width: 70px;
    height: 70px;
  }

  .footer-copyright {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 52px;
  }

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

@media (max-width: 768px) {
  .about-image{
    overflow: visible;
  }
}
/* =====================
   Catalog Page
   ===================== */
.catalog-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.catalog-hero-desc {
  font-size: 16px;
  font-weight: 400;
  color: #1c1c1c;
  max-width: 780px;
  line-height: 1.6;
}

.catalog-grid .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

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

/* Game card link wrapper */
.game-card-link {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.2s, opacity 0.2s;
  flex-shrink: 0;
}

.game-card-link:hover {
  transform: scale(1.03);
  opacity: 0.92;
}

.game-card-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

@media (min-width: 769px) {
  .games-col-small .game-card-link {
    width: 190px;
    height: 190px;
  }

  .games-col-large .game-card-link {
    width: 260px;
    height: 400px;
  }
}

/* Catalog benefit cards section */
.catalog-benefits .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 768px) {
  .catalog-hero .section-title {
    font-size: 28px;
  }
}

/* =====================
   Game Detail Pages
   ===================== */
.game-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.game-image {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
  flex-shrink: 0;
}

.game-title {
  font-size: 60px;
  font-weight: 800;
  text-transform: uppercase;
  color: #1c1c1c;
  line-height: 1.1;
  letter-spacing: -1px;
}

.game-descs {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 620px;
}

.game-desc {
  font-size: 16px;
  font-weight: 400;
  color: #1c1c1c;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .game-title {
    font-size: 28px;
    letter-spacing: -0.5px;
  }

  .game-hero .btn-primary {
    width: auto;
    padding: 22px 60px;
    font-size: 18px;
  }
}

/* =====================
   Policy Pages
   ===================== */
.policy-content .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.policy-title {
  font-size: 60px;
  font-weight: 800;
  text-transform: uppercase;
  color: #1c1c1c;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.policy-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-section-title {
  font-size: 16px;
  font-weight: 800;
  color: #1c1c1c;
  line-height: 1.5;
}

.policy-text {
  font-size: 16px;
  font-weight: 400;
  color: #1c1c1c;
  line-height: 1.6;
}

.policy-list {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.policy-list li {
  font-size: 16px;
  font-weight: 400;
  color: #1c1c1c;
  line-height: 1.5;
  list-style: disc;
}

@media (max-width: 768px) {
  .policy-title {
    font-size: 28px;
    letter-spacing: -0.5px;
  }
}

/* =====================
   Animations
   ===================== */

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero mascot floating */
.hero-mascot {
  animation: float 5s ease-in-out infinite;
}

/* Header fade-in on load */
header {
  animation: fadeInDown 0.5s ease both;
}

/* Scroll-triggered fade-in */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger delays for child groups */
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* Feature cards hover lift */
.feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* Review cards hover lift */
.review-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* Contact buttons transition */
.contact-btn {
  transition: opacity 0.2s, transform 0.2s;
}

/* =====================
   Cookie Banner
   ===================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 980px;
  background: #fff;
  border-radius: 20px;
  padding: 40px 48px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  z-index: 9999;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.cookie-banner__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #1c1c1c;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cookie-banner__text {
  font-size: 16px;
  color: #1c1c1c;
  line-height: 1.6;
  margin-bottom: 10px;
}

.cookie-banner__buttons {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.cookie-btn {
  background: #F4A72A;
  color: #1c1c1c;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 50px;
  padding: 18px 48px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-transform: uppercase;
}

.cookie-btn:hover {
  background: #e09520;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 16px;
    padding: 28px 24px;
    width: calc(100% - 32px);
    border-radius: 16px;
  }

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

  .cookie-btn {
    padding: 15px 32px;
    font-size: 14px;
    flex: 1;
    text-align: center;
  }
}
