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

.page-arcade__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
  padding-top: var(--header-offset, 120px); /* Apply header offset */
}

.page-arcade__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.page-arcade__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  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;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-arcade__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-arcade__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

.page-arcade__introduction-section,
.page-arcade__game-types-section,
.page-arcade__advantages-section,
.page-arcade__how-to-play-section,
.page-arcade__testimonials-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 60px 0;
}

.page-arcade__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-arcade__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-arcade__section-text {
  font-size: 1.1em;
  color: #444444;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-arcade__game-grid,
.page-arcade__advantages-grid,
.page-arcade__steps-grid,
.page-arcade__testimonials-grid {
  display: grid;
  gap: 30px;
}

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

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

.page-arcade__game-card:hover {
  transform: translateY(-10px);
}

.page-arcade__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-arcade__game-card-title {
  font-size: 1.8em;
  color: #000000;
  margin: 20px 0 10px;
}

.page-arcade__game-card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-arcade__button--play {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 1em;
}

.page-arcade__button--play:hover {
  background-color: #e0a53b;
}

.page-arcade__advantages-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-arcade__advantage-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-arcade__advantage-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

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

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

.page-arcade__button--learn-more,
.page-arcade__button--deposit {
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-arcade__button--learn-more:hover,
.page-arcade__button--deposit:hover {
  background-color: #333333;
}

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

.page-arcade__step-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-arcade__step-number {
  width: 60px;
  height: 60px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

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

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

.page-arcade__button--step-register,
.page-arcade__button--step-deposit,
.page-arcade__button--step-explore,
.page-arcade__button--step-withdraw {
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-arcade__button--step-register:hover,
.page-arcade__button--step-deposit:hover,
.page-arcade__button--step-explore:hover,
.page-arcade__button--step-withdraw:hover {
  background-color: #333333;
}

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

.page-arcade__testimonial-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-arcade__testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #FCBC45;
  min-width: 200px; /* Enforce min image size, will be cropped by border-radius */
  min-height: 200px; /* Enforce min image size, will be cropped by border-radius */
}

.page-arcade__testimonial-quote {
  font-style: italic;
  color: #555555;
  margin-bottom: 15px;
}

.page-arcade__testimonial-author {
  font-weight: bold;
  color: #000000;
}

.page-arcade__faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.page-arcade__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-arcade__faq-question {
  padding: 20px;
  background-color: #000000;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 1.2em;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-arcade__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-arcade__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-arcade__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #FFFFFF;
  color: #333333;
}

.page-arcade__faq-answer p {
  padding: 20px 0;
  margin: 0;
}

.page-arcade__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

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

.page-arcade__cta-section .page-arcade__section-title::after {
  background-color: #FCBC45;
}

.page-arcade__cta-section .page-arcade__section-text {
  color: #f0f0f0;
}

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

.page-arcade__button--register-large {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-arcade__button--register-large:hover {
  background-color: #f0f0f0;
}

.page-arcade__button--login-large {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-arcade__button--login-large:hover {
  background-color: #e0a53b;
}

/* 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: 2em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 400px;
  }
  .page-arcade__hero-overlay {
    padding: 30px;
    max-width: 95%;
  }
  .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: 80%;
    margin: 0 auto;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__game-grid,
  .page-arcade__advantages-grid,
  .page-arcade__steps-grid,
  .page-arcade__testimonials-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__section-text {
    margin-bottom: 30px;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
  .page-arcade__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button--register-large,
  .page-arcade__button--login-large {
    width: 80%;
    margin: 0 auto;
  }
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content images are not smaller than 200px display size */
  .page-arcade__game-card-image,
  .page-arcade__advantage-icon,
  .page-arcade__testimonial-avatar {
    width: 100%; /* Allows image to scale down */
    height: auto; /* Maintains aspect ratio */
    min-width: 200px; /* Minimum display width */
    min-height: 200px; /* Minimum display height (will be overridden by height: auto for aspect ratio) */
  }
  .page-arcade__testimonial-avatar {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px auto; /* Center the avatar */
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__hero-overlay {
    padding: 20px;
  }
  .page-arcade__hero-buttons {
    width: 100%;
  }
  .page-arcade__button {
    width: 95%;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__section-text {
    font-size: 0.95em;
  }
  .page-arcade__game-card-title {
    font-size: 1.5em;
  }
  .page-arcade__advantage-title,
  .page-arcade__step-title {
    font-size: 1.3em;
  }
  .page-arcade__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-arcade__button--register-large,
  .page-arcade__button--login-large {
    width: 95%;
  }
}