.page-arcade {
  color: #333333; /* Dark text for default light body background */
}

.page-arcade__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #1A1A1A; /* Dark background for hero section */
  color: #ffffff;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim image for text readability */
}

.page-arcade__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 20px;
  z-index: 2;
  max-width: 800px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #DAA520;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-arcade__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-arcade__button--primary {
  background-color: #DAA520;
  color: #1A1A1A;
  border: 2px solid #DAA520;
}

.page-arcade__button--primary:hover {
  background-color: #e5c063;
  transform: translateY(-2px);
}

.page-arcade__button--secondary {
  background-color: transparent;
  color: #DAA520;
  border: 2px solid #DAA520;
}

.page-arcade__button--secondary:hover {
  background-color: #DAA520;
  color: #1A1A1A;
  transform: translateY(-2px);
}

.page-arcade__section {
  padding: 60px 20px;
  text-align: center;
}

.page-arcade__section--overview {
  background-color: #f8f8f8;
}

.page-arcade__section--why-aceph {
  background-color: #1A1A1A;
  color: #ffffff;
}

.page-arcade__section--how-to-play {
  background-color: #f8f8f8;
}

.page-arcade__section--faq {
  background-color: #ffffff;
}

.page-arcade__section--cta-final {
  background: linear-gradient(135deg, #1A1A1A, #333333);
  color: #ffffff;
  padding: 80px 20px;
}

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

.page-arcade__container--center {
  max-width: 800px;
}

.page-arcade__section-title {
  font-size: 2.8em;
  margin-bottom: 25px;
  color: #1A1A1A;
}

.page-arcade__section--why-aceph .page-arcade__section-title,
.page-arcade__section--cta-final .page-arcade__section-title {
  color: #DAA520;
}

.page-arcade__section-text {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-arcade__section--why-aceph .page-arcade__section-text,
.page-arcade__section--cta-final .page-arcade__section-text {
  color: #f0f0f0;
}

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

.page-arcade__grid-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease;
}

.page-arcade__grid-item:hover {
  transform: translateY(-5px);
}

.page-arcade__grid-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-arcade__grid-title {
  font-size: 1.8em;
  color: #DAA520;
  margin-bottom: 15px;
}

.page-arcade__grid-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

.page-arcade__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-arcade__feature-title {
  font-size: 1.8em;
  color: #DAA520;
  margin-bottom: 15px;
}

.page-arcade__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
}

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

.page-arcade__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

.page-arcade__step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-arcade__step-title {
  font-size: 1.8em;
  color: #1A1A1A;
  margin-bottom: 15px;
}

.page-arcade__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-arcade__step-description a {
  color: #DAA520;
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-arcade__button--large {
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

.page-arcade__accordion {
  margin-top: 40px;
  text-align: left;
}

.page-arcade__accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-arcade__accordion-header {
  background-color: #DAA520;
  color: #1A1A1A;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.3em;
  font-weight: bold;
  margin: 0;
  position: relative;
  transition: background-color 0.3s ease;
}

.page-arcade__accordion-header:hover {
  background-color: #e5c063;
}

.page-arcade__accordion-header::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-arcade__accordion-item.active .page-arcade__accordion-header::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-arcade__accordion-content {
  padding: 0 25px;
  background-color: #fdfdfd;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-arcade__accordion-item.active .page-arcade__accordion-content {
  max-height: 200px; /* Adjust as needed for content */
  padding: 15px 25px 25px;
}

.page-arcade__accordion-content p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-arcade__accordion-content a {
  color: #DAA520;
  text-decoration: none;
  font-weight: bold;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__section-title {
    font-size: 2.2em;
  }
  .page-arcade__grid-title,
  .page-arcade__feature-title,
  .page-arcade__step-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-content {
    position: static;
    transform: none;
    padding: 40px 20px;
    background-color: rgba(26, 26, 26, 0.85); /* Dark overlay for text readability */
  }
  .page-arcade__hero-image {
    filter: brightness(0.4); /* Dimmmer image on mobile if content is on top */
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-arcade__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-arcade__section {
    padding: 40px 15px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-arcade__grid,
  .page-arcade__feature-list,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-arcade__grid-image,
  .page-arcade__step-image {
    height: 180px;
  }
  .page-arcade__grid-title,
  .page-arcade__feature-title,
  .page-arcade__step-title {
    font-size: 1.4em;
  }
  .page-arcade__button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  /* Mobile content image constraint */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-arcade__accordion-header::after {
    right: 20px;
  }
  .page-arcade__accordion-content {
    padding: 0 20px;
  }
  .page-arcade__accordion-item.active .page-arcade__accordion-content {
    padding: 10px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__section-title {
    font-size: 1.6em;
  }
  .page-arcade__grid-title,
  .page-arcade__feature-title,
  .page-arcade__step-title {
    font-size: 1.2em;
  }
}