.page-arcade {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-arcade__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-arcade__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80%;
  background: rgba(0, 0, 0, 0.75); /* Semi-transparent dark background */
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-title {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
  text-shadow: 0 0 15px rgba(252, 188, 69, 0.6);
  line-height: 1.2;
}

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

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

.page-arcade__button {
  display: inline-block;
  padding: 15px 35px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-arcade__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-arcade__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.page-arcade__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-arcade__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  box-shadow: 0 6px 20px rgba(252, 188, 69, 0.4);
}

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

.page-arcade__section-title {
  font-size: 2.8em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FCBC45;
  text-shadow: 0 0 10px rgba(252, 188, 69, 0.4);
}

.page-arcade__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #E0E0E0;
  text-align: justify;
}

.page-arcade__about-section, .page-arcade__why-choose-section, .page-arcade__how-to-start-section, .page-arcade__faq-section, .page-arcade__final-cta-section {
  padding: 80px 0;
}

.page-arcade__featured-games-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
  padding: 80px 0;
}

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

.page-arcade__game-card, .page-arcade__feature-card {
  background-color: rgba(0, 0, 0, 0.6); /* Darker card background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__game-card:hover, .page-arcade__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(252, 188, 69, 0.3);
}

.page-arcade__game-image, .page-arcade__feature-icon {
  width: 100%;
  height: auto;
  max-height: 250px; /* Constrain image height in cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(252, 188, 69, 0.3);
}

.page-arcade__game-title, .page-arcade__feature-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-arcade__game-description, .page-arcade__feature-description {
  font-size: 1em;
  line-height: 1.7;
  color: #CCCCCC;
  margin-bottom: 20px;
}

.page-arcade__button--play {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 10px 25px;
  font-size: 1em;
}

.page-arcade__button--play:hover {
  background-color: transparent;
  color: #FCBC45;
  box-shadow: 0 4px 15px rgba(252, 188, 69, 0.4);
}

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

.page-arcade__step-item {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-arcade__step-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-arcade__step-title::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  background-color: #FCBC45;
  border-radius: 50%;
}

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

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

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

.page-arcade__cta-area {
  text-align: center;
  margin-top: 50px;
}

.page-arcade__button--cta {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  font-size: 1.2em;
  padding: 18px 40px;
}

.page-arcade__button--cta:hover {
  background-color: transparent;
  color: #FCBC45;
  box-shadow: 0 6px 20px rgba(252, 188, 69, 0.4);
}

.page-arcade__faq-list {
  margin-top: 30px;
}

.page-arcade__faq-item {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-arcade__faq-question {
  font-size: 1.4em;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-arcade__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FCBC45;
}

.page-arcade__faq-answer {
  font-size: 1em;
  line-height: 1.7;
  color: #CCCCCC;
  display: none;
  margin-top: 15px;
}

.page-arcade__faq-item.active .page-arcade__faq-answer {
  display: block;
}

.page-arcade__faq-item.active .page-arcade__faq-question::after {
  content: '-';
}

.page-arcade__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: 600;
}

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

.page-arcade__final-cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: rgba(252, 188, 69, 0.1); /* Light accent background */
  border-radius: 15px;
  margin: 40px auto;
  max-width: 1200px;
}

.page-arcade__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-arcade__button--final-register {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  font-size: 1.3em;
  padding: 20px 45px;
  margin-top: 30px;
}

.page-arcade__button--final-register:hover {
  background-color: transparent;
  color: #FCBC45;
  box-shadow: 0 8px 25px rgba(252, 188, 69, 0.6);
}

/* Responsive adjustments */
@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;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 80px);
    padding-bottom: 40px;
  }
  .page-arcade__hero-content {
    max-width: 90%;
    padding: 20px;
  }
  .page-arcade__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-arcade__hero-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 80%;
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-arcade__container {
    padding: 20px 15px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-arcade__text-content {
    font-size: 0.95em;
  }
  .page-arcade__game-grid, .page-arcade__feature-grid, .page-arcade__steps-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-arcade__game-card, .page-arcade__feature-card, .page-arcade__step-item {
    padding: 25px;
  }
  .page-arcade__game-image, .page-arcade__feature-icon {
    max-height: 200px;
  }
  .page-arcade__game-title, .page-arcade__feature-title {
    font-size: 1.5em;
  }
  .page-arcade__button--cta, .page-arcade__button--final-register {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  .page-arcade__faq-question {
    font-size: 1.2em;
  }
  .page-arcade__faq-answer {
    font-size: 0.9em;
  }
  /* Content area images must not cause horizontal scroll */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.6em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__button {
    width: 90%;
  }
  .page-arcade__section-title {
    font-size: 1.6em;
  }
  .page-arcade__game-title, .page-arcade__feature-title {
    font-size: 1.3em;
  }
  .page-arcade__step-title {
    font-size: 1.4em;
  }
}