/* Shared CSS for the site defines body padding-top */

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

.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: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #26A9E0; /* Brand color for titles */
}

.page-casino__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-casino__btn-primary:hover {
  background: #1e87b7;
  border-color: #1e87b7;
}

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

.page-casino__btn-secondary:hover {
  background: #f0f0f0;
}

.page-casino__btn-tertiary {
  background: none;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  padding: 8px 15px;
  font-size: 14px;
  margin-top: 15px;
}

.page-casino__btn-tertiary:hover {
  background: #26A9E0;
  color: #ffffff;
}

.page-casino__center-button {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

/* Image styles */
.page-casino img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 50px;
  overflow: hidden;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-casino__hero-image {
  width: 100%;
  height: 100%;
}

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

.page-casino__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__tagline {
  font-size: 20px;
  margin-bottom: 30px;
}

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

/* About Section */
.page-casino__about-section {
  padding: 60px 0;
}

.page-casino__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-casino__text-block {
  flex: 1;
}

.page-casino__image-block {
  flex: 1;
}

.page-casino__feature-image {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Games Section */
.page-casino__games-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Dark background for brand color */
}

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

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

.page-casino__card-image {
  border-radius: 8px;
  margin-bottom: 20px;
  width: 100%;
  height: 200px;
}

.page-casino__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-casino__card-link {
  text-decoration: none;
  color: #26A9E0;
}

.page-casino__card-link:hover {
  text-decoration: underline;
}

.page-casino__card-text {
  font-size: 15px;
  color: #555555;
  flex-grow: 1;
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 60px 0;
}

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

.page-casino__promo-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Guide Section */
.page-casino__guide-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-casino__guide-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__guide-title {
  font-size: 24px;
  color: #26A9E0;
  margin-bottom: 15px;
}

/* Security Section */
.page-casino__security-section {
  padding: 60px 0;
  background-color: #26A9E0;
}

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

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

.page-casino__feature-card .page-casino__card-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.page-casino__feature-card .page-casino__card-title {
  color: #ffffff;
}

.page-casino__feature-card .page-casino__card-text {
  color: #f0f0f0;
}

/* FAQ Section */
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;
}

/* Mobile App Section */
.page-casino__mobile-app-section {
  padding: 60px 0;
  background-color: #26A9E0;
}

.page-casino__mobile-app-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-casino__mobile-app-image {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Call to Action Section */
.page-casino__call-to-action {
  padding: 60px 0;
  text-align: center;
}

/* Text color for dark backgrounds */
.page-casino__dark-bg .page-casino__light-text {
  color: #ffffff;
}

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

.page-casino__dark-bg .page-casino__section-description {
  color: #f0f0f0;
}

/* Homepage specific CSS (required to be included even if not used on this page) */
@media (max-width: 1023px) {
  .page-casino__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-casino__hero-brand,
  .page-casino__hero-jackpot {
    display: none !important;
  }
  .page-casino__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-casino__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-casino__game-trial-topbar,
  .page-casino__game-trial-bottombar {
    display: none !important;
  }
  .page-casino__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-casino__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-casino__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-casino__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-casino__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-casino__hero-brand,
  .page-casino__hero-jackpot,
  .page-casino__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-casino__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-casino__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-casino__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-casino__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-casino__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 1023px) {
  .page-casino__hero-image-wrapper {
    max-height: 400px;
  }
  .page-casino__main-title {
    font-size: clamp(32px, 8vw, 40px);
  }
  .page-casino__tagline {
    font-size: 18px;
  }
  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-casino__btn-secondary {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .page-casino__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-casino__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-casino__section,
  .page-casino__card,
  .page-casino__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino__btn-tertiary,
  .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;
  }
  
  .page-casino__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;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* For single column buttons */
  }

  .page-casino__hero-section {
    padding-bottom: 30px;
  }
  .page-casino__main-title {
    font-size: 32px;
  }
  .page-casino__tagline {
    font-size: 16px;
  }

  .page-casino__about-section,
  .page-casino__games-section,
  .page-casino__promotions-section,
  .page-casino__guide-section,
  .page-casino__security-section,
  .page-casino__faq-section,
  .page-casino__mobile-app-section,
  .page-casino__call-to-action {
    padding: 40px 0;
  }

  .page-casino__content-wrapper,
  .page-casino__mobile-app-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-casino__text-block, .page-casino__image-block {
    width: 100%;
  }

  .page-casino__game-categories,
  .page-casino__promo-grid,
  .page-casino__guide-steps,
  .page-casino__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .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;
  }
}

/* Default overlay and modal styles (required to be included even if not used on this page) */
.page-casino__game-trial-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  z-index: 5;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}
.page-casino__game-trial-overlay.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important; /* Ensure it's truly hidden and doesn't affect layout */
}
.page-casino__game-trial-start{
  background: #EA7C07;
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
  transition: background-color 0.3s ease;
}
.page-casino__game-trial-start:hover{
  background: #c26706;
}
.page-casino__reward-modal{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  padding: 20px;
  box-sizing: border-box;
}
.page-casino__reward-modal-content{
  background: #fff;
  color: #333;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.page-casino__reward-modal-close{
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  line-height: 1;
}
.page-casino__reward-modal-close:hover{
  color: #333;
}
.page-casino__reward-modal h3{
  font-size: 28px;
  color: #26A9E0;
  margin-bottom: 15px;
}
.page-casino__reward-modal p{
  font-size: 16px;
  margin-bottom: 25px;
}
.page-casino__reward-modal .page-casino__btn-primary{
  width: auto;
  padding: 10px 20px;
  font-size: 18px;
}