/* style/arcade.css */

/* Base styles for the arcade page */
.page-arcade {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main color on dark background */
  background-color: #0A0A0A; /* Page background color */
}

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

.page-arcade__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure no overflow issues from children */
}

.page-arcade__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main brand color for titles */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-arcade__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

/* Hero Section */
.page-arcade__hero-section {
  padding: 0;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #0A0A0A;
}

.page-arcade__hero-image-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  max-height: 675px;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-arcade__hero-content {
  padding: 40px 20px 60px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.page-arcade__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: #FFD36B; /* Auxiliary color for main title */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-arcade__description {
  font-size: 1.2em;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

.page-arcade__btn-primary,
.page-arcade__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-arcade__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #0A0A0A; /* Dark text on bright button */
  border: none;
}

.page-arcade__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-arcade__btn-secondary {
  background: transparent;
  color: #FFF6D6; /* Text Main color */
  border: 2px solid #F2C14E; /* Main brand color for border */
}

.page-arcade__btn-secondary:hover {
  background: #F2C14E; /* Main brand color */
  color: #0A0A0A; /* Dark text on main brand color */
  transform: translateY(-2px);
}

/* Explore Games Section */
.page-arcade__explore-games {
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #0A0A0A;
}

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

.page-arcade__category-card {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  text-decoration: none;
  color: #FFF6D6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(242, 193, 78, 0.2);
}

.page-arcade__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px #FFD36B);
}

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

.page-arcade__category-text {
  font-size: 0.95em;
  line-height: 1.5;
  color: #CCC;
}

/* Why Choose Section */
.page-arcade__why-choose {
  background-color: #0A0A0A;
}

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

.page-arcade__feature-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
}

.page-arcade__feature-title {
  font-size: 1.3em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-arcade__feature-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #CCC;
}

/* Featured Games Section */
.page-arcade__featured-games {
  background-color: #0A0A0A;
}

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

.page-arcade__game-card {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #FFF6D6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-arcade__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(242, 193, 78, 0.2);
}

.page-arcade__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-arcade__game-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin: 20px 20px 10px;
  font-weight: 600;
}

.page-arcade__game-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #CCC;
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-arcade__promotions {
  background-color: #0A0A0A;
}

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

.page-arcade__promo-card {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade__promo-title {
  font-size: 1.3em;
  color: #FFD36B;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-arcade__promo-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #CCC;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Mobile App Section */
.page-arcade__mobile-app {
  background-color: #0A0A0A;
}

.page-arcade__app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-arcade__app-text-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-arcade__app-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-arcade__app-features li {
  font-size: 1.1em;
  line-height: 1.8;
  color: #FFF6D6;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.page-arcade__list-icon {
  color: #F2C14E;
  font-weight: bold;
  font-size: 1.2em;
  margin-right: 10px;
  line-height: 1;
}

.page-arcade__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-arcade__app-mockup {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
}

.page-arcade__cta-buttons--mobile {
  justify-content: flex-start;
}

/* Safety & Responsible Gambling Section */
.page-arcade__safety-gambling {
  background-color: #0A0A0A;
}

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

.page-arcade__safety-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
}

.page-arcade__safety-title {
  font-size: 1.3em;
  color: #FFD36B;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-arcade__safety-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #CCC;
}

/* Partners Section */
.page-arcade__partners {
  background-color: #0A0A0A;
}

.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;
  filter: grayscale(100%) brightness(1.5);
  transition: filter 0.3s ease;
}

.page-arcade__partner-logo:hover {
  filter: grayscale(0%) brightness(1);
}


/* FAQ Section */
.page-arcade__faq {
  background-color: #0A0A0A;
}

.page-arcade__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-arcade__faq-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

.page-arcade__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-arcade__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em;
}

.page-arcade__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #FFD36B;
}

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

.page-arcade__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #CCC;
  font-size: 1em;
  line-height: 1.6;
}

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

.page-arcade__faq-answer p {
  margin: 0;
  color: inherit;
}

/* Final CTA Section */
.page-arcade__cta-final {
  background-color: #0A0A0A;
  padding-bottom: 80px;
}

/* General image styling for responsiveness */
.page-arcade img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General button container styling for responsiveness */
.page-arcade__cta-wrapper,
.page-arcade__cta-buttons,
.page-arcade__button-group,
.page-arcade__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-arcade__hero-content {
    padding: 30px 20px 40px;
  }
}

@media (max-width: 768px) {
  .page-arcade__section {
    padding: 40px 0;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-arcade__main-title {
    font-size: clamp(1.8em, 6vw, 2.8em);
  }
  .page-arcade__description {
    font-size: 1em;
  }
  .page-arcade__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__btn-primary,
  .page-arcade__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
  }

  .page-arcade__container {
    padding: 0 15px;
  }

  .page-arcade__section,
  .page-arcade__card,
  .page-arcade__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-arcade__hero-image-wrapper {
    max-height: 400px;
  }
  .page-arcade__hero-content {
    padding: 20px 15px 30px;
  }

  .page-arcade__app-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-arcade__app-text-content,
  .page-arcade__app-image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-arcade__cta-buttons--mobile {
    justify-content: center;
  }

  .page-arcade__partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  .page-arcade__partner-logo {
    width: 120px;
    height: 90px;
  }

  .page-arcade__faq-question {
    padding: 15px;
    font-size: 1em;
  }
  .page-arcade__faq-answer {
    padding: 0 15px;
  }
  .page-arcade__faq-item.active .page-arcade__faq-answer {
    padding: 10px 15px 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__main-title {
    font-size: clamp(1.5em, 7vw, 2.2em);
  }
  .page-arcade__cta-buttons {
    gap: 10px;
  }
  .page-arcade__category-card,
  .page-arcade__feature-item,
  .page-arcade__game-card,
  .page-arcade__promo-card,
  .page-arcade__safety-item {
    padding: 20px;
  }
  .page-arcade__partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-arcade__partner-logo {
    width: 100px;
    height: 75px;
  }
}