/* style/arcade.css */

/* General Page Styling */
.page-arcade {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

.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;
}

.page-arcade__section-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-arcade__text-block {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

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

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 10px 0 60px 0; /* body handles padding-top, add small decorative top padding */
  overflow: hidden;
  color: #FFF6D6;
}

.page-arcade__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-arcade__video-link {
  display: block;
  width: 100%;
  height: 100%;
}

.page-arcade__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  cursor: pointer;
}

.page-arcade__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-arcade__main-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  color: #FFD36B; /* Glow / Auxiliary Color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-arcade__description {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-arcade__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111; /* Card BG, dark text for contrast */
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-arcade__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
  filter: brightness(1.1);
}

.page-arcade__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Glow / Auxiliary Color */
  border: 2px solid #FFD36B; /* Border */
  margin: 0 10px;
}

.page-arcade__btn-secondary:hover {
  background: #FFD36B;
  color: #111111; /* Dark text for contrast */
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.3);
}

/* Images */
.page-arcade__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

/* Game Cards */
.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: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-arcade__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-arcade__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12; /* Border */
}

.page-arcade__card-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-arcade__card-text {
  font-size: 1rem;
  color: #FFF6D6;
}

/* Features Grid */
.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: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__feature-icon {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-arcade__feature-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-arcade__feature-text {
  font-size: 1rem;
  color: #FFF6D6;
}

/* How to Get Started Steps */
.page-arcade__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade__step-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #FFD36B; /* Glow / Auxiliary Color */
  margin-bottom: 15px;
  background: rgba(255, 211, 107, 0.1);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  border: 2px solid #FFD36B;
}

.page-arcade__step-title {
  font-size: 1.3rem;
  color: #F2C14E; /* Main Color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-arcade__step-text {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__cta-block {
  margin-top: 60px;
  padding: 40px;
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade__cta-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #FFD36B; /* Glow / Auxiliary Color */
  margin-bottom: 25px;
}

/* Game Providers Grid */
.page-arcade__providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(167px, 1fr)); /* Fixed width for game images */
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-arcade__provider-logo {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 167px;
  height: 127px; /* Fixed height for game images */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.page-arcade__provider-logo:hover {
  transform: translateY(-3px);
}

.page-arcade__provider-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* FAQ Section */
.page-arcade__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: 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.15);
}

.page-arcade__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: #1a1a1a;
  color: #F2C14E; /* Main Color */
  font-weight: bold;
  font-size: 1.15rem;
  transition: background-color 0.3s ease;
}

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

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

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

.page-arcade__faq-item.active .page-arcade__faq-toggle {
  transform: rotate(0deg); /* '-' already implies rotation if '+' was rotated */
}

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

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

.page-arcade__faq-answer p {
  margin: 0;
  font-size: 1rem;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__main-title {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
  }

  .page-arcade__description {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
  }

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 60vh;
    padding-top: 10px !important; /* Ensure small decorative padding */
    padding-bottom: 40px;
  }

  .page-arcade__hero-content {
    padding: 15px;
  }

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

  .page-arcade__description {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }

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

  .page-arcade__text-block {
    font-size: 1rem;
  }

  .page-arcade__cta-button,
  .page-arcade__btn-primary,
  .page-arcade__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
  }

  .page-arcade__game-cards,
  .page-arcade__features-grid,
  .page-arcade__steps-grid,
  .page-arcade__providers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-arcade img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-arcade__video-wrapper,
  .page-arcade__video-link,
  .page-arcade__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important; /* video height adjusts with aspect ratio */
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-arcade__cta-block {
    padding: 30px;
  }

  .page-arcade__cta-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

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

  .page-arcade__faq-answer {
    padding: 15px 20px !important;
  }
}