.page-arcade {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

.page-arcade__section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-arcade__section--dark {
  background-color: #1A1A1A; /* Auxiliary dark background */
}

.page-arcade__container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-arcade__section-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold for titles */
  margin-bottom: 25px;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-arcade__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-arcade__section-text--center {
  text-align: center;
}

/* Hero Section */
.page-arcade__hero-section {
  padding: 0;
  background-color: #000000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-arcade__hero-container {
  position: relative;
  width: 100%;
  max-width: 100%; /* Ensure no horizontal overflow */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.3; /* Subtle overlay */
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for text readability */
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.page-arcade__hero-title {
  font-size: 4em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

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

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

.page-arcade__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.page-arcade__btn--primary {
  background-color: #FFD700;
  color: #1A1A1A;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-arcade__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-arcade__btn--secondary {
  background-color: #1A1A1A;
  color: #FFD700;
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.page-arcade__btn--secondary:hover {
  background-color: #333333;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.page-arcade__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-arcade__btn--inline {
  margin-top: 15px;
  margin-right: 10px;
}

/* Introduction Section */
.page-arcade__introduction-section .page-arcade__section-text {
  text-align: justify;
  color: #e0e0e0;
}

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

.page-arcade__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.page-arcade__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-arcade__game-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-arcade__game-description {
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-arcade__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease;
}

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

.page-arcade__feature-title {
  font-size: 1.9em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 600;
}

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

/* Get Started Section */
.page-arcade__steps-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.page-arcade__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  flex: 1 1 calc(33% - 40px); /* Three items per row */
  max-width: calc(33% - 40px);
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-arcade__step-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-arcade__step-description {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.page-arcade__bonus-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.page-arcade__bonus-card:hover {
  transform: translateY(-8px);
}

.page-arcade__bonus-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-arcade__bonus-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-arcade__bonus-description {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-arcade__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-arcade__mobile-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
  border: 2px solid #FFD700;
}

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

.page-arcade__security-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade__security-title {
  font-size: 1.9em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 600;
}

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

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

.page-arcade__tip-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-arcade__tip-card:hover {
  transform: translateY(-8px);
}

.page-arcade__tip-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-arcade__tip-title {
  font-size: 1.9em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-arcade__tip-description {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.7;
  flex-grow: 1;
}

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

.page-arcade__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade__faq-question {
  background-color: rgba(255, 215, 0, 0.15); /* Lighter gold for question background */
  color: #FFD700;
  padding: 20px 30px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-arcade__faq-question:hover,
.page-arcade__faq-question.active {
  background-color: rgba(255, 215, 0, 0.25);
}

.page-arcade__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-arcade__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-arcade__faq-answer {
  padding: 0 30px;
  background-color: rgba(255, 255, 255, 0.05);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-arcade__faq-answer p {
  padding: 20px 0;
  font-size: 1em;
  color: #cccccc;
  line-height: 1.7;
  margin: 0;
}

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

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

/* Call to Action Section */
.page-arcade__cta-container {
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(26, 26, 26, 0.8));
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3.5em;
  }
  .page-arcade__hero-description {
    font-size: 1.2em;
  }
  .page-arcade__section-title {
    font-size: 2.8em;
  }
  .page-arcade__mobile-container {
    flex-direction: column;
    text-align: center;
  }
  .page-arcade__mobile-content {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-arcade__section-title {
    font-size: 2.2em;
  }
  .page-arcade__game-grid, .page-arcade__features-grid, .page-arcade__steps-list, .page-arcade__bonus-cards, .page-arcade__security-list, .page-arcade__tips-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__step-item {
    max-width: 100%;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-arcade__faq-answer p {
    padding: 15px 0;
  }
  .page-arcade__cta-buttons {
    flex-direction: column;
  }
  /* Mobile content area images must be constrained */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-text {
    font-size: 0.95em;
  }
  .page-arcade__game-title, .page-arcade__feature-title, .page-arcade__step-title, .page-arcade__bonus-title, .page-arcade__security-title, .page-arcade__tip-title {
    font-size: 1.5em;
  }
  .page-arcade__game-image, .page-arcade__bonus-image, .page-arcade__tip-image {
    height: 180px;
  }
}