.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

.page-casino__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

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

.page-casino__hero-section {
  padding-top: 10px; /* Rely on body padding for header offset */
  position: relative;
  overflow: hidden;
  background: #0A0A0A;
  color: #FFF6D6;
  text-align: center;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px;
}

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

.page-casino__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFD36B; /* Auxiliary Color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

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

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Color */
  color: #111111; /* Dark text for contrast */
  border: none;
}

.page-casino__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-casino__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow Color */
  border: 2px solid #FFD36B;
}

.page-casino__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
  transform: translateY(-2px);
}

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

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

.page-casino__dark-bg {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

.page-casino__light-bg {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

.page-casino__about-section {
  padding: 60px 0;
}

.page-casino__about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.page-casino__about-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-casino__game-categories {
  padding: 60px 0;
}

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

.page-casino__game-card {
  background: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border Color */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(242, 193, 78, 0.2);
}

.page-casino__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

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

.page-casino__game-card-title a {
  color: #FFD36B; /* Glow Color */
  text-decoration: none;
}

.page-casino__game-card-title a:hover {
  color: #F2C14E; /* Main Color */
}

.page-casino__game-card-description {
  font-size: 15px;
  color: #FFF6D6;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-casino__promotions-section {
  padding: 60px 0;
}

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

.page-casino__promo-item {
  background: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border Color */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(242, 193, 78, 0.2);
}

.page-casino__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-casino__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD36B; /* Glow Color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__promo-description {
  font-size: 15px;
  color: #FFF6D6;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-casino__payment-section {
  padding: 60px 0;
}

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

.page-casino__payment-method {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border Color */
  border-radius: 10px;
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__payment-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(242, 193, 78, 0.2);
}

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

.page-casino__payment-name {
  font-size: 20px;
  font-weight: bold;
  color: #FFD36B; /* Glow Color */
  margin-bottom: 10px;
}

.page-casino__payment-desc {
  font-size: 15px;
  color: #FFF6D6;
}

.page-casino__security-note {
  font-size: 14px;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-top: 40px;
}

.page-casino__why-choose-section {
  padding: 60px 0;
}

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

.page-casino__why-choose-item {
  background: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border Color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__why-choose-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(242, 193, 78, 0.2);
}

.page-casino__why-choose-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino__why-choose-heading {
  font-size: 22px;
  font-weight: bold;
  color: #FFD36B; /* Glow Color */
  margin-bottom: 10px;
}

.page-casino__why-choose-description {
  font-size: 15px;
  color: #FFF6D6;
}

.page-casino__responsible-gaming {
  padding: 60px 0;
  text-align: center;
}

.page-casino__responsible-gaming p {
  font-size: 17px;
  color: #FFF6D6;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-casino__faq-section {
  padding: 60px 0;
}

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

details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border Color */
  overflow: hidden;
  background: #111111; /* 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: #0A0A0A; /* Background */
}

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

.page-casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  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: #0A0A0A; /* Background */
  border-radius: 0 0 5px 5px;
}

details.page-casino__faq-item .page-casino__faq-answer p {
  font-size: 16px;
  color: #FFF6D6;
}

/* Fixed header spacing (rely on body padding-top) */
/* The body padding-top is assumed to be handled by shared.css */

/* Boilerplate for homepage elements as required by prompt, scoped to .page-casino */
@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;
  }
  /* Additional desktop styles for other sections */
  .page-casino__promo-strip { margin-top: 16px; }
  .page-casino__promo-grid { grid-template-columns: repeat(4, 1fr); }
  .page-casino__hot-games-grid { grid-template-columns: repeat(6, 1fr); }
  .page-casino__hero-brand h1 { font-size: 2.5rem; }
}

/* Mobile responsive adaptations for 768px and below */
@media (max-width: 768px) {
  .page-casino {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-casino__container {
    padding: 15px;
  }

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

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

  .page-casino__hero-content {
    padding: 30px 15px 40px;
  }

  .page-casino__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-casino__hero-description {
    font-size: 1rem;
  }

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

  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    font-size: 16px;
  }

  .page-casino__about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

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

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

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

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

  .page-casino__why-choose-heading {
    font-size: 20px;
  }

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

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

  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__game-card,
  .page-casino__promo-item,
  .page-casino__payment-method,
  .page-casino__why-choose-item,
  .page-casino__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure content areas don't cause overflow */
  .page-casino__content-area, .page-casino {
    overflow-x: hidden;
  }
  /* Boilerplate for homepage elements - 768px for promo/hot-games etc. */
  .page-casino__promo-strip-track{grid-template-columns:repeat(4,1fr);overflow-x:hidden;}
  .page-casino__hot-games-grid{grid-template-columns:repeat(2,1fr);}
}

/* Ensure is-hidden class for modals/overlays */
.is-hidden {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.page-casino__game-trial-overlay{z-index:5;pointer-events:auto;}
.page-casino__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}
.page-casino__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}
.page-casino__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}
.page-casino__reward-modal{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,0.8);display:flex;align-items:center;justify-content:center;}
.page-casino__reward-modal-content{background:#111111;padding:30px;border-radius:10px;text-align:center;max-width:500px;width:90%;position:relative;}
.page-casino__reward-modal-close{position:absolute;top:10px;right:10px;background:none;border:none;font-size:24px;color:#F2C14E;cursor:pointer;}
.page-casino__reward-modal-content h3{color:#FFD36B;font-size:28px;margin-bottom:15px;}
.page-casino__reward-modal-content p{color:#FFF6D6;font-size:16px;margin-bottom:25px;}
.page-casino__reward-modal-content .page-casino__btn-primary{margin-top:15px;}