/* style/arcade.css */
.page-arcade {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Ensures consistency with body background */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  line-height: 1.6;
}

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

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

.page-arcade__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-arcade__keyword {
  font-weight: bold;
  color: #FCBC45; /* Highlight keyword with login button color */
}

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  padding: 0;
  margin-bottom: 60px;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.7); /* Darken image for text readability, not changing color */
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  width: 90%;
  z-index: 10;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay for text */
  border-radius: 10px;
}

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

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

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

.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;
  white-space: nowrap;
}

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

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

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

.page-arcade__button--explore:hover {
  background-color: #E0A83D;
}

/* Category Grid */
.page-arcade__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-arcade__category-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-arcade__card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  padding: 0 20px;
}

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

.page-arcade__button--play {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin: 0 auto;
}

.page-arcade__button--play:hover {
  background-color: #E0A83D;
}

/* Benefits List */
.page-arcade__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-arcade__benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: #F8F8F8;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade__benefit-icon {
  flex-shrink: 0;
  width: 200px; /* Ensure images are at least 200px */
  height: 133px; /* Maintain aspect ratio (600x400 -> 200x133) */
  margin-right: 25px;
  border-radius: 8px;
  object-fit: cover;
}

.page-arcade__benefit-text-content {
  flex-grow: 1;
}

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

/* Getting Started Steps */
.page-arcade__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-arcade__step-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade__step-card .page-arcade__card-image {
  height: 180px; /* Smaller height for step images, but width still ensures >200px */
}

.page-arcade__button--register-step,
.page-arcade__button--deposit-step,
.page-arcade__button--browse-step,
.page-arcade__button--enjoy-step {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin: 0 auto;
}

.page-arcade__button--register-step:hover,
.page-arcade__button--deposit-step:hover,
.page-arcade__button--browse-step:hover,
.page-arcade__button--enjoy-step:hover {
  background-color: #E0A83D;
}

/* App Download Section */
.page-arcade__app-download-section {
  text-align: center;
  margin-bottom: 60px;
}

.page-arcade__app-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-arcade__app-actions {
  margin-top: 30px;
}

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

.page-arcade__button--download-app:hover {
  background-color: #E0A83D;
}

/* Responsible Gaming */
.page-arcade__responsible-gaming-section {
  margin-bottom: 60px;
  background-color: #F0F0F0;
  padding: 40px 0;
  border-radius: 10px;
}

.page-arcade__responsible-gaming-section .page-arcade__section-title {
  margin-top: 0;
  color: #000000;
}

.page-arcade__responsible-gaming-section .page-arcade__text-content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.page-arcade__link:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-arcade__cta-section {
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 20px;
  margin-bottom: 0;
}

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

.page-arcade__cta-section .page-arcade__text-content {
  color: #F0F0F0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

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

.page-arcade__button--signup:hover {
  background-color: #F0F0F0;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__card-title {
    font-size: 1.5em;
  }
  .page-arcade__benefit-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-arcade__benefit-icon {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-content {
    width: 95%;
    padding: 15px;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__category-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__card-image {
    height: 200px;
  }
  .page-arcade__step-card .page-arcade__card-image {
    height: 150px;
  }
  .page-arcade__benefit-icon {
    width: 200px; /* Ensure images are at least 200px */
    height: 133px;
  }
  .page-arcade__app-image {
    width: 100%;
    height: auto;
  }
  /* Mobile content image overflow prevention */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__hero-image {
    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__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-arcade__card-title {
    font-size: 1.3em;
  }
  .page-arcade__card-description {
    font-size: 0.9em;
  }
  .page-arcade__benefit-icon {
    width: 200px;
    height: 133px;
  }
}