.page-arcade {
  color: #ffffff; /* Light text for dark body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-arcade__section-padding {
  padding: 60px 20px;
}

.page-arcade__bg-dark {
  background-color: #1a1a2e;
}

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

.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  color: #ffffff;
  text-align: center;
}

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

.page-arcade__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

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

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

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

.page-arcade__button--primary {
  background-color: #e94560;
  color: #ffffff;
  border: 2px solid #e94560;
}

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

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

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

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

.page-arcade__button--large {
  padding: 18px 35px;
  font-size: 1.3em;
}

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

.page-arcade__button--outline:hover {
  background-color: #ffffff;
  color: #1a1a2e;
}

.page-arcade__section-title {
  font-size: 2.5em;
  color: #e94560;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-arcade__section-title--light {
  color: #ffffff;
}

.page-arcade__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #e94560;
  border-radius: 2px;
}

.page-arcade__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

.page-arcade__text-content--light {
  color: #ffffff;
}

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

.page-arcade__game-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent card background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

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

.page-arcade__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 2px solid #e94560;
}

.page-arcade__game-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade__game-card-title {
  font-size: 1.6em;
  color: #e94560;
  margin-bottom: 15px;
}

.page-arcade__game-card-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-arcade__advantage-item {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-arcade__advantage-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-arcade__advantage-image {
  width: 100%; /* Ensure images are responsive within their containers */
  max-width: 250px;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 2px solid #e94560;
}

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

.page-arcade__advantage-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-arcade__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-arcade__step-title {
  font-size: 1.8em;
  color: #e94560;
  margin-bottom: 15px;
}

.page-arcade__step-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-arcade__strategy-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #e94560;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-arcade__strategy-item strong {
  color: #e94560;
}

.page-arcade__update-card {
  display: flex;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
  align-items: center;
}

.page-arcade__update-image {
  width: 40%;
  height: auto;
  object-fit: cover;
  display: block;
  border-right: 2px solid #e94560;
}

.page-arcade__update-content {
  padding: 30px;
  width: 60%;
}

.page-arcade__update-title {
  font-size: 1.8em;
  color: #e94560;
  margin-bottom: 15px;
}

.page-arcade__update-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-arcade__cta-section {
  text-align: center;
  background: linear-gradient(45deg, #1a1a2e, #e94560);
  padding: 80px 20px;
  border-radius: 15px;
  margin: 60px auto;
  max-width: 1000px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-arcade__cta-title {
  font-size: 2.8em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-arcade__cta-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* 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: 2em;
  }
  .page-arcade__game-card-image, .page-arcade__advantage-image, .page-arcade__update-image {
    max-width: 100%;
    height: auto; /* Ensure images scale down */
  }
  .page-arcade__game-card-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 60vh;
    padding-top: var(--header-offset, 80px);
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-arcade__section-padding {
    padding: 40px 15px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__game-grid, .page-arcade__advantages-grid, .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__game-card-image {
    height: 180px;
  }
  .page-arcade__update-card {
    flex-direction: column;
  }
  .page-arcade__update-image {
    width: 100%;
    border-right: none;
    border-bottom: 2px solid #e94560;
  }
  .page-arcade__update-content {
    width: 100%;
    padding: 20px;
  }
  .page-arcade__update-title {
    font-size: 1.5em;
  }
  .page-arcade__update-description {
    font-size: 1em;
  }
  .page-arcade__cta-title {
    font-size: 2em;
  }
  .page-arcade__cta-description {
    font-size: 1.1em;
  }
  /* Mobile content area images must not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__advantage-image {
    width: 100%; /* Ensure images are responsive within their containers */
    max-width: 200px; /* Smallest allowed content image size */
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__button {
    padding: 12px 20px;
    font-size: 0.9em;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__game-card-title {
    font-size: 1.4em;
  }
  .page-arcade__advantage-title, .page-arcade__step-title {
    font-size: 1.2em;
  }
  .page-arcade__cta-title {
    font-size: 1.8em;
  }
  .page-arcade__cta-description {
    font-size: 1em;
  }
  .page-arcade__game-card-image {
    height: 150px;
  }
}