@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;900&display=swap');

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

body {
  font-family: 'Roboto Condensed', sans-serif;
  background-color: #020113;
  color: #fff;
  overflow-x: hidden;
  min-width: 320px;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.header {
  position: relative;
  z-index: 10;
  padding: 20px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo img {
  width: 30px;
  height: 30px;
}

.logo span {
  font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: normal;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

.header-nav a:hover {
  color: #d256ff;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-image {
  flex-shrink: 0;
  width: 534px;
  height: 616px;
  overflow: hidden;
}

.hero-image img {
  width: 122.45%;
  height: 141.51%;
  max-width: none;
  margin-top: -19.22%;
  margin-left: -11.02%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 634px;
}

.hero-title {
  font-weight: 900;
  font-size: 75px;
  text-transform: uppercase;
  line-height: normal;
  overflow-wrap: break-word;
}

.hero-text {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 28px 60px;
  background-color: #d256ff;
  border-radius: 10px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(210, 86, 255, 0.6);
  transition: opacity 0.3s;
  align-self: flex-start;

}
.game-hero .btn-primary {
  margin: 0 auto;
}

.btn-primary:hover {
  opacity: 0.85;
}

.marquee {
  background-color: #d256ff;
  height: 60px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 100%;
  padding-top: 10px;
  animation: marquee-scroll 20s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-track span {
  font-weight: 900;
  font-size: 34px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-track img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.gallery {
  padding: 60px 0;
}

.gallery-header {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1100px;
  margin-bottom: 30px;
}

.section-title {
  font-weight: 900;
  font-size: 64px;
  text-transform: uppercase;
  line-height: normal;
  overflow-wrap: break-word;
}

.section-text {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  overflow-wrap: break-word;
}

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

.gallery-grid img {
  width: 285px;
  height: 357px;
  object-fit: cover;
  border-radius: 26px;
  flex-shrink: 0;
}

.about {
  padding: 60px 0;
}

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

.about-image {
  flex-shrink: 0;
  width: 384px;
  height: 301px;
  overflow: hidden;
}

.about-image img {
  width: 159.7%;
  height: 135.54%;
  max-width: none;
  margin-top: -20.05%;
  margin-left: -31.73%;
}

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

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

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

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px;
  width: 240px;
  overflow: hidden;
  flex-shrink: 0;
}

.feature-card-icon {
  width: 50px;
  height: 50px;
  overflow: hidden;
  margin-bottom: 15px;
}

.feature-card-icon img {
  width: 119.46%;
  height: 110.98%;
  max-width: none;
  margin-top: -0.72%;
  margin-left: -9.61%;
}

.feature-card-title {
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  color: #d256ff;
  line-height: normal;
  margin-bottom: 15px;
}

.feature-card-text {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
}

.popular {
  position: relative;
  overflow: hidden;
  padding: 50px 0;
}

.popular-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.popular-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.popular .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 910px;
}

.popular-header {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.games-grid {
  display: flex;
  gap: 20px;
  width: 100%;
}

.game-card {
  border: 4px solid #d256ff;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  transition: transform 0.3s;
}

a.game-card:hover {
  transform: scale(1.03);
}

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

.game-card-large {
  width: 290px;
  height: 290px;
}

.game-cards-small {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 290px;
}

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

.game-card-small {
  width: 135px;
  height: 135px;
}

.faq {
  padding: 60px 0;
}

.faq .container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.faq-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  width: 750px;
  flex-shrink: 0;
}

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

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px;
  overflow: hidden;
}

.faq-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.faq-item-title {
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  color: #d256ff;
  line-height: normal;
}

.faq-item-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 5px;
}

.faq-item-text {
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  margin-top: 10px;
}

.faq-image {
  width: 420px;
  height: 573px;
  overflow: hidden;
  flex-shrink: 0;
}

.faq-image img {
  width: 110.03%;
  height: 143.38%;
  max-width: none;
  margin-top: -4.41%;
}

.contact {
  padding: 60px 0;
  text-align: center;
}

.contact .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 1100px;
}

.contact-info {
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  color: #d256ff;
  line-height: normal;
  overflow-wrap: break-word;
}

.contact-map {
  width: 800px;
  max-width: 100%;
  height: 357px;
  border-radius: 26px;
  overflow: hidden;
}

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

.footer {
  padding: 20px 0 20px;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

.footer-nav a:hover {
  color: #d256ff;
}

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

.footer-socials a {
  width: 40px;
  height: 40px;
  display: block;
}

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

.footer-copy {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.game-hero {
  position: relative;
  overflow: hidden;
  padding: 50px 0;
}

.game-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 910px;
  text-align: center;
}

.game-hero-icon {
  width: 220px;
  height: 220px;
  border: 4px solid #d256ff;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.game-strategy {
  padding: 60px 0;
}

.game-strategy .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1100px;
}

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

.policy-title {
  font-weight: 900;
  font-size: 75px;
  text-transform: uppercase;
  line-height: normal;
  overflow-wrap: break-word;
  margin-bottom: 30px;
}

.policy-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 30px;
}

.policy-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
}

.policy-body p {
  margin: 0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1000;
  width: 100%;
  max-width: 460px;
  padding: 32px;
  background-color: #050410;
  border: 1px solid rgba(210, 86, 255, 0.35);
  border-radius: 24px;
  box-shadow: 0 0 40px rgba(210, 86, 255, 0.15), 0 20px 50px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner-icon {
  margin-bottom: 20px;
}

.cookie-banner-icon svg {
  width: 60px;
  height: 60px;
  display: block;
}

.cookie-banner-title {
  font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cookie-banner-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: #cfcfda;
  margin-bottom: 24px;
}

.cookie-banner-btn {
  display: block;
  width: 100%;
  padding: 18px 24px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 900;
  font-size: 16px;
  text-transform: uppercase;
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.cookie-banner-accept {
  background-color: #d256ff;
  border: none;
  box-shadow: 0 4px 20px rgba(210, 86, 255, 0.6);
  margin-bottom: 14px;
}

.cookie-banner-accept:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.cookie-banner-manage {
  background-color: transparent;
  border: 1px solid rgba(210, 86, 255, 0.5);
}

.cookie-banner-manage:hover {
  background-color: rgba(210, 86, 255, 0.12);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 15px;
    right: 15px;
    bottom: 15px;
    max-width: none;
    width: auto;
    padding: 28px 24px;
  }

  .cookie-banner-title {
    font-size: 24px;
  }

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

  .header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .hero .container {
    flex-direction: column;
    padding-top: 60px;
    padding-bottom: 30px;
  }

  .hero-image {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 735 / 848;
  }

  .hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 122.45%;
    height: 141.51%;
    max-width: none;
    margin-top: -19.22%;
    margin-left: -11.02%;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 44px;
    max-width: 100%;
  }

  .section-title {
    font-size: 38px;
    max-width: 100%;
  }

  .gallery,
  .about,
  .faq,
  .contact {
    overflow: hidden;
  }

  .gallery-header {
    max-width: 100%;
  }

  .gallery-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-grid img {
    width: 100%;
    max-width: 285px;
    height: 357px;
  }

  .about .container {
    flex-direction: column;
  }

  .about-image {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 249 / 195;
  }

  .about-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 159.7%;
    height: 135.54%;
    max-width: none;
    margin-top: -20.05%;
    margin-left: -31.73%;
  }

  .about-content {
    width: 100%;
  }

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

  .feature-card {
    width: 100%;
  }

  .popular .container {
    max-width: 100%;
    padding: 0 15px;
  }

  .games-grid {
    flex-direction: column;
    align-items: center;
  }

  .game-card-large {
    width: 290px;
    height: 290px;
  }

  .game-cards-small {
    width: 290px;
  }

  .faq .container {
    flex-direction: column;
  }

  .faq-content {
    width: 100%;
  }

  .faq-item-title {
    max-width: 250px;
  }

  .faq-image {
    width: 100%;
    height: 449px;
  }

  .faq-image img {
    width: 110.03%;
    height: 143.38%;
    max-width: none;
    margin-top: -4.41%;
  }

  .contact .container {
    max-width: 100%;
    padding: 0 15px;
  }

  .contact-map {
    width: 100%;
    height: 357px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 20px;
  }

  .footer-copy {
    white-space: normal;
    text-align: center;
  }

  .btn-primary {
    align-self: flex-start;
  }

  .policy-title {
    font-size: 44px;
  }
}

/* ===== Hover effects ===== */
.logo {
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.04);
}

.header-nav a,
.footer-nav a {
  transition: color 0.25s ease;
}

.btn-primary {
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(210, 86, 255, 0.75);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.gallery-grid img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-grid img:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 18px 40px rgba(210, 86, 255, 0.35);
}

.feature-card {
  transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background-color: rgba(210, 86, 255, 0.14);
  box-shadow: 0 16px 36px rgba(210, 86, 255, 0.25);
}

.feature-card-icon img {
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-card-icon img {
  transform: scale(1.12) rotate(-5deg);
}

a.game-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

a.game-card:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 16px 40px rgba(210, 86, 255, 0.45);
}

.faq-item {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
  background-color: rgba(210, 86, 255, 0.12);
  transform: translateX(4px);
}

.faq-item-icon {
  transition: transform 0.3s ease;
}

.faq-item:hover .faq-item-icon {
  transform: rotate(180deg);
}

.contact-map img {
  transition: transform 0.5s ease;
}

.contact-map:hover img {
  transform: scale(1.05);
}

.footer-socials a {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-socials a:hover {
  transform: translateY(-4px) scale(1.1);
  opacity: 0.85;
}

/* ===== Scroll-reveal animations ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.hero-content,
.hero-image {
  animation: hero-fade-up 0.9s ease both;
}

.hero-image {
  animation-delay: 0.15s;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
