/* style/arcade.css */

/* Base styles for the page-arcade scope */
.page-arcade {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Main text color on dark background */
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

/* Fixed header spacing for the first content section */
.page-arcade__hero-section {
  padding-top: var(--header-offset, 120px); /* Desktop default, adjusted by shared.css media queries */
  background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Brand colors for hero background */
  position: relative;
  overflow: hidden;
  color: #111111; /* Dark text on light gradient */
}

.page-arcade__hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  gap: 30px;
}

.page-arcade__hero-text {
  text-align: center;
  max-width: 800px;
  width: 100%;
}

.page-arcade__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #111111; /* Dark text on light gradient */
}

.page-arcade__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #333333; /* Darker text for readability */
}

.page-arcade__hero-image-container {
  width: 100%;
  max-width: 800px; /* Max width for hero image container */
  position: relative;
  z-index: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-arcade__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  width: 100%;
  max-width: 600px;
}

.page-arcade__btn-primary,
.page-arcade__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-arcade__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-arcade__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.page-arcade__btn-secondary {
  background: #111111; /* Card BG color */
  color: #F2C14E; /* Main brand color for text */
  border: 2px solid #F2C14E; /* Border with main brand color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-arcade__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  border-color: #F2C14E;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.page-arcade__section {
  padding: 60px 0;
}

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

.page-arcade__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #F2C14E; /* Brand color for section titles */
}

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

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

.page-arcade__feature-card,
.page-arcade__step-card,
.page-arcade__category-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6; /* Text Main color */
}

.page-arcade__feature-card:hover,
.page-arcade__step-card:hover,
.page-arcade__category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-arcade__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD36B; /* Auxiliary color for card titles */
}

.page-arcade__card-text {
  font-size: 1em;
  line-height: 1.7;
  color: #FFF6D6;
}

.page-arcade__card-text a {
  color: #F2C14E;
  text-decoration: none;
}

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

/* Category specific styles */
.page-arcade__category-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5)); /* Glow effect */
}

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

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

.page-arcade__category-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Steps grid specific styles */
.page-arcade__step-card {
  padding-bottom: 20px;
}

.page-arcade__step-number {
  background: #F2C14E;
  color: #111111;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade__step-card .page-arcade__btn-primary {
  margin-top: auto; /* Push button to the bottom */
  width: auto;
  max-width: 100%;
}

/* Responsible Gaming Section */
.page-arcade__responsible-gaming {
  background: #0A0A0A; /* Darker background for contrast */
  padding: 80px 0;
}

.page-arcade__responsible-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.page-arcade__text-block {
  flex: 1;
  text-align: left;
  max-width: 700px;
}

.page-arcade__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD36B;
}

.page-arcade__paragraph {
  font-size: 1em;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-arcade__paragraph a {
  color: #F2C14E;
  text-decoration: none;
}

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

.page-arcade__image-block {
  flex: 1;
  min-width: 280px;
}

.page-arcade__responsive-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-arcade__faq {
  padding-bottom: 80px;
}

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

.page-arcade__faq-item {
  background: #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.1);
}

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

.page-arcade__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

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

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

.page-arcade__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #FFF6D6;
  background: #111111;
}

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

.page-arcade__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
  color: #FFF6D6;
}

.page-arcade__faq-answer p a {
  color: #F2C14E;
  text-decoration: none;
}

.page-arcade__faq-answer p a:hover {
  text-decoration: underline;
}

/* Join Us Section */
.page-arcade__join-us {
  background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Brand colors for hero background */
  color: #111111;
  padding: 80px 0;
}

.page-arcade__join-us .page-arcade__section-title {
  color: #111111;
}

.page-arcade__join-us .page-arcade__section-intro {
  color: #333333;
}

.page-arcade__centered-content {
  text-align: center;
}

.page-arcade__join-us .page-arcade__cta-buttons {
  margin-top: 40px;
}


/* Responsive Design */
@media (min-width: 769px) {
  .page-arcade__hero-content-wrapper {
    flex-direction: row;
    text-align: left;
    gap: 50px;
  }

  .page-arcade__hero-text {
    text-align: left;
    max-width: 50%;
  }

  .page-arcade__hero-image-container {
    max-width: 50%;
  }

  .page-arcade__responsible-content {
    flex-direction: row;
    text-align: left;
    gap: 50px;
  }

  .page-arcade__image-block {
    order: 2;
  }

  .page-arcade__text-block {
    order: 1;
  }
}


@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-arcade__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }

  .page-arcade__section-title {
    font-size: 2em;
  }

  .page-arcade__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-arcade__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
  }

  .page-arcade__btn-primary,
  .page-arcade__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-arcade__section,
  .page-arcade__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-arcade__features-grid,
  .page-arcade__categories-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-arcade img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-arcade__section,
  .page-arcade__card,
  .page-arcade__container,
  .page-arcade__cta-buttons,
  .page-arcade__button-group,
  .page-arcade__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-arcade__responsive-image {
    width: 100%;
    height: auto;
  }

  .page-arcade__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-arcade__faq-answer {
    padding: 0 20px;
  }

  .page-arcade__faq-item.active .page-arcade__faq-answer {
    padding: 15px 20px;
  }

  .page-arcade__responsible-content {
    flex-direction: column;
  }
}