/* style/arcade.css */
.page-arcade {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

.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-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

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

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

.page-arcade__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-arcade__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold primary color */
  color: #1A202C; /* Dark blue auxiliary color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-arcade__hero-button:hover {
  background-color: #e0b800; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold primary color */
  text-align: center;
  margin: 60px 0 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-arcade__about-section, .page-arcade__categories-section, .page-arcade__why-choose-section, .page-arcade__getting-started-section, .page-arcade__strategy-section, .page-arcade__responsible-gaming-section, .page-arcade__cta-section {
  padding: 60px 0;
  background-color: #1A202C; /* Dark blue auxiliary color for sections */
  margin-bottom: 20px;
}

.page-arcade__about-section .page-arcade__container, .page-arcade__strategy-section .page-arcade__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-arcade__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-arcade__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl; /* Reverse order for content */
}

.page-arcade__content-grid--reverse .page-arcade__text-content {
  direction: ltr;
}

.page-arcade__text-content p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-arcade__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 400px; /* Minimum image size */
  min-height: 300px; /* Minimum image size */
  object-fit: cover;
}

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

.page-arcade__category-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for card background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-arcade__category-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-arcade__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 250px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-arcade__card-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 15px;
}

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

.page-arcade__card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  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: #e0b800;
}

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

.page-arcade__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #FFD700;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-arcade__feature-item p {
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-arcade__feature-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade__feature-button:hover {
  background-color: #e0b800;
}

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

.page-arcade__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-arcade__step-card p {
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-arcade__step-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  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: #e0b800;
}

.page-arcade__strategy-button, .page-arcade__responsible-gaming-button, .page-arcade__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-arcade__strategy-button:hover, .page-arcade__responsible-gaming-button:hover, .page-arcade__cta-button:hover {
  background-color: #e0b800;
}

.page-arcade__responsible-gaming-section p, .page-arcade__cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 20px auto 30px;
}

.page-arcade__cta-section {
  text-align: center;
  padding-bottom: 80px;
}

/* 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: 2.2em;
  }
  .page-arcade__content-grid, .page-arcade__content-grid--reverse {
    grid-template-columns: 1fr;
    direction: ltr; /* Reset direction for mobile */
  }
  .page-arcade__content-grid--reverse .page-arcade__text-content {
    order: 1; /* Keep text above image on mobile for reversed grid */
  }
  .page-arcade__image {
    order: 2;
  }
  .page-arcade__about-section .page-arcade__container, .page-arcade__strategy-section .page-arcade__container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 60vh;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
    margin: 40px 0 30px;
  }
  .page-arcade__about-section, .page-arcade__categories-section, .page-arcade__why-choose-section, .page-arcade__getting-started-section, .page-arcade__strategy-section, .page-arcade__responsible-gaming-section, .page-arcade__cta-section {
    padding: 40px 0;
  }
  .page-arcade__container {
    padding: 0 15px;
  }
  .page-arcade__text-content p {
    font-size: 0.95em;
  }
  .page-arcade__card-title {
    font-size: 1.5em;
  }
  .page-arcade__card-description {
    font-size: 0.9em;
  }
  .page-arcade__feature-title {
    font-size: 1.4em;
  }
  .page-arcade__step-title {
    font-size: 1.6em;
  }

  /* Mobile image handling - ensures images don't overflow */
  .page-arcade__container img,
  .page-arcade__category-card img,
  .page-arcade__content-grid img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min- /* Adjust min-height as needed, but not less than 200px if it's content image */
  }
  .page-arcade__image, .page-arcade__card-image {
    min-width: 200px; /* Enforce min-width for content images */
    min-height: 200px; /* Enforce min-height for content images */
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__hero-content {
    padding: 20px;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__category-grid, .page-arcade__features-grid, .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
}