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

.page-arcade__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-offset, 120px) 20px 60px; /* Adjust padding-top for fixed header */
  background-color: #f8f9fa;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-arcade__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-arcade__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-arcade__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff; /* White text over darkened hero image */
  padding: 40px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffc107; /* Auxiliary color for emphasis */
  line-height: 1.2;
}

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

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

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

.page-arcade__button--primary {
  background-color: #007bff; /* Primary color */
  color: #ffffff;
}

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

.page-arcade__button--secondary {
  background-color: #ffc107; /* Auxiliary color */
  color: #333333;
}

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

.page-arcade__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

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

.page-arcade__section-title {
  font-size: 2.8em;
  color: #007bff; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-arcade__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ffc107; /* Auxiliary color */
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-arcade__introduction-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-arcade__why-choose-section {
  padding: 80px 0;
  background-color: #f0f8ff; /* Light background for contrast */
}

.page-arcade__section--colored {
  background-color: #f0f8ff;
}

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

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

.page-arcade__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-arcade__feature-icon {
  width: 200px; /* Minimum 200px */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-arcade__feature-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
}

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

.page-arcade__call-to-action {
  text-align: center;
  margin-top: 60px;
}

.page-arcade__top-games-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-arcade__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 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;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-arcade__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency, minimum 200px */
  object-fit: cover;
  border-bottom: 1px solid #eeeeee;
}

.page-arcade__game-title {
  font-size: 1.5em;
  color: #007bff;
  margin: 20px 15px 10px;
}

.page-arcade__game-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #666666;
  padding: 0 15px 20px;
}

.page-arcade__game-card .page-arcade__button {
  margin-bottom: 20px;
}

.page-arcade__bonuses-section {
  padding: 80px 0;
}

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

.page-arcade__bonus-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__bonus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-arcade__bonus-image {
  width: 100%;
  height: 220px; /* Fixed height, minimum 200px */
  object-fit: cover;
  border-bottom: 1px solid #eeeeee;
}

.page-arcade__bonus-title {
  font-size: 1.6em;
  color: #007bff;
  margin: 20px 15px 10px;
}

.page-arcade__bonus-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  padding: 0 15px 20px;
}

.page-arcade__bonus-card .page-arcade__button {
  margin-bottom: 20px;
}

.page-arcade__mobile-experience-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-arcade__mobile-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-arcade__mobile-text {
  flex: 1;
  min-width: 300px;
}

.page-arcade__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-arcade__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-arcade__security-section {
  padding: 80px 0;
}

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

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

.page-arcade__security-icon {
  width: 200px; /* Minimum 200px */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-arcade__security-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-arcade__security-text {
  font-size: 1em;
  color: #555555;
}

.page-arcade__get-started-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-arcade__step-card {
  background-color: #f0f8ff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #007bff;
}

.page-arcade__step-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-arcade__step-description {
  font-size: 0.95em;
  color: #666666;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3em;
  }
  .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: var(--header-offset, 120px) 15px 40px;
  }
  .page-arcade__hero-content {
    padding: 20px;
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-arcade__paragraph {
    font-size: 1em;
  }
  .page-arcade__introduction-section, .page-arcade__why-choose-section,
  .page-arcade__top-games-section, .page-arcade__bonuses-section,
  .page-arcade__mobile-experience-section, .page-arcade__security-section,
  .page-arcade__get-started-section {
    padding: 60px 0;
  }
  .page-arcade__mobile-layout {
    flex-direction: column;
  }
  .page-arcade__mobile-text, .page-arcade__mobile-image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-arcade__mobile-image {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto;
  }
  .page-arcade__feature-icon, .page-arcade__game-image, .page-arcade__bonus-image, .page-arcade__security-icon {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px;
    min-height: 200px;
  }
  .page-arcade img {
    max-width: 100%; /* Important for all content images */
    height: auto; /* Important for all content images */
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-arcade__feature-card, .page-arcade__game-card, .page-arcade__bonus-card, .page-arcade__security-item, .page-arcade__step-card {
    padding: 20px;
  }
  .page-arcade__feature-title, .page-arcade__game-title, .page-arcade__bonus-title, .page-arcade__security-title, .page-arcade__step-title {
    font-size: 1.3em;
  }
}