/* Variables for colors */
:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --card-bg: #10233F;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

/* Base styles for the page content, ensuring light text on dark body */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--deep-navy);
  line-height: 1.6;
  padding-bottom: 50px;
}

/* General section styling */
.page-slot-games__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

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

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

.page-slot-games__section-title {
  font-size: 36px;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-slot-games p {
  font-size: 17px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-slot-games h1, .page-slot-games h2, .page-slot-games h3 {
  color: var(--text-main);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  overflow: hidden;
  padding: 10px 0 40px;
  background-color: var(--deep-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px 15px;
  max-width: 900px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__hero-description {
  font-size: 19px;
  color: var(--text-main);
  margin-bottom: 30px;
}

/* CTA Buttons */
.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 {
  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;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid var(--gold-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

/* Intro Slots Section */
.page-slot-games__intro-slots {
  background-color: var(--deep-navy);
}

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

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

.page-slot-games__game-type-card,
.page-slot-games__feature-card,
.page-slot-games__why-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-slot-games__game-type-card:hover,
.page-slot-games__feature-card:hover,
.page-slot-games__why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

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

.page-slot-games__game-type-card p,
.page-slot-games__feature-card p,
.page-slot-games__why-item p {
  font-size: 16px;
  color: var(--text-secondary);
  flex-grow: 1;
}

.page-slot-games__card-link {
  color: var(--gold-color);
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  display: inline-block;
  border-bottom: 1px solid var(--gold-color);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-slot-games__card-link:hover {
  color: var(--glow-color);
  border-color: var(--glow-color);
}

/* How to Play Section */
.page-slot-games__how-to-play {
  background-color: var(--deep-navy);
}

.page-slot-games__play-steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 30px 0;
}

.page-slot-games__play-steps li {
  position: relative;
  padding-left: 50px;
  margin-bottom: 25px;
  color: var(--text-secondary);
  font-size: 17px;
}

.page-slot-games__play-steps li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--gold-color);
  color: var(--primary-color);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-games__play-steps li strong {
  color: var(--text-main);
  font-size: 18px;
  display: block;
  margin-bottom: 5px;
}

.page-slot-games__play-steps li a {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-slot-games__play-steps li a:hover {
  color: var(--gold-color);
}

/* Features Section */
.page-slot-games__features {
  background-color: var(--primary-color);
}

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

/* Tips Section */
.page-slot-games__tips {
  background-color: var(--deep-navy);
}

.page-slot-games__tip-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-slot-games__tip-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: var(--text-secondary);
  font-size: 17px;
}

.page-slot-games__tip-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-color);
  font-size: 18px;
  line-height: 1.6;
}

.page-slot-games__tip-list li strong {
  color: var(--text-main);
  font-size: 18px;
  display: inline;
}

/* Why Choose Section */
.page-slot-games__why-choose {
  background-color: var(--primary-color);
}

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

.page-slot-games__why-item {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--border-color);
}

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

/* FAQ Section */
.page-slot-games__faq-section {
  background-color: var(--deep-navy);
}

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

/* FAQ styles from prompt, adapted to variables */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main);
}
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;
  color: var(--text-main);
}
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: var(--text-main);
}
.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(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary);
}
.page-slot-games__faq-answer p {
  color: var(--text-secondary);
}
.page-slot-games__faq-answer a {
  color: var(--glow-color);
  text-decoration: underline;
}
.page-slot-games__faq-answer a:hover {
  color: var(--gold-color);
}

/* Final CTA Section */
.page-slot-games__final-cta {
  padding: 60px 0;
  text-align: center;
  background-color: var(--primary-color);
}

.page-slot-games__cta-content {
  max-width: 800px;
}

/* Copyright */
.page-slot-games__copyright {
  text-align: center;
  padding: 20px 15px;
  font-size: 14px;
  color: var(--text-secondary);
  background-color: var(--deep-navy);
  border-top: 1px solid var(--divider-color);
}