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

.page-arcade-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-arcade-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-arcade-games__dark-bg {
  background-color: #000000;
  color: #FFFFFF;
}

.page-arcade-games__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-arcade-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: inherit;
}

.page-arcade-games__section-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-arcade-games__section-text {
  font-size: 1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Buttons */
.page-arcade-games__btn-primary,
.page-arcade-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  margin: 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-arcade-games__btn-primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-arcade-games__btn-primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-arcade-games__btn-secondary {
  background-color: transparent;
  color: #FFFFFF; /* Default for dark background */
  border: 2px solid #FFFFFF;
}

.page-arcade-games__light-bg .page-arcade-games__btn-secondary {
  color: #000000;
  border: 2px solid #000000;
}

.page-arcade-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.page-arcade-games__light-bg .page-arcade-games__btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #000000;
}

/* Hero Section */
.page-arcade-games__hero-section {
  padding-top: var(--header-offset, 120px);
  background-color: #000000;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px; /* Adjust as needed */
}

.page-arcade-games__hero-content {
  margin-bottom: 30px;
}

.page-arcade-games__hero-title {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -1px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-arcade-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Features Grid */
.page-arcade-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-arcade-games__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
}

.page-arcade-games__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-arcade-games__feature-text {
  font-size: 1em;
  color: #FFFFFF;
}

.page-arcade-games__feature-text a {
  color: #FCBC45;
  text-decoration: none;
}

.page-arcade-games__feature-text a:hover {
  text-decoration: underline;
}

/* Category Grid */
.page-arcade-games__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-arcade-games__category-card {
  background-color: #F8F8F8;
  padding: 20px;
  border-radius: 10px;
  text-decoration: none;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade-games__category-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  object-fit: contain;
}

.page-arcade-games__category-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-arcade-games__category-text {
  font-size: 0.9em;
  color: #555555;
}

/* Game Showcase Grid */
.page-arcade-games__game-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade-games__game-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFFFFF;
}

.page-arcade-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-arcade-games__game-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FCBC45;
}

.page-arcade-games__game-text {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade-games__game-trial-frame {
  width: 100%;
  height: 250px;
  border: none;
  margin-top: 15px;
  background-color: #1a1a1a;
  border-radius: 8px;
}

/* How-To-Play Section */
.page-arcade-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-arcade-games__step-item {
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-arcade-games__step-number {
  font-size: 2em;
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
  background-color: #000000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.page-arcade-games__step-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #000000;
}

.page-arcade-games__step-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade-games__step-text a {
  color: #000000;
  text-decoration: underline;
}

.page-arcade-games__step-text a:hover {
  color: #FCBC45;
}

/* Mobile App Section */
.page-arcade-games__mobile-app-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-arcade-games__mobile-app-text-area {
  flex: 1;
}

.page-arcade-games__mobile-app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-arcade-games__mobile-app-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-arcade-games__app-features-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-arcade-games__app-features-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-arcade-games__app-features-list li::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: 0;
}

.page-arcade-games__app-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

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

.page-arcade-games__bonus-card {
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  color: #333333;
}

.page-arcade-games__bonus-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #000000;
}

.page-arcade-games__bonus-text {
  font-size: 1em;
  color: #555555;
}

.page-arcade-games__bonus-cta {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-arcade-games__bonus-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Security Section */
.page-arcade-games__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
}

.page-arcade-games__security-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-arcade-games__security-list li::before {
  content: '🛡️';
  position: absolute;
  left: 0;
}

.page-arcade-games__security-list li strong {
  color: #FCBC45;
}

.page-arcade-games__security-list li a {
  color: #FCBC45;
  text-decoration: none;
}

.page-arcade-games__security-list li a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-arcade-games__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade-games__faq-item {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 15px;
}

.page-arcade-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  color: #000000;
}

.page-arcade-games__faq-question:hover {
  color: #FCBC45;
}

.page-arcade-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-arcade-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-arcade-games__faq-item.active .page-arcade-games__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it expands */
  padding: 15px;
}

.page-arcade-games__faq-answer p {
  margin-bottom: 15px;
}

.page-arcade-games__faq-answer a {
  color: #000000;
  text-decoration: underline;
}

.page-arcade-games__faq-answer a:hover {
  color: #FCBC45;
}

/* Final CTA Section */
.page-arcade-games__cta-final-section .page-arcade-games__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* Copyright Section */
.page-arcade-games__copyright-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 30px 15px;
  text-align: center;
  font-size: 0.9em;
  margin-top: 40px;
}

.page-arcade-games__copyright-text a {
  color: #FCBC45;
  text-decoration: none;
}

.page-arcade-games__copyright-text a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-arcade-games__hero-title {
    font-size: 2.5em;
  }
  .page-arcade-games__section-title {
    font-size: 2em;
  }
  .page-arcade-games__mobile-app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-arcade-games__mobile-app-text-area,
  .page-arcade-games__mobile-app-image-wrapper {
    flex: none;
    width: 100%;
  }
  .page-arcade-games__app-features-list {
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-arcade-games__hero-section {
    padding-top: var(--header-offset, 100px);
  }
}

@media (max-width: 768px) {
  .page-arcade-games__hero-title {
    font-size: 2em;
  }
  .page-arcade-games__section-title {
    font-size: 1.8em;
  }
  .page-arcade-games__hero-description {
    font-size: 1em;
  }
  .page-arcade-games__btn-primary,
  .page-arcade-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0;
  }
  .page-arcade-games__hero-buttons,
  .page-arcade-games__app-buttons,
  .page-arcade-games__cta-final-section .page-arcade-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
  }
  .page-arcade-games__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile: controlled by shared's media */
    padding-bottom: 20px;
  }
  .page-arcade-games__section {
    padding: 40px 0;
  }
  .page-arcade-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-arcade-games__section,
  .page-arcade-games__card,
  .page-arcade-games__container,
  .page-arcade-games__game-card,
  .page-arcade-games__step-item,
  .page-arcade-games__bonus-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-arcade-games__app-features-list,
  .page-arcade-games__security-list,
  .page-arcade-games__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-arcade-games__hero-title {
    font-size: 1.8em;
  }
  .page-arcade-games__section-title {
    font-size: 1.6em;
  }
  .page-arcade-games__hero-description {
    font-size: 0.9em;
  }
  .page-arcade-games__faq-question {
    font-size: 1em;
  }
}