.page-arcade {
  color: #ffffff; /* Text color for dark body background */
}

.page-arcade__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
}

.page-arcade__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-arcade__hero-content {
  max-width: 900px;
  z-index: 1;
  color: #ffffff;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.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.3s ease;
}

.page-arcade__button--primary {
  background-color: #FFD700;
  color: #1A202C;
}

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

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

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

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

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

.page-arcade__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #cccccc;
}

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

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

.page-arcade__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.page-arcade__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 4px solid #FFD700;
}

.page-arcade__game-card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin: 25px 15px 10px 15px;
}

.page-arcade__game-card-text {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.5;
  padding: 0 20px;
  margin-bottom: 25px;
}

.page-arcade__game-card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-arcade__promotions-section {
  background-color: #0F1217;
  padding: 60px 0;
}

.page-arcade__promo-banner {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.page-arcade__promo-banner-image {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.6);
}

.page-arcade__promo-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 70%;
}

.page-arcade__promo-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__promo-text {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #f0f0f0;
}

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

.page-arcade__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-arcade__feature-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-arcade__feature-text {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.5;
}

.page-arcade__mobile-experience-section {
  background-color: #1A202C;
  padding: 60px 0;
}

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

.page-arcade__mobile-text-content {
  flex: 1;
}

.page-arcade__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

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

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

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

.page-arcade__advantage-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-arcade__advantage-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-arcade__advantage-text {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3em;
  }
  .page-arcade__promo-title {
    font-size: 2.2em;
  }
  .page-arcade__mobile-container {
    flex-direction: column;
    text-align: center;
  }
  .page-arcade__mobile-text-content, .page-arcade__mobile-image-wrapper {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px);
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
    max-width: 300px;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__section-description {
    font-size: 1em;
  }
  .page-arcade__game-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__promo-title {
    font-size: 1.8em;
  }
  .page-arcade__promo-text {
    font-size: 1em;
  }
  .page-arcade__promo-features {
    grid-template-columns: 1fr;
  }
  .page-arcade__advantages-list {
    grid-template-columns: 1fr;
  }
  .page-arcade__cta-actions {
    flex-direction: column;
  }

  /* Critical: Prevent content overflow on mobile */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__hero-image {
    filter: brightness(0.4);
  }
  .page-arcade__promo-banner-image {
    filter: brightness(0.5);
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 0.95em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__promo-title {
    font-size: 1.5em;
  }
}