@font-face {
  font-family: "Vazirmatn";
  src: url("./assets/fonts/Vazirmatn/Vazirmatn-VariableFont_wght.ttf")
    format("truetype");

  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Vazirmatn", sans-serif;
  background: #070707;
  color: white;
  overflow-x: hidden;
  line-height: 1.9;
}

.container {
  width: min(1200px, 92%);
  margin: auto;
}

.section {
  padding: 64px 0;
  position: relative;
}

.bg-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  z-index: -1;
}

.glow-1 {
  background: #7c3aed;
  top: -200px;
  right: -100px;
}

.glow-2 {
  background: #f5b841;
  bottom: -200px;
  left: -100px;
}

/* HERO */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)),
    url("assets/cover.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.studio-logo {
  width: 300px;
  margin-bottom: 30px;
  filter: drop-shadow(0 0 30px rgba(245, 184, 65, 0.4));
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 5rem);
  font-weight: 900;
  margin-bottom: 20px;
}

.hero-subtitle {
  color: #cfcfcf;
  font-size: 1.2rem;
}

.hero-badge {
  display: inline-block;
  margin-top: 35px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 26px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

/* GENERAL */

.section-tag {
  color: #f5b841;
  font-weight: 700;
  margin-bottom: 15px;
  display: inline-block;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 25px;
}

.section-text {
  color: #c8c8c8;
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.gold {
  color: #f5b841;
  font-weight: 800;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

/* CARD */

.game-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.03)
  );

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 30px;

  padding: 50px;

  text-align: center;

  backdrop-filter: blur(20px);

  transition: 0.4s;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(124, 58, 237, 0.25);
}

.game-logo {
  width: 220px;
  margin-bottom: 30px;
}

.game-card h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* GAME SECTION */

.game-section {
  background: linear-gradient(to bottom, transparent, rgba(124, 58, 237, 0.08));
}

.big-game-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 50px;

  background: linear-gradient(to right, #f5b841, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.game-description {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.game-description p {
  margin-bottom: 20px;
  color: #d3d3d3;
}

/* FEATURES */

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;

  margin-top: 40px;
}

.feature {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
}

/* GALLERY */

.gallery-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 80px;
}

.gallery-track {
  display: flex;
  align-items: center;
  gap: 25px;
  position: relative;
  width: fit-content;
  left: 1215px;
  animation: scrollGallery 35s linear infinite;
}

.gallery-track img {
  width: 380px;
  flex-shrink: 0;

  border-radius: 25px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.gallery-track img:hover {
  transform: scale(1.03);

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

@keyframes scrollGallery {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* VIDEO */

.video-wrapper {
  margin-top: 100px;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* DOWNLOAD */

.download-section {
  text-align: center;
  margin-top: 120px;
}

.download-logo {
  width: 180px;
  margin-bottom: 30px;
}

.download-section h3 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.download-section p {
  color: #cfcfcf;
  margin-bottom: 35px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  color: black;

  background: linear-gradient(135deg, #f5b841, #ffd978);

  padding: 18px 50px;

  border-radius: 18px;

  font-size: 1.1rem;
  font-weight: 800;

  transition: 0.35s;
}

.download-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(245, 184, 65, 0.4);
}

/* FOOTER */

.footer {
  padding-top: 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer h3,
.footer h4 {
  margin-bottom: 15px;
}

.footer p {
  color: #b8b8b8;
}

.socials {
  display: flex;
  gap: 18px;
}

.socials a {
  width: 55px;
  height: 55px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.06);

  color: white;
  text-decoration: none;

  transition: 0.35s;
}

.socials a:hover {
  background: #f5b841;
  color: black;
  transform: translateY(-5px);
}

.copyright {
  text-align: center;
  color: #8d8d8d;
  padding: 40px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-social {
  width: 32px;
}

/* BALE MODAL */

.modal-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.75);

  backdrop-filter: blur(8px);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;

  opacity: 0;
  visibility: hidden;

  transition: 0.35s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  position: relative;

  width: min(90%, 450px);

  background: rgba(20, 20, 20, 0.95);

  border: 1px solid rgba(245, 184, 65, 0.2);

  border-radius: 30px;

  padding: 40px;

  text-align: center;

  transform: translateY(-80px);

  transition: 0.4s;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(245, 184, 65, 0.15);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-logo {
  width: 90px;
  margin-bottom: 20px;
}

.modal-box h3 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.modal-box p {
  color: #cfcfcf;
}

.bale-id {
  margin: 20px 0;

  color: #f5b841;

  font-size: 1.4rem;
  font-weight: 800;

  direction: ltr;
}

.modal-btn {
  display: inline-block;

  margin-top: 20px;

  text-decoration: none;

  background: linear-gradient(135deg, #f5b841, #ffd978);

  color: #000;

  padding: 14px 32px;

  border-radius: 16px;

  font-weight: 800;

  transition: 0.3s;
}

.modal-btn:hover {
  transform: translateY(-3px);
}

.modal-close {
  position: absolute;

  top: 15px;
  left: 15px;

  background: none;
  border: none;

  color: white;

  cursor: pointer;

  font-size: 1.3rem;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .gallery-track {
    left: 915px;
  }

  .gallery-track img {
    width: 280px;
  }

  .section {
    padding: 10px 0;
  }

  .download-section h3 {
    font-size: 2rem;
  }

  .footer-content {
    flex-direction: column;
  }
}
