:root {
    --primary-color: #C61F1F;
    --secondary-color: #E53030;
    --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    --card-bg: #2A1212;
    --background-color: #140C0C;
    --text-main-color: #FFF1E8;
    --border-color: #6A1E1E;
    --gold-color: #F3C54D;
    --deep-red-color: #7E0D0D;
}

.page-slot-games {
    font-family: Arial, sans-serif;
    color: var(--text-main-color);
    background-color: var(--background-color);
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, relying on body padding for header offset */
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-slot-games__hero-content {
    padding: 30px 15px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    margin-top: -5px; /* Slight overlap for visual appeal */
    position: relative;
    z-index: 2;
}

.page-slot-games__main-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-slot-games__intro-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-main-color);
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play,
.page-slot-games__btn-read-more {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
}

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

.page-slot-games__btn-secondary {
    background: var(--deep-red-color);
    color: #ffffff;
    border: 2px solid var(--gold-color);
}

.page-slot-games__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--deep-red-color);
    transform: translateY(-2px);
}

/* Section Titles */
.page-slot-games__section-title {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold-color);
    position: relative;
    padding-bottom: 10px;
}

.page-slot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.page-slot-games__text-block {
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
    color: var(--text-main-color);
}

/* Dark Section Styling */
.page-slot-games__dark-section {
    background-color: var(--card-bg);
    padding: 60px 0;
}

.page-slot-games__dark-section .page-slot-games__section-title {
    color: var(--gold-color);
}

.page-slot-games__dark-section .page-slot-games__text-block {
    color: var(--text-main-color);
}

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

.page-slot-games__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    max-width: 900px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Features Section */
.page-slot-games__features-section {
    padding: 60px 0;
}

.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 {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-slot-games__feature-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-slot-games__feature-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main-color);
}

/* Game Showcase Section */
.page-slot-games__game-showcase {
    padding: 60px 0;
}

.page-slot-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-slot-games__game-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-slot-games__game-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.page-slot-games__game-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gold-color);
    margin: 15px 0 5px;
}

.page-slot-games__game-provider {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 15px;
}

.page-slot-games__btn-play {
    background: var(--button-gradient);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 0 0 8px 8px;
    width: 100%;
    display: block;
    border: none;
}

.page-slot-games__btn-play:hover {
    opacity: 0.9;
}

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

/* Guide Section */
.page-slot-games__guide-section {
    padding: 60px 0;
}

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

.page-slot-games__guide-list li {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.page-slot-games__guide-step-title {
    font-size: 20px;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-slot-games__guide-list p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main-color);
}

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

.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 {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-slot-games__promo-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-slot-games__promo-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gold-color);
    margin: 15px 15px 10px;
}

.page-slot-games__promo-desc {
    font-size: 15px;
    color: var(--text-main-color);
    line-height: 1.5;
    margin: 0 15px 15px;
}

.page-slot-games__btn-read-more {
    display: block;
    background: var(--deep-red-color);
    color: #ffffff;
    padding: 10px 15px;
    margin: 0 15px 15px;
    border-radius: 5px;
    text-align: center;
    border: none;
}

.page-slot-games__btn-read-more:hover {
    background: var(--primary-color);
}

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

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

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--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 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(var(--primary-color), 0.1);
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--gold-color);
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-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: rgba(var(--primary-color), 0.05);
  border-radius: 0 0 10px 10px;
  color: var(--text-main-color);
  font-size: 16px;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-slot-games__hero-section {
    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;
  }
}

@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__hero-content {
    padding: 20px 10px;
  }
  .page-slot-games__main-title {
    font-size: 32px;
  }
  .page-slot-games__intro-text {
    font-size: 16px;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-play,
  .page-slot-games__btn-read-more {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 15px;
  }

  .page-slot-games__section-title {
    font-size: 28px;
    margin-bottom: 25px;
  }
  .page-slot-games__text-block {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__guide-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
  }
  .page-slot-games__feature-card,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__guide-list li {
    padding: 20px;
  }
  .page-slot-games__game-thumbnail {
    height: 150px;
  }
  .page-slot-games__promo-thumbnail {
    height: 180px;
  }
  .page-slot-games__promo-title,
  .page-slot-games__game-title,
  .page-slot-games__feature-title,
  .page-slot-games__guide-step-title {
    font-size: 18px;
  }
  .page-slot-games__promo-desc,
  .page-slot-games__game-provider,
  .page-slot-games__feature-card p,
  .page-slot-games__guide-list p {
    font-size: 14px;
  }

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

  /* Mobile image adaptation */
  .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,
  .page-slot-games__hero-section,
  .page-slot-games__about-section,
  .page-slot-games__features-section,
  .page-slot-games__game-showcase,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
}

/* Common styles for game trial overlay and modal, as required for homepage, adapted for this page */
.page-slot-games__game-trial-overlay{
  z-index:5;
  pointer-events:auto;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  font-size: 20px;
  text-align: center;
}
.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;
  background: var(--button-gradient);
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: opacity 0.3s ease;
}
.page-slot-games__game-trial-start:hover{
  opacity: 0.9;
}
.page-slot-games__game-trial-shell{
  border:1px solid rgba(212,175,55,.45);
  border-radius:10px;
  overflow:hidden;
  position: relative;
}
.page-slot-games__reward-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease;
}
.page-slot-games__reward-modal[aria-hidden="false"] {
    visibility: visible;
    opacity: 1;
}
.page-slot-games__reward-modal-content{
  background: var(--card-bg);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  max-width: 90%;
  width: 500px;
  position: relative;
  color: var(--text-main-color);
}
.page-slot-games__reward-modal-close{
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: var(--text-main-color);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.page-slot-games__reward-modal-close:hover{
  color: var(--gold-color);
}
.page-slot-games__reward-modal h3{
  color: var(--gold-color);
  font-size: 28px;
  margin-bottom: 20px;
}
.page-slot-games__reward-modal p{
  font-size: 18px;
  margin-bottom: 30px;
}
.page-slot-games__reward-modal .page-slot-games__btn-primary{
  padding: 12px 25px;
  font-size: 17px;
}