.page-casino {
  color: #ffffff; /* Light text for dark body background */
  background-color: #0d1a2f; /* Inherited from body via shared.css */
  padding-top: var(--header-offset, 120px); /* Ensures content clears fixed header */
}

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

.page-casino__hero-section {
  position: relative;
  padding: 80px 0; /* Adjust padding to give space around content */
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Slightly darken image for text readability, not changing color */
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay for better text contrast */
  border-radius: 10px;
}

.page-casino__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

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

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

.page-casino__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.2s ease;
  border: none;
  cursor: pointer;
}

.page-casino__button--primary {
  background-color: #FFD700;
  color: #1a1a1a;
}

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

.page-casino__button--secondary {
  background-color: #1E90FF;
  color: #ffffff;
}

.page-casino__button--secondary:hover {
  background-color: #1565b3;
  transform: translateY(-2px);
}

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

.page-casino__button--large {
  padding: 20px 40px;
  font-size: 1.3em;
}

.page-casino__button--text {
  background: none;
  color: #FFD700;
  padding: 5px 10px;
  font-size: 1em;
  text-decoration: underline;
}

.page-casino__button--text:hover {
  color: #e6c200;
}

.page-casino__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.page-casino__section-description {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #f0f0f0;
}

.page-casino__subsection-title {
  font-size: 2em;
  color: #1E90FF;
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: left;
  border-bottom: 2px solid rgba(30, 144, 255, 0.5);
  padding-bottom: 10px;
}

.page-casino__sub-subsection-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.page-casino__about-section {
  padding: 80px 0;
  background-color: #1a2c42;
}

.page-casino__game-categories-section {
  padding: 80px 0;
  background-color: #0d1a2f;
}

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

.page-casino__game-card {
  background: rgba(255, 255, 255, 0.08); /* Lighter dark background */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-casino__game-card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-casino__game-card-title a {
  color: #FFD700;
  text-decoration: none;
}

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

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

.page-casino__features-section {
  padding: 80px 0;
  background-color: #1a2c42;
}

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

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

.page-casino__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-casino__feature-icon {
  width: 200px; /* Min size */
  height: 150px; /* Min size */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino__feature-title {
  font-size: 1.5em;
  color: #1E90FF;
  margin-bottom: 15px;
}

.page-casino__feature-description {
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-casino__deep-content {
  padding: 80px 0;
  background-color: #0d1a2f;
  text-align: left;
}

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

.page-casino__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-casino__list-item {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-casino__list-item strong {
  color: #FFD700;
}

.page-casino__numbered-list {
  list-style: decimal inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-casino__cta-section {
  padding: 80px 0;
  background-color: #1a2c42;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 3em;
  }
  .page-casino__section-title {
    font-size: 2.2em;
  }
  .page-casino__subsection-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding: 60px 0;
  }
  .page-casino__hero-title {
    font-size: 2.5em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
  .page-casino__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__button {
    width: 80%;
    max-width: 300px;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__section-description {
    font-size: 1em;
  }
  .page-casino__game-grid, .page-casino__features-grid {
    grid-template-columns: 1fr;
  }
  /* Ensure all images within .page-casino are responsive */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
  .page-casino__game-card-image {
    height: 200px;
  }
  .page-casino__feature-icon {
    width: 200px; /* Maintain min size */
    height: auto;
  }
  .page-casino__subsection-title {
    font-size: 1.6em;
  }
  .page-casino__sub-subsection-title {
    font-size: 1.4em;
  }
  .page-casino__deep-content p, .page-casino__list-item, .page-casino__numbered-list .page-casino__list-item {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 2em;
  }
  .page-casino__hero-description {
    font-size: 0.95em;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}