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

.page-arcade__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.page-arcade__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FCBC45; /* Highlight color for title */
}

.page-arcade__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-arcade__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.page-arcade__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

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

.page-arcade__hero-button--register:hover {
  background-color: #F0F0F0;
}

.page-arcade__hero-button--play {
  background-color: #FCBC45;
  color: #000000;
}

.page-arcade__hero-button--play:hover {
  background-color: #E0A030;
}

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

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

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

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

.page-arcade__about-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

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

.page-arcade__feature-item {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-arcade__feature-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-arcade__feature-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-arcade__games-section {
  background-color: #F5F5F5;
  padding: 60px 0;
}

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

.page-arcade__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.page-arcade__game-image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Ensure images are not too small */
  max-height: 600px;
  object-fit: cover;
  border-bottom: 1px solid #EEEEEE;
  margin-bottom: 20px;
}

.page-arcade__game-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 20px;
  font-weight: bold;
}

.page-arcade__game-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 20px;
}

.page-arcade__game-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 150px; /* Ensure buttons are not too small */
}

.page-arcade__game-button:hover {
  background-color: #E0A030;
}

.page-arcade__why-choose-us-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

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

.page-arcade__advantage-item {
  text-align: center;
  padding: 25px;
  border: 1px solid #EEEEEE;
  border-radius: 10px;
  background-color: #FDFDFD;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-arcade__advantage-icon {
  width: 100px;
  height: 100px;
  max-width: 200px; /* Ensure images are not too small */
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-arcade__advantage-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-arcade__advantage-description {
  font-size: 0.95em;
  line-height: 1.7;
  color: #555555;
}

.page-arcade__text-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-arcade__text-link:hover {
  text-decoration: underline;
}

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

.page-arcade__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
  min-width: 250px;
}

.page-arcade__cta-button:hover {
  background-color: #E0A030;
}

.page-arcade__getting-started-section {
  background-color: #F5F5F5;
  padding: 60px 0;
}

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

.page-arcade__step-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-arcade__step-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-arcade__step-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  min-width: 120px;
}

.page-arcade__step-button:hover {
  background-color: #333333;
}

.page-arcade__testimonials-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

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

.page-arcade__testimonial-card {
  background-color: #F8F8F8;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade__testimonial-quote {
  font-style: italic;
  font-size: 1.1em;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 15px;
}

.page-arcade__testimonial-author {
  font-weight: bold;
  color: #000000;
  text-align: right;
}

.page-arcade__responsible-gaming-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 0;
  text-align: center;
}

.page-arcade__responsible-gaming-section .page-arcade__section-title {
  color: #FCBC45;
}

.page-arcade__responsible-gaming-section .page-arcade__paragraph {
  color: #F0F0F0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__responsible-gaming-link {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease;
}

.page-arcade__responsible-gaming-link:hover {
  background-color: #E0A030;
}

.page-arcade__cta-final-section {
  background-color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

.page-arcade__cta-final-section .page-arcade__section-title {
  font-size: 3em;
  color: #000000;
}

.page-arcade__cta-final-section .page-arcade__paragraph {
  font-size: 1.2em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.page-arcade__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-arcade__cta-button--join {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
  min-width: 250px;
}

.page-arcade__cta-button--join:hover {
  background-color: #E0A030;
}

.page-arcade__cta-button--login {
  background-color: #000000;
  color: #FFFFFF;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
  min-width: 250px;
}

.page-arcade__cta-button--login:hover {
  background-color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3em;
  }

  .page-arcade__section-title {
    font-size: 2em;
  }

  .page-arcade__cta-final-section .page-arcade__section-title {
    font-size: 2.5em;
  }

  .page-arcade__hero-button {
    min-width: 180px;
    padding: 12px 25px;
  }

  .page-arcade__cta-button {
    min-width: 200px;
    padding: 15px 30px;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-arcade__hero-title {
    font-size: 2.5em;
  }

  .page-arcade__hero-description {
    font-size: 1em;
  }

  .page-arcade__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-arcade__hero-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-arcade__container {
    padding: 30px 15px;
  }

  .page-arcade__section-title {
    font-size: 1.8em;
  }

  .page-arcade__paragraph {
    font-size: 0.95em;
  }

  .page-arcade__features-grid, .page-arcade__game-grid, .page-arcade__advantages-list, .page-arcade__steps-list, .page-arcade__testimonial-grid {
    grid-template-columns: 1fr;
  }

  .page-arcade__game-card, .page-arcade__feature-item, .page-arcade__advantage-item, .page-arcade__step-item, .page-arcade__testimonial-card {
    padding: 20px;
  }

  .page-arcade__game-image, .page-arcade__feature-image, .page-arcade__advantage-icon, .page-arcade__hero-image {
    max-width: 100%;
    height: auto;
    display: block; /* Ensure images take full width and scale */
  }

  .page-arcade__cta-final-section .page-arcade__section-title {
    font-size: 2em;
  }

  .page-arcade__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-arcade__cta-button--join, .page-arcade__cta-button--login {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Mobile content area images must not cause overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }

  .page-arcade__section-title {
    font-size: 1.5em;
  }

  .page-arcade__cta-final-section .page-arcade__section-title {
    font-size: 1.8em;
  }

  .page-arcade__hero-button, .page-arcade__cta-button {
    font-size: 1em;
    padding: 12px 20px;
  }
}