/* style/arcade.css */

/* Base styles for the page content, ensuring contrast with shared body background */
.page-arcade {
  color: #FFF6D6; /* Text Main */
  background-color: transparent; /* Body background from shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-arcade__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  color: #FFD36B; /* Glow color for highlights */
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.4);
}

.page-arcade__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__inline-link {
  color: #F2C14E; /* Main color for links */
  text-decoration: underline;
}

.page-arcade__inline-link:hover {
  color: #FFD36B;
}

/* HERO Section */
.page-arcade__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  background-color: #0A0A0A; /* Background color */
}

.page-arcade__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 40px;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.5);
}

.page-arcade__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-arcade__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 800;
  color: #F2C14E; /* Main brand color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

.page-arcade__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

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

/* Buttons */
.page-arcade__btn-primary,
.page-arcade__btn-secondary,
.page-arcade__promo-button,
.page-arcade__category-link,
.page-arcade__cta-button,
.page-arcade a[class*="button"],
.page-arcade a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-arcade__btn-primary,
.page-arcade__cta-button {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-arcade__btn-primary:hover,
.page-arcade__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
  background: linear-gradient(180deg, #FFE082 0%, #E6AE2D 100%);
}

.page-arcade__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-arcade__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.3);
  background: #222222;
  color: #FFD36B;
}

/* Intro Section */
.page-arcade__intro-section {
  padding: 80px 0;
}

/* Features Section */
.page-arcade__features-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background color */
}

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

.page-arcade__feature-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-arcade__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter */
}

.page-arcade__feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

.page-arcade__feature-description {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
}

/* Video Section */
.page-arcade__video-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background color */
  text-align: center;
}

.page-arcade__video-link-wrapper {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.5);
  cursor: pointer;
}

.page-arcade__video {
  width: 100%;
  height: auto;
  display: block;
  filter: none; /* Ensure no CSS filter */
}

.page-arcade__video-caption {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  margin-top: 20px;
}

/* Game Categories Section */
.page-arcade__game-categories {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background color */
}

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

.page-arcade__category-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-arcade__category-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: none; /* Ensure no CSS filter */
}

.page-arcade__category-title {
  font-size: 1.4em;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
}

.page-arcade__category-description {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

.page-arcade__category-link {
  display: inline-block;
  padding: 10px 20px;
  background: #F2C14E; /* Main color */
  color: #111111; /* Dark text */
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-arcade__category-link:hover {
  background: #FFD36B; /* Glow color */
}

/* How to Start Section */
.page-arcade__how-to-start-section {
  padding: 80px 0;
}

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

.page-arcade__step-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-arcade__step-title {
  font-size: 1.6em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
}

.page-arcade__step-description {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
}

.page-arcade__how-to-cta {
  text-align: center;
  margin-top: 50px;
}

/* Promotions Section */
.page-arcade__promotions-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background color */
}

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

.page-arcade__promo-card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
  text-align: center;
}

.page-arcade__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for promo images */
  object-fit: cover;
  filter: none; /* Ensure no CSS filter */
}

.page-arcade__promo-card h3,
.page-arcade__promo-card p {
  padding: 0 20px;
}

.page-arcade__promo-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main color */
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-arcade__promo-description {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 25px;
}

/* Media Partners Section */
.page-arcade__media-partners-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background color */
}

.page-arcade__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(167px, 1fr));
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-arcade__partner-logo {
  width: 167px;
  height: 127px;
  object-fit: contain;
  padding: 10px;
  background-color: #111111; /* Card BG */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  filter: none; /* Ensure no CSS filter */
  border: 1px solid #3A2A12; /* Border */
}

/* FAQ Section */
.page-arcade__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background color */
}

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

.page-arcade__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2C14E; /* Main color */
  background-color: #111111; /* Card BG */
  transition: background-color 0.3s ease;
}

.page-arcade__faq-question:hover {
  background-color: #222222;
}

.page-arcade__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B; /* Glow color */
}

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

.page-arcade__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #FFF6D6; /* Text Main */
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-arcade__faq-item.active .page-arcade__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 20px 20px;
}

.page-arcade__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

/* CTA Section */
.page-arcade__cta-section {
  padding: 80px 0;
  text-align: center;
}

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

/* Dark background sections */
.page-arcade__dark-section {
  background-color: #0A0A0A;
}

/* General card styling for contrast */
.page-arcade__card {
  background: #111111;
  color: #FFF6D6;
  border: 1px solid #3A2A12;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-arcade__hero-content {
    padding: 0 15px;
  }
  .page-arcade__section-title {
    font-size: clamp(1.8em, 4.5vw, 2.5em);
  }
  .page-arcade__text-block {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-arcade {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-arcade__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* Ensure small top padding */
  }
  .page-arcade__hero-image-wrapper {
    margin-bottom: 30px;
  }
  .page-arcade__main-title {
    font-size: clamp(2em, 7vw, 2.8em);
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__hero-cta-buttons,
  .page-arcade__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-arcade__btn-primary,
  .page-arcade__btn-secondary,
  .page-arcade__promo-button,
  .page-arcade__category-link,
  .page-arcade__cta-button,
  .page-arcade a[class*="button"],
  .page-arcade a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-arcade__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }
  .page-arcade__text-block {
    font-size: 0.95em;
  }
  .page-arcade__features-grid,
  .page-arcade__promo-cards-grid,
  .page-arcade__steps-grid,
  .page-arcade__categories-grid,
  .page-arcade__partners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-arcade__feature-card,
  .page-arcade__promo-card,
  .page-arcade__step-card,
  .page-arcade__category-item,
  .page-arcade__faq-item,
  .page-arcade__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-arcade__video-section {
    padding-top: 10px !important;
  }
  .page-arcade img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-arcade__video-link-wrapper {
    max-width: 100%;
    margin: 30px auto;
  }
  .page-arcade__video {
    width: 100% !important;
    height: auto !important;
  }
  .page-arcade__partner-logo {
    width: 120px;
    height: auto;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-arcade__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__btn-primary,
  .page-arcade__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-arcade__section-title {
    font-size: clamp(1.3em, 7vw, 1.8em);
  }
  .page-arcade__features-grid,
  .page-arcade__promo-cards-grid,
  .page-arcade__steps-grid,
  .page-arcade__categories-grid,
  .page-arcade__partners-grid {
    gap: 15px;
  }
  .page-arcade__partner-logo {
    width: 100px;
  }
}