.page-arcade {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-arcade__hero-section {
  background: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: 80px 20px 40px; /* Adjusted padding-top to account for header offset, then internal padding */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-arcade__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-arcade__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

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

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

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

.page-arcade__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

.page-arcade__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-arcade__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-arcade__button--small:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
  transform: translateY(-2px);
}

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

.page-arcade__button--large:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
  transform: translateY(-2px);
}

.page-arcade__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

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

.page-arcade__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-arcade__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__featured-games, .page-arcade__why-49jl, .page-arcade__promotions, .page-arcade__mobile-experience, .page-arcade__faq, .page-arcade__call-to-action {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-arcade__game-card, .page-arcade__promo-card {
  background: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

.page-arcade__game-card:hover, .page-arcade__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-arcade__game-card-image, .page-arcade__promo-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 20px;
  display: block;
}

.page-arcade__game-card-title, .page-arcade__promo-card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-arcade__game-card-description, .page-arcade__promo-card-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-arcade__why-49jl {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  background: #f8f8f8;
  border-radius: 15px;
  padding: 60px;
}

.page-arcade__why-49jl-content {
  flex: 1;
}

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

.page-arcade__why-49jl-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: block;
}

.page-arcade__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-arcade__advantage-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  gap: 20px;
}

.page-arcade__advantage-icon {
  width: 60px;
  height: 60px;
  min-width: 60px; /* Ensure icon doesn't shrink */
  border-radius: 50%;
  background-color: #FCBC45; /* Login button color */
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: contain;
  display: block;
}

.page-arcade__advantage-title {
  font-size: 1.3em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 5px;
}

.page-arcade__advantage-description {
  font-size: 1em;
  color: #555555;
}

.page-arcade__all-promotions-cta {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.page-arcade__all-promotions-text {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 20px;
}

.page-arcade__mobile-experience {
  display: flex;
  flex-direction: row-reverse; /* Image on right */
  align-items: center;
  gap: 50px;
  padding: 60px 20px;
}

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

.page-arcade__mobile-description {
  font-size: 1em;
  color: #666666;
  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;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: block;
}

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

.page-arcade__faq-item {
  background: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-arcade__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

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

.page-arcade__faq-answer {
  font-size: 1em;
  color: #666666;
  margin-top: 0;
  display: none; /* Hidden by default, toggled by JS */
}

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

.page-arcade__faq-cta {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-arcade__call-to-action {
  background: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
  border-radius: 15px;
  margin-bottom: 60px;
}

.page-arcade__call-to-action .page-arcade__section-title {
  color: #FCBC45;
}

.page-arcade__call-to-action .page-arcade__section-subtitle {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__why-49jl, .page-arcade__mobile-experience {
    flex-direction: column;
    padding: 40px;
  }
  .page-arcade__why-49jl-image-wrapper, .page-arcade__mobile-image-wrapper {
    margin-top: 30px;
  }
  .page-arcade__why-49jl-image, .page-arcade__mobile-image {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 100px);
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-subtitle {
    font-size: 1em;
  }
  .page-arcade__game-grid, .page-arcade__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__why-49jl, .page-arcade__promotions, .page-arcade__mobile-experience, .page-arcade__faq, .page-arcade__call-to-action {
    padding: 30px 15px;
  }
  .page-arcade__game-card-image, .page-arcade__promo-card-image {
    height: 200px;
  }
  .page-arcade__advantage-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-arcade__advantage-icon {
    margin-bottom: 10px;
  }
  .page-arcade__why-49jl-image, .page-arcade__mobile-image {
    width: 100%;
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
  }
  /* Enforce max-width: 100% for all images within .page-arcade */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__hero-image-wrapper, .page-arcade__why-49jl-image-wrapper, .page-arcade__mobile-image-wrapper {
    max-width: 100%;
  }
  .page-arcade__hero-image, .page-arcade__why-49jl-image, .page-arcade__mobile-image {
    width: 100%;
  }
  .page-arcade__faq-cta {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 80px);
  }
}