.page-arcade {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-arcade__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #f8f8f8;
  position: relative;
  overflow: hidden;
}

.page-arcade__hero-container {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-arcade__hero-title {
  font-size: 3.2em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-arcade__hero-buttons {
  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, color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
}

.page-arcade__button--primary {
  background-color: #000000; /* Primary button background */
  color: #FFFFFF; /* Register text color */
  border: 2px solid #000000;
}

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

.page-arcade__button--secondary {
  background-color: #FCBC45; /* Login button background */
  color: #000000; /* Dark text for login button */
  border: 2px solid #FCBC45;
}

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

.page-arcade__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-top: 40px;
  z-index: 0;
}

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

.page-arcade__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

.page-arcade__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

.page-arcade__feature-card,
.page-arcade__game-card,
.page-arcade__security-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

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

.page-arcade__security-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 25px;
}

.page-arcade__card-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-arcade__card-text {
  font-size: 1em;
  color: #666666;
  flex-grow: 1;
}

.page-arcade__game-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-arcade__game-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__games-showcase .page-arcade__button {
  margin-top: 15px;
}

.page-arcade__action-center {
  text-align: center;
  margin-top: 60px;
}

.page-arcade__bonuses-section {
  background-color: #f0f0f0;
  padding: 80px 20px;
}

.page-arcade__bonus-offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  background-color: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.page-arcade__bonus-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-arcade__bonus-details {
  text-align: center;
}

.page-arcade__mobile-section {
  padding: 80px 20px;
}

.page-arcade__mobile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.page-arcade__mobile-text-content {
  text-align: center;
  max-width: 700px;
}

.page-arcade__mobile-image-wrapper {
  max-width: 600px;
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-arcade__mobile-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-arcade__security-section {
  background-color: #f8f8f8;
  padding: 80px 20px;
}

.page-arcade__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
}

.page-arcade__cta-section .page-arcade__section-title,
.page-arcade__cta-section .page-arcade__section-description {
  color: #FFFFFF;
}

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

.page-arcade__cta-buttons .page-arcade__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

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

.page-arcade__cta-buttons .page-arcade__button--secondary {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-arcade__cta-buttons .page-arcade__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-arcade__hero-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 100px 50px;
  }

  .page-arcade__hero-container {
    max-width: 50%;
    margin-right: 50px;
    margin-bottom: 0;
  }

  .page-arcade__hero-image-wrapper {
    max-width: 45%;
    margin-top: 0;
  }

  .page-arcade__hero-title {
    font-size: 4em;
  }

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

  .page-arcade__bonus-offer {
    flex-direction: row;
    text-align: left;
  }

  .page-arcade__bonus-image {
    max-width: 50%;
  }

  .page-arcade__bonus-details {
    text-align: left;
    max-width: 45%;
  }

  .page-arcade__mobile-content {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .page-arcade__mobile-text-content {
    max-width: 50%;
    text-align: left;
  }

  .page-arcade__mobile-image-wrapper {
    max-width: 40%;
  }
}

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

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

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

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

  .page-arcade__button {
    width: 100%;
    padding: 12px 25px;
  }

  .page-arcade__features-grid,
  .page-arcade__games-grid,
  .page-arcade__security-grid {
    grid-template-columns: 1fr;
  }

  .page-arcade__bonus-offer {
    flex-direction: column;
  }

  .page-arcade__mobile-content {
    flex-direction: column;
  }

  .page-arcade__mobile-text-content {
    width: 100%;
  }

  .page-arcade__mobile-image-wrapper {
    width: 100%;
  }

  .page-arcade__cta-buttons {
    flex-direction: column;
  }

  /* Enforce max-width 100% for all images in content area */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }

  .page-arcade__feature-image,
  .page-arcade__game-image,
  .page-arcade__security-icon,
  .page-arcade__bonus-image,
  .page-arcade__mobile-image {
    min-width: 200px; /* Ensure mobile images are still large enough */
    min-height: 200px; /* Ensure mobile images are still large enough */
  }
}