/* style/arcade.css */

.page-arcade {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Ensures a white background for the main content area */
}

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

.page-arcade__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
  text-align: center;
  overflow: hidden;
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

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

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

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

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

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

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

.page-arcade__button--login {
  background-color: #FCBC45; /* Login: FCBC45 */
  color: #000000;
}

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

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

.page-arcade__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.page-arcade__text-content {
  font-size: 1.05em;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 20px;
  text-align: justify;
}

.page-arcade__introduction-section, 
.page-arcade__responsible-gaming-section {
  padding: 80px 0;
  background-color: #F8F8F8;
}

.page-arcade__categories-section, 
.page-arcade__why-choose-section, 
.page-arcade__getting-started-section, 
.page-arcade__news-section, 
.page-arcade__cta-section {
  padding: 80px 0;
}

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

.page-arcade__game-card, 
.page-arcade__feature-item, 
.page-arcade__step-item, 
.page-arcade__news-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__card-image, 
.page-arcade__feature-icon, 
.page-arcade__step-icon, 
.page-arcade__news-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too wide in cards */
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-arcade__card-title, 
.page-arcade__feature-title, 
.page-arcade__step-title, 
.page-arcade__news-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-arcade__card-title a, 
.page-arcade__news-title a {
  color: #000000;
  text-decoration: none;
}

.page-arcade__card-title a:hover, 
.page-arcade__news-title a:hover {
  text-decoration: underline;
  color: #FCBC45;
}

.page-arcade__card-text, 
.page-arcade__feature-text, 
.page-arcade__step-text, 
.page-arcade__news-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__button--play, 
.page-arcade__button--promo, 
.page-arcade__button--register-small, 
.page-arcade__button--deposit, 
.page-arcade__button--browse, 
.page-arcade__button--start, 
.page-arcade__button--join, 
.page-arcade__button--download {
  background-color: #FCBC45; /* Consistent accent color for CTAs */
  color: #000000;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 6px;
  margin-top: auto; /* Push buttons to bottom of flex container */
}

.page-arcade__button--play:hover, 
.page-arcade__button--promo:hover, 
.page-arcade__button--register-small:hover, 
.page-arcade__button--deposit:hover, 
.page-arcade__button--browse:hover, 
.page-arcade__button--start:hover, 
.page-arcade__button--join:hover, 
.page-arcade__button--download:hover {
  background-color: #E0A53A;
  transform: translateY(-2px);
}

.page-arcade__button--support, 
.page-arcade__button--learn-more, 
.page-arcade__button--view-all-blog {
  background-color: #000000; /* Dark background for secondary CTAs */
  color: #FFFFFF;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 6px;
  margin-top: 30px;
}

.page-arcade__button--support:hover, 
.page-arcade__button--learn-more:hover, 
.page-arcade__button--view-all-blog:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-arcade__cta-area {
  text-align: center;
  margin-top: 50px;
}

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

/* 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-title, 
  .page-arcade__feature-title, 
  .page-arcade__step-title, 
  .page-arcade__news-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 450px;
    padding: 40px 15px;
  }
  .page-arcade__hero-content {
    padding: 25px;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
    max-width: 280px; /* Constrain button width */
    margin: 0 auto;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
    margin-top: 40px;
  }
  .page-arcade__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-arcade__text-content {
    font-size: 0.95em;
  }
  .page-arcade__game-grid, 
  .page-arcade__features-grid, 
  .page-arcade__steps-grid, 
  .page-arcade__news-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__game-card, 
  .page-arcade__feature-item, 
  .page-arcade__step-item, 
.page-arcade__news-item {
    padding: 20px;
  }
  .page-arcade__card-image, 
  .page-arcade__feature-icon, 
  .page-arcade__step-icon, 
  .page-arcade__news-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure no image selected by .page-arcade has a display size less than 200px */
  /* This specifically targets images within the main content area */
  .page-arcade__card-image, 
  .page-arcade__feature-icon, 
  .page-arcade__step-icon, 
  .page-arcade__news-image {
    min-width: 200px; /* Enforce minimum display size */
    min-height: 200px; /* Enforce minimum display size */
  }

  /* Override any potentially smaller default img styles from shared.css if any */
  .page-arcade img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon) {
    min-width: 200px;
    min-height: 200px;
  }

  .page-arcade__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button--join, 
  .page-arcade__button--download {
    width: 100%;
    max-width: 280px;
    margin: 0 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;
  }
}