.page-casino {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-casino__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1A202C 0%, #0d121c 100%);
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

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

.page-casino__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.page-casino__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-casino__btn--primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-casino__btn--primary:hover {
  background-color: #e5c300;
  border-color: #e5c300;
  transform: translateY(-2px);
}

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

.page-casino__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

.page-casino__btn--tertiary {
  background-color: #1A202C;
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 10px 20px;
  font-size: 1em;
}

.page-casino__btn--tertiary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-casino__btn--small {
  padding: 8px 16px;
  font-size: 0.9em;
  background-color: #FFD700;
  color: #1A202C;
  border: none;
  border-radius: 5px;
}

.page-casino__btn--small:hover {
  background-color: #e5c300;
}

.page-casino__btn--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-casino__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background */
  filter: brightness(0.7); /* Darken for text readability */
}

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

.page-casino__section-intro {
  font-size: 1.2em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

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

.page-casino__grid-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-casino__grid-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-casino__grid-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 2px solid #FFD700;
}

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

.page-casino__grid-text {
  font-size: 1.05em;
  color: #e0e0e0;
  line-height: 1.7;
}

.page-casino__games-section {
  padding: 80px 0;
  background-color: #0d121c;
}

.page-casino__game-category {
  margin-bottom: 80px;
}

.page-casino__category-title {
  font-size: 2.2em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-casino__category-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-casino__game-category--reversed .page-casino__category-content {
  flex-direction: row-reverse;
}

.page-casino__category-image {
  flex: 1;
  min-width: 400px; /* Ensure images are not too small */
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 3px solid #FFD700;
}

.page-casino__category-text {
  flex: 1;
  font-size: 1.1em;
  color: #e0e0e0;
  line-height: 1.8;
}

.page-casino__category-text p {
  margin-bottom: 25px;
}

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

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

.page-casino__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.page-casino__promo-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #FFD700;
}

.page-casino__promo-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-casino__promo-description {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-casino__cta-center {
  text-align: center;
}

.page-casino__mobile-section {
  padding: 80px 0;
  background-color: #0d121c;
}

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

.page-casino__mobile-text {
  flex: 1;
  font-size: 1.1em;
  color: #e0e0e0;
  line-height: 1.8;
}

.page-casino__mobile-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-casino__mobile-features li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-casino__feature-icon {
  color: #FFD700;
  font-size: 1.5em;
  margin-right: 15px;
}

.page-casino__mobile-image-wrapper {
  flex: 0 0 400px; /* Fixed width for desktop, flexible for mobile */
  display: flex;
  justify-content: center;
}

.page-casino__mobile-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure image isn't too large */
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border: 3px solid #FFD700;
}

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

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

.page-casino__safety-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: background-color 0.3s ease;
}

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

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

.page-casino__safety-text {
  font-size: 1.05em;
  color: #e0e0e0;
  line-height: 1.7;
  margin-bottom: 25px;
}

.page-casino__cta-section {
  background-color: #0d121c;
  padding: 100px 20px;
  text-align: center;
}

/* Responsive Adjustments */
@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: 2.2em;
  }
  .page-casino__category-image, .page-casino__category-text {
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding: 60px 20px;
    min-height: 500px;
  }
  .page-casino__hero-title {
    font-size: 2.2em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-casino__grid-item, .page-casino__promo-card, .page-casino__safety-item {
    padding: 25px;
  }
  .page-casino__category-content {
    flex-direction: column;
  }
  .page-casino__game-category--reversed .page-casino__category-content {
    flex-direction: column;
  }
  .page-casino__category-image {
    width: 100%;
    max-width: 600px; /* Ensure images are not too small */
    height: auto; /* Important for responsive images */
    margin-bottom: 30px;
  }
  .page-casino__category-text {
    text-align: center;
  }
  .page-casino__mobile-content {
    flex-direction: column-reverse;
  }
  .page-casino__mobile-image-wrapper {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin-bottom: 40px;
  }
  .page-casino__mobile-image {
    width: 100%;
    height: auto;
  }
  /* All images within .page-casino content area */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 1.8em;
  }
  .page-casino__hero-description {
    font-size: 0.95em;
  }
  .page-casino__section-title {
    font-size: 1.5em;
  }
  .page-casino__category-title {
    font-size: 1.8em;
  }
  .page-casino__grid-title, .page-casino__promo-title, .page-casino__safety-title {
    font-size: 1.5em;
  }
  .page-casino__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-casino__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}