/* style/arcade-games.css */

/* Base styles for the Arcade Games page */
.page-arcade-games {
  font-family: Arial, sans-serif;
  color: #404040; /* Dark text for light background */
  background-color: #F3F3F3; /* Background color from body */
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Ensure images in content areas are not too small */
.page-arcade-games img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Hero Section */
.page-arcade-games__hero-section {
  position: relative;
  padding: 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  background-color: #025BE8; /* Auxiliary color for the hero background */
  color: #FFFFFF; /* White text for dark background */
}

.page-arcade-games__hero-image {
  width: 100%;
  max-height: 500px; /* Limit hero image height */
  overflow: hidden;
  margin-bottom: 20px;
}

.page-arcade-games__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-arcade-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-arcade-games__main-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-arcade-games__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #E5EEFD; /* Lighter text for readability */
}

.page-arcade-games__cta-button {
  display: inline-block;
  background-color: #1266EC; /* Register button color */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-arcade-games__cta-button:hover {
  background-color: #0056b3;
}

/* Introduction Section */
.page-arcade-games__introduction-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade-games__section-title {
  font-size: 2rem;
  color: #025BE8;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-arcade-games__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade-games__intro-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.page-arcade-games__intro-text,
.page-arcade-games__intro-image {
  flex: 1;
  min-width: 300px;
}

.page-arcade-games__intro-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Popular Games Section */
.page-arcade-games__popular-games-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

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

.page-arcade-games__game-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-arcade-games__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-arcade-games__game-title {
  font-size: 1.4rem;
  color: #025BE8;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-arcade-games__game-description {
  font-size: 0.95rem;
  color: #404040;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-arcade-games__game-button {
  display: inline-block;
  background-color: #E5EEFD; /* Login button color */
  color: #1266EC; /* Register button text color */
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-arcade-games__game-button:hover {
  background-color: #1266EC;
  color: #FFFFFF;
}

/* Game Trial Section */
.page-arcade-games__game-trial-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-arcade-games__game-iframe-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-arcade-games__game-trial-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.page-arcade-games__cta-container {
  margin-top: 30px;
}

.page-arcade-games__cta-container p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.page-arcade-games__cta-button--secondary {
  background-color: #E5EEFD;
  color: #1266EC;
}

.page-arcade-games__cta-button--secondary:hover {
  background-color: #1266EC;
  color: #FFFFFF;
}

/* Benefits Section */
.page-arcade-games__benefits-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.page-arcade-games__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

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

.page-arcade-games__benefit-title {
  font-size: 1.3rem;
  color: #025BE8;
  margin-bottom: 10px;
}

.page-arcade-games__benefit-item p {
  font-size: 0.95rem;
  color: #404040;
}

/* Getting Started Section */
.page-arcade-games__getting-started-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #191E2D; /* Footer background color for contrast */
  color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade-games__getting-started-section .page-arcade-games__section-title {
  color: #FFFFFF;
}

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

.page-arcade-games__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade-games__step-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade-games__step-title {
  font-size: 1.2rem;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-arcade-games__step-card p {
  font-size: 0.95rem;
  color: #E5EEFD;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade-games__step-button {
  display: inline-block;
  background-color: #1266EC;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.page-arcade-games__step-button:hover {
  background-color: #0056b3;
}

/* Responsible Gaming Section */
.page-arcade-games__responsible-gaming-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px 20px;
  background-color: #E5EEFD; /* Login background color */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-arcade-games__responsible-gaming-section .page-arcade-games__section-title {
  color: #025BE8;
}

.page-arcade-games__responsible-gaming-section .page-arcade-games__section-description {
  color: #404040;
  margin-bottom: 20px;
}

.page-arcade-games__info-link {
  color: #1266EC;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-arcade-games__info-link:hover {
  color: #0056b3;
}

/* FAQ Section */
.page-arcade-games__faq-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.page-arcade-games__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  padding: 20px;
}

.page-arcade-games__faq-question {
  font-size: 1.15rem;
  color: #025BE8;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-arcade-games__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.page-arcade-games__faq-question.active::after {
  transform: rotate(45deg);
}

.page-arcade-games__faq-answer {
  font-size: 1rem;
  color: #404040;
  display: none;
  padding-top: 10px;
}

.page-arcade-games__faq-answer.show {
  display: block;
}

.page-arcade-games__keyword {
  font-weight: bold;
  color: #1266EC;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-arcade-games__hero-section {
    padding: 15px;
    padding-top: 10px;
  }

  .page-arcade-games__main-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .page-arcade-games__hero-description {
    font-size: 1rem;
  }

  .page-arcade-games__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-arcade-games__section-title {
    font-size: 1.7rem;
  }

  .page-arcade-games__intro-grid {
    flex-direction: column;
  }

  .page-arcade-games__intro-text, .page-arcade-games__intro-image {
    min-width: unset;
    width: 100%;
  }

  .page-arcade-games__game-grid,
  .page-arcade-games__benefits-list,
  .page-arcade-games__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-arcade-games__game-card img {
    
  }

  .page-arcade-games__game-iframe-wrapper {
    padding-bottom: 75%; /* Adjust for mobile video aspect ratio if needed */
  }

  .page-arcade-games img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content images do not cause overflow */
  .page-arcade-games__introduction-section img,
  .page-arcade-games__popular-games-section img,
  .page-arcade-games__getting-started-section img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all content images are at least 200px wide */
  .page-arcade-games__intro-image img,
  .page-arcade-games__game-card img,
  .page-arcade-games__step-card img {
    min-width: 200px; /* Enforce minimum width */
    width: 100%; /* Make them responsive */
    height: auto; /* Maintain aspect ratio */
  }
}

@media (max-width: 480px) {
  .page-arcade-games__main-title {
    font-size: clamp(1.3rem, 8vw, 2rem);
  }

  .page-arcade-games__section-title {
    font-size: 1.5rem;
  }

  .page-arcade-games__game-card {
    padding-left: 10px;
    padding-right: 10px;
  }
}