.page-arcade {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  padding: 60px 0;
  background-color: #000000; /* Fallback background */
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: 1;
  opacity: 0.6; /* Slightly darken image for text readability */
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

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

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #FFFFFF;
}

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

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

.page-arcade__button--register {
  background-color: #FFFFFF; /* White background for Register */
  color: #000000; /* Black text for Register */
}

.page-arcade__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-arcade__button--play {
  background-color: #FCBC45; /* Orange background for Play */
  color: #000000; /* Black text for Play */
}

.page-arcade__button--play:hover {
  background-color: #e0a030;
  transform: translateY(-2px);
}

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

.page-arcade__intro-section,
.page-arcade__game-categories,
.page-arcade__why-choose-us,
.page-arcade__get-started,
.page-arcade__tips-strategies,
.page-arcade__responsible-gaming,
.page-arcade__faq,
.page-arcade__final-cta {
  padding: 80px 0;
  background-color: #FFFFFF; /* Light background for content sections */
}

.page-arcade__intro-section .page-arcade__text-content,
.page-arcade__tips-strategies .page-arcade__text-content,
.page-arcade__responsible-gaming .page-arcade__text-content,
.page-arcade__final-cta .page-arcade__text-content {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #333333;
}

.page-arcade__game-categories {
  background-color: #f8f8f8;
}

.page-arcade__game-categories .page-arcade__text-content {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 50px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #333333;
}

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

.page-arcade__card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-arcade__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-arcade__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-arcade__card-title {
  font-size: 1.6em;
  color: #000000;
  margin: 20px 15px 10px;
  font-weight: bold;
}

.page-arcade__card-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-arcade__card-title a:hover {
    color: #FCBC45;
}

.page-arcade__card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-arcade__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-bottom: 20px;
  background-color: #FCBC45;
  color: #000000;
}

.page-arcade__button--small:hover {
  background-color: #e0a030;
}

.page-arcade__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-arcade__feature-item {
  text-align: center;
  padding: 20px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade__feature-icon {
  width: 100px; /* Adjusted icon size */
  height: 100px; /* Adjusted icon size */
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-arcade__feature-heading {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-arcade__feature-description {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.7;
}

.page-arcade__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

.page-arcade__button--play-large {
    padding: 18px 40px;
    font-size: 1.2em;
    background-color: #FCBC45;
    color: #000000;
    border-radius: 50px;
}

.page-arcade__button--play-large:hover {
    background-color: #e0a030;
    transform: translateY(-3px);
}

.page-arcade__steps-grid {
  margin-top: 50px;
}

.page-arcade__step-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000000;
  color: #FFFFFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 4px solid #FFFFFF;
  box-shadow: 0 0 0 5px #FCBC45;
}

.page-arcade__step-title {
  font-size: 1.5em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 15px;
}

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

.page-arcade__button--step {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  font-size: 0.95em;
  border-radius: 6px;
}

.page-arcade__button--step:hover {
  background-color: #e0a030;
}

.page-arcade__tips-strategies {
    background-color: #f0f0f0;
}

.page-arcade__tips-list {
    list-style: none;
    padding: 0;
    margin: 50px auto 0;
    max-width: 900px;
}

.page-arcade__tip-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.page-arcade__tip-item:hover {
    transform: translateY(-3px);
}

.page-arcade__tip-heading {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-arcade__tip-description {
    font-size: 1.05em;
    color: #555555;
    line-height: 1.7;
}

.page-arcade__button--promo {
    background-color: #000000;
    color: #FFFFFF;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 8px;
}

.page-arcade__button--promo:hover {
    background-color: #333333;
}

.page-arcade__responsible-gaming {
    background-color: #FFFFFF;
    text-align: center;
}

.page-arcade__button--info {
    background-color: #000000;
    color: #FFFFFF;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 8px;
    margin-top: 30px;
}

.page-arcade__button--info:hover {
    background-color: #333333;
}

.page-arcade__faq {
    background-color: #f8f8f8;
}

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

.page-arcade__faq-question {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-arcade__faq-answer {
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
    display: block;
    margin-top: 15px;
}

.page-arcade__final-cta {
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
}

.page-arcade__final-cta .page-arcade__section-title {
    color: #FFFFFF;
}

.page-arcade__final-cta .page-arcade__text-content {
    color: #f0f0f0;
}

.page-arcade__button--final-cta {
    background-color: #FCBC45;
    color: #000000;
    padding: 18px 40px;
    font-size: 1.2em;
    border-radius: 50px;
    margin-top: 40px;
}

.page-arcade__button--final-cta:hover {
    background-color: #e0a030;
    transform: translateY(-3px);
}

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

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

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

  .page-arcade__card-image,
  .page-arcade__feature-icon {
    height: 200px;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding: 40px 0;
  }

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

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

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

  .page-arcade__button {
    width: 80%;
    max-width: 300px;
  }

  .page-arcade__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-arcade__intro-section,
  .page-arcade__game-categories,
  .page-arcade__why-choose-us,
  .page-arcade__get-started,
  .page-arcade__tips-strategies,
  .page-arcade__responsible-gaming,
  .page-arcade__faq,
  .page-arcade__final-cta {
    padding: 60px 0;
  }

  .page-arcade__grid,
  .page-arcade__steps-grid,
  .page-arcade__feature-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-arcade__card,
  .page-arcade__step-card,
  .page-arcade__feature-item,
  .page-arcade__tip-item,
  .page-arcade__faq-item {
    margin: 0 10px;
  }

  .page-arcade__card-image,
  .page-arcade__feature-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-arcade__text-content {
      font-size: 1em;
  }

  .page-arcade__tip-heading,
  .page-arcade__faq-question {
      font-size: 1.3em;
  }

  .page-arcade__faq-answer {
      font-size: 0.95em;
  }

  /* Ensure images in content area do not cause horizontal scroll */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

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

  .page-arcade__card-title {
    font-size: 1.4em;
  }

  .page-arcade__feature-heading {
    font-size: 1.2em;
  }

  .page-arcade__step-title {
    font-size: 1.3em;
  }

  .page-arcade__tip-heading,
  .page-arcade__faq-question {
      font-size: 1.2em;
  }
}