/* General Styling for casino page */
.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

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

.page-casino__section-title {
  font-size: clamp(28px, 4vw, 38px);
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-casino__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-casino__highlight-text {
  color: #F3C54D; /* Gold */
  font-weight: bold;
}

/* HERO Section */
.page-casino__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, body handles header offset */
  background: linear-gradient(180deg, #C61F1F 0%, #E53030 100%); /* Brand colors for hero background */
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-casino__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width for max-width to work */
}

.page-casino__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1; /* Image should be behind text if any */
}

.page-casino__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-casino__hero-content {
  position: relative;
  z-index: 2; /* Text should be on top */
  text-align: center;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-casino__main-title {
  color: #FFF1E8; /* Text Main */
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.page-casino__hero-description {
  color: #FFF1E8; /* Text Main */
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #FFF1E8; /* Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1); /* Slight brightness change for hover */
}

.page-casino__cta-button--small {
  padding: 12px 30px;
  font-size: 16px;
}

/* Section Backgrounds */
.page-casino__dark-bg {
  background-color: #2A1212; /* Card BG */
  color: #FFF1E8;
}

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

.page-casino__game-card,
.page-casino__promo-card,
.page-casino__feature-item,
.page-casino__contact-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-casino__game-card img,
.page-casino__promo-card img,
.page-casino__feature-item img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-casino__card-title {
  color: #F3C54D; /* Gold */
  font-size: 22px;
  margin: 0 20px 15px;
  font-weight: bold;
}

.page-casino__card-description {
  font-size: 16px;
  color: #FFF1E8; /* Text Main */
  padding: 0 20px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-casino__btn-primary {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #FFF1E8; /* Text Main */
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
}

.page-casino__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background-color: transparent;
  border: 2px solid #F3C54D; /* Gold border */
  color: #F3C54D; /* Gold text */
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-secondary:hover {
  background-color: #F3C54D; /* Gold background on hover */
  color: #2A1212; /* Card BG text on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Step by Step Guide */
.page-casino__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__step-card {
  background-color: #1F0E0E; /* Slightly lighter dark background */
  border: 1px solid #7E0D0D; /* Deep Red border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* FAQ Section */
details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  color: #FFF1E8;
}
details.page-casino__faq-item summary.page-casino__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;
  background-color: #2A1212;
}
details.page-casino__faq-item summary.page-casino__faq-question::-webkit-details-marker {
  display: none;
}
details.page-casino__faq-item summary.page-casino__faq-question:hover {
  background: #3A1A1A; /* Slightly lighter hover for dark background */
}
.page-casino__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF1E8;
}
.page-casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-casino__faq-item .page-casino__faq-answer {
  padding: 0 20px 20px;
  background: #1F0E0E; /* Slightly lighter dark background for answer */
  border-radius: 0 0 5px 5px;
}
.page-casino__faq-answer p {
  font-size: 16px;
  color: #FFF1E8;
}
.page-casino__faq-answer .page-casino__btn-primary {
  margin-top: 15px;
}

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

/* Conclusion Section */
.page-casino__conclusion-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #140C0C;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__container {
    padding: 30px 15px;
  }
  .page-casino__section-title {
    font-size: clamp(24px, 5vw, 34px);
    margin-bottom: 30px;
  }
  .page-casino__hero-description {
    font-size: 17px;
  }
  .page-casino__game-grid,
  .page-casino__promo-grid,
  .page-casino__features-grid,
  .page-casino__step-by-step,
  .page-casino__contact-methods {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  .page-casino__game-card img,
  .page-casino__promo-card img,
  .page-casino__feature-item img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-casino {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-casino__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-casino__hero-image img {
    border-radius: 4px;
  }
  .page-casino__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-casino__main-title {
    font-size: clamp(24px, 6vw, 30px);
  }
  .page-casino__hero-description {
    font-size: 16px;
  }
  .page-casino__section-title {
    font-size: clamp(22px, 6vw, 30px);
    margin-bottom: 25px;
  }
  .page-casino__text-block {
    font-size: 16px;
  }
  .page-casino__game-grid,
  .page-casino__promo-grid,
  .page-casino__features-grid,
  .page-casino__step-by-step,
  .page-casino__contact-methods {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }
  .page-casino__game-card img,
  .page-casino__promo-card img,
  .page-casino__feature-item img {
    
  }
  .page-casino__card-title {
    font-size: 20px;
  }
  .page-casino__card-description {
    font-size: 15px;
  }
  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino a[class*="button"],
  .page-casino a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-casino__cta-buttons,
  .page-casino__button-group,
  .page-casino__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-casino__section,
  .page-casino__card,
  .page-casino__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  details.page-casino__faq-item summary.page-casino__faq-question { padding: 15px; }
  .page-casino__faq-qtext { font-size: 15px; }
}

@media (max-width: 480px) {
  .page-casino__hero-section {
    padding: 30px 10px 30px;
  }
  .page-casino__main-title {
    font-size: clamp(22px, 7vw, 28px);
  }
  .page-casino__hero-description {
    font-size: 15px;
  }
  .page-casino__cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-casino__section-title {
    font-size: clamp(20px, 7vw, 28px);
  }
  .page-casino__game-card img,
  .page-casino__promo-card img,
  .page-casino__feature-item img {
    
  }
  .page-casino__card-title {
    font-size: 18px;
  }
  .page-casino__card-description {
    font-size: 14px;
  }
}