:root {
  --color-primary: #8b0000;
  --color-secondary: #ffd700;
  --color-text: #333333;
  --color-light-text: #f4f4f4;
  --color-background: #ffffff;
  --color-dark-background: #1a1a1a;
  --color-accent: #a52a2a;
  --font-heading: "Trajan Pro", serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --spacing-unit: 1rem;
}

@font-face {
  font-family: "Trajan Pro";
  src: local("Trajan Pro Bold"), local("TrajanPro-Bold"),
    url("fonts/TrajanPro-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

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

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  background-color: rgba(0, 0, 0, 0.9);
  padding: var(--spacing-unit) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  width: 40px;
  height: 40px;
  margin-right: 0.5rem;
  border-radius: 50%;
}

.site-title {
  color: var(--color-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 1.5px;
}

.main-nav {
  display: flex;
}

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

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

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

.hero-section {
  background: url("img/game-feature-2.webp") no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

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

.hero-content {
  position: relative;
  z-index: 10;
  color: var(--color-light-text);
  padding: calc(4 * var(--spacing-unit)) 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

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

.hero-text {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  border-radius: 8px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

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

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

.price-info {
  font-style: italic;
  color: var(--color-light-text);
  opacity: 0.8;
}

.content-section {
  padding: calc(6 * var(--spacing-unit)) 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: calc(3 * var(--spacing-unit));
  color: var(--color-primary);
  position: relative;
  text-transform: uppercase;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--color-secondary);
  margin: 0.5rem auto 0 auto;
  border-radius: 2px;
}

.section-divider {
  border: none;
  height: 1px;
  background-color: rgba(139, 0, 0, 0.2);
  margin: 0;
}

.game-description-section {
  background-color: #f9f9f9;
}

.description-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: calc(4 * var(--spacing-unit));
  align-items: center;
}

.description-text p {
  margin-bottom: var(--spacing-unit);
  font-size: 1.05rem;
}

.description-image {
  position: relative;
  padding: 1rem;
  background-color: var(--color-background);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.feature-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

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

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: calc(2 * var(--spacing-unit));
  text-align: center;
}

.feature-item {
  background-color: #ffffff;
  padding: calc(2 * var(--spacing-unit));
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 5px solid var(--color-primary);
}

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

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

.screenshots-section {
  background-color: #f4f4f4;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text);
  margin-bottom: calc(2 * var(--spacing-unit));
  font-size: 1.2rem;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  aspect-ratio: 16 / 9;
}

.screenshot-img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .screenshot-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .screenshot-gallery {
    grid-template-columns: 1fr;
  }
}

.how-to-play-section {
  background: linear-gradient(145deg, var(--color-background) 0%, #fff7f7 100%);
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--spacing-unit));
  margin-bottom: calc(4 * var(--spacing-unit));
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: var(--spacing-unit);
  border-left: 5px solid var(--color-primary);
  background-color: var(--color-background);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.step-item:hover {
  border-left-color: var(--color-secondary);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-secondary);
  min-width: 40px;
  text-align: center;
}

.step-text {
  font-size: 1.1rem;
  flex-grow: 1;
}

.callout-image {
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.callout-img {
  width: 100%;
  display: block;
}

.download-now-section {
  background-color: var(--color-primary);
  color: var(--color-light-text);
  text-align: center;
  padding: calc(4 * var(--spacing-unit)) 0;
}

.download-now-section .section-title {
  color: var(--color-secondary);
}

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

.download-text {
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.2rem;
}

.download-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.disclaimer {
  margin-top: 1rem;
  opacity: 0.8;
}

.site-footer {
  background-color: var(--color-dark-background);
  color: var(--color-light-text);
  padding: calc(4 * var(--spacing-unit)) 0 calc(1 * var(--spacing-unit)) 0;
  border-top: 5px solid var(--color-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(2 * var(--spacing-unit));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.footer-heading {
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-link,
.contact-info {
  color: var(--color-light-text);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  transition: color 0.3s;
}

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

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.store-badge-small {
  height: 35px;
  width: auto;
}

.footer-bottom {
  text-align: center;
  padding: 1rem 0;
}

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

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.6rem;
  }
  .nav-list {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  .main-nav {
    margin-top: 1rem;
  }
  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }
  .nav-link {
    padding: 0.3rem 0.5rem;
    font-size: 0.9rem;
  }
  .hero-section {
    height: auto;
  }
  .hero-content {
    padding: calc(6 * var(--spacing-unit)) var(--spacing-unit);
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.4rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  .store-badge {
    height: 45px;
  }
  .description-grid {
    grid-template-columns: 1fr;
    gap: calc(2 * var(--spacing-unit));
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .site-title {
    font-size: 1.2rem;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .features-list {
    grid-template-columns: 1fr;
  }
}
