:root {
  --color-primary: #ff4500;
  --color-secondary: #00bfff;
  --color-background: #1a1a2e;
  --color-text-light: #f4f4f4;
  --color-text-dark: #333333;
  --color-card-bg: #2b2b4a;
  --color-border: #4a4e69;
  --font-family-primary: "Arial", sans-serif;
  --spacing-unit: 1rem;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family-primary);
  line-height: 1.6;
  background-color: var(--color-background);
  color: var(--color-text-light);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--color-secondary);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-primary);
}

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

.button {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.2s ease,
    box-shadow 0.3s ease;
  text-align: center;
  border: none;
  cursor: pointer;
}

.button--primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.button--primary:hover {
  background-color: #ff6622;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 69, 0, 0.6);
}

.button--secondary {
  background-color: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.button--secondary:hover {
  background-color: var(--color-secondary);
  color: var(--color-background);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
}

.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 3px solid var(--color-secondary);
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-header__subtitle {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-top: 1rem;
  opacity: 0.8;
}

.header {
  background-color: rgba(26, 26, 46, 0.95);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  padding: 0.75rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-text-light);
  text-transform: uppercase;
}

.logo__img {
  width: 40px;
  height: 40px;
  margin-right: 0.5rem;
}

.nav__list {
  display: flex;
  list-style: none;
}

.nav__item {
  margin-left: 2rem;
}

.nav__link {
  color: var(--color-text-light);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  text-transform: capitalize;
}

.nav__link:hover {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}

.nav__item--cta .nav__link {
  margin-left: 1rem;
}

.hero-section {
  padding: 8rem 0 10rem 0;
  text-align: center;
  background: url("img/hero-main-screenshot.webp") no-repeat center center/cover;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

.hero-section__container {
  position: relative;
  z-index: 1;
}

.hero-section__title {
  font-size: 4rem;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 0 15px rgba(255, 69, 0, 0.8);
}

.hero-section__subtitle {
  font-size: 2rem;
  color: var(--color-secondary);
  font-weight: 300;
  margin-bottom: 2rem;
}

.hero-section__text {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  font-size: 1.15rem;
}

.hero-section__cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.cta-badge {
  height: 60px;
  transition: transform 0.3s ease;
}

.cta-badge:hover {
  transform: scale(1.05);
}

.hero-section__disclaimer {
  font-style: italic;
  opacity: 0.7;
}

.hero-section__image-wrapper {
  margin-top: 4rem;
}

.hero-section__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 3px solid var(--color-primary);
}

.game-description-section {
  background-color: var(--color-card-bg);
  border-top: 5px solid var(--color-primary);
}

.content-block p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.features-section {
  background-color: var(--color-background);
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  list-style: none;
}

.features-list__item {
  background-color: var(--color-card-bg);
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid var(--color-secondary);
}

.features-list__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.features-list__title {
  font-size: 1.4rem;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.features-list__title::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.gallery-section {
  background-color: #151525;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.screenshots-grid__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--color-card-bg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 16 / 9;
}

.screenshots-grid__image:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
  z-index: 2;
}

.how-to-play-section {
  background-color: var(--color-card-bg);
  border-bottom: 5px solid var(--color-secondary);
}

.how-to-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.how-to-list__item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.5rem;
  border: 1px dashed var(--color-border);
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.1);
}

.how-to-list__step-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.how-to-list__title {
  font-size: 1.5rem;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.cta-section {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--color-background) 0%, #0d0d1a 100%);
}

.cta-section__text {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.cta-section__button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-more-action {
  margin-top: 0.5rem;
}

.cta-section__disclaimer {
  opacity: 0.6;
  margin-top: 1rem;
}

.footer {
  background-color: #0d0d1a;
  padding: 4rem 0 1.5rem 0;
  border-top: 5px solid var(--color-primary);
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column__title {
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.footer-list {
  list-style: none;
}

.footer-list__item {
  margin-bottom: 0.75rem;
}

.footer-list__link {
  color: var(--color-text-light);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-list__link:hover {
  color: var(--color-primary);
  opacity: 1;
}

.contact-info {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.8;
}

.app-badges {
  margin-top: 1.5rem;
}

.app-badge-img {
  height: 45px;
  width: auto;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  text-align: center;
}

.copyright {
  font-size: 0.85rem;
  opacity: 0.6;
}

@media (max-width: 992px) {
  .header__container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav__list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav__item {
    margin: 0.5rem 1rem;
  }

  .hero-section {
    padding: 5rem 0;
  }

  .hero-section__title {
    font-size: 3rem;
  }

  .hero-section__subtitle {
    font-size: 1.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header__title {
    font-size: 2rem;
  }

  .how-to-list {
    gap: 2rem;
  }

  .how-to-list__item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .how-to-list__step-number {
    margin-bottom: 1rem;
  }
}

@media (max-width: 600px) {
  .hero-section__title {
    font-size: 2.5rem;
  }

  .hero-section__subtitle {
    font-size: 1.2rem;
  }

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

  .nav__item {
    margin: 0.5rem 0;
  }

  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column__title {
    margin-top: 1.5rem;
  }

  .app-badges {
    display: flex;
    justify-content: center;
  }
}
