.page-arcade {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-arcade__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px; /* Minimum height for hero section */
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-arcade__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-arcade__hero-content {
  text-align: center;
  max-width: 800px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  padding: 30px;
  border-radius: 10px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold main color */
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-arcade__hero-button,
.page-arcade__game-button,
.page-arcade__cta-button {
  display: inline-block;
  background-color: #8B0000; /* Dark Red auxiliary color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #8B0000;
}

.page-arcade__hero-button:hover,
.page-arcade__game-button:hover,
.page-arcade__cta-button:hover {
  background-color: #FFD700; /* Gold on hover */
  color: #8B0000;
  transform: translateY(-3px);
  border-color: #FFD700;
}

.page-arcade__content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #8B0000; /* Dark Red title */
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-arcade__text-image-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-arcade__text-image-group--reversed {
  flex-direction: row-reverse;
}

.page-arcade__section-text,
.page-arcade__benefits-list {
  flex: 1;
  min-width: 300px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-arcade__section-image {
  flex: 1;
  min-width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-arcade__popular-games-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.page-arcade__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-arcade__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-arcade__game-card:hover {
  transform: translateY(-10px);
}

.page-arcade__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-arcade__game-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-arcade__game-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-arcade__benefits-list {
  list-style: none;
  padding: 0;
}

.page-arcade__benefit-item {
  background-color: #fffaf0; /* Light gold background */
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #444444;
}

.page-arcade__benefit-item strong {
  color: #8B0000;
}

.page-arcade__get-started-section {
  background-color: #FFD700; /* Gold background */
  padding: 60px 0;
  color: #333333;
  text-align: center;
}

.page-arcade__get-started-section .page-arcade__section-title {
  color: #8B0000;
}

.page-arcade__steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-arcade__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: center;
}

.page-arcade__step-number {
  display: inline-block;
  background-color: #8B0000;
  color: #ffffff;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-arcade__step-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-arcade__step-description {
  font-size: 1em;
  color: #555555;
}

.page-arcade__get-started-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-arcade__responsible-gaming-section {
  padding: 60px 0;
  text-align: center;
  background-color: #f0f0f0;
}

.page-arcade__responsible-gaming-link {
  display: inline-block;
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-arcade__responsible-gaming-link:hover {
  color: #FFD700;
}

.page-arcade__cta-section {
  background-color: #8B0000; /* Dark Red background */
  padding: 80px 0;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-arcade__cta-container {
  position: relative;
  z-index: 1;
}

.page-arcade__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: -1;
}

.page-arcade__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.page-arcade__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }

  .page-arcade__section-title {
    font-size: 2.2em;
  }

  .page-arcade__text-image-group {
    flex-direction: column;
  }

  .page-arcade__text-image-group--reversed {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-title {
    font-size: 2.2em;
  }

  .page-arcade__hero-description {
    font-size: 1em;
  }

  .page-arcade__hero-button,
  .page-arcade__game-button,
  .page-arcade__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-arcade__section-title {
    font-size: 1.8em;
  }

  .page-arcade__game-grid {
    grid-template-columns: 1fr;
  }

  .page-arcade__step-card {
    min-width: unset;
    max-width: 100%;
  }

  .page-arcade__cta-title {
    font-size: 2.5em;
  }

  .page-arcade__cta-description {
    font-size: 1.1em;
  }

  /* Ensure images do not overflow on mobile */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }

  .page-arcade__hero-description {
    font-size: 0.9em;
  }

  .page-arcade__section-title {
    font-size: 1.5em;
  }

  .page-arcade__cta-title {
    font-size: 2em;
  }
}