/* style/arcade.css */
.page-arcade {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-arcade__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
}

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

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

.page-arcade__hero-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-arcade__hero-button:hover {
  background-color: #e0a53b;
}

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

.page-arcade__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-arcade__introduction-section,
.page-arcade__game-showcase-section,
.page-arcade__why-choose-section,
.page-arcade__getting-started-section,
.page-arcade__responsible-gaming-section,
.page-arcade__call-to-action-section {
  padding: 60px 0;
  text-align: center;
}

.page-arcade__introduction-section {
  background-color: #f9f9f9;
}

.page-arcade__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #000000;
  font-weight: bold;
}

.page-arcade__text-content {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 20px auto;
  color: #555555;
}

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

.page-arcade__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-arcade__game-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

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

.page-arcade__card-description {
  color: #666666;
  font-size: 1em;
  margin-bottom: 20px;
}

.page-arcade__card-button {
  display: inline-block;
  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__card-button:hover {
  background-color: #333333;
}

.page-arcade__why-choose-section {
  background-color: #000000;
  color: #FFFFFF;
}

.page-arcade__why-choose-section .page-arcade__section-title {
  color: #FFFFFF;
}

.page-arcade__why-choose-section .page-arcade__text-content {
  color: #f0f0f0;
}

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

.page-arcade__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; /* Ensure cards have equal height */
}

.page-arcade__feature-item img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-arcade__feature-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-arcade__feature-description {
  color: #f0f0f0;
  font-size: 1em;
  flex-grow: 1;
}

.page-arcade__feature-description a {
  color: #FCBC45;
  text-decoration: none;
}

.page-arcade__feature-description a:hover {
  text-decoration: underline;
}

.page-arcade__getting-started-section {
  background-color: #f9f9f9;
}

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

.page-arcade__step-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

.page-arcade__step-number {
  font-size: 3em;
  color: #FCBC45;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-arcade__step-description {
  color: #666666;
  font-size: 1em;
  margin-bottom: 25px;
}

.page-arcade__step-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade__step-button:hover {
  background-color: #333333;
}

.page-arcade__responsible-gaming-section {
  background-color: #eee;
}

.page-arcade__responsible-gaming-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 30px;
  transition: background-color 0.3s ease;
}

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

.page-arcade__call-to-action-section {
  background-color: #FCBC45;
  color: #000000;
}

.page-arcade__call-to-action-section .page-arcade__section-title {
  color: #000000;
}

.page-arcade__call-to-action-section .page-arcade__text-content {
  color: #333333;
}

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

.page-arcade__cta-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;
  min-width: 180px;
}

.page-arcade__cta-button--register {
  background-color: #000000;
  color: #FFFFFF;
}

.page-arcade__cta-button--register:hover {
  background-color: #333333;
}

.page-arcade__cta-button--download {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
}

.page-arcade__cta-button--download:hover {
  background-color: #f0f0f0;
  border-color: #333333;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__game-card img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    padding: 30px 15px;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__text-content {
    font-size: 0.95em;
  }
  .page-arcade__introduction-section,
  .page-arcade__game-showcase-section,
  .page-arcade__why-choose-section,
  .page-arcade__getting-started-section,
  .page-arcade__responsible-gaming-section,
  .page-arcade__call-to-action-section {
    padding: 40px 0;
  }
  .page-arcade__game-grid,
  .page-arcade__feature-list,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-arcade__game-card img {
    max-width: 100%;
    height: auto; /* Ensure images don't overflow */
    min-height: 200px; /* Minimum display size */
  }
  .page-arcade__feature-item img {
    max-width: 100%;
    height: auto; /* Ensure images don't overflow */
    min-height: 200px; /* Minimum display size */
  }
  .page-arcade__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__cta-button {
    width: 100%;
    max-width: 300px; /* Limit button width on small screens */
  }
  .page-arcade__container {
    padding: 0 15px;
  }
  .page-arcade__game-card,
  .page-arcade__feature-item,
  .page-arcade__step-card {
    padding: 20px;
  }
  /* Ensure all images in content area are responsive and not too small */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum display width */
    min-height: 200px; /* Enforce minimum display height */
    box-sizing: border-box; /* Include padding/border in element's total width and height */
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__hero-button,
  .page-arcade__responsible-gaming-button,
  .page-arcade__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-arcade__game-card img {
    min-height: 200px;
  }
  .page-arcade__feature-item img {
    min-height: 200px;
  }
}