/* style/casino.css */

/* Base styles for the page-casino scope */
.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

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

.page-casino__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-casino__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  color: #2F6BFF; /* Primary brand color */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-casino__description {
  font-size: 1.1em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-casino__btn-secondary {
  background: #ffffff;
  color: #2F6BFF; /* Primary brand color */
  border: 2px solid #2F6BFF; /* Border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-casino__btn-secondary:hover {
  background: #2F6BFF;
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-casino__btn-text {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 20px;
  transition: color 0.3s ease;
}

.page-casino__btn-text:hover {
  color: #4A8BFF;
}

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

.page-casino__section-title {
  font-size: 2.5em;
  color: #2F6BFF; /* Primary brand color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.3;
}

.page-casino__text-block {
  font-size: 1.05em;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__about-section,
.page-casino__games-section,
.page-casino__why-choose-section,
.page-casino__responsible-gaming-section,
.page-casino__faq-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

.page-casino__dark-section {
  background-color: #2F6BFF; /* Primary brand color */
  color: #ffffff;
  padding: 80px 0;
}

.page-casino__dark-section .page-casino__section-title,
.page-casino__dark-section .page-casino__text-block {
  color: #ffffff;
}

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

.page-casino__feature-item {
  background-color: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #D6E2FF; /* Border */
}

.page-casino__feature-title {
  font-size: 1.5em;
  color: #2F6BFF; /* Primary brand color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__feature-description {
  color: #1F2D3D; /* Text Main */
}

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

.page-casino__game-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  border: 1px solid #D6E2FF; /* Border */
  display: flex;
  flex-direction: column;
}

.page-casino__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-casino__game-title {
  font-size: 1.3em;
  color: #2F6BFF; /* Primary brand color */
  margin: 20px 15px 10px;
  font-weight: bold;
}

.page-casino__game-title a {
  color: inherit;
  text-decoration: none;
}

.page-casino__game-title a:hover {
  text-decoration: underline;
}

.page-casino__game-description {
  color: #1F2D3D; /* Text Main */
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-casino__btn-link {
  display: inline-block;
  background-color: #6FA3FF; /* Auxiliary color */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-casino__btn-link:hover {
  background-color: #2F6BFF; /* Primary brand color */
}

.page-casino__btn-wide {
  width: auto;
  min-width: 250px;
  margin-top: 20px;
}

/* Promotions Section */
.page-casino__promotions-banner {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Advantages List */
.page-casino__advantages-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 800px;
  text-align: left;
}

.page-casino__advantages-list li {
  background-color: #FFFFFF; /* Card BG */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #1F2D3D; /* Text Main */
  border-left: 5px solid #2F6BFF; /* Primary brand color */
}

.page-casino__advantages-list li strong {
  color: #000000; /* Custom Color_1776249996415 */
}

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

.page-casino__faq-item {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  transition: background-color 0.3s ease;
}

.page-casino__faq-item summary:hover {
  background-color: #D6E2FF; /* Border */
}

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

.page-casino__faq-qtext {
  flex-grow: 1;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-casino__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2F6BFF; /* Primary brand color */
}

.page-casino__faq-item[open] .page-casino__faq-toggle {
  content: '−';
}

.page-casino__faq-answer {
  padding: 20px 25px;
  border-top: 1px solid #D6E2FF; /* Border */
  color: #1F2D3D; /* Text Main */
}

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

/* Final CTA Section */
.page-casino__cta-final-section {
  padding: 60px 0;
  text-align: center;
}

.page-casino__cta-final-section .page-casino__section-title {
  margin-bottom: 20px;
}

.page-casino__cta-final-section .page-casino__text-block {
  margin-bottom: 30px;
}

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

@media (max-width: 768px) {
  .page-casino {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-casino__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-casino__main-title {
    font-size: clamp(1.8em, 6vw, 2.8em);
  }

  .page-casino__description {
    font-size: 1em;
  }

  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-casino__about-section,
  .page-casino__games-section,
  .page-casino__why-choose-section,
  .page-casino__responsible-gaming-section,
  .page-casino__faq-section,
  .page-casino__dark-section {
    padding: 50px 0;
  }

  .page-casino__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-casino__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-casino__text-block {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-casino__features-grid,
  .page-casino__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-casino__game-image {
    height: 180px;
  }

  .page-casino__game-title {
    font-size: 1.2em;
  }

  .page-casino__advantages-list li {
    font-size: 0.95em;
  }

  .page-casino__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-casino__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__hero-image-wrapper,
  .page-casino__promotions-banner,
  .page-casino__game-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Ensure no horizontal scroll for any content */
  .page-casino {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-casino__section-title {
    font-size: 1.5em;
  }
  .page-casino__main-title {
    font-size: clamp(1.5em, 7vw, 2.2em);
  }
  .page-casino__cta-buttons {
    gap: 10px;
  }
  .page-casino__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }
  .page-casino__container {
    padding: 0 10px;
  }
}