:root {
  --color-primary: #ff4757;
  --color-secondary: #0a0a1f;
  --color-background-light: #f0f0f5;
  --color-text-light: #f0f0f5;
  --color-text-dark: #2c3a47;
  --font-heading: "Bungee", sans-serif;
  --font-body: "Roboto", sans-serif;
  --spacing-large: 6rem;
  --spacing-medium: 3rem;
  --spacing-small: 1.5rem;
  --border-radius: 12px;
}

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

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

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

a:hover {
  color: #ff6b81;
  text-decoration: underline;
}

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

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

.section-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-secondary);
  text-align: center;
  margin-bottom: var(--spacing-medium);
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

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

.header__logo {
  height: 40px;
  width: auto;
}

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

.header__menu-item {
  margin-left: var(--spacing-small);
}

.header__menu-link {
  color: var(--color-text-light);
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.header__menu-link:hover {
  background-color: var(--color-primary);
  text-decoration: none;
}

.hero-section {
  background-color: var(--color-secondary);
  color: var(--color-text-light);
  padding: 8rem 0 6rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: url("img/punko-gameplay-01.webp");
  background-size: cover;
  background-position: center;
  filter: blur(5px);
}

.hero__content {
  position: relative;
  z-index: 10;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  text-shadow: 0 0 15px var(--color-primary);
}

.hero__subtitle {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: var(--spacing-medium);
  color: var(--color-primary);
}

.hero__description {
  max-width: 800px;
  margin: 0 auto var(--spacing-medium);
  font-size: 1.1rem;
}

.hero__app-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-small);
  margin-bottom: var(--spacing-small);
}

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

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

.hero__info {
  font-size: 0.9rem;
  opacity: 0.7;
}

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

.game-description__layout {
  display: flex;
  gap: var(--spacing-large);
  align-items: center;
}

.game-description__text {
  flex: 1;
  font-size: 1.1rem;
}

.game-description__text p {
  margin-bottom: var(--spacing-small);
}

.game-description__image-wrapper {
  flex: 1;
  max-width: 50%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.game-description__image {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.game-description__image:hover {
  transform: scale(1.05);
}

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

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

.features-list__item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-medium);
  border-radius: var(--border-radius);
  border-left: 5px solid var(--color-primary);
  font-size: 1.05rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.features-list__item:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

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

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

.how-to-play__layout {
  display: flex;
  gap: var(--spacing-large);
  align-items: center;
  flex-direction: row-reverse;
}

.steps-list {
  list-style: none;
  counter-reset: step-counter;
  flex: 1;
}

.steps-list__item {
  counter-increment: step-counter;
  font-size: 1.1rem;
  padding: 1rem 0 1rem 3rem;
  position: relative;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.steps-list__item::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-primary);
  color: var(--color-text-light);
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
}

.how-to-play__image-wrapper {
  flex: 1;
  max-width: 50%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.how-to-play__image {
  width: 100%;
  display: block;
}

.gallery-section {
  background-color: #0d0d29;
}

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

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

.gallery__item {
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  aspect-ratio: 16/9;
}

.gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery__image:hover {
  transform: scale(1.1);
}

.cta-section {
  background-image: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    #ff6b81 100%
  );
  color: var(--color-text-light);
  text-align: center;
  padding: 4rem 0;
  clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%);
  margin-top: -3rem;
  position: relative;
  z-index: 5;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-small);
}

.cta__text {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto var(--spacing-medium);
}

.cta__info {
  opacity: 0.8;
}

.footer {
  background-color: var(--color-secondary);
  color: var(--color-text-light);
  padding: var(--spacing-large) 0 var(--spacing-small) 0;
  font-size: 0.9rem;
}

.footer__container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: var(--spacing-medium);
}

.footer__column {
  flex: 1;
  min-width: 200px;
  margin-bottom: var(--spacing-medium);
}

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

.footer__list {
  list-style: none;
}

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

.footer__link {
  color: var(--color-text-light);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer__link:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__app-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-small);
}

.footer__copyright {
  opacity: 0.6;
}

@media (max-width: 1024px) {
  .header__menu {
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .header__container {
    flex-direction: column;
    text-align: center;
  }

  .header__nav {
    margin-top: var(--spacing-small);
    width: 100%;
    overflow-x: auto;
  }

  .header__menu {
    justify-content: center;
  }

  .hero__title {
    font-size: 3.5rem;
  }

  .hero__subtitle {
    font-size: 1.5rem;
  }

  .game-description__layout,
  .how-to-play__layout {
    flex-direction: column;
    gap: var(--spacing-medium);
  }

  .game-description__image-wrapper,
  .how-to-play__image-wrapper {
    max-width: 100%;
  }

  .gallery__grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .footer__container {
    flex-direction: column;
  }

  .footer__column {
    min-width: 100%;
    text-align: center;
  }

  .footer__app-links {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2.2rem;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__app-links {
    flex-direction: column;
    align-items: center;
  }

  .app-link__badge {
    width: 80%;
  }
}
