/* style/slot-games.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-login: #EA7C07;
}

.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background-color: var(--secondary-color); /* Body background is white */
  padding-top: var(--header-offset, 120px);
}

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-slot-games__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-slot-games__section-title {
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: bold;
  color: inherit; /* Inherit color from parent section */
}

.page-slot-games__text-block {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

/* 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 20px;
}

.page-slot-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-slot-games__main-heading {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light); /* White text for dark background */
}

.page-slot-games__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.5;
  color: var(--text-light); /* White text for dark background */
}

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

.page-slot-games__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--button-login); /* Using login color for primary CTA */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__cta-button:hover {
  background: #e06c00; /* Slightly darker orange on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Image wrappers for content sections */
.page-slot-games__image-wrapper {
    margin: 40px auto;
    max-width: 1000px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Grid for game types */
.page-slot-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__grid-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__grid-item-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-light); /* White text for dark background */
}

/* Lists for benefits and tips */
.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
  text-align: left;
}

.page-slot-games__list-item {
  background: var(--secondary-color);
  border: 1px solid #e0e0e0;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-slot-games__list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__list-item p {
  font-size: 17px;
  color: var(--text-dark);
}

/* Numbered list for guide */
.page-slot-games__numbered-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
  text-align: left;
}

.page-slot-games__numbered-list-item {
  counter-increment: step-counter;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px 30px 20px 70px;
  margin-bottom: 30px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__numbered-list-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 25px;
  background: var(--button-login);
  color: var(--text-light);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.page-slot-games__numbered-list-item .page-slot-games__list-item-title {
  color: var(--text-light);
  margin-bottom: 10px;
}

.page-slot-games__numbered-list-item p {
  color: var(--text-light);
  font-size: 17px;
  margin-bottom: 15px;
}

.page-slot-games__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--button-login);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

.page-slot-games__btn-secondary:hover {
  background: #f0f8ff;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-heading {
    font-size: 40px;
  }
  .page-slot-games__hero-description {
    font-size: 20px;
  }
  .page-slot-games__section-title {
    font-size: 30px;
  }
  .page-slot-games__text-block {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-slot-games__container {
    padding: 15px;
  }
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__main-heading {
    font-size: 32px;
  }
  .page-slot-games__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
  }
  .page-slot-games__cta-button {
    padding: 15px 35px;
    font-size: 18px;
    max-width: 100% !important;
    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: 30px;
  }
  .page-slot-games__text-block {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-slot-games__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__grid-item {
    padding: 25px;
  }
  .page-slot-games__grid-item-title {
    font-size: 20px;
  }
  .page-slot-games__list-item {
    padding: 20px;
    margin-bottom: 15px;
  }
  .page-slot-games__list-item-title {
    font-size: 20px;
  }
  .page-slot-games__list-item p {
    font-size: 16px;
  }
  .page-slot-games__numbered-list-item {
    padding: 25px 25px 15px 60px;
    margin-bottom: 20px;
  }
  .page-slot-games__numbered-list-item::before {
    left: 15px;
    top: 20px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px;
  }
  .page-slot-games__image-wrapper img,
  .page-slot-games__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__image-wrapper,
  .page-slot-games__hero-container,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}