/* style/arcade.css */
.page-arcade {
  color: #333333; /* Dark text for light body background */
}

.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #000000; /* Dark background for hero content area */
}

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

.page-arcade__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  z-index: 10;
  padding: 20px;
  max-width: 90%;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FCBC45; /* Login color for emphasis */
}

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-arcade__hero-buttons {
  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, transform 0.2s ease;
}

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

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

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

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

.page-arcade__introduction-section,
.page-arcade__game-categories,
.page-arcade__featured-games,
.page-arcade__why-choose,
.page-arcade__getting-started,
.page-arcade__faq-section,
.page-arcade__cta-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-arcade__introduction-title,
.page-arcade__game-categories-title,
.page-arcade__featured-title,
.page-arcade__why-choose-title,
.page-arcade__getting-started-title,
.page-arcade__faq-title,
.page-arcade__cta-title {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-arcade__introduction-description,
.page-arcade__game-categories-description,
.page-arcade__featured-description,
.page-arcade__why-choose-description,
.page-arcade__getting-started-description,
.page-arcade__cta-description {
  text-align: center;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

.page-arcade__introduction-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
}

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

.page-arcade__category-card,
.page-arcade__game-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-arcade__category-card:hover,
.page-arcade__game-item:hover {
  transform: translateY(-5px);
}

.page-arcade__category-image,
.page-arcade__game-image {
  width: 100%;
  height: 250px; /* Enforce minimum height */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-arcade__category-name,
.page-arcade__game-name {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000000;
}

.page-arcade__category-text,
.page-arcade__game-summary {
  font-size: 1em;
  line-height: 1.6;
  padding: 0 15px;
  color: #555555;
  margin-bottom: 20px;
}

.page-arcade__button--play,
.page-arcade__button--play-small {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.page-arcade__button--play:hover,
.page-arcade__button--play-small:hover {
  background-color: #e0a53b;
}

.page-arcade__why-choose-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-arcade__why-choose-item {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-arcade__why-choose-heading {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
}

.page-arcade__why-choose-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-arcade__why-choose-image {
  width: 100%;
  height: auto;
  min-height: 250px; /* Enforce minimum height */
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
}

.page-arcade__button--promo,
.page-arcade__button--support,
.page-arcade__button--download-app,
.page-arcade__button--view-promos,
.page-arcade__button--payment-methods {
  display: block;
  width: fit-content;
  margin: 15px auto 0;
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade__button--promo:hover,
.page-arcade__button--support:hover,
.page-arcade__button--download-app:hover,
.page-arcade__button--view-promos:hover,
.page-arcade__button--payment-methods:hover {
  background-color: #333333;
}

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

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

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

.page-arcade__steps-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

.page-arcade__button--register-step,
.page-arcade__button--deposit-step,
.page-arcade__button--bonus-step,
.page-arcade__button--play-step {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.page-arcade__button--register-step:hover,
.page-arcade__button--deposit-step:hover,
.page-arcade__button--bonus-step:hover,
.page-arcade__button--play-step:hover {
  background-color: #e0a53b;
}

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

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-arcade__faq-question::after {
  content: '+';
  font-size: 1.2em;
  margin-left: 10px;
}

.page-arcade__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  display: none; /* Hidden by default */
  margin-top: 10px;
}

.page-arcade__faq-item.active .page-arcade__faq-question::after {
  content: '-';
}

.page-arcade__faq-item.active .page-arcade__faq-answer {
  display: block;
}

.page-arcade__cta-section {
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 20px;
  border-radius: 10px;
  margin-top: 60px;
  margin-bottom: 60px;
}

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

.page-arcade__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

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

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

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

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-arcade__hero-image {
    filter: brightness(0.6); /* Slightly more darken for mobile text readability */
  }
  .page-arcade__hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 40px 15px;
    text-align: center;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-arcade__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-arcade__introduction-title,
  .page-arcade__game-categories-title,
  .page-arcade__featured-title,
  .page-arcade__why-choose-title,
  .page-arcade__getting-started-title,
  .page-arcade__faq-title,
  .page-arcade__cta-title {
    font-size: 2em;
  }
  .page-arcade__introduction-text,
  .page-arcade__game-categories-description,
  .page-arcade__featured-description,
  .page-arcade__why-choose-description,
  .page-arcade__getting-started-description,
  .page-arcade__cta-description {
    font-size: 0.95em;
  }
  .page-arcade__categories-grid,
  .page-arcade__games-grid,
  .page-arcade__why-choose-list,
  .page-arcade__steps-list {
    grid-template-columns: 1fr;
  }
  .page-arcade__category-image, .page-arcade__game-image, .page-arcade__why-choose-image {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Ensure minimum size */
  }
  .page-arcade__cta-title {
    font-size: 2em;
  }
  .page-arcade__button--cta-register {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__introduction-title,
  .page-arcade__game-categories-title,
  .page-arcade__featured-title,
  .page-arcade__why-choose-title,
  .page-arcade__getting-started-title,
  .page-arcade__faq-title,
  .page-arcade__cta-title {
    font-size: 1.8em;
  }
  .page-arcade__button--play, .page-arcade__button--play-small,
  .page-arcade__button--promo, .page-arcade__button--support,
  .page-arcade__button--download-app, .page-arcade__button--view-promos, .page-arcade__button--payment-methods,
  .page-arcade__button--register-step, .page-arcade__button--deposit-step, .page-arcade__button--bonus-step, .page-arcade__button--play-step {
    font-size: 0.9em;
    padding: 10px 15px;
  }
  .page-arcade__category-name, .page-arcade__game-name {
    font-size: 1.3em;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
}