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

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

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

.page-slot-games__dark-section {
  background: var(--deep-navy);
  color: var(--text-main);
}

.page-slot-games__light-bg {
  background: #081a34; /* Slightly lighter than deep navy for contrast */
  color: var(--text-main);
}

.page-slot-games__section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: var(--gold);
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-slot-games__section-subtitle {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Use clamp for H1 */
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(242, 193, 78, 0.6);
  line-height: 1.2;
}

.page-slot-games__description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-secondary);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border: none;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: var(--text-main);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

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

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

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

.page-slot-games__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 16px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-slot-games__grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow);
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gold);
}

.page-slot-games__card-text {
  font-size: 15px;
  color: var(--text-secondary);
}

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

.page-slot-games__provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
}

.page-slot-games__provider-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-slot-games__provider-item:hover {
  transform: translateY(-3px);
}

.page-slot-games__provider-logo {
  width: 120px;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
}

.page-slot-games__provider-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

.page-slot-games__guide-list,
.page-slot-games__tips-list,
.page-slot-games__security-list,
.page-slot-games__app-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__guide-list li,
.page-slot-games__tips-list li,
.page-slot-games__security-list li {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-slot-games__guide-list li h3,
.page-slot-games__tips-list li h3,
.page-slot-games__security-list li h3 {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-slot-games__guide-list li p,
.page-slot-games__tips-list li p,
.page-slot-games__security-list li p {
  font-size: 15px;
  color: var(--text-secondary);
}

.page-slot-games__promo-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  padding: 20px;
}

.page-slot-games__promo-image {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 20px;
  flex-shrink: 0;
}

.page-slot-games__promo-content {
  flex-grow: 1;
}

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

.page-slot-games__promo-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.page-slot-games__app-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-slot-games__app-text {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.page-slot-games__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 30px var(--glow);
}

.page-slot-games__app-features li {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-slot-games__app-features li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--gold);
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 10px 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(--border), 0.2);
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold);
  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(--card-bg), 0.5);
  border-top: 1px solid var(--divider);
  border-radius: 0 0 10px 10px;
}

.page-slot-games__faq-answer p {
  color: var(--text-secondary);
  font-size: 15px;
}

.page-slot-games__text-center {
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-slot-games__hero-section {
    padding-top: 10px;
  }
  .page-slot-games__hero-image-wrapper {
    max-height: 400px;
  }
  .page-slot-games__app-content {
    flex-direction: column;
  }
  .page-slot-games__app-text, .page-slot-games__app-image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section-title {
    font-size: 26px;
  }
  .page-slot-games__section-subtitle,
  .page-slot-games__description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-slot-games__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-slot-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-slot-games__card {
    padding: 20px;
  }
  .page-slot-games__card-image {
    height: 180px;
  }
  .page-slot-games__card-title {
    font-size: 20px;
  }
  .page-slot-games__provider-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  .page-slot-games__provider-logo {
    width: 100px;
  }
  .page-slot-games__guide-list li,
  .page-slot-games__tips-list li,
  .page-slot-games__security-list li {
    padding: 20px;
  }
  .page-slot-games__guide-list li h3,
  .page-slot-games__tips-list li h3,
  .page-slot-games__security-list li h3 {
    font-size: 18px;
  }
  .page-slot-games__promo-card {
    flex-direction: column;
    text-align: center;
  }
  .page-slot-games__promo-image {
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
    height: auto;
  }
  .page-slot-games__promo-title {
    font-size: 18px;
  }
  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; }
}

/* Fixed header spacing - ensures first section is not hidden by fixed header */
.page-slot-games__hero-section {
    padding-top: 10px;
}

/* The following media queries for homepage trial layout are not applicable to this inner page. */
/* They are kept here as a placeholder for the strict requirement to include them if this were an index page. */
@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;
  }
}

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