.page-casino {
  padding-top: var(--header-offset, 120px);
  background-color: #000000; /* Main background for casino page, dark to match black scheme */
  color: #f0f0f0; /* Light text for contrast */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-casino__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  color: #ffffff;
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.7;
}

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

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #ffffff;
}

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

.page-casino__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-casino__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-casino__button--register:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.page-casino__button--login {
  background-color: #FCBC45;
  color: #000000;
}

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

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

.page-casino__section-title {
  font-size: 2.8em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 25px;
  padding-top: 20px;
}

.page-casino__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-casino__category-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-casino__category-card:hover {
  transform: translateY(-5px);
}

.page-casino__category-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-casino__category-title a {
  color: inherit;
  text-decoration: none;
}

.page-casino__category-title a:hover {
  text-decoration: underline;
}

.page-casino__category-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-casino__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FCBC45;
  color: #000000;
}

.page-casino__button--small:hover {
  background-color: #e0a53b;
}

.page-casino__why-choose-section {
  background-color: rgba(255, 255, 255, 0.03); /* Slightly different dark background */
  padding: 60px 0;
}

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

.page-casino__feature-item {
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-casino__feature-icon {
  width: 100%; /* Ensure images are not tiny */
  max-width: 300px;
  height: auto;
  min-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-casino__feature-text {
  font-size: 1em;
  color: #cccccc;
}

.page-casino__detailed-content-section {
  padding: 60px 0;
}

.page-casino__sub-section-title {
  font-size: 2.2em;
  color: #FFFFFF;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-casino__detailed-content-section p {
  font-size: 1.05em;
  color: #e0e0e0;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-casino__detailed-content-section p a {
  color: #FCBC45;
  text-decoration: none;
}

.page-casino__detailed-content-section p a:hover {
  text-decoration: underline;
}

.page-casino__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
}

.page-casino__cta-section {
  background-color: #FCBC45;
  padding: 60px 20px;
  text-align: center;
  color: #000000;
}

.page-casino__cta-section .page-casino__section-title {
  color: #000000;
}

.page-casino__cta-section .page-casino__section-description {
  color: #333333;
}

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

.page-casino__cta-actions .page-casino__button--register {
  background-color: #000000;
  color: #FFFFFF;
}

.page-casino__cta-actions .page-casino__button--register:hover {
  background-color: #333333;
}

.page-casino__cta-actions .page-casino__button--login {
  background-color: #FFFFFF;
  color: #000000;
}

.page-casino__cta-actions .page-casino__button--login:hover {
  background-color: #e0e0e0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-casino__hero-title {
    font-size: 2.5em;
  }

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

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

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

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

  .page-casino__category-image,
  .page-casino__feature-icon,
  .page-casino__content-image {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Ensure images are not tiny */
    object-fit: cover;
  }

  /* Mobile content area images must not overflow */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }

  .page-casino__sub-section-title {
    font-size: 1.8em;
  }
}