/* style/slot-games.css */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Body background from shared.css */
}

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

/* Fixed Header Spacing */
.page-slot-games {
  padding-top: var(--header-offset, 120px);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 0;
  background-image: linear-gradient(to right, #8B0000, #FFD700);
  overflow: hidden;
}

.page-slot-games__hero-section .page-slot-games__container {
  position: relative;
  z-index: 2;
}

.page-slot-games__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-slot-games__description {
  font-size: 20px;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px 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-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
}

.page-slot-games__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-secondary {
  background: #8B0000; /* Dark Red */
  color: #ffffff;
  border: 2px solid #FFD700;
}

.page-slot-games__btn-secondary:hover {
  background: #6b0000;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 40px auto 0 auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-slot-games__section-intro {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-slot-games__light-bg {
  background-color: #f8f8f8;
  color: #333333;
  padding: 80px 0;
}

.page-slot-games__dark-bg {
  background-color: #1a1a2e;
  color: #f0f0f0;
  padding: 80px 0;
}

/* Advantages Section */
.page-slot-games__advantages-grid,
.page-slot-games__game-types-grid,
.page-slot-games__promotions-grid,
.page-slot-games__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__advantage-item,
.page-slot-games__game-type-card,
.page-slot-games__promotion-card,
.page-slot-games__info-item {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-slot-games__advantage-item:hover,
.page-slot-games__game-type-card:hover,
.page-slot-games__promotion-card:hover,
.page-slot-games__info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-slot-games__advantage-icon,
.page-slot-games__game-type-image,
.page-slot-games__promotion-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__advantage-title,
.page-slot-games__game-type-title,
.page-slot-games__promotion-title,
.page-slot-games__info-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #8B0000; /* Dark Red for titles in light sections */
}

.page-slot-games__advantage-description,
.page-slot-games__game-type-description,
.page-slot-games__promotion-description,
.page-slot-games__info-description {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

/* How to Play Section */
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.page-slot-games__step-item {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-slot-games__step-number {
  counter-increment: step-counter;
  font-size: 48px;
  font-weight: bold;
  color: #FFD700; /* Gold */
  margin-bottom: 15px;
  line-height: 1;
}

.page-slot-games__step-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #8B0000; /* Dark Red */
}

.page-slot-games__step-description {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

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

/* Strategies Section */
.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-slot-games__strategy-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #FFD700;
}

.page-slot-games__strategy-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700; /* Gold */
  margin-bottom: 10px;
}

.page-slot-games__strategy-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* Promotions Section */
.page-slot-games__promotion-link {
  display: inline-block;
  margin-top: 15px;
  color: #FFD700; /* Gold */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-slot-games__promotion-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* Support & Security Section */
.page-slot-games__info-item {
  background-color: #ffffff;
  color: #333333;
}

.page-slot-games__info-title {
  color: #8B0000;
}

.page-slot-games__info-description {
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 40px;
  }

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

@media (max-width: 768px) {
  .page-slot-games {
    padding-top: var(--header-offset, 120px) !important;
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__hero-section,
  .page-slot-games__advantages-section,
  .page-slot-games__game-types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__strategies-section,
  .page-slot-games__promotions-section,
  .page-slot-games__support-security-section {
    padding: 60px 0;
  }

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

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

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto;
  }

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

  .page-slot-games__section-intro {
    font-size: 16px;
  }

  .page-slot-games__advantage-icon,
  .page-slot-games__game-type-image,
  .page-slot-games__promotion-image {
    height: 180px;
  }

  .page-slot-games__advantage-title,
  .page-slot-games__game-type-title,
  .page-slot-games__promotion-title,
  .page-slot-games__info-title {
    font-size: 20px;
  }

  .page-slot-games__advantage-description,
  .page-slot-games__game-type-description,
  .page-slot-games__promotion-description,
  .page-slot-games__info-description,
  .page-slot-games__step-description,
  .page-slot-games__strategy-description {
    font-size: 15px;
  }

  .page-slot-games__step-number {
    font-size: 40px;
  }

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

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

  /* Image responsive rules */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__hero-section,
  .page-slot-games__advantages-section,
  .page-slot-games__game-types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__strategies-section,
  .page-slot-games__promotions-section,
  .page-slot-games__support-security-section,
  .page-slot-games__container,
  .page-slot-games__cta-buttons,
  .page-slot-games__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 28px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 15px;
    padding: 10px 20px;
  }

  .page-slot-games__advantages-grid,
  .page-slot-games__game-types-grid,
  .page-slot-games__promotions-grid,
  .page-slot-games__info-grid {
    grid-template-columns: 1fr;
  }
}