/* style/arcade.css */

.page-arcade {
  color: #333333; /* Dark text for default (white) body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-arcade__hero-section {
  background: linear-gradient(135deg, #1E90FF, #0028ff); /* Deep blue gradient background */
  color: #ffffff;
  padding: 80px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-arcade__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-arcade__button--primary {
  background-color: #FFD700; /* Gold */
  color: #1E90FF; /* Deep blue text */
  border: 2px solid #FFD700;
}

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

.page-arcade__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-arcade__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-arcade__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1000px; /* Adjust based on design needs */
  margin: 40px auto 0;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade__section-title {
  font-size: 2.5em;
  color: #1E90FF; /* Deep blue */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  position: relative;
}

.page-arcade__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold underline */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-arcade__text-content {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-arcade__image-full-width--margin-top {
  margin-top: 60px;
}

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

.page-arcade__game-card, .page-arcade__promo-card, .page-arcade__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #eee;
}

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

.page-arcade__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-arcade__card-title {
  font-size: 1.5em;
  color: #1E90FF; /* Deep blue */
  margin-bottom: 15px;
  line-height: 1.3;
}

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

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

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

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

.page-arcade__feature-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-top: 5px solid #FFD700; /* Gold accent */
}

.page-arcade__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure min size for all images */
  min-height: 200px; /* Ensure min size for all images */
  width: 200px; /* Set display width */
  height: 200px; /* Set display height */
  object-fit: contain; /* Adjust as needed */
}

.page-arcade__feature-title {
  font-size: 1.4em;
  color: #1E90FF; /* Deep blue */
  margin-bottom: 10px;
}

.page-arcade__feature-description {
  font-size: 0.95em;
  color: #666666;
}

.page-arcade__call-to-action {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-arcade__final-cta-section {
  background-color: #1E90FF; /* Deep blue background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-arcade__final-cta-section .page-arcade__section-title {
  color: #FFD700; /* Gold title on blue background */
}

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

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

.page-arcade__final-cta-buttons .page-arcade__button--primary {
  background-color: #FFD700;
  color: #1E90FF;
  border-color: #FFD700;
}

.page-arcade__final-cta-buttons .page-arcade__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-arcade__faq-section {
  padding-bottom: 60px;
}

.page-arcade__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #1E90FF; /* Deep blue */
  margin-bottom: 10px;
}

.page-arcade__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-arcade__responsible-gaming-section {
  background-color: #f0f8ff;
  padding: 60px 20px;
}

.page-arcade__responsible-gaming-section .page-arcade__section-title {
  color: #1E90FF;
}

.page-arcade__responsible-gaming-section .page-arcade__text-content {
  color: #444444;
}

.page-arcade__responsible-list {
  list-style: disc inside;
  font-size: 1.1em;
  color: #555555;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-arcade__responsible-list li {
  margin-bottom: 10px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .page-arcade__hero-title {
    font-size: 2.2em;
  }

  .page-arcade__hero-description {
    font-size: 1.1em;
  }

  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-arcade__button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-arcade__section-title {
    font-size: 2em;
    padding-top: 40px;
  }

  .page-arcade__text-content {
    font-size: 1em;
  }

  .page-arcade__game-grid, .page-arcade__promo-grid, .page-arcade__steps-grid, .page-arcade__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-arcade__card-title {
    font-size: 1.3em;
  }

  .page-arcade__card-description {
    font-size: 0.95em;
  }

  .page-arcade__feature-title {
    font-size: 1.2em;
  }

  .page-arcade__faq-question {
    font-size: 1.1em;
  }

  .page-arcade__final-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-arcade__hero-image, .page-arcade__image-full-width, .page-arcade__card-image, .page-arcade__feature-icon {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
  }
}