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

.page-casino__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0d0d0d; /* Dark background for contrast with golden elements */
  padding: 0;
  margin-bottom: 40px;
}

.page-casino__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-casino__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  max-width: 80%;
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 15px;
  color: #ffc107; /* Gold accent for title */
  font-weight: bold;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
}

.page-casino__hero-description {
  font-size: 1.25em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-casino__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-casino__about-section,
.page-casino__games-section,
.page-casino__promo-section,
.page-casino__security-section,
.page-casino__mobile-section,
.page-casino__support-section,
.page-casino__cta-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-casino__about-section {
  background-color: #f8f9fa;
}

.page-casino__about-grid,
.page-casino__security-content,
.page-casino__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-casino__about-text,
.page-casino__security-text,
.page-casino__mobile-text {
  flex: 1;
  padding-right: 20px;
}

.page-casino__about-image-wrapper,
.page-casino__security-image-wrapper,
.page-casino__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-casino__about-image,
.page-casino__security-image,
.page-casino__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-casino__games-section {
  background-color: #ffffff;
}

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

.page-casino__game-card {
  background-color: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-casino__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-casino__game-card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #007bff;
  font-weight: bold;
}

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

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

.page-casino__game-card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-casino__promo-section {
  background-color: #e9ecef;
}

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

.page-casino__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-casino__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-casino__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-casino__promo-card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #007bff;
  font-weight: bold;
}

.page-casino__promo-card-title a {
  color: #007bff;
  text-decoration: none;
}

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

.page-casino__promo-card-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

.page-casino__promo-cta {
  text-align: center;
}

.page-casino__security-section {
  background-color: #ffffff;
}

.page-casino__mobile-section {
  background-color: #f8f9fa;
}

.page-casino__support-section {
  background-color: #e9ecef;
  text-align: center;
}

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

.page-casino__cta-section {
  position: relative;
  background-color: #007bff;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
  overflow: hidden;
  margin-bottom: 0;
}

.page-casino__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
  min-width: 200px;
  min-height: 200px;
}

.page-casino__cta-title {
  position: relative;
  z-index: 2;
  font-size: 3em;
  margin-bottom: 15px;
  color: #ffc107;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.page-casino__cta-description {
  position: relative;
  z-index: 2;
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__cta-buttons {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Buttons */
.page-casino__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

.page-casino__button--primary {
  background-color: #ffc107;
  color: #007bff;
}

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

.page-casino__button--secondary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

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

.page-casino__button--outline {
  background-color: transparent;
  color: #007bff;
  border: 2px solid #007bff;
}

.page-casino__button--outline:hover {
  background-color: #007bff;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-casino__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

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

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

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

  .page-casino__game-categories {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-casino__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-casino__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding: 0;
  }

  .page-casino__hero-container {
    padding: 20px;
  }

  .page-casino__hero-content {
    position: static;
    transform: none;
    padding: 20px 0;
    max-width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 0;
    text-shadow: none;
  }

  .page-casino__hero-title {
    font-size: 2.2em;
    margin-top: 0;
  }

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

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

  .page-casino__about-grid,
  .page-casino__security-content,
  .page-casino__mobile-content {
    flex-direction: column;
    text-align: center;
  }

  .page-casino__about-text,
  .page-casino__security-text,
  .page-casino__mobile-text {
    padding-right: 0;
  }

  .page-casino__about-image-wrapper,
  .page-casino__security-image-wrapper,
  .page-casino__mobile-image-wrapper {
    order: -1; /* Image above text on mobile */
    margin-bottom: 20px;
  }

  .page-casino__game-card-image,
  .page-casino__promo-card-image {
    height: 180px;
  }

  .page-casino__support-links {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino__cta-section {
    padding: 60px 20px;
  }

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

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

  .page-casino__content-area img {
    max-width: 100%;
    height: auto;
  }

  .page-casino__about-image,
  .page-casino__security-image,
  .page-casino__mobile-image,
  .page-casino__game-card-image,
  .page-casino__promo-card-image,
  .page-casino__cta-image {
    min-width: 200px;
    min-height: 200px;
  }
}