.page-df999casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark background */
  background-color: #1a1a1a; /* Dark background as per site requirement */
}

.page-df999casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-df999casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, main offset handled by body in shared.css */
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-df999casino__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-df999casino__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-df999casino__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-df999casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-df999casino__main-title {
  color: #ffeb3b; /* Yellow for titles */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
}

.page-df999casino__hero-description {
  font-size: 1.15em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-df999casino__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #ffeb3b; /* Yellow button */
  color: #1a1a1a; /* Dark text on yellow button */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-df999casino__cta-button:hover {
  background: #fff350;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.page-df999casino__cta-button--wide {
  min-width: 300px;
}

/* Section common styles */
.page-df999casino__section-title {
  font-size: clamp(26px, 3.5vw, 42px);
  color: #ffeb3b;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.2;
}

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

.page-df999casino__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-df999casino__light-bg .page-df999casino__section-title {
  color: #2563eb; /* Blue for titles on light background */
}

.page-df999casino__light-bg .page-df999casino__section-description,
.page-df999casino__light-bg p {
  color: #555555;
}

.page-df999casino__dark-bg {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-df999casino__dark-bg .page-df999casino__section-title {
  color: #ffeb3b;
}

.page-df999casino__dark-bg .page-df999casino__section-description,
.page-df999casino__dark-bg p {
  color: #cccccc;
}

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

.page-df999casino__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-df999casino__text-block {
  flex: 1;
}

.page-df999casino__text-block p {
  margin-bottom: 1.2em;
  font-size: 1.05em;
}

.page-df999casino__image-block {
  flex: 1;
  text-align: center;
}

.page-df999casino__image-block img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Game Grid */
.page-df999casino__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-df999casino__game-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-df999casino__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-df999casino__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-df999casino__game-title {
  font-size: 1.5em;
  color: #ffeb3b;
  margin: 20px 15px 10px;
}

.page-df999casino__game-desc {
  font-size: 0.95em;
  color: #b0b0b0;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-df999casino__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: #2563eb; /* Blue button */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-df999casino__btn-secondary:hover {
  background: #1e4aae;
}

.page-df999casino__full-cta {
  text-align: center;
  margin-top: 50px;
}

/* Promotions Section */
.page-df999casino__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-df999casino__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-df999casino__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-df999casino__promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-df999casino__promo-title {
  font-size: 1.4em;
  color: #2563eb;
  margin: 20px 15px 10px;
}

.page-df999casino__promo-text {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-df999casino__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: #ffeb3b; /* Yellow button */
  color: #1a1a1a; /* Dark text on yellow button */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  margin-bottom: 25px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-df999casino__btn-primary:hover {
  background: #fff350;
}

/* Get Started Section */
.page-df999casino__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-df999casino__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
}

.page-df999casino__step-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-df999casino__step-title {
  font-size: 1.5em;
  color: #2563eb;
  margin: 20px 15px 10px;
}

.page-df999casino__step-text {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px;
}

/* FAQ Section */
details.page-df999casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #333333;
  overflow: hidden;
  background: #2a2a2a;
  color: #f0f0f0;
}
details.page-df999casino__faq-item summary.page-df999casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #ffeb3b;
}
details.page-df999casino__faq-item summary.page-df999casino__faq-question::-webkit-details-marker {
  display: none;
}
details.page-df999casino__faq-item summary.page-df999casino__faq-question:hover {
  background: #3a3a3a;
}
.page-df999casino__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #ffeb3b;
}
.page-df999casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-df999casino__faq-item .page-df999casino__faq-answer {
  padding: 0 20px 20px;
  background: #1f1f1f;
  border-radius: 0 0 5px 5px;
  color: #cccccc;
}

/* Blog Section */
.page-df999casino__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-df999casino__blog-card {
  display: block;
  background-color: #2a2a2a;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-df999casino__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-df999casino__blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-df999casino__blog-content {
  padding: 20px;
}

.page-df999casino__blog-title {
  font-size: 1.3em;
  color: #ffeb3b;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-df999casino__blog-date {
  font-size: 0.9em;
  color: #888888;
  margin-bottom: 15px;
}

.page-df999casino__blog-excerpt {
  font-size: 0.95em;
  color: #cccccc;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-df999casino__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-df999casino__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-df999casino__image-block {
    margin-top: 30px;
  }
  .page-df999casino__image-block img {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-df999casino__container {
    padding: 30px 15px;
  }

  .page-df999casino__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-df999casino__main-title {
    font-size: clamp(24px, 7vw, 38px);
  }

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

  .page-df999casino__cta-button,
  .page-df999casino__btn-primary,
  .page-df999casino__btn-secondary,
  .page-df999casino a[class*="button"],
  .page-df999casino a[class*="btn"] {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0;
    margin-right: 0;
  }

  .page-df999casino__full-cta .page-df999casino__cta-button--wide {
    min-width: unset;
  }

  .page-df999casino__game-grid,
  .page-df999casino__promo-grid,
  .page-df999casino__steps-grid,
  .page-df999casino__blog-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-df999casino__section-title {
    font-size: clamp(22px, 6vw, 36px);
  }

  .page-df999casino__section-description {
    font-size: 0.95em;
  }

  .page-df999casino__text-block p {
    font-size: 1em;
  }

  .page-df999casino__image-block img {
    max-width: 95%;
  }

  details.page-df999casino__faq-item summary.page-df999casino__faq-question {
    padding: 15px;
  }
  .page-df999casino__faq-qtext {
    font-size: 1em;
  }
  details.page-df999casino__faq-item .page-df999casino__faq-answer {
    padding: 0 15px 15px;
  }

  .page-df999casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-df999casino__section,
  .page-df999casino__card,
  .page-df999casino__container,
  .page-df999casino__cta-buttons,
  .page-df999casino__button-group,
  .page-df999casino__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-df999casino__hero-section {
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-df999casino__container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-df999casino__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }
  .page-df999casino__game-title, .page-df999casino__promo-title, .page-df999casino__step-title {
    font-size: 1.3em;
  }
  .page-df999casino__faq-qtext {
    font-size: 0.95em;
  }
}