/* style/slot-games.css */

/* Variables from custom palette */
:root {
  --page-slot-games-primary-color: #11A84E;
  --page-slot-games-secondary-color: #22C768;
  --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-slot-games-card-bg: #11271B;
  --page-slot-games-background: #08160F;
  --page-slot-games-text-main: #F2FFF6;
  --page-slot-games-text-secondary: #A7D9B8;
  --page-slot-games-border-color: #2E7A4E;
  --page-slot-games-glow-color: #57E38D;
  --page-slot-games-gold-color: #F2C14E;
  --page-slot-games-divider-color: #1E3A2A;
  --page-slot-games-deep-green: #0A4B2C;
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--page-slot-games-text-main);
  background-color: var(--page-slot-games-background);
}

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

.page-slot-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--page-slot-games-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-slot-games__text-block {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__text-block strong {
  color: var(--page-slot-games-text-main);
}

.page-slot-games__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__btn-secondary:hover {
  background: var(--page-slot-games-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__dark-bg {
  background-color: var(--page-slot-games-card-bg);
  color: var(--page-slot-games-text-main);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: var(--page-slot-games-background); /* Ensure background for contrast */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: 40px; /* Space between image and text */
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--page-slot-games-gold-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-slot-games__hero-description {
  font-size: 20px;
  color: var(--page-slot-games-text-secondary);
  line-height: 1.6;
  margin-bottom: 30px;
}

/* General Section Padding */
.page-slot-games__intro-section,
.page-slot-games__game-types-section,
.page-slot-games__providers-section,
.page-slot-games__guide-section,
.page-slot-games__strategy-section,
.page-slot-games__promotions-section,
.page-slot-games__mobile-app-section,
.page-slot-games__security-section,
.page-slot-games__faq-section,
.page-slot-games__conclusion-section {
  padding: 80px 0;
}

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

.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
}

.page-slot-games__card-title {
  font-size: 24px;
  color: var(--page-slot-games-text-main);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-slot-games__card-description {
  font-size: 16px;
  color: var(--page-slot-games-text-secondary);
  line-height: 1.6;
}

/* Provider List */
.page-slot-games__provider-list,
.page-slot-games__guide-list,
.page-slot-games__security-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-slot-games__provider-item,
.page-slot-games__security-item {
  background-color: var(--page-slot-games-card-bg);
  padding: 20px;
  border-radius: 10px;
  border-left: 5px solid var(--page-slot-games-primary-color);
  font-size: 18px;
  color: var(--page-slot-games-text-secondary);
  line-height: 1.6;
}

.page-slot-games__provider-item strong,
.page-slot-games__security-item strong {
  color: var(--page-slot-games-text-main);
}

/* Guide List */
.page-slot-games__guide-item {
  background-color: var(--page-slot-games-card-bg);
  padding: 25px;
  border-radius: 12px;
  border-bottom: 1px solid var(--page-slot-games-divider-color);
}

.page-slot-games__guide-item:last-child {
  border-bottom: none;
}

.page-slot-games__guide-subtitle {
  font-size: 22px;
  color: var(--page-slot-games-text-main);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-slot-games__guide-item p {
  font-size: 16px;
  color: var(--page-slot-games-text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
}

.page-slot-games__sub-list {
  list-style: disc;
  margin-left: 25px;
  margin-top: 10px;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__sub-list li {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 5px;
}

.page-slot-games__sub-list strong {
  color: var(--page-slot-games-text-main);
}

/* Mobile App Section */
.page-slot-games__app-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-slot-games__app-text {
  flex: 1;
}

.page-slot-games__app-image-wrapper {
  flex: 1;
  text-align: center;
}

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

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 19px;
  font-weight: 600;
  color: var(--page-slot-games-text-main);
  cursor: pointer;
  background-color: var(--page-slot-games-card-bg);
  border-bottom: 1px solid transparent; /* default */
  transition: border-bottom-color 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom-color: var(--page-slot-games-divider-color);
}

.page-slot-games__faq-question:hover {
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__faq-qtext {
  flex: 1;
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-slot-games-primary-color);
  transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: var(--page-slot-games-text-secondary);
  line-height: 1.6;
}

.page-slot-games__faq-answer p {
  margin-bottom: 0;
}

/* Links within content */
.page-slot-games a {
  color: var(--page-slot-games-primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games a:hover {
  color: var(--page-slot-games-secondary-color);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games__hero-section {
    min-height: 500px;
    padding: 60px 0;
  }

  .page-slot-games__main-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }

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

  .page-slot-games__app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-slot-games__app-image-wrapper {
    margin-top: 40px;
  }

  .page-slot-games__game-types-grid,
  .page-slot-games__strategy-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-slot-games__intro-section,
  .page-slot-games__game-types-section,
  .page-slot-games__providers-section,
  .page-slot-games__guide-section,
  .page-slot-games__strategy-section,
  .page-slot-games__promotions-section,
  .page-slot-games__mobile-app-section,
  .page-slot-games__security-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    padding: 60px 0;
  }
}

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

  .page-slot-games__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 30px;
  }

  .page-slot-games__text-block {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__hero-section {
    padding: 40px 0;
    min-height: 400px;
  }

  .page-slot-games__main-title {
    font-size: clamp(28px, 7vw, 48px);
    margin-bottom: 15px;
  }

  .page-slot-games__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .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: 0;
    padding-right: 0;
    flex-direction: column;
    gap: 15px;
  }

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

  .page-slot-games__card-image,
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper,
  .page-slot-games__app-content,
  .page-slot-games__app-text,
  .page-slot-games__app-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__intro-section,
  .page-slot-games__game-types-section,
  .page-slot-games__providers-section,
  .page-slot-games__guide-section,
  .page-slot-games__strategy-section,
  .page-slot-games__promotions-section,
  .page-slot-games__mobile-app-section,
  .page-slot-games__security-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    padding: 40px 0;
  }

  .page-slot-games__video-section {
    padding-top: 10px !important;
  }
}