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

.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color);
  background-color: var(--deep-navy-color); /* Assuming body background is deep navy */
}

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

.page-slot-games__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  color: var(--gold-color);
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-secondary-color);
  line-height: 1.6;
}

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

.page-slot-games__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-slot-games__btn--primary {
  background: var(--btn-gradient);
  color: var(--text-main-color);
  border: 2px solid var(--gold-color);
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-slot-games__btn--primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
  transform: translateY(-2px);
}

.page-slot-games__btn--secondary {
  background: var(--card-bg);
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  margin-left: 20px;
}

.page-slot-games__btn--secondary:hover {
  background: var(--primary-color);
  color: var(--text-main-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.page-slot-games__btn--small {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
}

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, assuming body has --header-offset */
  padding-bottom: 50px;
  background-color: var(--deep-navy-color);
  color: var(--text-main-color);
  overflow: hidden;
}

.page-slot-games__hero-content {
  text-align: center;
  max-width: 900px;
  margin-bottom: 40px;
  order: 2; /* Content below image by default */
}

.page-slot-games__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold-color);
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-slot-games__intro-text {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: var(--text-secondary-color);
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-slot-games__hero-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  order: 1; /* Image above content by default */
  margin-bottom: 30px;
}

/* Why Us Section */
.page-slot-games__why-us-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-main-color);
}

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

.page-slot-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-slot-games__light-bg .page-slot-games__section-title {
    color: var(--primary-color);
    text-shadow: none;
}

.page-slot-games__light-bg .page-slot-games__section-description,
.page-slot-games__light-bg .page-slot-games__explanation-text {
    color: #555555;
}

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

.page-slot-games__feature-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

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

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

/* Game Types Section */
.page-slot-games__game-types-section {
  padding: 80px 0;
  background-color: var(--deep-navy-color);
}

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

.page-slot-games__type-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__type-content {
  padding: 25px;
  flex-grow: 1;
}

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

.page-slot-games__type-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary-color);
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 80px 0;
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.page-slot-games__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.page-slot-games__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--btn-gradient);
  color: var(--text-main-color);
  font-size: 22px;
  font-weight: bold;
  flex-shrink: 0;
  margin-right: 20px;
  box-shadow: 0 2px 10px rgba(43, 115, 246, 0.3);
}

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

.page-slot-games__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-slot-games__light-bg .page-slot-games__step-title {
    color: var(--primary-color);
}

.page-slot-games__step-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
}

.page-slot-games__explanation-text {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 40px auto 0;
    color: #555555;
}

.page-slot-games__explanation-text a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-slot-games__explanation-text a:hover {
    text-decoration: underline;
}

/* Tips Section */
.page-slot-games__tips-section {
  padding: 80px 0;
}

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

.page-slot-games__tip-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-slot-games__tip-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gold-color);
}

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

/* Popular Games Section */
.page-slot-games__popular-games-section {
  padding: 80px 0;
  background-color: var(--deep-navy-color);
}

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

.page-slot-games__game-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__game-card h3 {
  font-size: 22px;
  font-weight: bold;
  margin: 0 15px 10px;
  color: var(--gold-color);
}

.page-slot-games__game-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary-color);
  margin: 0 15px 20px;
  flex-grow: 1;
}

.page-slot-games__game-card .page-slot-games__btn {
  margin: 0 15px 20px;
}

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

.page-slot-games__promo-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-slot-games__promo-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__promo-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--gold-color);
}

.page-slot-games__promo-item p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary-color);
}

/* Responsible Gaming Section */
.page-slot-games__responsible-gaming-section {
  padding: 80px 0;
}

.page-slot-games__responsible-gaming-section p {
  max-width: 800px;
  margin: 0 auto 25px;
  text-align: center;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary-color);
}

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

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

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 4px 15px 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: var(--gold-color);
}

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(29, 95, 209, 0.1);
}

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

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

details[open] .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 25px 20px;
  background: var(--card-bg);
  border-top: 1px solid var(--divider-color);
  border-radius: 0 0 10px 10px;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary-color);
}

details.page-slot-games__faq-item .page-slot-games__faq-answer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer a:hover {
    text-decoration: underline;
}

/* General Image Styling */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-slot-games__main-title {
    font-size: clamp(28px, 6vw, 48px);
  }

  .page-slot-games__intro-text {
    font-size: 18px;
  }

  .page-slot-games__hero-image {
    max-width: 80%;
  }

  .page-slot-games__section-title {
    font-size: 32px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__type-cards,
  .page-slot-games__tips-grid,
  .page-slot-games__game-showcase-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-slot-games__why-us-section,
  .page-slot-games__game-types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__tips-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__promotions-section,
  .page-slot-games__responsible-gaming-section,
  .page-slot-games__faq-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__hero-section {
    padding-bottom: 30px;
  }

  .page-slot-games__hero-content {
    margin-bottom: 30px;
  }

  .page-slot-games__main-title {
    font-size: clamp(26px, 8vw, 40px);
  }

  .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--secondary {
    margin-left: 0;
  }

  .page-slot-games__btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-slot-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-slot-games__why-us-section,
  .page-slot-games__game-types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__tips-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__promotions-section,
  .page-slot-games__responsible-gaming-section,
  .page-slot-games__faq-section {
    padding: 40px 0;
  }

  .page-slot-games__features-grid,
  .page-slot-games__type-cards,
  .page-slot-games__tips-grid,
  .page-slot-games__game-showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-item,
  .page-slot-games__type-card,
  .page-slot-games__tip-card,
  .page-slot-games__game-card,
  .page-slot-games__promo-item {
    padding: 20px;
  }

  .page-slot-games__feature-title,
  .page-slot-games__type-title,
  .page-slot-games__tip-title,
  .page-slot-games__promo-title {
    font-size: 20px;
  }

  .page-slot-games__feature-item p,
  .page-slot-games__type-content p,
  .page-slot-games__tip-card p,
  .page-slot-games__game-card p,
  .page-slot-games__promo-item p {
    font-size: 15px;
  }

  .page-slot-games__type-image,
  .page-slot-games__game-image {
    height: 160px;
  }

  .page-slot-games__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-slot-games__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-slot-games__step-title {
    font-size: 20px;
  }

  .page-slot-games__step-content p {
    font-size: 15px;
  }

  .page-slot-games__explanation-text,
  .page-slot-games__responsible-gaming-section p {
    font-size: 15px;
  }

  details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    padding: 15px 20px;
  }

  .page-slot-games__faq-qtext {
    font-size: 16px;
  }

  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }

  details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 20px 15px;
  }

  details.page-slot-games__faq-item .page-slot-games__faq-answer p {
    font-size: 15px;
  }

  /* Ensure all images and containers are responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__why-us-section,
  .page-slot-games__game-types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__tips-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__promotions-section,
  .page-slot-games__responsible-gaming-section,
  .page-slot-games__faq-section,
  .page-slot-games__features-grid,
  .page-slot-games__type-cards,
  .page-slot-games__tips-grid,
  .page-slot-games__game-showcase-grid,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
}

/* No specific 1024px desktop layout for this inner page, common for homepage */
/* The 1023px media query handles general tablet/smaller desktop adjustments */
/* No specific PC three-column layout required for this inner page */

/* Image color filter restriction */
.page-slot-games img:not(.page-slot-games__promo-icon):not(.page-slot-games__logo) {
    filter: none !important;
}

/* Fixed Header Spacing: Assuming body padding-top is handled by shared.css */
/* No additional padding-top: var(--header-offset); on .page-slot-games__hero-section */