.page-casino {
  font-family: Arial, sans-serif;
  color: #333333;
  background-color: #F5F7FA;
  line-height: 1.6;
}

.page-casino__section-padding {
  padding: 60px 0;
}

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

.page-casino__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__section-description {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5);
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-casino__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #ffffff;
}

.page-casino__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-casino__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  transform: translateY(-3px);
}

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

.page-casino__btn-secondary:hover {
  background: #f0f0f0;
  color: #c62828;
  border-color: #c62828;
  transform: translateY(-3px);
}

.page-casino__why-choose-section .page-casino__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-casino__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-casino__benefits-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23E53935" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle"><path d="M22 11.08V12a10 10 0 1 1-5.93-8.81"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #333333;
}

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

.page-casino__games-section {
  background-color: #E53935;
  color: #ffffff;
}

.page-casino__games-section .page-casino__section-title,
.page-casino__games-section .page-casino__section-description {
  color: #ffffff;
}

.page-casino__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-casino__game-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.page-casino__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.page-casino__game-card-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-casino__game-card-description {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino__btn-small {
  padding: 10px 20px;
  font-size: 16px;
}

.page-casino__live-casino-section .page-casino__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  flex-direction: row-reverse; /* For desktop, text on left, image on right */
}

.page-casino__promotions-section {
  background-color: #F5F7FA;
}

.page-casino__promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-casino__promo-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  text-align: center;
  height: 100%;
}

.page-casino__promo-card:hover {
  transform: translateY(-5px);
}

.page-casino__promo-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
}

.page-casino__promo-card-description {
  font-size: 16px;
  color: #555555;
}

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

.page-casino__responsible-gaming-section .page-casino__content-wrapper {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 17px;
  color: #333333;
}

.page-casino__responsible-gaming-section p {
  margin-bottom: 20px;
}

.page-casino__payment-section {
  background-color: #333333;
  color: #ffffff;
}

.page-casino__payment-section .page-casino__section-title,
.page-casino__payment-section .page-casino__section-description {
  color: #ffffff;
}

.page-casino__payment-methods-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-casino__payment-icon {
  max-width: 150px;
  height: auto;
  display: block;
  filter: brightness(0.8) grayscale(0.2);
  transition: filter 0.3s ease;
}

.page-casino__payment-icon:hover {
  filter: brightness(1) grayscale(0);
}

/* FAQ Styles */
details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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;
}
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: #f5f5f5;
}
.page-casino__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-casino__cta-final-section {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-align: center;
}

.page-casino__cta-final-section .page-casino__section-title,
.page-casino__cta-final-section .page-casino__section-description {
  color: #ffffff;
}

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

/* Responsive Styles */
@media (max-width: 1023px) {
  /* No specific game trial CSS for casino.html, as it's not the homepage */
  .page-casino__why-choose-section .page-casino__content-grid,
  .page-casino__live-casino-section .page-casino__content-grid--reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-casino__live-casino-section .page-casino__content-grid--reverse {
    flex-direction: column; /* Stack vertically on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-casino__section-padding {
    padding: 40px 0;
  }

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

  .page-casino__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-casino__hero-section {
    padding-bottom: 40px;
  }

  .page-casino__main-title {
    font-size: 32px;
  }

  .page-casino__hero-description {
    font-size: 16px;
  }

  .page-casino__hero-cta-buttons,
  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino__btn {
    padding: 12px 20px;
    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: auto; /* Center buttons */
    margin-right: auto;
  }

  .page-casino__why-choose-section .page-casino__content-grid {
    grid-template-columns: 1fr;
  }

  .page-casino__benefits-list li {
    font-size: 15px;
    background-size: 18px;
    padding-left: 25px;
  }

  .page-casino__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-casino__game-card-title {
    font-size: 20px;
  }

  .page-casino__game-card-description {
    font-size: 14px;
  }

  .page-casino__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-casino__promo-card-title {
    font-size: 20px;
  }

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

  .page-casino__responsible-gaming-section .page-casino__content-wrapper,
  .page-casino__responsible-gaming-section p {
    font-size: 15px;
    text-align: left;
  }

  .page-casino__payment-methods-grid {
    gap: 20px;
  }

  .page-casino__payment-icon {
    max-width: 100px;
  }

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

  /* General image and container responsiveness for mobile */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__content-grid,
  .page-casino__games-grid,
  .page-casino__promo-cards-grid,
  .page-casino__payment-methods-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-casino__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-casino__hero-content {
    padding: 0 15px;
  }
}