:root {
  --color-primary: #ffcc00;
  --color-secondary: #008080;
  --color-background: #f4f4f9;
  --color-text: #333333;
  --color-heading: #1c3a5a;
  --color-light-bg: #ffffff;
  --color-dark-bg: #1c3a5a;
  --font-heading: "Cinzel Decorative", serif;
  --font-body: "Roboto", sans-serif;
  --spacing-large: 6rem;
  --spacing-medium: 3rem;
  --spacing-small: 1.5rem;
}

@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Roboto:wght@300;400;700&display=swap");

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

section {
  padding: var(--spacing-large) 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  margin-bottom: var(--spacing-small);
  line-height: 1.2;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--color-primary);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: var(--spacing-medium);
  color: #fff;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: var(--spacing-large);
  position: relative;
  padding-bottom: 10px;
  color: var(--color-heading);
}

#das-bietet-das-spiel .section-title {
  background-color: #fff;
  border-radius: 10px;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

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

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

.logo-link {
  display: flex;
  align-items: center;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

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

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

.nav-list li {
  margin-left: 1.5rem;
}

.nav-link {
  color: #ffffff;
  font-weight: 400;
  text-transform: uppercase;
  padding: 0.5rem 0;
  position: relative;
}

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

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

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

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)),
    url("img/hero-gameplay.webp") center center no-repeat;
  background-size: cover;
  color: #ffffff;
  text-align: center;
  padding: calc(var(--spacing-large) * 1.5) 0;
  position: relative;
}

.hero-container {
  max-width: 900px;
}

.hero-text {
  font-size: 1.15rem;
  margin-bottom: var(--spacing-medium);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.store-badge {
  width: 200px;
  height: auto;
  transition: transform 0.3s ease;
}

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

.hero-image-placeholder {
  margin-top: var(--spacing-large);
  padding: 0 5%;
}

.game-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 5px solid var(--color-primary);
}

.btn {
  display: inline-block;
  padding: 0;
  border-radius: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: transparent;
}

.section-padding {
  padding: calc(var(--spacing-large) * 1.2) 0;
}

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

.game-description-section {
  background: radial-gradient(
    circle at top left,
    var(--color-background),
    var(--color-light-bg)
  );
}

.content-wrapper p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.features-section {
  background-image: url("img/icon.webp");
  background-repeat: repeat;
}

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

.feature-item {
  background-color: #ffffff;
  padding: var(--spacing-medium);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--color-secondary);
  transition: transform 0.3s ease;
}

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

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

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

.section-subtitle {
  text-align: center;
  color: var(--color-secondary);
  margin-top: -3rem;
  margin-bottom: var(--spacing-medium);
  font-weight: 400;
  font-style: italic;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.gallery-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4/5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 3px solid var(--color-light-bg);
}

.gallery-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

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

.how-to-step {
  counter-increment: step-counter;
  position: relative;
  padding: 20px 0 20px 80px;
  margin-bottom: 1rem;
  border-bottom: 1px dashed #ddd;
}

.how-to-step::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--color-secondary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.how-to-step strong {
  font-size: 1.2rem;
  color: var(--color-heading);
  display: block;
  margin-bottom: 0.25rem;
}

.cta-section {
  background-color: var(--color-secondary);
  color: #ffffff;
  text-align: center;
  padding: calc(var(--spacing-large) * 1) 0;
}

.cta-title {
  color: var(--color-primary);
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-medium);
}

.cta-button {
  margin: 1.5rem 0;
}

.cta-disclaimer {
  opacity: 0.8;
}

.footer {
  background-color: var(--color-dark-bg);
  color: #cccccc;
  padding: var(--spacing-medium) 0 var(--spacing-small) 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-medium);
  padding-bottom: var(--spacing-medium);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.footer-link {
  color: #cccccc;
}

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

.footer-badge {
  width: 150px;
  height: auto;
  margin-top: 10px;
}

.footer-about p {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-small);
}

.copyright {
  color: #999999;
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .nav-list {
    display: none;
  }

  .header-content {
    justify-content: center;
  }

  .logo-link {
    font-size: 1.8rem;
  }

  .section-padding {
    padding: var(--spacing-large) 0;
  }

  .how-to-step {
    padding-left: 60px;
  }

  .how-to-step::before {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

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

@media (max-width: 600px) {
  .hero-section {
    padding: var(--spacing-medium) 0;
  }

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

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

  .section-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-medium);
  }

  .section-padding {
    padding: calc(var(--spacing-medium) * 1.5) 0;
  }

  .store-badge {
    width: 180px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

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

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

  .footer-about {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .store-links {
    display: flex;
    justify-content: center;
  }

  .footer-col {
    margin-bottom: 1rem;
  }
}
