:root {
  --color-primary: #f5a623;
  --color-secondary: #007bff;
  --color-background: #1c1c1c;
  --color-surface: #2a2a2a;
  --color-text-light: #f0f0f0;
  --color-text-dark: #333333;
  --color-success: #4caf50;
  --font-primary: "Arial", sans-serif;
  --font-heading: "Georgia", serif;
  --spacing-lg: 3rem;
  --spacing-md: 1.5rem;
  --border-radius: 8px;
}

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

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s, opacity 0.3s;
}

a:hover {
  color: #ffc107;
  opacity: 0.8;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(245, 166, 35, 0.5);
}

.section-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--color-primary);
  color: var(--color-background);
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.6);
}

.header {
  background-color: rgba(42, 42, 42, 0.95);
  backdrop-filter: blur(5px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

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

.logo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
}

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

.nav-item {
  margin-left: var(--spacing-md);
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  padding: 5px 10px;
  text-transform: uppercase;
}

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

.header-cta {
  display: none;
}

.hero-section {
  position: relative;
  padding: 8rem 0;
  background-size: cover;
  background-position: center 20%;
  background-attachment: fixed;
  text-align: center;
  overflow: hidden;
}

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

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

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  font-style: italic;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-download-links {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  align-items: center;
  flex-wrap: wrap;
}

.app-badge {
  width: 180px;
  height: auto;
  transition: transform 0.3s;
}

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

.disclaimer {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  width: 100%;
  margin-top: 1rem;
}

.game-description-section {
  background-color: var(--color-surface);
  border-bottom: 5px solid var(--color-primary);
}

.description-container {
  padding-top: var(--spacing-lg);
}

.description-content {
  display: flex;
  gap: var(--spacing-lg);
  align-items: flex-start;
}

.description-text {
  flex: 2;
  font-size: 1.05rem;
}

.description-text p {
  margin-bottom: var(--spacing-md);
  padding-right: var(--spacing-md);
}

.description-image {
  flex: 1;
  min-width: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.img-responsive {
  width: 100%;
  height: auto;
  display: block;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.feature-item {
  background-color: var(--color-surface);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border-left: 5px solid var(--color-primary);
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.feature-title {
  color: var(--color-primary);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.gallery-section {
  background-color: #111;
  padding-top: var(--spacing-lg);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.screenshot-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
  position: relative;
  transition: transform 0.3s;
}

.screenshot-item:hover {
  transform: scale(1.03);
}

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

.screenshot-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--color-text-light);
  padding: 8px;
  font-size: 0.9rem;
  text-align: center;
}

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

.how-to-play-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  counter-reset: step-counter;
}

.how-to-play-step {
  background-color: #333;
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  display: flex;
  align-items: flex-start;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.how-to-play-step::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--color-background);
  background-color: var(--color-primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.step-title {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.cta-section {
  position: relative;
  padding: 6rem 0;
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
  border-top: 5px solid var(--color-primary);
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
}

.cta-container {
  position: relative;
  z-index: 1;
}

.cta-title {
  color: var(--color-text-light);
  text-shadow: 0 0 10px var(--color-primary);
}

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

.cta-download-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.footer {
  background-color: #111;
  padding: var(--spacing-lg) 0 1rem 0;
  border-top: 3px solid #333;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-heading {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-list li {
  margin-bottom: 8px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

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

.developer-info,
.support-info {
  font-size: 0.95rem;
}

.footer-badge {
  display: block;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--spacing-md);
}

.copyright {
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    padding-bottom: 10px;
  }

  .nav-list {
    margin-top: 10px;
  }

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

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

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

  .description-text {
    padding-right: 0;
  }

  .description-image {
    min-width: initial;
    width: 100%;
    margin-top: var(--spacing-md);
  }

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

  .footer-col {
    margin-bottom: var(--spacing-md);
  }

  .footer-list {
    padding-left: 0;
  }

  .footer-badge {
    margin: 10px auto;
  }
}

@media (max-width: 768px) {
  .nav {
    width: 100%;
    margin-top: 15px;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .nav-item {
    margin-left: 0;
  }

  .hero-section {
    padding: 6rem 0 4rem 0;
  }

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

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

  .features-grid,
  .screenshot-grid {
    gap: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
