:root {
  --color-primary: #ffd700;
  --color-secondary: #daa520;
  --color-background-light: #f4f4f9;
  --color-background-dark: #1e304e;
  --color-text-dark: #333;
  --color-text-light: #f4f4f9;
  --font-heading: "Georgia", serif;
  --font-body: "Arial", sans-serif;
  --spacing-unit: 1rem;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  line-height: 1.6;
  background-color: var(--color-background-light);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem var(--spacing-unit);
}

section {
  padding: 6rem 0;
  border-bottom: 1px solid #ddd;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-background-dark);
  text-transform: uppercase;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--color-primary);
  margin: 10px auto 0;
}

.subsection-title {
  font-size: 1.8rem;
  color: var(--color-secondary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-background-dark);
  border: 2px solid var(--color-secondary);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  transform: translateY(-2px);
}

.store-badge img {
  max-height: 50px;
  transition: transform 0.3s ease;
}

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

.main-header {
  background-color: var(--color-background-dark);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--spacing-unit);
}

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

.logo-image {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-link {
  color: var(--color-text-light);
  font-weight: 500;
  text-transform: uppercase;
  padding: 5px 0;
  position: relative;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.download-button .btn {
  margin-left: 10px;
}

.menu-toggle {
  display: none;
}

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
    url("img/hero-background.webp") no-repeat center center/cover;
  color: var(--color-text-light);
  text-align: center;
  padding: 10rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-content {
  padding: 0;
}

.hero-title {
  font-size: 4.5rem;
  color: var(--color-primary);
  text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.hero-cta-group {
  margin-bottom: 1rem;
}

.price-info {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 3rem;
}

.hero-image-placeholder {
  margin-top: 4rem;
  display: inline-block;
  border: 5px solid var(--color-secondary);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-game-image {
  width: 100%;
  max-width: 350px;
  display: block;
  height: auto;
}

.content-section {
  transition: background-color 0.5s ease;
}

.bg-light {
  background-color: var(--color-background-light);
}

.bg-dark {
  background-color: var(--color-background-dark);
  color: var(--color-text-light);
}

.bg-dark .section-title {
  color: var(--color-primary);
}

.bg-dark .section-title::after {
  background-color: var(--color-text-light);
}

.game-description-section p {
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-list li {
  padding: 1rem;
  background-color: #fff;
  border-left: 5px solid var(--color-primary);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-weight: 500;
  transition: transform 0.3s ease;
}

.feature-list li:hover {
  transform: translateY(-5px);
}

.feature-list strong {
  color: var(--color-background-dark);
}

.how-to-play-section {
  background-color: var(--color-background-light);
}

.step-list {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
  max-width: 800px;
  margin: 0 auto;
}

.step-list li {
  background: #fff;
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  font-size: 1.1rem;
}

.step-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: var(--color-primary);
  color: var(--color-background-dark);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
  border: 2px solid var(--color-secondary);
}

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

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}

.screenshot-item {
  border: 3px solid var(--color-secondary);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.screenshot-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.game-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

.cta-section {
  text-align: center;
  padding: 5rem 0;
  color: var(--color-text-light);
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-text {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.15rem;
}

.price-info-cta {
  opacity: 0.8;
  margin-top: 1rem;
}

.main-footer {
  background-color: var(--color-background-dark);
  color: var(--color-text-light);
  padding-top: 4rem;
  border-top: 5px solid var(--color-primary);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 3rem;
}

.footer-heading {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

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

.footer-list li {
  margin-bottom: 0.75rem;
}

.footer-list a,
.contact-address {
  color: var(--color-text-light);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-list a:hover {
  color: var(--color-secondary);
}

.contact-address {
  font-style: normal;
}

.store-badge-footer {
  display: inline-block;
  margin-top: 10px;
}

.store-badge-footer img {
  max-height: 55px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  text-align: center;
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.copyright a {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }

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

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--color-background-dark);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .nav-list {
    flex-direction: column;
    padding: 1rem 0;
  }

  .nav-item {
    text-align: center;
    margin: 0.5rem 0;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
  }

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

  .hero-title {
    font-size: 2.8rem;
  }

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

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

  .footer-download {
    order: -1;
  }
}
