.page-casino {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy - Body background */
}

.page-casino__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #08162B; /* Deep Navy */
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for desktop hero image */
  overflow: hidden;
  position: relative;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-casino__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  background-color: #10233F; /* Card BG - semi-transparent or solid for text block */
  border-radius: 10px;
  transform: translateY(-50px); /* Lift content block slightly over image for visual appeal */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
}

.page-casino__main-title {
  font-size: 44px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-casino__hero-description {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(17, 68, 166, 0.4);
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 68, 166, 0.6);
}

.page-casino__btn-secondary {
  background: transparent;
  color: #4FA8FF; /* Glow */
  border: 2px solid #4FA8FF; /* Glow */
}

.page-casino__btn-secondary:hover {
  background: rgba(79, 168, 255, 0.1);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-casino__section-title {
  font-size: 36px;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-casino__section-description {
  font-size: 17px;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-casino__game-categories,
.page-casino__why-choose-us,
.page-casino__promotions-section,
.page-casino__faq-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 10px;
}

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

.page-casino__game-card,
.page-casino__promo-card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__game-card:hover,
.page-casino__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-casino__game-image,
.page-casino__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-casino__game-title,
.page-casino__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-casino__game-title a,
.page-casino__promo-title a {
  color: #F3F8FF; /* Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__game-title a:hover,
.page-casino__promo-title a:hover {
  color: #4FA8FF; /* Glow */
}

.page-casino__game-text,
.page-casino__promo-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.5;
}

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

.page-casino__why-choose-us {
  display: flex;
  align-items: center;
  gap: 50px;
  background-color: #113B7A; /* Primary Color */
  color: #F3F8FF; /* Text Main */
  padding: 80px 40px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  margin-bottom: 60px;
}

.page-casino__why-choose-content {
  flex: 1;
  text-align: left;
}

.page-casino__why-choose-content .page-casino__section-title {
  text-align: left;
  color: #F2C14E; /* Gold */
  margin-bottom: 25px;
}

.page-casino__why-choose-content .page-casino__section-description {
  text-align: left;
  margin: 0 0 30px 0;
  max-width: none;
  color: #F3F8FF;
}

.page-casino__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-casino__feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.6;
  color: #F3F8FF;
}

.page-casino__feature-item::before {
  content: '✓';
  color: #F2C14E; /* Gold */
  font-weight: bold;
  margin-right: 15px;
  font-size: 20px;
  flex-shrink: 0;
}

.page-casino__why-choose-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-casino__why-choose-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-casino__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

.page-casino__faq-list {
  margin-top: 40px;
}

details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
}

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: #1B3357; /* Divider - slightly lighter */
}

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

.page-casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  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: #08162B; /* Deep Navy */
  border-radius: 0 0 5px 5px;
}

.page-casino__faq-answer p {
  color: #AFC4E8; /* Text Secondary */
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* General image responsive styles */
.page-casino img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General container responsive styles */
.page-casino__section,
.page-casino__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile */
@media (max-width: 1024px) {
  .page-casino__main-title {
    font-size: 38px;
  }
  .page-casino__hero-description {
    font-size: 17px;
  }
  .page-casino__section-title {
    font-size: 32px;
  }
  .page-casino__why-choose-us {
    flex-direction: column;
    text-align: center;
    padding: 60px 30px;
  }
  .page-casino__why-choose-content .page-casino__section-title,
  .page-casino__why-choose-content .page-casino__section-description {
    text-align: center;
  }
  .page-casino__feature-list {
    text-align: left;
  }
  .page-casino__hero-content {
    transform: translateY(-30px);
  }
}

@media (max-width: 768px) {
  /* 1. Hero Section */
  .page-casino__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }
  .page-casino__hero-image-wrapper {
    max-height: 400px; /* Adjust height for mobile */
  }
  .page-casino__hero-content {
    padding: 30px 15px;
    transform: translateY(-20px); /* Less overlap on mobile */
  }
  .page-casino__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-casino__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-casino__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }

  /* 2. General 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 !important;
    padding-right: 15px !important;
    font-size: 16px !important;
  }
  .page-casino__hero-cta-buttons,
  .page-casino__button-group,
  .page-casino__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  /* 3. Section Titles & Descriptions */
  .page-casino__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-casino__section-description {
    font-size: 15px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  /* 4. Game Categories & Promo Cards */
  .page-casino__game-categories,
  .page-casino__why-choose-us,
  .page-casino__promotions-section,
  .page-casino__faq-section {
    padding: 40px 15px;
  }
  .page-casino__game-grid,
  .page-casino__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__game-image,
  .page-casino__promo-image {
    height: 180px;
  }
  .page-casino__game-card,
  .page-casino__promo-card {
    padding: 20px;
  }
  .page-casino__game-title,
  .page-casino__promo-title {
    font-size: 20px;
  }
  .page-casino__game-text,
  .page-casino__promo-text {
    font-size: 15px;
  }

  /* 5. Why Choose Us Section */
  .page-casino__why-choose-us {
    padding: 40px 15px;
    gap: 30px;
  }
  .page-casino__feature-item {
    font-size: 15px;
  }
  .page-casino__feature-item::before {
    font-size: 18px;
    margin-right: 10px;
  }
  .page-casino__why-choose-image {
    height: 300px;
  }

  /* 6. FAQ Section */
  details.page-casino__faq-item summary.page-casino__faq-question {
    padding: 15px;
  }
  .page-casino__faq-qtext {
    font-size: 16px;
  }
  .page-casino__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
  details.page-casino__faq-item .page-casino__faq-answer {
    padding: 0 15px 15px;
  }
  .page-casino__faq-answer p {
    font-size: 15px;
  }

  /* 7. General Images */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-casino__section, .page-casino__card, .page-casino__container, .page-casino__game-grid, .page-casino__promo-cards {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}