/* Base Styles for page-slot-games */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

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

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Main color */
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__main-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Main color */
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
  max-width: 900px;
}

.page-slot-games__description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* Buttons */
.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Ensure dark text on light button */
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-slot-games__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-slot-games__btn-secondary:hover {
  transform: translateY(-3px);
  background: #F2C14E;
  color: #111111;
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px;
  overflow: hidden;
  min-height: 500px;
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

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

/* Intro Section */
.page-slot-games__intro-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-slot-games__intro-section p {
  margin-bottom: 20px;
  color: #FFF6D6;
}

/* Game Types Section */
.page-slot-games__game-types-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG */
}

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

.page-slot-games__game-type-card {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-slot-games__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__card-description {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-slot-games__game-type-card .page-slot-games__btn-primary {
  width: calc(100% - 30px);
  margin: 0 15px;
}

/* Benefits Section */
.page-slot-games__benefits-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-slot-games__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__benefit-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__benefit-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__benefit-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-slot-games__benefit-item p {
  font-size: 16px;
  color: #FFF6D6;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 60px 0;
  background-color: #111111;
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__step-item {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-slot-games__step-item p {
  font-size: 16px;
  color: #FFF6D6;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-slot-games__promo-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__promo-card .page-slot-games__card-image {
  height: 220px;
}

.page-slot-games__promo-card .page-slot-games__btn-primary {
  width: calc(100% - 30px);
  margin: 0 15px;
}

/* Tips Section */
.page-slot-games__tips-section {
  padding: 60px 0;
  background-color: #111111;
}

.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__tip-item {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__tip-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-slot-games__tip-item p {
  font-size: 16px;
  color: #FFF6D6;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-slot-games__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111; /* Card BG */
}

details.page-slot-games__faq-item summary.page-slot-games__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-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: rgba(242, 193, 78, 0.1);
}

.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}

.page-slot-games__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-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A;
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}

/* CTA Section */
.page-slot-games__cta-section {
  padding: 60px 0;
  background-color: #111111;
  text-align: center;
}

.page-slot-games__cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* Responsive Design */
@media (max-width: 1023px) {
  .page-slot-games__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-slot-games__hero-brand,
  .page-slot-games__hero-jackpot {
    display: none !important;
  }
  .page-slot-games__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-slot-games__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial-topbar,
  .page-slot-games__game-trial-bottombar {
    display: none !important;
  }
  .page-slot-games__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-slot-games__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-slot-games__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-slot-games__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
  .page-slot-games__main-title {
    font-size: 38px;
  }
  .page-slot-games__section-title {
    font-size: 30px;
  }
}

@media (min-width: 1024px) {
  .page-slot-games__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-slot-games__hero-brand,
  .page-slot-games__hero-jackpot,
  .page-slot-games__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-slot-games__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-slot-games__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-slot-games__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

@media (max-width: 768px) {
  .page-slot-games__main-title {
    font-size: 32px;
  }
  .page-slot-games__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-slot-games__description {
    font-size: 16px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__container {
    padding: 15px;
  }
  .page-slot-games__hero-section {
    padding: 10px 0 40px;
    min-height: 400px;
  }
  .page-slot-games__game-type-grid,
  .page-slot-games__benefits-list,
  .page-slot-games__steps-list,
  .page-slot-games__promo-grid,
  .page-slot-games__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__card-title,
  .page-slot-games__benefit-title,
  .page-slot-games__step-title,
  .page-slot-games__tip-title {
    font-size: 20px;
  }
  .page-slot-games__card-description,
  .page-slot-games__benefit-item p,
  .page-slot-games__step-item p,
  .page-slot-games__tip-item p {
    font-size: 15px;
  }
  details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
  .page-slot-games__faq-qtext { font-size: 15px; }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

.page-slot-games__game-trial-overlay{z-index:5;pointer-events:auto;}
.page-slot-games__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}
.page-slot-games__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}
.page-slot-games__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}
.page-slot-games__reward-modal{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.7);visibility:hidden;opacity:0;transition:visibility 0.3s, opacity 0.3s;}
.page-slot-games__reward-modal:not([hidden]){visibility:visible;opacity:1;}
.page-slot-games__reward-modal-content{background:#111111;padding:30px;border-radius:10px;text-align:center;position:relative;max-width:90%;width:500px;color:#FFF6D6;border:1px solid #3A2A12;}
.page-slot-games__reward-modal-close{position:absolute;top:15px;right:15px;font-size:24px;color:#FFF6D6;cursor:pointer;line-height:1;}
.page-slot-games__reward-modal h3{color:#F2C14E;margin-bottom:15px;font-size:28px;}
.page-slot-games__reward-modal p{margin-bottom:20px;font-size:16px;}
.page-slot-games__reward-modal .page-slot-games__btn-primary{width:auto;min-width:180px;}