.page-arcade {
  color: #333333; /* Dark text for light body background */
}

.page-arcade__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-arcade__hero-container {
  position: relative;
  max-width: 1920px; /* Max width for hero content */
  margin: 0 auto;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 90%;
  padding: 20px;
  box-sizing: border-box;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-arcade__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-arcade__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-arcade__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1.1em;
}

.page-arcade__hero-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-arcade__hero-button--register:hover {
  background-color: #f0f0f0;
}

.page-arcade__hero-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-arcade__hero-button--login:hover {
  background-color: #e0a53b;
}

.page-arcade__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-arcade__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-arcade__section-intro {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__why-choose-section, .page-arcade__popular-games-section, .page-arcade__get-started-section, .page-arcade__mobile-app-section, .page-arcade__promotions-section, .page-arcade__responsible-gaming-section, .page-arcade__faq-section, .page-arcade__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-arcade__why-choose-section {
  background-color: #f9f9f9;
}

.page-arcade__features-grid, .page-arcade__games-grid, .page-arcade__steps-grid, .page-arcade__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-arcade__feature-card, .page-arcade__game-card, .page-arcade__step-card, .page-arcade__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__feature-card:hover, .page-arcade__game-card:hover, .page-arcade__step-card:hover, .page-arcade__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-arcade__feature-image, .page-arcade__game-image, .page-arcade__step-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__feature-title, .page-arcade__game-title, .page-arcade__step-title, .page-arcade__promo-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-arcade__feature-text, .page-arcade__game-text, .page-arcade__step-text, .page-arcade__promo-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-arcade__game-button, .page-arcade__step-button, .page-arcade__promo-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 0.95em;
}

.page-arcade__game-button:hover, .page-arcade__step-button:hover, .page-arcade__promo-button:hover {
  background-color: #333333;
}

.page-arcade__mobile-app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-arcade__mobile-app-text {
  flex: 1;
  min-width: 300px;
}

.page-arcade__mobile-app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 300px;
}

.page-arcade__mobile-app-image {
  max-width: 100%;
  height: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-arcade__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-arcade__app-feature-item {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-arcade__app-feature-item::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #FCBC45;
}

.page-arcade__mobile-app-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1.1em;
}

.page-arcade__mobile-app-button:hover {
  background-color: #e0a53b;
}

.page-arcade__view-all-promos {
  text-align: center;
  margin-top: 40px;
}

.page-arcade__view-all-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade__view-all-button:hover {
  background-color: #333333;
}

.page-arcade__responsible-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-arcade__responsible-item {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  line-height: 1.5;
}

.page-arcade__responsible-item::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #FCBC45;
}

.page-arcade__responsible-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 30px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1.1em;
}

.page-arcade__responsible-button:hover {
  background-color: #333333;
}

.page-arcade__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-arcade__faq-item {
  background-color: #f0f0f0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-arcade__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-arcade__faq-answer {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-arcade__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-arcade__cta-section .page-arcade__section-title {
  color: #FFFFFF;
}

.page-arcade__cta-section .page-arcade__section-intro {
  color: #f0f0f0;
}

.page-arcade__cta-button {
  display: inline-block;
  padding: 18px 40px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.2em;
  margin-top: 30px;
}

.page-arcade__cta-button:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 40px;
  }
  .page-arcade__hero-content {
    position: static;
    transform: none;
    padding: 20px;
    margin-top: -100px; /* Adjust if needed to fit content */
  }
  .page-arcade__hero-image {
    filter: brightness(0.5); /* Darken image more on smaller screens */
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
    margin-top: 20px; /* Add margin to separate from top */
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__hero-button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-intro {
    font-size: 0.95em;
  }
  .page-arcade__features-grid, .page-arcade__games-grid, .page-arcade__steps-grid, .page-arcade__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__mobile-app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-arcade__mobile-app-image-wrapper {
    order: -1; /* Image above text on mobile */
    margin-bottom: 30px;
  }
  .page-arcade__app-features {
    text-align: left;
  }
  .page-arcade__responsible-list {
    text-align: left;
  }
  .page-arcade__responsible-item::before {
    left: 10px;
  }
  .page-arcade__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Mobile content area image overflow prevention */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__hero-button {
    width: 90%;
  }
  .page-arcade__feature-title, .page-arcade__game-title, .page-arcade__step-title, .page-arcade__promo-title {
    font-size: 1.3em;
  }
  .page-arcade__feature-text, .page-arcade__game-text, .page-arcade__step-text, .page-arcade__promo-text, .page-arcade__app-feature-item, .page-arcade__responsible-item, .page-arcade__faq-answer {
    font-size: 0.9em;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
  .page-arcade__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }
}