/* style/casino.css */

/* Base styles for the casino page content */
.page-casino {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

/* Section general styling */
.page-casino__section {
  padding: 60px 0;
  position: relative;
  overflow: hidden; /* Ensure no content spills out */
}

/* Container for content width limitation */
.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-casino__hero-section {
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Adjust as needed for hero image */
  margin-bottom: 30px; /* Space between image and content */
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-casino__hero-content {
  max-width: 800px;
  z-index: 2;
}

.page-casino__main-title {
  font-size: clamp(2em, 3.5vw, 2.8em); /* Clamp for H1, not fixed large size */
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-casino__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0; /* Light text for readability */
}

/* Call to Action Buttons */
.page-casino__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-casino__cta-buttons--center {
  margin-top: 40px;
  text-align: center;
}

.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino a[class*="button"],
.page-casino a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-casino__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  box-shadow: 0 4px 15px rgba(38, 169, 224, 0.4);
}

.page-casino__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38, 169, 224, 0.6);
}

.page-casino__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.page-casino__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #1e87b7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Custom Login Button Color */
.page-casino__btn-login {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}
.page-casino__btn-login:hover {
  background-color: #c96806;
  border-color: #c96806;
}

/* Section Titles */
.page-casino__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-casino__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

/* Text Blocks */
.page-casino__text-block {
  font-size: 1.05em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

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

.page-casino__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff; /* Light text */
}

.page-casino__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-casino__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-casino__card-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* Image Full Width */
.page-casino__image-full {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

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

.page-casino__game-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-casino__game-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-casino__game-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-casino__btn-text {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-casino__btn-text:hover {
  color: #1e87b7;
  text-decoration: underline;
}

/* Dark background sections */
.page-casino__dark-bg {
  background-color: rgba(38, 169, 224, 0.1); /* Lighter brand color tint for section background */
}

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

.page-casino__feature-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  text-align: center;
}

.page-casino__feature-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-casino__feature-description {
  font-size: 0.95em;
  color: #e0e0e0;
}

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

.page-casino__promotion-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-casino__promotion-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-casino__promotion-description {
  font-size: 1em;
  color: #e0e0e0;
}

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

.page-casino__step-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  text-align: center;
}

.page-casino__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-casino__step-description {
  font-size: 1em;
  color: #e0e0e0;
}

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

.page-casino__option-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  text-align: center;
}

.page-casino__option-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-casino__option-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* FAQ Section */
.page-casino__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.05);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-casino__faq-item[open] .page-casino__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-casino__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.1);
}

.page-casino__faq-question::-webkit-details-marker {
  display: none;
}

.page-casino__faq-toggle {
  font-size: 1.5em;
  font-weight: 600;
  color: #26A9E0;
  margin-left: 15px;
}

.page-casino__faq-item[open] .page-casino__faq-toggle {
  content: '−'; /* Change to minus sign when open */
}

.page-casino__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
}

.page-casino__faq-answer p {
  margin-bottom: 10px;
}

.page-casino__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-casino__faq-answer a:hover {
  color: #1e87b7;
}

/* Conclusion Section */
.page-casino__conclusion {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__main-title {
    font-size: clamp(2em, 4.5vw, 2.5em);
  }
  .page-casino__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-casino__section {
    padding: 40px 0;
  }
  .page-casino__hero-section {
    padding: 40px 15px;
  }
  .page-casino__main-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
    margin-bottom: 15px;
  }
  .page-casino__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 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: 12px 20px;
    font-size: 1em;
  }

  /* Ensure all images are responsive */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all containers for images/videos/buttons are responsive */
  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__hero-image-wrapper,
  .page-casino__games-list,
  .page-casino__features-grid,
  .page-casino__promotions-list,
  .page-casino__steps,
  .page-casino__payment-options,
  .page-casino__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Specific top padding for hero/video sections */
  .page-casino__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  
  /* FAQ question padding for smaller screens */
  .page-casino__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }
  .page-casino__faq-answer {
    padding: 10px 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__card-title,
  .page-casino__game-title,
  .page-casino__feature-title,
  .page-casino__promotion-title,
  .page-casino__step-title,
  .page-casino__option-title {
    font-size: 1.3em;
  }
}

/* Ensure content area images are not displayed smaller than 200px */
.page-casino img:not(.page-casino__hero-image) { /* Exclude hero image from this specific rule if needed, or apply universally */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensure images fill their space without distortion */
}

/* Links inside paragraphs */
.page-casino p a {
  color: #26A9E0;
  text-decoration: underline;
}
.page-casino p a:hover {
  color: #1e87b7;
}