/* Base styles for page-slot-games */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  box-sizing: border-box;
}

.page-slot-games * {
  box-sizing: border-box;
}

.page-slot-games__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-slot-games__section {
  padding: 40px 0;
  text-align: center;
}

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-slot-games__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF3E6;
}

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

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #FFF3E6;
}

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

.page-slot-games__btn-secondary {
  background: #17191F;
  color: #FF8C1A;
  border: 1px solid #A84F0C;
}

.page-slot-games__btn-secondary:hover {
  background: #2a2d34;
  color: #FFA53A;
  transform: translateY(-2px);
}

.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-slot-games__card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  color: #FFF3E6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-slot-games__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FF8C1A;
}

.page-slot-games__card-text {
  font-size: 15px;
  line-height: 1.6;
  flex-grow: 1;
}

/* Hero Section */
.page-slot-games__hero-section {
  padding: 10px 0 40px 0;
  text-align: left;
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-slot-games__main-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FF8C1A;
  max-width: 600px;
}

.page-slot-games__intro-text {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 30px;
  max-width: 650px;
  color: #FFF3E6;
}

.page-slot-games__play-demo-btn {
  background: #17191F;
  color: #FF8C1A;
  border: 1px solid #A84F0C;
}

.page-slot-games__play-demo-btn:hover {
  background: #2a2d34;
}

.page-slot-games__trust-section {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}

.page-slot-games__trust-section img {
  
  
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255,165,58,0.5));
}

/* Features Grid */
.page-slot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__feature-card img {
  height: 200px;
  object-fit: cover;
}

/* Game Cards Grid */
.page-slot-games__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__game-card img {
  height: 220px;
  object-fit: cover;
}

.page-slot-games__game-card .page-slot-games__btn-primary {
  margin-top: auto;
  width: 100%;
}

/* Steps Grid */
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__step-item {
  padding: 30px;
}

.page-slot-games__step-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFA53A;
}

.page-slot-games__step-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-slot-games__scroll-to-games {
  margin-top: auto;
  width: 100%;
}

/* Promo Grid */
.page-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__promo-card img {
  height: 200px;
  object-fit: cover;
}

.page-slot-games__cta-center {
  margin-top: 40px;
}

/* Security List */
.page-slot-games__security-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 700px;
  text-align: left;
}

.page-slot-games__security-list li {
  font-size: 18px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  color: #FFF3E6;
}

.page-slot-games__list-icon {
  color: #FFA53A;
  font-size: 24px;
  margin-right: 15px;
  line-height: 1;
  flex-shrink: 0;
}

/* Mobile App Grid */
.page-slot-games__mobile-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__app-feature img {
  height: 200px;
  object-fit: cover;
}

.page-slot-games__app-feature .page-slot-games__btn-primary {
  margin-top: auto;
  width: 100%;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #17191F; /* Card BG */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

details.page-slot-games__faq-item summary.page-slot-games__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;
  color: #FFF3E6;
}

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: #2a2d34;
}

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

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 25px 25px;
  background: #0D0E12;
  border-radius: 0 0 10px 10px;
  color: #FFF3E6;
}

.page-slot-games__faq-answer p {
  margin-bottom: 0;
}

/* Final CTA */
.page-slot-games__cta-final {
  padding: 60px 0;
  background: linear-gradient(135deg, #FF8C1A 0%, #D96800 100%);
  color: #FFF3E6;
}

.page-slot-games__cta-final .page-slot-games__section-title,
.page-slot-games__cta-final .page-slot-games__section-description {
  color: #FFF3E6;
}

.page-slot-games__cta-final .page-slot-games__btn-primary {
  background: #FFF3E6;
  color: #D96800;
}

.page-slot-games__cta-final .page-slot-games__btn-primary:hover {
  background: #ffffff;
  color: #c62828;
}

.page-slot-games__cta-final .page-slot-games__btn-secondary {
  background: transparent;
  border: 2px solid #FFF3E6;
  color: #FFF3E6;
}

.page-slot-games__cta-final .page-slot-games__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFF3E6;
}

/* Homepage Game Trial Specific CSS (as per prompt instructions for slot-games.css) */
@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;
    padding: 10px 16px 24px;
  }
  .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;
  }
}

@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;
  }
  .page-slot-games__hero-brand {
    text-align: left;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border-radius: 10px;
    background-color: #17191F;
    border: 1px solid #A84F0C;
  }
  .page-slot-games__hero-brand .page-slot-games__main-title {
    font-size: 28px;
    margin-bottom: 10px;
    max-width: none;
  }
  .page-slot-games__hero-brand .page-slot-games__intro-text {
    font-size: 15px;
    margin-bottom: 20px;
    max-width: none;
  }
  .page-slot-games__hero-brand .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-slot-games__hero-brand .page-slot-games__trust-section {
    margin-top: 20px;
    justify-content: flex-start;
    gap: 10px;
  }
  .page-slot-games__hero-brand .page-slot-games__trust-section img {
    
    
  }
  .page-slot-games__hero-jackpot {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    background-color: #17191F;
    border: 1px solid #A84F0C;
  }
  .page-slot-games__jackpot-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }
  .page-slot-games__jackpot-label {
    font-size: 16px;
    color: #FFF3E6;
  }
  .page-slot-games__jackpot-amount {
    font-size: 32px;
    font-weight: bold;
    color: #FFB04D; /* Glow */
    text-shadow: 0 0 10px rgba(255,176,77,0.7);
  }
  .page-slot-games__hero-jackpot-claim {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    transition: all 0.3s ease;
  }
  .page-slot-games__hero-jackpot-claim:hover {
    opacity: 0.9;
    transform: translateY(-2px);
  }
  .page-slot-games__winner-ticker-container {
    width: 100%;
    height: 100px;
    overflow: hidden;
    margin-top: 20px;
    position: relative;
  }
  .page-slot-games__winner-ticker {
    animation: scroll-up 15s linear infinite;
    position: absolute;
    width: 100%;
    top: 0;
  }
  .page-slot-games__winner-item {
    padding: 5px 0;
    font-size: 14px;
    color: #FFF3E6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  @keyframes scroll-up {
    0% { transform: translateY(0%); }
    100% { transform: translateY(-100%); }
  }
}

.page-slot-games__game-trial-shell {
  border: 1px solid #A84F0C;
  border-radius: 10px;
  overflow: hidden;
  background-color: #17191F;
}

.page-slot-games__game-trial-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: #0D0E12;
  color: #FFF3E6;
  border-bottom: 1px solid #A84F0C;
}

.page-slot-games__game-title {
  font-size: 18px;
  font-weight: bold;
  color: #FF8C1A;
}

.page-slot-games__btn-trial-register {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

.page-slot-games__game-trial-viewport {
  position: relative;
  flex: 1;
  min-height: 200px;
}

.page-slot-games__game-trial-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.page-slot-games__game-trial-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #FFF3E6;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  z-index: 5;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}

.page-slot-games__game-trial-overlay img {
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255,165,58,0.5);
}

.page-slot-games__game-trial-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
  display: none !important;
}

.page-slot-games__game-trial-start {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 15px 30px;
  border-radius: 8px;
  border: none;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.page-slot-games__game-trial-start:hover {
  opacity: 0.9;
}

.page-slot-games__game-trial-bottombar {
  display: flex;
  justify-content: center;
  padding: 10px 15px;
  background-color: #0D0E12;
  border-top: 1px solid #A84F0C;
}

.page-slot-games__btn-trial-full {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
}

/* Reward Modal */
.page-slot-games__reward-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.3s ease;
}

.page-slot-games__reward-modal[hidden] {
  display: none;
}

.page-slot-games__reward-modal-content {
  position: relative;
  width: 90%;
  max-width: 500px;
  padding: 30px;
  background-color: #17191F; /* Card BG */
  border-radius: 10px;
  text-align: center;
  color: #FFF3E6;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 30px;
  color: #FFA53A;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.page-slot-games__modal-title {
  font-size: 28px;
  color: #FF8C1A;
  margin-bottom: 15px;
}

.page-slot-games__modal-text {
  font-size: 16px;
  margin-bottom: 30px;
}

.page-slot-games__modal-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive styles */
@media (max-width: 1023px) {
  .page-slot-games__main-title {
    font-size: 38px;
  }
  .page-slot-games__intro-text {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games__section-title {
    font-size: 28px;
  }
  .page-slot-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-slot-games__main-title {
    font-size: 32px;
    max-width: 100%;
    text-align: center;
  }
  .page-slot-games__intro-text {
    font-size: 16px;
    max-width: 100%;
    text-align: center;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__cta-buttons .page-slot-games__btn-primary,
  .page-slot-games__cta-buttons .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__trust-section {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
  }
  .page-slot-games__trust-section img {
    
    
  }
  .page-slot-games__features-grid,
  .page-slot-games__game-cards-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__mobile-app-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__card {
    padding: 20px;
  }
  .page-slot-games__card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__card-title {
    font-size: 20px;
  }
  .page-slot-games__card-text {
    font-size: 14px;
  }
  .page-slot-games__step-title {
    font-size: 20px;
  }
  .page-slot-games__security-list {
    padding: 0 15px;
  }
  .page-slot-games__security-list li {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .page-slot-games__list-icon {
    font-size: 20px;
    margin-right: 10px;
  }
  details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    padding: 15px;
  }
  .page-slot-games__faq-qtext {
    font-size: 16px;
  }
  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 28px;
  }
  details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 15px 15px;
  }
  .page-slot-games__cta-final {
    padding: 40px 0;
  }
  .page-slot-games__modal-title {
    font-size: 24px;
  }
  .page-slot-games__modal-text {
    font-size: 14px;
  }
  .page-slot-games__modal-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-slot-games__modal-actions .page-slot-games__btn-primary,
  .page-slot-games__modal-actions .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}