/* style/casino-roulette-deep-dive.css */
.page-casino-roulette-deep-dive {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--dark-bg-1); /* Inherit from shared.css */
}

.page-casino-roulette-deep-dive__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-casino-roulette-deep-dive__section {
  padding: 60px 0;
  text-align: center;
}

.page-casino-roulette-deep-dive__section-title {
  font-size: 2.8em;
  color: #26A9E0;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-casino-roulette-deep-dive__subsection-title {
  font-size: 1.8em;
  color: #FFFFFF;
  margin-top: 40px;
  margin-bottom: 15px;
  text-align: left;
}

.page-casino-roulette-deep-dive__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: left;
  color: #f0f0f0;
}

.page-casino-roulette-deep-dive__text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-casino-roulette-deep-dive__text-link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-casino-roulette-deep-dive__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-casino-roulette-deep-dive__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-casino-roulette-deep-dive__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-casino-roulette-deep-dive__hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
}

.page-casino-roulette-deep-dive__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-casino-roulette-deep-dive__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #f0f0f0;
}

/* Buttons */
.page-casino-roulette-deep-dive__btn-primary,
.page-casino-roulette-deep-dive__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino-roulette-deep-dive__btn-primary {
  background: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-casino-roulette-deep-dive__btn-primary:hover {
  background: #1e87b7;
  border-color: #1e87b7;
}

.page-casino-roulette-deep-dive__btn-secondary {
  background: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-casino-roulette-deep-dive__btn-secondary:hover {
  background: #26A9E0;
  color: #FFFFFF;
}

/* Card Grid */
.page-casino-roulette-deep-dive__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino-roulette-deep-dive__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: left;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.page-casino-roulette-deep-dive__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 12px 12px 0 0;
}

.page-casino-roulette-deep-dive__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin: 0 20px 10px;
}

.page-casino-roulette-deep-dive__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  margin: 0 20px;
}

/* Lists */
.page-casino-roulette-deep-dive__list {
  list-style: disc;
  margin: 20px 0 20px 20px;
  text-align: left;
  color: #f0f0f0;
}

.page-casino-roulette-deep-dive__list-item {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1.1em;
}

/* Icon List */
.page-casino-roulette-deep-dive__icon-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}

.page-casino-roulette-deep-dive__icon-list-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}

.page-casino-roulette-deep-dive__icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino-roulette-deep-dive__icon-list-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-casino-roulette-deep-dive__icon-list-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Dark Background Section */
.page-casino-roulette-deep-dive__dark-bg {
  background: linear-gradient(135deg, #26A9E0, #1a7a9e);
  color: #ffffff;
}

.page-casino-roulette-deep-dive__dark-bg .page-casino-roulette-deep-dive__section-title {
  color: #FFFFFF;
}

.page-casino-roulette-deep-dive__dark-bg .page-casino-roulette-deep-dive__text-block {
  color: #f0f0f0;
}

.page-casino-roulette-deep-dive__dark-bg .page-casino-roulette-deep-dive__text-link {
  color: #FFFFFF;
}

.page-casino-roulette-deep-dive__dark-bg .page-casino-roulette-deep-dive__text-link:hover {
  text-decoration: underline;
}

.page-casino-roulette-deep-dive__cta-block {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-casino-roulette-deep-dive__cta-text {
    font-size: 1.3em;
    font-weight: bold;
    color: #FFFFFF;
    margin: 0;
}

/* Video Section */
.page-casino-roulette-deep-dive__video-section {
  padding-top: 60px; /* Adjusted padding-top for video section, header offset applied to hero */
}

.page-casino-roulette-deep-dive__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.page-casino-roulette-deep-dive__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-casino-roulette-deep-dive__video-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-top: 20px;
    color: #f0f0f0;
}

/* FAQ Section */
.page-casino-roulette-deep-dive__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-casino-roulette-deep-dive__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-casino-roulette-deep-dive__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  background: #26A9E0;
  cursor: pointer;
  position: relative;
}

.page-casino-roulette-deep-dive__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-casino-roulette-deep-dive__faq-qtext {
  flex-grow: 1;
  color: #FFFFFF;
}

.page-casino-roulette-deep-dive__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFFFFF;
  transition: transform 0.3s ease;
}

.page-casino-roulette-deep-dive__faq-item[open] .page-casino-roulette-deep-dive__faq-toggle {
  transform: rotate(45deg);
}

.page-casino-roulette-deep-dive__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-casino-roulette-deep-dive__faq-answer p {
  margin: 0;
  text-align: left;
}

.page-casino-roulette-deep-dive__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Final CTA Section */
.page-casino-roulette-deep-dive__cta-final-section {
    padding: 80px 0;
}

.page-casino-roulette-deep-dive__cta-final-section .page-casino-roulette-deep-dive__section-title {
    font-size: 3em;
    margin-bottom: 30px;
}

.page-casino-roulette-deep-dive__cta-final-section .page-casino-roulette-deep-dive__btn-primary {
    margin-top: 30px;
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino-roulette-deep-dive__hero-title {
    font-size: 3em;
  }
  .page-casino-roulette-deep-dive__hero-description {
    font-size: 1.2em;
  }
  .page-casino-roulette-deep-dive__section-title {
    font-size: 2.2em;
  }
  .page-casino-roulette-deep-dive__subsection-title {
    font-size: 1.6em;
  }
  .page-casino-roulette-deep-dive__card-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-casino-roulette-deep-dive__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-casino-roulette-deep-dive__hero-title {
    font-size: 2.5em;
  }
  .page-casino-roulette-deep-dive__hero-description {
    font-size: 1.1em;
  }
  .page-casino-roulette-deep-dive__section {
    padding: 40px 0;
  }
  .page-casino-roulette-deep-dive__section-title {
    font-size: 1.8em;
  }
  .page-casino-roulette-deep-dive__subsection-title {
    font-size: 1.4em;
  }
  .page-casino-roulette-deep-dive__text-block,
  .page-casino-roulette-deep-dive__list-item,
  .page-casino-roulette-deep-dive__card-description,
  .page-casino-roulette-deep-dive__icon-list-item p,
  .page-casino-roulette-deep-dive__video-description {
    font-size: 1em;
  }
  .page-casino-roulette-deep-dive__btn-primary,
  .page-casino-roulette-deep-dive__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-casino-roulette-deep-dive__card-grid,
  .page-casino-roulette-deep-dive__icon-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino-roulette-deep-dive__card,
  .page-casino-roulette-deep-dive__icon-list-item {
    padding: 20px;
  }
  .page-casino-roulette-deep-dive__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-casino-roulette-deep-dive__faq-answer {
    padding: 15px 20px;
  }
  .page-casino-roulette-deep-dive__video-wrapper {
    margin: 20px auto;
  }
  .page-casino-roulette-deep-dive__container,
  .page-casino-roulette-deep-dive__section,
  .page-casino-roulette-deep-dive__cta-block,
  .page-casino-roulette-deep-dive__video-section,
  .page-casino-roulette-deep-dive__video-container,
  .page-casino-roulette-deep-dive__video-wrapper,
  .page-casino-roulette-deep-dive__faq-section,
  .page-casino-roulette-deep-dive__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-casino-roulette-deep-dive img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-casino-roulette-deep-dive video,
  .page-casino-roulette-deep-dive__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-casino-roulette-deep-dive__cta-final-section .page-casino-roulette-deep-dive__section-title {
    font-size: 2em;
  }
  .page-casino-roulette-deep-dive__cta-block {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-casino-roulette-deep-dive__hero-section {
    height: 400px;
  }
  .page-casino-roulette-deep-dive__hero-title {
    font-size: 2em;
  }
  .page-casino-roulette-deep-dive__hero-description {
    font-size: 0.9em;
  }
  .page-casino-roulette-deep-dive__section-title {
    font-size: 1.5em;
  }
  .page-casino-roulette-deep-dive__subsection-title {
    font-size: 1.2em;
  }
  .page-casino-roulette-deep-dive__card-title {
    font-size: 1.3em;
  }
  .page-casino-roulette-deep-dive__icon-list-title {
    font-size: 1.2em;
  }
}