/* style/arcade.css */

/* Base styles for the arcade page */
.page-arcade {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A2463; /* Primary color background for hero text overlay */
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff; /* White text on dark hero background */
  max-width: 900px;
  padding: 20px;
}

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

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

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

/* Buttons */
.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;
  cursor: pointer;
  border: none;
}

.page-arcade__button--primary {
  background-color: #FFD700; /* Gold */
  color: #0A2463; /* Dark blue text */
}

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

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

.page-arcade__button--secondary:hover {
  background-color: #1a3c7a;
  transform: translateY(-2px);
}

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

.page-arcade__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Section Titles and Descriptions */
.page-arcade__section-title {
  font-size: 2.5em;
  color: #0A2463; /* Primary color */
  text-align: center;
  margin-bottom: 20px;
  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: #FFD700; /* Gold underline */
  border-radius: 2px;
}

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

/* About Section */
.page-arcade__about-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-arcade__feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-arcade__feature-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-arcade__feature-text {
  font-size: 1em;
  color: #666666;
}

/* Games Showcase Section */
.page-arcade__games-showcase {
  padding: 60px 0;
}

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

.page-arcade__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-arcade__game-image {
  width: 100%;
  height: auto;
  max-width: 600px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-arcade__game-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 10px;
}

.page-arcade__game-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions CTA */
.page-arcade__promotions-cta {
  background-color: #0A2463; /* Primary color background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-arcade__promotions-content .page-arcade__section-title {
  color: #FFD700; /* Gold for title */
}

.page-arcade__promotions-content .page-arcade__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* How to Play Section */
.page-arcade__how-to-play {
  padding: 60px 0;
  background-color: #f0f5f9;
}

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

.page-arcade__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  padding: 30px;
  text-align: center;
}

.page-arcade__step-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-arcade__step-text {
  color: #666666;
  margin-bottom: 20px;
}

/* Security Info Section */
.page-arcade__security-info {
  padding: 60px 0;
}

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

.page-arcade__security-item {
  background-color: #fefefe;
  border-left: 5px solid #0A2463;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade__security-item strong {
  color: #0A2463;
}

.page-arcade__security-actions {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-arcade__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-arcade__faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-arcade__faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  padding: 25px;
}

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

.page-arcade__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

.page-arcade__faq-answer {
  font-size: 1em;
  color: #666666;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-arcade__faq-question.active + .page-arcade__faq-answer {
  display: block;
}

/* Final CTA Section */
.page-arcade__final-cta {
  background-color: #FFD700; /* Gold background */
  color: #0A2463; /* Dark blue text */
  padding: 80px 20px;
  text-align: center;
}

.page-arcade__final-cta .page-arcade__section-title {
  color: #0A2463;
}

.page-arcade__final-cta .page-arcade__section-description {
  color: #333333;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .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 {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header on mobile */
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-arcade__hero-section {
    padding: 60px 0;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-arcade__features-grid,
  .page-arcade__game-cards-grid,
  .page-arcade__steps-list,
  .page-arcade__security-list,
  .page-arcade__faq-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__feature-card,
  .page-arcade__game-card,
  .page-arcade__step-item,
  .page-arcade__security-item,
  .page-arcade__faq-item {
    padding: 20px;
  }
  .page-arcade__feature-icon,
  .page-arcade__game-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
    min-width: 200px;
    min-height: 200px;
  }
  .page-arcade__security-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__security-actions .page-arcade__button {
    width: 80%;
    margin: 0 auto;
  }
  /* Ensure all content area images are responsive and not smaller than 200px */
  .page-arcade img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider-icon) {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__button {
    width: 90%;
  }
  .page-arcade__hero-section {
    padding: 40px 0;
  }
  .page-arcade__promotions-cta, .page-arcade__final-cta {
    padding: 60px 20px;
  }
}