/* style/arcade.css */

/* General page styling based on body background (implicitly dark from shared.css) */
.page-arcade {
  color: #FFF6D6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body handles the background color */
}

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-arcade__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Ensure image wrapper can scale */
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-arcade__hero-content {
  max-width: 900px;
  z-index: 1; /* Ensure content is above image if any overlap occurs (though not intended) */
}

.page-arcade__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2C14E; /* Primary color for emphasis */
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Glow */
}

.page-arcade__lead-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

/* CTA Buttons */
.page-arcade__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #FFF6D6; /* Text Main for buttons */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-arcade__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-arcade__cta-button--secondary {
  background: transparent;
  border: 2px solid #F2C14E; /* Primary color border */
  color: #F2C14E;
  box-shadow: none;
  margin-left: 20px;
}

.page-arcade__cta-button--secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

/* Section General */
.page-arcade__section {
  padding: 80px 20px;
  background-color: #0A0A0A; /* Background */
  text-align: center;
}

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

.page-arcade__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2C14E; /* Primary color */
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.3); /* Glow */
}

.page-arcade__section-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #FFF6D6; /* Text Main */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.highlight {
  color: #FFD36B; /* Auxiliary color */
  font-weight: bold;
}

/* Why Choose Section */
.page-arcade__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-arcade__feature-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(242, 193, 78, 0.2);
}

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

.page-arcade__feature-text {
  color: #FFF6D6; /* Text Main */
}

/* Popular Games Section */
.page-arcade__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

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

.page-arcade__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-arcade__game-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Primary color */
  margin-bottom: 10px;
}

.page-arcade__game-text {
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

.page-arcade__game-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #FFF6D6; /* Text Main for buttons */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade__game-button:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
}

/* Getting Started Section */
.page-arcade__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-arcade__step-card {
  background-color: #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.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  padding-top: 60px; /* Space for step number */
}

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

.page-arcade__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #F2C14E; /* Primary color */
  color: #111111; /* Dark text for contrast */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  border: 3px solid #FFD36B; /* Glow */
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

.page-arcade__step-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
}

.page-arcade__step-text {
  color: #FFF6D6; /* Text Main */
  margin-bottom: 25px;
}

.page-arcade__step-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #FFF6D6; /* Text Main for buttons */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade__step-button:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
}

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

.page-arcade__bonus-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__bonus-image {
  width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-arcade__bonus-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Primary color */
  margin-bottom: 10px;
}

.page-arcade__bonus-text {
  color: #FFF6D6; /* Text Main */
}

/* CTA Buttons Group */
.page-arcade__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* Secure Gaming Section */
.page-arcade__security-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-arcade__security-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(242, 193, 78, 0.2);
}

.page-arcade__security-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
}

.page-arcade__security-text {
  color: #FFF6D6; /* Text Main */
}

/* Mobile Experience Section */
.page-arcade__mobile-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
  text-align: left;
}

.page-arcade__mobile-text {
  flex: 1;
}

.page-arcade__mobile-subtitle {
  font-size: 2rem;
  color: #F2C14E; /* Primary color */
  margin-bottom: 20px;
}

.page-arcade__mobile-paragraph {
  font-size: 1.1rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

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

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

/* Support Section */
.page-arcade__support-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-arcade__channel-card {
  background-color: #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.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__channel-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
}

.page-arcade__channel-text {
  color: #FFF6D6; /* Text Main */
  margin-bottom: 25px;
}

.page-arcade__channel-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #FFF6D6; /* Text Main for buttons */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade__channel-button:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
}

/* FAQ Section */
.page-arcade__faq-list {
  margin-top: 50px;
  text-align: left;
}

.page-arcade__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  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 25px;
  cursor: pointer;
  background-color: #1a1a1a; /* Slightly darker for question header */
  color: #F2C14E; /* Primary color */
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

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

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

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

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

.page-arcade__faq-item.active .page-arcade__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

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

/* Join Us Section - Final CTA */
.page-arcade__join-us {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-content {
    padding: 0 15px;
  }

  .page-arcade__mobile-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* General mobile text and padding adjustments */
  .page-arcade {
    font-size: 16px;
    line-height: 1.6;
  }

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

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

  .page-arcade__section-description {
    font-size: 1rem;
  }

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

  /* Images and their containers responsive rules */
  .page-arcade img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-arcade__hero-image-wrapper,
  .page-arcade__game-card,
  .page-arcade__bonus-card,
  .page-arcade__mobile-image-wrapper,
  .page-arcade__feature-item,
  .page-arcade__step-card,
  .page-arcade__security-item,
  .page-arcade__channel-card,
  .page-arcade__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive rules */
  .page-arcade__cta-button,
  .page-arcade__btn-primary,
  .page-arcade__btn-secondary,
  .page-arcade a[class*="button"],
  .page-arcade a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important; /* Reset margin for secondary button */
    margin-bottom: 15px; /* Add spacing between stacked buttons */
  }

  .page-arcade__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 0; /* Remove gap when stacked */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-arcade__cta-button--secondary {
    margin-left: 0;
  }

  .page-arcade__mobile-content {
    gap: 30px;
  }

  .page-arcade__faq-question,
  .page-arcade__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific padding for first section */
  .page-arcade__hero-section {
    padding-top: 10px !important; /* Body handles --header-offset, this is for visual spacing */
  }
}

@media (max-width: 480px) {
  .page-arcade__section-title {
    font-size: 1.8rem;
  }
  .page-arcade__feature-title,
  .page-arcade__game-title,
  .page-arcade__step-title,
  .page-arcade__bonus-title,
  .page-arcade__security-title,
  .page-arcade__channel-title {
    font-size: 1.3rem;
  }
  .page-arcade__mobile-subtitle {
    font-size: 1.6rem;
  }
  .page-arcade__faq-question h3 {
    font-size: 1.1rem;
  }
}