.page-arcade-games {
  color: #FFF6D6;
  background-color: #0A0A0A;
  font-family: Arial, sans-serif;
}

.page-arcade-games__hero-section {
  padding: 10px 20px 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.page-arcade-games__hero-image-container {
  width: 100%;
  max-width: 1920px; /* Ensure image doesn't stretch too wide */
  margin-bottom: 20px;
}

.page-arcade-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.4);
}

.page-arcade-games__hero-content {
  max-width: 900px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.page-arcade-games__main-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
}

.page-arcade-games__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #FFF6D6;
}

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

.page-arcade-games__button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light button */
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-arcade-games__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-arcade-games__button--secondary {
  background: #111111;
  color: #FFD36B;
  border: 2px solid #3A2A12;
  box-shadow: 0 4px 15px rgba(58, 42, 18, 0.4);
}

.page-arcade-games__button--secondary:hover {
  background: #1A1A1A;
  border-color: #FFD36B;
  color: #FFF6D6;
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.4);
}

.page-arcade-games__section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #FFD36B;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-arcade-games__intro-section,
.page-arcade-games__featured-games,
.page-arcade-games__why-choose,
.page-arcade-games__getting-started,
.page-arcade-games__responsible-gaming,
.page-arcade-games__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-arcade-games__text-content {
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF6D6;
}

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

.page-arcade-games__highlight-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade-games__highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

.page-arcade-games__highlight-icon {
  width: 200px; /* Min image size */
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px #FFD36B);
  border-radius: 8px;
}

.page-arcade-games__highlight-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-arcade-games__highlight-description {
  font-size: 0.95rem;
  color: #FFF6D6;
  line-height: 1.6;
}

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

.page-arcade-games__game-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-arcade-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

.page-arcade-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency, will be object-fit */
  object-fit: cover;
  border-bottom: 1px solid #3A2A12;
  margin-bottom: 15px;
}

.page-arcade-games__game-title {
  font-size: 1.3rem;
  color: #F2C14E;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-arcade-games__game-description {
  font-size: 0.9rem;
  color: #FFF6D6;
  line-height: 1.5;
  padding: 0 15px;
  flex-grow: 1;
}

.page-arcade-games__button--small {
  padding: 10px 20px;
  font-size: 0.9rem;
  margin: 15px auto 20px; /* Center button and add vertical spacing */
}

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

.page-arcade-games__benefit-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade-games__benefit-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 15px;
  color: #FFD36B;
}

.page-arcade-games__benefit-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-arcade-games__benefit-description {
  font-size: 0.95rem;
  color: #FFF6D6;
  line-height: 1.6;
}

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

.page-arcade-games__step-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade-games__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 15px;
  display: block;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.4);
}

.page-arcade-games__step-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-arcade-games__step-description {
  font-size: 0.95rem;
  color: #FFF6D6;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-arcade-games__button--outline {
  background: transparent;
  color: #FFD36B;
  border: 2px solid #FFD36B;
  box-shadow: none;
}

.page-arcade-games__button--outline:hover {
  background: rgba(255, 211, 107, 0.1);
  color: #FFF6D6;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.4);
}

.page-arcade-games__cta-section--bottom {
  text-align: center;
  background-color: #111111;
  padding: 60px 20px;
  border-radius: 12px;
  border: 1px solid #3A2A12;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.page-arcade-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-arcade-games__hero-section {
    padding: 10px 15px 40px;
  }

  .page-arcade-games__main-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-arcade-games__description {
    font-size: 1rem;
  }

  .page-arcade-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-arcade-games__button {
    width: 100%;
    max-width: 280px;
  }

  .page-arcade-games__section-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .page-arcade-games__text-content {
    font-size: 0.95rem;
  }

  .page-arcade-games__intro-section,
  .page-arcade-games__featured-games,
  .page-arcade-games__why-choose,
  .page-arcade-games__getting-started,
  .page-arcade-games__responsible-gaming,
  .page-arcade-games__cta-section {
    margin: 40px auto;
    padding: 0 15px;
  }

  .page-arcade-games__highlight-cards,
  .page-arcade-games__game-grid,
  .page-arcade-games__benefits-list,
  .page-arcade-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-arcade-games__game-image {
    height: 180px;
  }

  .page-arcade-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Ensure content images do not overflow */
  .page-arcade-games img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade-games__button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-arcade-games__highlight-icon {
    width: 100%;
    height: auto;
    max-width: 200px; /* Maintain min size */
  }

  .page-arcade-games__game-image {
    height: 160px;
  }
}