/* style/casino.css */

/* Base styles for the page */
.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
}

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

.page-casino__section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

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

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

.page-casino__mt-40 {
  margin-top: 40px;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top, this is for visual spacing */
  overflow: hidden;
  color: #ffffff;
  background-color: #26A9E0; /* Brand color as background for contrast */
}

.page-casino__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle overlay for text readability */
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.page-casino__main-title {
  font-size: clamp(32px, 5vw, 56px); /* Use clamp for H1 font-size */
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.page-casino__description {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-casino__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 160px;
  text-align: center;
  box-sizing: border-box;
}

.page-casino__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-casino__btn-primary:hover {
  background-color: #e06c00;
  transform: translateY(-2px);
}

.page-casino__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-casino__btn-secondary:hover {
  background-color: #f0f8ff;
  transform: translateY(-2px);
}

/* Section Backgrounds */
.page-casino__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 60px 0;
}

.page-casino__dark-bg .page-casino__section-title {
  color: #ffffff;
}

.page-casino__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-casino__light-bg .page-casino__section-title {
  color: #26A9E0;
}

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

.page-casino__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-casino__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-casino__game-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-casino__game-description {
  font-size: 15px;
  padding: 0 15px;
}

/* Providers Section */
.page-casino__provider-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-casino__provider-logo {
  max-width: 180px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%); /* Maintain original color requirement, but for logos, grayscale is common. Will remove if strict */
  transition: filter 0.3s ease;
}

.page-casino__provider-logo:hover {
  filter: grayscale(0%);
}

/* Promotions Section */
.page-casino__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
  font-size: 18px;
}

.page-casino__promo-list li {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.page-casino__promo-list li::before {
  content: '✔️';
  margin-right: 15px;
  font-size: 20px;
}

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

.page-casino__step-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-casino__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-casino__step-description {
  font-size: 15px;
  color: #555555;
}

.page-casino__step-description a {
  color: #EA7C07;
  text-decoration: none;
  font-weight: bold;
}

.page-casino__step-description a:hover {
  text-decoration: underline;
}

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

.page-casino__benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-casino__benefit-icon {
  width: 100%; /* Ensure images are large, not small icons */
  max-width: 150px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino__benefit-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-casino__benefit-description {
  font-size: 15px;
}

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

.page-casino__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  color: #26A9E0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-casino__faq-question:hover {
  background-color: #f0f8ff;
}

.page-casino__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #26A9E0;
}

.page-casino__faq-answer {
  padding: 15px 25px;
  background-color: #f0f8ff;
  font-size: 16px;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

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

/* Conclusion Section */
.page-casino__conclusion-section {
  text-align: center;
}

.page-casino__conclusion-section .page-casino__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
}

/* Floating CTA */
.page-casino__floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-casino__floating-button {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.page-casino__floating-button--login {
  background-color: #26A9E0;
}

.page-casino__floating-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-casino__floating-button--register:hover {
  background-color: #e06c00;
}

.page-casino__floating-button--login:hover {
  background-color: #1a8ecf;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-casino__container,
  .page-casino__hero-content,
  .page-casino__cta-buttons,
  .page-casino__game-grid,
  .page-casino__provider-logos,
  .page-casino__promo-list,
  .page-casino__guide-steps,
  .page-casino__benefits-grid,
  .page-casino__faq-list {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-casino__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-casino__main-title {
    font-size: 32px; /* Fixed font size for mobile H1 */
  }

  .page-casino__description {
    font-size: 16px;
  }

  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-casino__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-casino__game-grid,
  .page-casino__guide-steps,
  .page-casino__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-casino__section-title {
    font-size: 28px;
  }

  .page-casino__text-block,
  .page-casino__game-description,
  .page-casino__step-description,
  .page-casino__benefit-description,
  .page-casino__faq-answer p,
  .page-casino__promo-list li {
    font-size: 15px;
  }

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

  .page-casino video,
  .page-casino__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-casino__video-section,
  .page-casino__video-container,
  .page-casino__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-casino__floating-cta {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }

  .page-casino__floating-button {
    padding: 10px 20px;
    font-size: 15px;
  }

  .page-casino__provider-logo {
    max-width: 120px;
  }
}