.page-arcade {
  color: #000000; /* Dark text for light background */
  background-color: #FFFFFF; /* Page specific background as per custom color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-arcade__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #000000; /* Dark background for hero to contrast with image */
  color: #FFFFFF;
}

.page-arcade__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 100%;
}

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

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

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-arcade__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
}

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

.page-arcade__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
}

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

.page-arcade__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-arcade__section-title {
  font-size: 2.5em;
  text-align: center;
  margin: 60px 0 30px;
  color: #000000;
}

.page-arcade__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #333333;
}

.page-arcade__about-section, .page-arcade__popular-games-section, .page-arcade__strategies-section, .page-arcade__bonuses-section, .page-arcade__faq-section, .page-arcade__cta-section, .page-arcade__legal-links {
  padding: 40px 0;
}

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

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

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

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

.page-arcade__feature-text, .page-arcade__game-description, .page-arcade__bonus-text {
  color: #555555;
  font-size: 0.95em;
}

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

.page-arcade__game-card .page-arcade__button {
  margin-top: 20px;
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: unset;
}

.page-arcade__game-card .page-arcade__button:hover {
  background-color: #e0a53b;
}

.page-arcade__strategy-item {
  background-color: #f8f8f8;
  border-left: 5px solid #FCBC45;
  padding: 25px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-arcade__strategy-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #000000;
}

.page-arcade__strategy-text {
  color: #555555;
}

.page-arcade__bonus-footer-text {
  text-align: center;
  margin-top: 40px;
  font-size: 0.95em;
  color: #555555;
}

.page-arcade__bonus-footer-text a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-arcade__bonus-footer-text a:hover {
  text-decoration: underline;
}

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

.page-arcade__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-arcade__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-arcade__button--cta-register {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 15px 35px;
  font-size: 1.1em;
  min-width: unset;
}

.page-arcade__button--cta-register:hover {
  background-color: #e0a53b;
}

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

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

.page-arcade__faq-answer {
  color: #555555;
}

.page-arcade__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-arcade__faq-answer a:hover {
  text-decoration: underline;
}

.page-arcade__legal-links {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85em;
  color: #777777;
  border-top: 1px solid #eeeeee;
  margin-top: 40px;
}

.page-arcade__legal-text a {
  color: #FCBC45;
  text-decoration: none;
}

.page-arcade__legal-text a:hover {
  text-decoration: underline;
}

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

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 80px);
  }

  .page-arcade__hero-content {
    position: relative;
    top: unset;
    left: unset;
    transform: none;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* Add background for readability on small screens */
    margin-top: -100px; /* Adjust to sit over hero image */
  }

  .page-arcade__hero-image {
    filter: brightness(0.5); /* Dim more for text readability */
  }

  .page-arcade__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-arcade__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .page-arcade__button {
    width: 100%;
    min-width: unset;
  }

  .page-arcade__section-title {
    font-size: 1.8em;
    margin: 40px 0 20px;
  }

  .page-arcade__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-arcade__features-grid, .page-arcade__game-grid, .page-arcade__strategy-grid, .page-arcade__bonus-grid {
    grid-template-columns: 1fr;
  }

  .page-arcade__game-image {
    height: 200px;
  }

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

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

  /* Mobile content area image overflow prevention */
  .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: 1.6em;
  }
}