:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light: #f1f3f5;
  --bg-dark: var(--dark-bg-1, #0d0d0d); /* Fallback to a dark color if --dark-bg-1 is not defined */
}

/* Ensure content is not hidden by fixed header */
.page-reliable-online-casino {
  padding-top: 120px; /* Default for desktop, adjusted for fixed header */
  color: var(--text-light); /* Default text color for the main content area, assuming dark body background */
}

@media (max-width: 768px) {
  .page-reliable-online-casino {
    padding-top: 100px !important; /* Mobile adjustment */
  }
}

/* General styling for sections */
.page-reliable-online-casino__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: var(--secondary-color); /* Gold color for main titles */
  line-height: 1.2;
}

.page-reliable-online-casino__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-light);
  line-height: 1.6;
}

.page-reliable-online-casino__dark-bg .page-reliable-online-casino__section-description {
  color: var(--text-light);
}

.page-reliable-online-casino__light-bg .page-reliable-online-casino__section-title {
  color: var(--primary-color);
}

.page-reliable-online-casino__light-bg .page-reliable-online-casino__section-description {
  color: var(--text-dark);
}

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

/* Background colors for sections */
.page-reliable-online-casino__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-reliable-online-casino__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

/* Highlight text */
.page-reliable-online-casino__highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Buttons */
.page-reliable-online-casino__btn-primary,
.page-reliable-online-casino__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-reliable-online-casino__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-reliable-online-casino__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-reliable-online-casino__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-reliable-online-casino__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Image responsive */
.page-reliable-online-casino img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Introduction Section --- */
.page-reliable-online-casino__introduction-section {
  padding: 80px 0;
  text-align: center;
}

.page-reliable-online-casino__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 25px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-reliable-online-casino__intro-text {
  font-size: 19px;
  line-height: 1.8;
  max-width: 1000px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-reliable-online-casino__cta-group {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* --- Key Features Section --- */
.page-reliable-online-casino__key-features-section {
  padding: 80px 0;
}

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

.page-reliable-online-casino__feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-reliable-online-casino__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-reliable-online-casino__feature-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-reliable-online-casino__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-reliable-online-casino__feature-text {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

/* --- Game Types Section --- */
.page-reliable-online-casino__game-types-section {
  padding: 80px 0;
}

.page-reliable-online-casino__game-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.page-reliable-online-casino__tab-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-reliable-online-casino__tab-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-reliable-online-casino__tab-button--active {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

.page-reliable-online-casino__game-content {
  position: relative;
  min-height: 400px; /* Ensure space for content transition */
}

.page-reliable-online-casino__game-panel {
  display: none;
  animation: fadeIn 0.5s ease-out forwards;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-reliable-online-casino__game-panel--active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-reliable-online-casino__game-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-reliable-online-casino__game-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-reliable-online-casino__game-subtitle {
  font-size: 30px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-reliable-online-casino__game-panel p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-reliable-online-casino__game-panel .page-reliable-online-casino__btn-primary {
  margin-top: 20px;
}

/* --- Promotions Section --- */
.page-reliable-online-casino__promotions-section {
  padding: 80px 0;
}

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

.page-reliable-online-casino__promotion-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-reliable-online-casino__promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-reliable-online-casino__promotion-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-reliable-online-casino__promotion-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-reliable-online-casino__promotion-text {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-reliable-online-casino__promotion-card .page-reliable-online-casino__btn-primary {
  width: auto; /* Adjust to content */
  margin-top: auto; /* Push button to bottom */
}

/* --- FAQ Section --- */
.page-reliable-online-casino__faq-section {
  padding: 80px 0;
}

.page-reliable-online-casino__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-reliable-online-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-reliable-online-casino__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
}

.page-reliable-online-casino__faq-item.active .page-reliable-online-casino__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

.page-reliable-online-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.page-reliable-online-casino__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-reliable-online-casino__faq-question:active {
  background: #eeeeee;
}

.page-reliable-online-casino__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-reliable-online-casino__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-reliable-online-casino__faq-item.active .page-reliable-online-casino__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-reliable-online-casino__faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

/* --- News Section --- */
.page-reliable-online-casino__news-section {
  padding: 80px 0;
}

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

.page-reliable-online-casino__news-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-reliable-online-casino__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-reliable-online-casino__news-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent look */
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.page-reliable-online-casino__news-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: var(--text-light);
}

.page-reliable-online-casino__news-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--secondary-color);
}

.page-reliable-online-casino__news-link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-reliable-online-casino__news-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-reliable-online-casino__news-excerpt {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
  flex-grow: 1;
}

.page-reliable-online-casino__news-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: auto;
}

.page-reliable-online-casino__view-all-button {
  text-align: center;
  margin-top: 50px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-reliable-online-casino__main-title {
    font-size: 40px;
  }

  .page-reliable-online-casino__section-title {
    font-size: 32px;
  }

  .page-reliable-online-casino__intro-text,
  .page-reliable-online-casino__section-description {
    font-size: 17px;
  }

  .page-reliable-online-casino__feature-icon {
    width: 100px;
  }

  .page-reliable-online-casino__feature-title {
    font-size: 22px;
  }

  .page-reliable-online-casino__feature-text {
    font-size: 15px;
  }

  .page-reliable-online-casino__game-subtitle {
    font-size: 26px;
  }

  .page-reliable-online-casino__game-panel p {
    font-size: 16px;
  }

  .page-reliable-online-casino__promotion-image {
    max-width: 200px;
  }

  .page-reliable-online-casino__promotion-title {
    font-size: 22px;
  }

  .page-reliable-online-casino__promotion-text {
    font-size: 15px;
  }

  .page-reliable-online-casino__news-title {
    font-size: 20px;
  }

  .page-reliable-online-casino__news-excerpt {
    font-size: 15px;
  }

  .page-reliable-online-casino__faq-question h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-reliable-online-casino__container,
  .page-reliable-online-casino__introduction-section,
  .page-reliable-online-casino__key-features-section,
  .page-reliable-online-casino__game-types-section,
  .page-reliable-online-casino__promotions-section,
  .page-reliable-online-casino__faq-section,
  .page-reliable-online-casino__news-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-reliable-online-casino__introduction-section,
  .page-reliable-online-casino__key-features-section,
  .page-reliable-online-casino__game-types-section,
  .page-reliable-online-casino__promotions-section,
  .page-reliable-online-casino__faq-section,
  .page-reliable-online-casino__news-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .page-reliable-online-casino__main-title {
    font-size: 32px;
  }

  .page-reliable-online-casino__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-reliable-online-casino__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-reliable-online-casino__intro-text {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-reliable-online-casino__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-reliable-online-casino__btn-primary,
  .page-reliable-online-casino__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-reliable-online-casino__features-grid,
  .page-reliable-online-casino__promotions-grid,
  .page-reliable-online-casino__news-grid {
    grid-template-columns: 1fr;
  }

  .page-reliable-online-casino__feature-card,
  .page-reliable-online-casino__promotion-card,
  .page-reliable-online-casino__news-card {
    padding: 25px;
  }

  .page-reliable-online-casino__feature-icon {
    width: 80px;
    margin-bottom: 15px;
  }

  .page-reliable-online-casino__feature-title {
    font-size: 20px;
  }

  .page-reliable-online-casino__feature-text {
    font-size: 14px;
  }

  .page-reliable-online-casino__game-tabs {
    flex-direction: column;
    gap: 10px;
  }

  .page-reliable-online-casino__tab-button {
    font-size: 15px;
    padding: 10px 20px;
  }

  .page-reliable-online-casino__game-panel {
    padding: 25px;
  }

  .page-reliable-online-casino__game-image {
    max-width: 100%;
  }

  .page-reliable-online-casino__game-subtitle {
    font-size: 24px;
  }

  .page-reliable-online-casino__game-panel p {
    font-size: 15px;
  }

  .page-reliable-online-casino__promotion-image {
    max-width: 180px;
  }

  .page-reliable-online-casino__promotion-title {
    font-size: 20px;
  }

  .page-reliable-online-casino__promotion-text {
    font-size: 14px;
  }

  .page-reliable-online-casino__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-reliable-online-casino__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-reliable-online-casino__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-reliable-online-casino__faq-answer {
    padding: 0 15px;
  }
  
  .page-reliable-online-casino__faq-item.active .page-reliable-online-casino__faq-answer {
    padding: 15px !important;
  }

  .page-reliable-online-casino__news-image {
    height: 180px;
  }

  .page-reliable-online-casino__news-title {
    font-size: 18px;
  }

  .page-reliable-online-casino__news-excerpt {
    font-size: 14px;
  }

  /* Ensure all images are responsive and containers don't overflow */
  .page-reliable-online-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-reliable-online-casino__introduction-section .page-reliable-online-casino__container,
  .page-reliable-online-casino__key-features-section .page-reliable-online-casino__container,
  .page-reliable-online-casino__game-types-section .page-reliable-online-casino__container,
  .page-reliable-online-casino__promotions-section .page-reliable-online-casino__container,
  .page-reliable-online-casino__faq-section .page-reliable-online-casino__container,
  .page-reliable-online-casino__news-section .page-reliable-online-casino__container,
  .page-reliable-online-casino__feature-card,
  .page-reliable-online-casino__promotion-card,
  .page-reliable-online-casino__news-card,
  .page-reliable-online-casino__game-panel {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px;
    padding-right: 0px;
  }
}