:root {
  --color-primary: #ff5733;
  --color-secondary: #007bff;
  --color-background-dark: #1f2833;
  --color-background-light: #f4f7f6;
  --color-text-light: #c5c6c7;
  --color-text-dark: #3a4750;
  --font-heading: "Impact", "Arial Black", sans-serif;
  --font-body: "Helvetica Neue", Arial, sans-serif;
  --spacing-base: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
}

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

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 var(--spacing-base);
}

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

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

.section-title,
.hero-title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  margin-bottom: var(--spacing-base) * 2;
  letter-spacing: 2px;
  font-weight: 900;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--color-primary);
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 300;
  margin-bottom: var(--spacing-base) * 1.5;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  text-align: center;
  border-bottom: 3px solid var(--color-primary);
  padding-bottom: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  margin-top: -1rem;
  margin-bottom: var(--spacing-base) * 2;
  font-style: italic;
  color: var(--color-text-light);
}

.header {
  background-color: rgba(31, 40, 51, 0.98);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem var(--spacing-base);
  min-height: 60px;
}

.logo-link {
  display: flex;
  align-items: center;
  color: var(--color-text-light);
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
}
img {
  max-width: 100%;
}
.logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  flex-shrink: 0;
}
.cta-container {
  padding-top: 80px;
  padding-bottom: 80px;
  margin: 80px 0;
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 1.2rem;
}

.nav-link {
  color: var(--color-text-light);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s, border-bottom 0.3s;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav-link:hover {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}

.hero-section {
  background: url(img/hero-battle-scene.webp) no-repeat center center/cover;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 60px;
}

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

.hero-container {
  position: relative;
  z-index: 2;
  color: var(--color-text-light);
  max-width: 800px;
  padding: var(--spacing-base) * 3 0;
  margin-left: var(--spacing-base);
}

.hero-text {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-base) * 2;
}

.hero-cta-group {
  display: flex;
  gap: var(--spacing-base);
  margin-bottom: var(--spacing-base);
}

.cta-badge {
  height: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 87, 51, 0.7);
}

.hero-disclaimer {
  font-size: 0.8rem;
  opacity: 0.9;
}

.section {
  padding: var(--spacing-base) * 4 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.description-section p {
  margin-bottom: var(--spacing-base);
  text-align: justify;
}

.features-section {
  position: relative;
  overflow: hidden;
}

.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-base) * 1.5;
  padding-top: var(--spacing-base);
}

.feature-item {
  background-color: #2c3846;
  padding: var(--spacing-base);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  border-left: 5px solid var(--color-primary);
  transition: transform 0.3s ease, background-color 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
  background-color: #384554;
}

.feature-item strong {
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-image-wrapper {
  text-align: center;
  margin-top: var(--spacing-base) * 3;
}

.feature-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 87, 51, 0.5);
}

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

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

.how-to-item {
  margin-bottom: var(--spacing-base) * 2;
  padding-left: 70px;
  position: relative;
  font-size: 1.1rem;
}

.how-to-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--color-primary);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.5rem;
  box-shadow: 0 0 10px rgba(255, 87, 51, 0.5);
}

.how-to-item strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.gallery-section {
  padding-top: var(--spacing-base) * 3;
  padding-bottom: var(--spacing-base) * 3;
}

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

.screenshot-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  background-color: #2c3846;
}

.screenshot-item:hover {
  transform: translateY(-5px) scale(1.02);
}

.screenshot-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.screenshot-caption {
  padding: 0.75rem;
  text-align: center;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.cta-section {
  text-align: center;
  padding: var(--spacing-base) * 4 0;
  background-color: var(--color-primary);
  color: white;
  border: none;

  clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%);
  margin-top: -3rem;
  padding-top: var(--spacing-base) * 6;
  padding-bottom: var(--spacing-base) * 6;
}

.cta-section .section-title {
  color: white;
  border-bottom: 3px solid white;
  margin-bottom: var(--spacing-base);
}

.cta-text {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-base) * 2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: var(--spacing-base);
}

.cta-disclaimer {
  margin-top: var(--spacing-base);
  opacity: 0.9;
}

.footer {
  padding: 30px 40px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--spacing-base) * 2;
  padding-bottom: var(--spacing-base);
}

.footer-col {
  flex-basis: 250px;
  flex-grow: 1;
}

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

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

.footer-item {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--color-text-light);
  opacity: 0.8;
}

.footer-link:hover {
  color: var(--color-secondary);
  opacity: 1;
}

.developer-info {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-cta-badge {
  width: 150px;
  height: auto;
  transition: opacity 0.3s;
}

.footer-cta-badge:hover {
  opacity: 0.8;
}

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

.copyright {
  font-size: 0.85rem;
  color: var(--color-text-light);
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .nav-list {
    gap: 0.8rem;
  }
  .hero-container {
    margin-left: var(--spacing-base);
  }
  .features-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .logo {
    margin-bottom: 10px;
  }
  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }
  .nav-link {
    font-size: 0.85rem;
  }
  .hero-section {
    min-height: 70vh;
  }
  .hero-container {
    margin-left: 0;
    text-align: center;
    padding-left: var(--spacing-base);
    padding-right: var(--spacing-base);
    max-width: 100%;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-col {
    flex-basis: 100%;
    max-width: 400px;
  }
  .screenshot-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .cta-section {
    clip-path: none;
    margin-top: 0;
    padding: var(--spacing-base) * 4 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .cta-group {
    flex-direction: column;
    align-items: center;
  }
  .cta-badge {
    height: 45px;
  }
}
