:root {
  --color-primary: #00bcd4;
  --color-secondary: #ff9800;
  --color-background-dark: #121212;
  --color-background-light: #1e1e1e;
  --color-text-light: #ffffff;
  --color-text-subtle: #b0b0b0;
  --font-family-primary: "Arial", sans-serif;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;
  --max-width-content: 1200px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
}

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

body {
  font-family: var(--font-family-primary);
  background-color: var(--color-background-dark);
  color: var(--color-text-light);
  line-height: 1.6;
  scroll-behavior: smooth;
  padding-top: 60px;
}

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

a:hover {
  color: var(--color-secondary);
  transform: translateY(-2px);
}

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

h1,
h2,
h3 {
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

h2 {
  font-size: 2.2rem;
  color: var(--color-text-light);
  border-left: 5px solid var(--color-primary);
  padding-left: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

p {
  margin-bottom: var(--spacing-md);
}

.header {
  background-color: var(--color-background-light);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  padding: var(--spacing-sm) 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

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

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

.logo {
  width: 40px;
  height: 40px;
  margin-right: var(--spacing-sm);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--color-primary);
}

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

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

.nav-link {
  color: var(--color-text-subtle);
  font-weight: 500;
  padding: var(--spacing-sm) 0;
  position: relative;
}

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

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

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

.menu-toggle {
  display: none;
}

.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-md);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease,
    box-shadow 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-background-dark);
  box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

.btn-primary:hover {
  background-color: #4dd0e1;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.6);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  padding: var(--spacing-sm) var(--spacing-md);
}

.btn-secondary:hover {
  background-color: var(--color-secondary);
  color: var(--color-background-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

.store-badge {
  width: 180px;
  height: auto;
  display: block;
}

.small-badge {
  width: 120px;
}

.section {
  padding: var(--spacing-xl) 0;
  min-height: 50vh;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.separator {
  border: none;
  border-top: 1px dashed var(--color-text-subtle);
  margin: 0 var(--spacing-md);
  opacity: 0.2;
}

.hero-section {
  background-image: url("src/img/hero_background.webp"),
    linear-gradient(
      135deg,
      var(--color-background-light) 0%,
      var(--color-background-dark) 100%
    );
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  padding: calc(var(--spacing-xl) * 1.5) 0 var(--spacing-xl) 0;
  display: flex;
  align-items: center;
  text-align: left;
  min-height: 80vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--color-text-subtle);
  margin-bottom: var(--spacing-lg);
  border-left: none;
  padding-left: 0;
  font-weight: 300;
}

.hero-media {
  display: none;
}

.call-to-action-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: flex-start;
  margin-top: var(--spacing-md);
}

.disclaimer {
  color: var(--color-text-subtle);
}

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

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

.description-text {
  flex: 1;
}

.description-image-container {
  flex: 1;
  text-align: center;
  padding: var(--spacing-md);
  background-color: var(--color-background-dark);
  border-radius: var(--border-radius-md);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.description-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-sm);
}

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

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

.feature-item {
  background-color: var(--color-background-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border-top: 3px solid var(--color-primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 188, 212, 0.2);
}

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

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

.gallery-subtitle {
  text-align: center;
  color: var(--color-text-subtle);
  margin-bottom: var(--spacing-lg);
}

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

.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

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

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

.steps-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.step-item {
  background-color: var(--color-background-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-left: calc(var(--spacing-lg) * 2 + var(--spacing-sm));
}

.step-number {
  position: absolute;
  left: var(--spacing-lg);
  top: var(--spacing-lg);
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-secondary);
  opacity: 0.7;
}

.step-title {
  font-size: 1.3rem;
  color: var(--color-text-light);
  margin-top: 0;
}

.final-call-to-action {
  background-color: var(--color-background-light);
  text-align: center;
  border-top: 5px solid var(--color-primary);
}

.action-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.download-btn-large {
  padding: 0;
}

.footer {
  background-color: var(--color-background-light);
  padding: var(--spacing-xl) 0 var(--spacing-md) 0;
  border-top: 3px solid var(--color-secondary);
}

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

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

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-link {
  color: var(--color-text-subtle);
  display: block;
  padding: var(--spacing-xs) 0;
}

.footer-link:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

.footer-logo-text {
  color: var(--color-text-light);
}

.footer-text {
  color: var(--color-text-subtle);
  font-size: 0.9rem;
}

.footer-contact {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--color-text-subtle);
}

.footer-bottom {
  border-top: 1px solid var(--color-text-subtle);
  padding-top: var(--spacing-md);
  text-align: center;
  opacity: 0.7;
}

.copyright,
.disclaimer-footer {
  font-size: 0.8rem;
  color: var(--color-text-subtle);
  margin: var(--spacing-sm) 0;
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--color-background-light);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    padding: var(--spacing-md) 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
  }

  .nav-open {
    display: block;
    transform: translateY(0);
  }

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

  .nav-item {
    margin: var(--spacing-sm) 0;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-primary);
    border-radius: 1px;
  }

  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-xl) 0;
  }

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

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

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

  .call-to-action-group {
    align-items: center;
  }

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

  .description-image-container {
    order: -1;
  }

  .features-list,
  .screenshots-grid,
  .steps-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .hero-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    text-align: left;
  }

  .hero-content {
    padding-left: var(--spacing-md);
    align-items: flex-start;
  }

  .hero-media {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-image {
    max-width: 80%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
}
