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

.page-arcade__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF; /* White text for dark background */
  padding: var(--header-offset, 120px) 20px 60px; /* Ensure space for fixed header */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-arcade__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

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

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

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

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

.page-arcade__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.6); /* Only for background effect, not changing original image color */
}

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

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

.page-arcade__features-section,
.page-arcade__game-types-section,
.page-arcade__bonuses-section,
.page-arcade__responsible-gaming-section,
.page-arcade__faq-section,
.page-arcade__cta-bottom-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-arcade__features-grid,
.page-arcade__game-types-grid,
.page-arcade__bonus-cards,
.page-arcade__faq-grid {
  display: grid;
  gap: 30px;
  margin-bottom: 50px;
}

.page-arcade__features-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-arcade__feature-card,
.page-arcade__game-type-card,
.page-arcade__bonus-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 450px; /* Ensure cards have consistent height */
}

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

.page-arcade__feature-image,
.page-arcade__game-type-image,
.page-arcade__bonus-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-arcade__feature-title,
.page-arcade__game-type-title,
.page-arcade__bonus-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-arcade__feature-description,
.page-arcade__game-type-description,
.page-arcade__bonus-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.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, color 0.3s ease;
  white-space: nowrap;
}

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

.page-arcade__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

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

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

.page-arcade__button--register:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-arcade__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-arcade__button--login:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-arcade__game-types-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-arcade__game-type-link {
  display: inline-block;
  margin-top: 15px;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-arcade__game-type-link:hover {
  color: #e0a53b;
  text-decoration: underline;
}

.page-arcade__bonus-cards {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.page-arcade__cta-full-width {
  background-color: #000000;
  color: #FFFFFF;
  padding: 50px 30px;
  border-radius: 12px;
  text-align: center;
  margin-top: 60px;
}

.page-arcade__cta-full-width p {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.8;
  color: #FFFFFF;
}

.page-arcade__faq-grid {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto 50px;
}

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

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

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

.page-arcade__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-arcade__faq-answer a:hover {
  text-decoration: underline;
}

.page-arcade__cta-bottom-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
  border-radius: 12px;
  margin-bottom: 60px;
}

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

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

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header on mobile */
    padding-bottom: 40px;
  }
  .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%;
    max-width: 300px;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__features-grid,
  .page-arcade__game-types-grid,
  .page-arcade__bonus-cards {
    grid-template-columns: 1fr;
  }
  .page-arcade__feature-image,
  .page-arcade__game-type-image,
  .page-arcade__bonus-image {
    max-width: 100%;
    height: auto; /* Prevent overflow */
    min-width: 200px;
    min-height: 200px;
  }
  .page-arcade__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__cta-full-width p {
    font-size: 1.1em;
  }
  .page-arcade__faq-question {
    font-size: 1.2em;
  }
  .page-arcade { 
    max-width: 100%; 
    overflow-x: hidden; 
  }
  .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.8em;
  }
  .page-arcade__feature-card,
  .page-arcade__game-type-card,
  .page-arcade__bonus-card {
    padding: 20px;
    min-height: unset;
  }
  .page-arcade__feature-title,
  .page-arcade__game-type-title,
  .page-arcade__bonus-title {
    font-size: 1.5em;
  }
  .page-arcade__cta-bottom-section {
    padding: 50px 15px;
  }
}