.page-arcade {
  color: #333333; /* Dark text for 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 */
}

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

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  min-height: 100%;
}

.page-arcade__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #FFFFFF; /* White text over dark hero image */
  padding: 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay for readability */
  border-radius: 10px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Black text for contrast */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-arcade__hero-button:hover {
  background-color: #FFD700; /* Brighter gold on hover */
  transform: translateY(-3px);
}

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

.page-arcade__intro-section, .page-arcade__categories-section, 
.page-arcade__advantages-section, .page-arcade__getting-started-section, 
.page-arcade__responsible-gaming-section, .page-arcade__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #FFFFFF; /* Light background for sections */
}

.page-arcade__intro-title, .page-arcade__categories-title, 
.page-arcade__advantages-title, .page-arcade__getting-started-title, 
.page-arcade__responsible-gaming-title, .page-arcade__cta-title {
  font-size: 2.8em;
  color: #000000; /* Main color for titles */
  margin-bottom: 30px;
  font-weight: bold;
}

.page-arcade__intro-text, .page-arcade__responsible-gaming-text, .page-arcade__cta-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #333333;
}

.page-arcade__category-grid, .page-arcade__advantage-grid, .page-arcade__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade__category-card, .page-arcade__advantage-item, .page-arcade__step-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__category-card:hover, .page-arcade__advantage-item:hover, .page-arcade__step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-arcade__category-image, .page-arcade__advantage-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too wide */
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-arcade__category-heading, .page-arcade__advantage-heading, .page-arcade__step-heading {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-arcade__category-text, .page-arcade__advantage-text, .page-arcade__step-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__category-button, .page-arcade__advantage-button, .page-arcade__step-button, .page-arcade__responsible-gaming-link, .page-arcade__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Black text for contrast */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 15px;
}

.page-arcade__category-button:hover, .page-arcade__advantage-button:hover, .page-arcade__step-button:hover, .page-arcade__responsible-gaming-link:hover, .page-arcade__cta-button:hover {
  background-color: #FFD700; /* Brighter gold on hover */
  transform: translateY(-3px);
}

.page-arcade__responsible-gaming-link {
  background-color: #000000; /* Main color for responsible gaming link */
  color: #FFFFFF; /* White text for contrast */
}

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

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

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

  .page-arcade__intro-title, .page-arcade__categories-title, 
  .page-arcade__advantages-title, .page-arcade__getting-started-title, 
  .page-arcade__responsible-gaming-title, .page-arcade__cta-title {
    font-size: 2.2em;
  }

  .page-arcade__category-heading, .page-arcade__advantage-heading, .page-arcade__step-heading {
    font-size: 1.5em;
  }
}

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

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

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

  .page-arcade__intro-title, .page-arcade__categories-title, 
  .page-arcade__advantages-title, .page-arcade__getting-started-title, 
  .page-arcade__responsible-gaming-title, .page-arcade__cta-title {
    font-size: 1.8em;
  }

  .page-arcade__category-grid, .page-arcade__advantage-grid, .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-arcade__intro-text, .page-arcade__responsible-gaming-text, .page-arcade__cta-description {
    font-size: 0.95em;
  }

  .page-arcade__category-card, .page-arcade__advantage-item, .page-arcade__step-card {
    padding: 20px;
  }

  .page-arcade__category-heading, .page-arcade__advantage-heading, .page-arcade__step-heading {
    font-size: 1.3em;
  }

  /* Critical: Ensure images are responsive and do not overflow */
  .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__hero-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-arcade__intro-title, .page-arcade__categories-title, 
  .page-arcade__advantages-title, .page-arcade__getting-started-title, 
  .page-arcade__responsible-gaming-title, .page-arcade__cta-title {
    font-size: 1.5em;
  }

  .page-arcade__category-heading, .page-arcade__advantage-heading, .page-arcade__step-heading {
    font-size: 1.1em;
  }

  .page-arcade__intro-text, .page-arcade__responsible-gaming-text, .page-arcade__cta-description {
    font-size: 0.9em;
  }

  .page-arcade__content-wrapper {
    padding: 20px 15px;
  }

  .page-arcade__intro-section, .page-arcade__categories-section, 
  .page-arcade__advantages-section, .page-arcade__getting-started-section, 
  .page-arcade__responsible-gaming-section, .page-arcade__cta-section {
    padding: 40px 0;
  }
}