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

.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh; /* Minimum height for hero section */
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the background image for text readability */
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-arcade__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-arcade__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-arcade__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

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

.page-arcade__button--login {
  background-color: #FCBC45;
  color: #000000;
}

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

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

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

.page-arcade__section-intro {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-arcade__about-section,
.page-arcade__popular-games-section,
.page-arcade__mobile-experience-section,
.page-arcade__security-support-section,
.page-arcade__cta-section,
.page-arcade__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-arcade__about-section {
  background-color: #f9f9f9;
}

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

.page-arcade__feature-card,
.page-arcade__game-card,
.page-arcade__security-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__feature-card:hover,
.page-arcade__game-card:hover,
.page-arcade__security-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-arcade__feature-icon,
.page-arcade__game-image,
.page-arcade__security-icon {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure images are block level for proper spacing */
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__feature-icon {
  width: 400px; /* Example display width, matches HTML width attribute */
  height: 267px; /* Example display height, matches HTML height attribute */
  object-fit: cover;
}

.page-arcade__game-image {
  width: 400px; /* Example display width, matches HTML width attribute */
  height: 300px; /* Example display height, matches HTML height attribute */
  object-fit: cover;
}

.page-arcade__security-icon {
  width: 200px; /* Example display width, matches HTML width attribute */
  height: 200px; /* Example display height, matches HTML height attribute */
  object-fit: cover;
}

.page-arcade__feature-title,
.page-arcade__game-title,
.page-arcade__security-item-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-arcade__feature-description,
.page-arcade__game-description,
.page-arcade__security-item-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
}

.page-arcade__button--play {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 20px;
}

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

.page-arcade__mobile-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.page-arcade__mobile-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-arcade__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

.page-arcade__mobile-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-arcade__mobile-features-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-arcade__mobile-features-list li {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.page-arcade__list-icon {
  color: #FCBC45;
  font-size: 1.3em;
  margin-right: 10px;
}

.page-arcade__button--download {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 20px;
}

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

.page-arcade__security-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__button--cta {
  background-color: #FCBC45;
  color: #000000;
  font-size: 1.4em;
  padding: 18px 40px;
  margin-top: 40px;
}

.page-arcade__button--cta:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

.page-arcade__cta-section {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-arcade__cta-section .page-arcade__section-title {
  color: #FFFFFF;
}

.page-arcade__cta-section .page-arcade__section-intro {
  color: #f0f0f0;
}

.page-arcade__faq-item {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-arcade__main-title {
    font-size: 3em;
  }
  .page-arcade__hero-description {
    font-size: 1.2em;
  }
  .page-arcade__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 60vh;
  }
  .page-arcade__main-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
  }
  .page-arcade__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-arcade__features-grid,
  .page-arcade__games-grid,
  .page-arcade__security-features {
    grid-template-columns: 1fr;
  }
  .page-arcade__mobile-flex {
    flex-direction: column;
    gap: 30px;
  }
  .page-arcade__mobile-content {
    text-align: center;
  }
  .page-arcade__mobile-features-list {
    text-align: left;
    max-width: 300px;
    margin: 30px auto;
  }
  .page-arcade__button--download {
    width: 80%;
    margin: 20px auto 0 auto;
  }
  .page-arcade__button--cta {
    font-size: 1.2em;
    padding: 15px 30px;
    width: 90%;
  }
  /* Mobile content area images must not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto; /* Ensure images scale down */
  }
  /* Specific image widths for mobile, ensuring they are not too small */
  .page-arcade__feature-icon, 
  .page-arcade__game-image, 
  .page-arcade__security-icon {
    width: 100%; /* Take full width of parent, will be constrained by max-width:100% */
    max-width: 300px; /* Example: ensure they don't get tiny */
    height: auto;
  }
  /* Ensure no image selector makes image smaller than 200px */
  .page-arcade__security-icon { 
    min-width: 200px; 
    min-height: 200px; 
  }
  .page-arcade__feature-icon { 
    min-width: 200px; 
    min-height: 133px; /* Based on 400x267 aspect */
  }
  .page-arcade__game-image { 
    min-width: 200px; 
    min-height: 150px; /* Based on 400x300 aspect */
  }
  .page-arcade__mobile-image { 
    min-width: 200px; 
    min-height: 300px; /* Based on 400x600 aspect */
  }
}

@media (max-width: 480px) {
  .page-arcade__main-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__faq-question {
    font-size: 1.2em;
  }
}