/* style/slot-games.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-login: #EA7C07;
  --background-white: #FFFFFF;
  --black: #000000;
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  background-color: var(--background-white);
  line-height: 1.6;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-dark);
}

.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__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-slot-games__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--black);
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-dark);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-login);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__cta-button:hover {
  background: #E06C00;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__cta-button--large {
  padding: 18px 50px;
  font-size: 1.2em;
}

/* General Section Styles */
.page-slot-games__section {
  padding: 80px 0;
  border-bottom: 1px solid #eee;
}

.page-slot-games__introduction-section {
  background-color: var(--background-white);
}

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

.page-slot-games__dark-section .page-slot-games__section-title {
  color: var(--text-light);
}

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

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

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-slot-games__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

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

.page-slot-games__image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* List Styles */
.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__list-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-slot-games__dark-section .page-slot-games__list-item {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-light);
}

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

.page-slot-games__list-item h3 {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-slot-games__dark-section .page-slot-games__list-item h3 {
  color: var(--text-light);
}

.page-slot-games__list-item p {
  font-size: 1em;
  line-height: 1.7;
  flex-grow: 1;
}

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

.page-slot-games__numbered-list .page-slot-games__list-item {
  background: var(--background-white);
  color: var(--text-dark);
  margin-bottom: 25px;
  padding: 30px;
  text-align: left;
  position: relative;
  padding-left: 70px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

.page-slot-games__numbered-list .page-slot-games__list-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-slot-games__numbered-list .page-slot-games__list-item p {
  font-size: 1em;
}

/* Buttons */
.page-slot-games__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary:hover {
  background: #1e87b7;
}

.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

/* Promotions Section */
.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 {
  background: var(--background-white);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--text-dark);
}

.page-slot-games__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-title {
  font-size: 1.4em;
  margin: 20px 15px 10px 15px;
  color: var(--primary-color);
}

.page-slot-games__promo-description {
  font-size: 0.95em;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-slot-games__promo-card .page-slot-games__btn-secondary {
  margin: 0 20px 20px 20px;
  align-self: center;
  width: calc(100% - 40px);
}

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

.page-slot-games__feature-item {
  background: var(--background-white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--text-dark);
}

.page-slot-games__feature-item img {
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border-radius: 5px;
}

.page-slot-games__feature-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-slot-games__feature-description {
  font-size: 1em;
  line-height: 1.7;
  flex-grow: 1;
}

.page-slot-games__feature-item .page-slot-games__btn-secondary {
  margin-top: 20px;
  align-self: center;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding-bottom: 80px;
}

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #f0f0f0;
  color: var(--text-dark);
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #f0f0f0;
  border-radius: 0 0 8px 8px;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--background-white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.page-slot-games__faq-item.active .page-slot-games__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: var(--primary-color);
}

.page-slot-games__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-slot-games__faq-question:active {
  background: #eeeeee;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-slot-games__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 2.8em;
  }
  .page-slot-games__hero-description {
    font-size: 1.2em;
  }
  .page-slot-games__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-slot-games__hero-title {
    font-size: 2.2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__cta-button--large {
    padding: 15px 40px;
    font-size: 1.1em;
  }

  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-slot-games__text-block {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-slot-games__list,
  .page-slot-games__promo-grid,
  .page-slot-games__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-slot-games__promo-card img {
    
  }

  .page-slot-games__promo-title {
    font-size: 1.2em;
  }

  .page-slot-games__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-slot-games__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-slot-games__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 1.8em;
  }
  
  .page-slot-games__faq-answer {
    padding: 0 15px;
  }
  
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
  }

  .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__section,
  .page-slot-games__promo-grid,
  .page-slot-games__feature-grid,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-slot-games__numbered-list .page-slot-games__list-item {
    padding-left: 60px;
  }
  .page-slot-games__numbered-list .page-slot-games__list-item:before {
    left: 15px;
    top: 25px;
    width: 30px;
    height: 30px;
    font-size: 1.1em;
  }
}