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

.page-arcade__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
  background-color: #f4f4f4;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-arcade__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
}

.page-arcade__hero-title {
  font-size: 2.8em;
  color: #FFD700; /* Primary gold color */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-arcade__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-arcade__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  text-align: center;
}

.page-arcade__btn--primary {
  background-color: #FFD700; /* Primary gold color */
  color: #8B0000; /* Secondary dark red for text */
  border: 2px solid #FFD700;
}

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

.page-arcade__btn--secondary {
  background-color: #8B0000; /* Secondary dark red color */
  color: #FFD700; /* Primary gold for text */
  border: 2px solid #8B0000;
}

.page-arcade__btn--secondary:hover {
  background-color: #6b0000;
  transform: translateY(-2px);
}

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

.page-arcade__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Secondary dark red color */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

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

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

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

.page-arcade__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-arcade__game-card-title {
  font-size: 1.5em;
  color: #8B0000; /* Secondary dark red */
  margin-bottom: 10px;
  padding: 0 15px;
}

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

.page-arcade__btn--card {
  background-color: #FFD700;
  color: #8B0000;
  padding: 10px 20px;
  font-size: 0.95em;
  border: 2px solid #FFD700;
}

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

.page-arcade__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-arcade__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-arcade__feature-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-arcade__feature-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-arcade__feature-description {
  font-size: 1.05em;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 20px;
}

.page-arcade__btn--feature {
  background-color: #8B0000;
  color: #FFD700;
  padding: 10px 20px;
  font-size: 1em;
  border: 2px solid #8B0000;
}

.page-arcade__btn--feature:hover {
  background-color: #6b0000;
}

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

.page-arcade__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-arcade__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__btn--step {
  background-color: #8B0000;
  color: #FFD700;
  padding: 10px 20px;
  font-size: 0.95em;
  border: 2px solid #8B0000;
}

.page-arcade__btn--step:hover {
  background-color: #6b0000;
}

.page-arcade__vip-section {
  background-color: #8B0000;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.page-arcade__vip-section .page-arcade__section-title {
  color: #FFD700;
}

.page-arcade__vip-section .page-arcade__section-title::after {
  background-color: #FFD700;
}

.page-arcade__vip-section .page-arcade__text-content {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-arcade__cta-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.page-arcade__btn--large {
  padding: 15px 35px;
  font-size: 1.3em;
}

/* Responsive Adjustments */
@media (min-width: 769px) {
  .page-arcade__feature-item {
    flex-direction: row;
    text-align: left;
    gap: 30px;
  }

  .page-arcade__feature-item:nth-child(even) {
    flex-direction: row-reverse;
  }

  .page-arcade__feature-item img {
    max-width: 45%;
    margin: 0;
  }

  .page-arcade__feature-item div {
    flex: 1;
  }
}

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

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

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

  .page-arcade__btn {
    width: 80%;
    margin: 0 auto;
  }

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

  .page-arcade__game-card-image, .page-arcade__feature-item img {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }

  /* Ensure all images within .page-arcade are responsive and do not cause overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }

  .page-arcade__feature-item {
    padding: 20px;
  }

  .page-arcade__btn--large {
    font-size: 1.1em;
    padding: 12px 25px;
  }
}