/* style/slot-games.css */

:root {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a; /* Body background from shared.css */
  --card-bg-light: #ffffff;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Ensure consistency */
}

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

/* Fixed header spacing */
.page-slot-games__hero-section {
  padding-top: var(--header-offset, 120px);
}

/* Typography */
.page-slot-games__main-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
}

.page-slot-games__hero-description {
  font-size: 20px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
}

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 30px;
}

.page-slot-games__section-title--light {
  color: var(--secondary-color);
}

.page-slot-games__text-block {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__text-block--light {
  color: var(--text-light);
}

.page-slot-games h3 {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #06153D 100%);
  overflow: hidden;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

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

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

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-slot-games__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

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

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

.page-slot-games__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__btn-small {
  display: inline-block;
  padding: 8px 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-slot-games__btn-small:hover {
  background: #C49F04;
}

.page-slot-games__btn-link {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-slot-games__btn-link:hover {
  color: #C49F04;
  text-decoration: underline;
}

/* Cards */
.page-slot-games__card {
  background: var(--card-bg-dark);
  color: var(--text-light);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Introduction Section */
.page-slot-games__introduction {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

.page-slot-games__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Why Choose Section */
.page-slot-games__why-choose {
  padding: 80px 0;
  background: linear-gradient(135deg, #0A2463 0%, #06153D 100%);
  color: var(--text-light);
}

.page-slot-games__why-choose .page-slot-games__card {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-slot-games__why-choose h3 {
  color: var(--secondary-color);
}

.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-item {
  text-align: center;
}

.page-slot-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-slot-games__feature-title {
  font-size: 22px;
  margin-top: 15px;
  color: var(--secondary-color);
}

.page-slot-games__feature-description {
  font-size: 16px;
  color: var(--text-light);
}

/* Game Types Section */
.page-slot-games__game-types {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

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

.page-slot-games__game-type-card {
  text-align: center;
}

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

.page-slot-games__game-type-title {
  color: var(--secondary-color);
  font-size: 20px;
}

.page-slot-games__game-type-description {
  font-size: 16px;
  color: var(--text-light);
}

/* How to Play Section */
.page-slot-games__how-to-play {
  padding: 80px 0;
  background: linear-gradient(135deg, #0A2463 0%, #06153D 100%);
  color: var(--text-light);
}

.page-slot-games__steps-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__step-item {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-slot-games__step-title {
  color: var(--secondary-color);
  font-size: 22px;
  margin-bottom: 10px;
}

.page-slot-games__step-description {
  font-size: 16px;
  color: var(--text-light);
}

/* Promotions Section */
.page-slot-games__promotions {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

.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 {
  text-align: center;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-slot-games__promo-title {
  color: var(--secondary-color);
  font-size: 20px;
}

.page-slot-games__promo-description {
  font-size: 16px;
  color: var(--text-light);
}

/* Responsible Gaming Section */
.page-slot-games__responsible-gaming {
  padding: 60px 0;
  background-color: #0F2D70; /* Slightly lighter dark background for contrast */
  color: var(--text-light);
}

.page-slot-games__responsible-list {
  list-style-type: disc;
  margin-left: 20px;
  color: var(--text-light);
  font-size: 18px;
  margin-top: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__responsible-list li {
  margin-bottom: 10px;
}

.page-slot-games__responsible-list strong {
  color: var(--secondary-color);
}

/* Conclusion Section */
.page-slot-games__conclusion {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #06153D 100%);
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 42px;
  }
  .page-slot-games__section-title {
    font-size: 32px;
  }
  .page-slot-games__text-block, .page-slot-games__hero-description {
    font-size: 17px;
  }
  .page-slot-games h3 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__hero-section {
    padding: 60px 15px 40px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

  .page-slot-games__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-slot-games__text-block, .page-slot-games__feature-description, .page-slot-games__game-type-description, .page-slot-games__step-description, .page-slot-games__promo-description, .page-slot-games__responsible-list li {
    font-size: 16px;
  }

  .page-slot-games h3 {
    font-size: 20px;
  }

  .page-slot-games__features-grid, .page-slot-games__game-type-grid, .page-slot-games__steps-list, .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-icon, .page-slot-games__game-type-image, .page-slot-games__promo-image, .page-slot-games__image-full-width, .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    border-radius: 6px;
  }

  .page-slot-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__card {
    padding: 20px;
    border-radius: 6px;
  }

  .page-slot-games__btn-small {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-slot-games__responsible-list {
    margin-left: 15px;
    padding-left: 0;
  }
}