/* style/arcade.css */
.page-arcade {
  color: #f0f0f0; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
  min-height: 600px; /* Minimum height for hero */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability */
}

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

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login 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: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-arcade__button--register {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
}

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

.page-arcade__button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

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

.page-arcade__button--play, .page-arcade__button--download, .page-arcade__button--support, .page-arcade__button--deposit, .page-arcade__button--play-now, .page-arcade__button--cta {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  font-size: 1em;
}

.page-arcade__button--play:hover, .page-arcade__button--download:hover, .page-arcade__button--support:hover, .page-arcade__button--deposit:hover, .page-arcade__button--play-now:hover, .page-arcade__button--cta:hover {
  background-color: #f0a020;
  transform: translateY(-2px);
}

/* General Sections */
.page-arcade__introduction-section, .page-arcade__game-types-section, .page-arcade__advantages-section, .page-arcade__getting-started-section, .page-arcade__faq-section, .page-arcade__cta-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background */
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-arcade__section-title {
  font-size: 2.5em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

/* Game Grid */
.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: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

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

.page-arcade__game-card-description {
  font-size: 1em;
  color: #cccccc;
  margin: 0 20px 25px 20px;
  flex-grow: 1;
}

/* Advantages Section */
.page-arcade__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade__advantage-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__advantage-icon {
  width: 200px; /* Enforcing minimum 200px display size */
  height: 150px; /* For 400x300 source, maintaining aspect ratio */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 2px solid #FCBC45;
}

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

.page-arcade__advantage-description {
  font-size: 0.95em;
  color: #cccccc;
}

/* Getting Started Section */
.page-arcade__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-arcade__step-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

/* FAQ Section */
.page-arcade__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.page-arcade__faq-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  padding: 25px;
}

.page-arcade__faq-question {
  font-size: 1.4em;
  color: #FCBC45;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-arcade__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #FFFFFF;
}

.page-arcade__faq-question.active::after {
  content: '-';
}

.page-arcade__faq-answer {
  font-size: 1em;
  color: #cccccc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-arcade__faq-answer.show {
  max-height: 200px; /* Adjust as needed */
}

/* CTA Section */
.page-arcade__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #000000;
  color: #ffffff;
  border-radius: 10px;
  margin-bottom: 40px;
}

.page-arcade__button--cta {
  margin-top: 30px;
  font-size: 1.3em;
  padding: 18px 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3em;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-arcade {
    padding-top: var(--header-offset, 80px); /* Adjust padding for mobile header if needed, but var should handle it */
  }
  .page-arcade__hero-section {
    padding: 60px 0;
    min-height: 450px;
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__game-grid, .page-arcade__advantages-grid, .page-arcade__steps-list {
    grid-template-columns: 1fr;
  }
  /* Enforce min-width/height for all images within .page-arcade */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px; /* Ensure all content images meet the minimum size requirement */
  }
  .page-arcade__advantage-icon {
    width: 200px; /* Ensure specific advantage icons are also at least 200px */
    height: auto; /* Allow height to adjust automatically */
    min-height: 200px; /* Explicitly ensure min height */
    object-fit: contain; /* Adjust object-fit for smaller containers */
  }

  .page-arcade__game-card-title, .page-arcade__advantage-title, .page-arcade__step-title, .page-arcade__faq-question {
    font-size: 1.5em;
  }
  .page-arcade__button {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__button {
    width: 90%;
  }
}