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

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

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

.page-casino__section-title {
  font-size: 38px;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

/* Buttons */
.page-casino__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-casino__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: #2F6BFF; /* Main Color */
  background-color: #ffffff;
  border: 2px solid #2F6BFF;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.1);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-secondary:hover {
  background-color: #E6F0FF;
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.2);
}

.page-casino__btn-text-link {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #2F6BFF; /* Main Color */
  text-decoration: none;
  margin-top: 20px;
  transition: color 0.3s ease;
}

.page-casino__btn-text-link:hover {
  color: #6FA3FF; /* Auxiliary Color */
  text-decoration: underline;
}

.page-casino__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  color: #ffffff;
  text-align: center;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
}

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

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

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

.page-casino__hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-casino__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

/* About Section */
.page-casino__about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-casino__about-text {
  flex: 1;
}

.page-casino__about-text p {
  margin-bottom: 15px;
  font-size: 17px;
  color: #1F2D3D;
}

.page-casino__about-image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-casino__about-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Game Categories */
.page-casino__bg-light {
  background-color: #F4F7FB;
}

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

.page-casino__game-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__game-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-casino__game-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__game-card-text {
  font-size: 16px;
  color: #1F2D3D;
  margin-bottom: 25px;
  padding: 0 15px;
}

.page-casino__game-card .page-casino__btn-primary {
  font-size: 16px;
  padding: 10px 25px;
}

/* Promotions Section */
.page-casino__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
}

.page-casino__promo-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-casino__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__promo-title {
  font-size: 26px;
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 10px;
}

.page-casino__promo-text {
  font-size: 16px;
  color: #1F2D3D;
  margin-bottom: 20px;
}

/* Why Choose Section */
.page-casino__dark-section {
  background: #2F6BFF;
  color: #ffffff;
}

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

.page-casino__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-casino__feature-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-casino__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-casino__feature-text {
  font-size: 16px;
  color: #f0f0f0;
}

/* Guide Section */
.page-casino__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-casino__guide-step {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__guide-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-casino__guide-step-title {
  font-size: 22px;
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 10px;
}

.page-casino__guide-step p {
  font-size: 16px;
  color: #1F2D3D;
}

.page-casino__guide-cta {
  margin-top: 50px;
  text-align: center;
}

/* Game Trial Section */
.page-casino__game-trial-wrapper {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-casino__game-trial-frame {
  border: none;
  width: 100%;
  height: 600px;
  display: block;
}

/* Responsible Gaming Section */
.page-casino__responsible-gaming p {
  font-size: 17px;
  color: #1F2D3D;
  margin-bottom: 15px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #ffffff; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-casino__faq-item summary.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  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: #F4F7FB; /* Background color for hover */
}

.page-casino__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}

.page-casino__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-casino__faq-item .page-casino__faq-answer {
  padding: 0 25px 20px;
  background: #F4F7FB;
  border-radius: 0 0 8px 8px;
  color: #1F2D3D;
}

.page-casino__faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* Final CTA Section */
.page-casino__dark-bg {
  background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-casino__section-title {
    font-size: 34px;
  }

  .page-casino__hero-section {
    min-height: 500px;
  }

  .page-casino__hero-title {
    font-size: 48px;
  }

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

  .page-casino__about-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-casino__about-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-casino__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-casino__promo-image {
    height: 200px;
  }

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

  .page-casino__feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-casino__guide-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

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

  /* Hero Section */
  .page-casino__hero-section {
    min-height: 400px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

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

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

  .page-casino__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .page-casino__hero-cta-buttons .page-casino__btn-primary,
  .page-casino__hero-cta-buttons .page-casino__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* About Section */
  .page-casino__about-text p {
    font-size: 16px;
  }

  .page-casino__about-image-wrapper,
  .page-casino__about-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Game Categories */
  .page-casino__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-casino__game-card-image {
    height: 180px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

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

  .page-casino__game-card-text {
    font-size: 15px;
  }

  /* Promotions Section */
  .page-casino__promo-card {
    flex-direction: column;
  }

  .page-casino__promo-image {
    height: 180px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

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

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

  /* Why Choose Section */
  .page-casino__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-casino__feature-item {
    padding: 25px 15px;
  }

  .page-casino__feature-icon {
    max-width: 100% !important;
    width: 100px !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

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

  .page-casino__feature-text {
    font-size: 15px;
  }

  /* Guide Section */
  .page-casino__guide-steps {
    grid-template-columns: 1fr;
  }

  .page-casino__guide-icon {
    max-width: 100% !important;
    width: 100px !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-casino__guide-step-title {
    font-size: 20px;
  }

  .page-casino__guide-step p {
    font-size: 15px;
  }

  .page-casino__game-trial-frame {
    height: 400px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  /* Responsible Gaming Section */
  .page-casino__responsible-gaming p {
    font-size: 15px;
  }

  /* FAQ Section */
  details.page-casino__faq-item summary.page-casino__faq-question {
    padding: 15px 20px;
  }

  .page-casino__faq-qtext {
    font-size: 16px;
  }

  .page-casino__faq-toggle {
    font-size: 24px;
    width: 24px;
  }

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

  .page-casino__faq-answer p {
    font-size: 15px;
  }

  /* Buttons */
  .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;
  }
  
  /* Button containers mobile adaptation */
  .page-casino__hero-cta-buttons,
  .page-casino__guide-cta,
  .page-casino__cta-final .page-casino__btn-primary,
  .page-casino__game-card .page-casino__btn-primary,
  .page-casino__promo-content .page-casino__btn-primary {
    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__btn-large {
    padding: 15px 30px;
    font-size: 18px;
  }

  /* General image and container responsiveness */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-casino__container,
  .page-casino__hero-section,
  .page-casino__about-section,
  .page-casino__game-categories,
  .page-casino__promotions-section,
  .page-casino__why-choose-section,
  .page-casino__guide-section,
  .page-casino__game-trial-section,
  .page-casino__responsible-gaming,
  .page-casino__faq-section,
  .page-casino__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-casino__promo-content .page-casino__btn-primary {
    align-self: flex-start;
  }
}