.page-casino {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-casino__hero-section {
  background-color: #f0f0f0; /* Light background for contrast */
  padding-top: var(--header-offset, 120px);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 40px; /* Add some padding at the bottom */
}

.page-casino__hero-container {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-casino__hero-title {
  font-size: 3.2em;
  color: #8B0000; /* Dark Red for emphasis */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}

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

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

.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.3s ease;
  text-align: center;
  min-width: 180px;
}

.page-casino__button--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  border: 2px solid #FFD700;
}

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

.page-casino__button--secondary {
  background-color: #8B0000; /* Dark Red */
  color: #FFD700; /* Gold */
  border: 2px solid #8B0000;
}

.page-casino__button--secondary:hover {
  background-color: #6b0000;
  transform: translateY(-3px);
}

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

.page-casino__button--link {
  background: none;
  color: #8B0000;
  border: none;
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
  min-width: unset;
}

.page-casino__button--link:hover {
  color: #FFD700;
  text-decoration: none;
  transform: none;
}

.page-casino__button--full-width {
  width: 100%;
  max-width: 300px;
  margin-top: 20px;
}

.page-casino__section-title {
  font-size: 2.5em;
  color: #8B0000;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-casino__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 40px;
  text-align: justify;
}

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

.page-casino__center-button {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 60px;
}

/* Intro Section */
.page-casino__intro-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-casino__feature-card {
  background-color: #fcfcfc;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-casino__feature-icon {
  width: 100%; /* Ensure images are not small icons */
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-casino__feature-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-casino__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Games Section */
.page-casino__games-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-casino__game-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

.page-casino__game-category {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-casino__category-title {
  font-size: 2em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 20px;
}

.page-casino__category-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

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

.page-casino__game-card {
  background-color: #fefefe;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 20px;
}

.page-casino__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-casino__game-name {
  font-size: 1.3em;
  color: #333333;
  margin-bottom: 15px;
}

/* Security Section */
.page-casino__security-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

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

.page-casino__security-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-casino__security-item-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 15px;
}

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

/* Promotions Section */
.page-casino__promotions-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-casino__promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino__promo-card {
  background-color: #fcfcfc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 30px;
}

.page-casino__promo-image {
  width: 100%;
  height: 250px; /* Ensure images are not small icons */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-casino__promo-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-casino__promo-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  padding: 0 20px;
}

/* Mobile Section */
.page-casino__mobile-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-casino__mobile-text-content {
  flex: 1;
}

.page-casino__mobile-image {
  flex: 1;
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-casino__faq-list {
  margin-top: 40px;
}

.page-casino__faq-item {
  background-color: #fcfcfc;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 25px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-casino__faq-question {
  font-size: 1.4em;
  color: #333333;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-casino__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #8B0000;
  transition: transform 0.3s ease;
}

.page-casino__faq-item.active .page-casino__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-casino__faq-answer {
  font-size: 1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding-top: 0;
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

/* CTA Bottom Section */
.page-casino__cta-bottom {
  padding: 80px 0;
  background-color: #FFD700; /* Gold background for strong CTA */
  color: #8B0000;
  text-align: center;
}

.page-casino__cta-bottom .page-casino__section-title {
  color: #8B0000;
  margin-bottom: 20px;
}

.page-casino__cta-bottom .page-casino__section-text {
  color: #333333;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.page-casino__cta-bottom .page-casino__hero-actions .page-casino__button--primary {
  background-color: #8B0000;
  color: #FFD700;
  border-color: #8B0000;
}

.page-casino__cta-bottom .page-casino__hero-actions .page-casino__button--primary:hover {
  background-color: #6b0000;
  border-color: #6b0000;
}

.page-casino__cta-bottom .page-casino__hero-actions .page-casino__button--secondary {
  background-color: #fefefe;
  color: #8B0000;
  border-color: #fefefe;
}

.page-casino__cta-bottom .page-casino__hero-actions .page-casino__button--secondary:hover {
  background-color: #e0e0e0;
  border-color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 2.8em;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__hero-description, .page-casino__section-text {
    font-size: 1em;
  }
  .page-casino__mobile-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-title {
    font-size: 2.2em;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__button {
    width: 100%;
    max-width: 280px;
  }
  .page-casino__features-grid, .page-casino__game-cards-grid, .page-casino__security-grid, .page-casino__promo-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__game-image, .page-casino__promo-image {
    height: 180px;
  }
  .page-casino__hero-section, .page-casino__intro-section, .page-casino__games-section, .page-casino__security-section, .page-casino__promotions-section, .page-casino__mobile-section, .page-casino__faq-section, .page-casino__cta-bottom {
    padding: 40px 0;
  }
  /* Mobile content area images must use max-width: 100%; height: auto; */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
  .page-casino__hero-image {
    width: auto; /* Allow image to scale down */
    max-width: 100%;
  }
  .page-casino__mobile-image {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 1.8em;
  }
  .page-casino__section-title {
    font-size: 1.5em;
  }
  .page-casino__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-casino__feature-title, .page-casino__category-title, .page-casino__security-item-title, .page-casino__promo-title, .page-casino__faq-question {
    font-size: 1.3em;
  }
}