/* style/slot-games.css */

/* Base Styles & Typography */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* #FFF6D6 */
  background-color: var(--background-color); /* #0A0A0A */
}

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

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

.page-slot-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--glow-color); /* #FFD36B */
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-slot-games__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-main-color); /* #FFF6D6 */
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-slot-games__text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-main-color); /* #FFF6D6 */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games p {
  color: var(--text-main-color); /* #FFF6D6 */
}

.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-slot-games__list-item {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--text-main-color); /* #FFF6D6 */
}

.page-slot-games__list-item::before {
  content: '⚡'; /* Unicode lightning bolt */
  position: absolute;
  left: 0;
  color: var(--primary-color); /* #F2C14E */
}

/* Buttons */
.page-slot-games a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

.page-slot-games__btn-secondary {
  background: #111111;
  color: var(--primary-color); /* #F2C14E */
  border: 2px solid var(--primary-color); /* #F2C14E */
  margin-left: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary:hover {
  background: var(--primary-color); /* #F2C14E */
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.3);
  text-decoration: none;
  display: inline-block;
  margin-top: 15px;
}

.page-slot-games__btn-small:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(242, 193, 78, 0.5);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, not --header-offset */
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

/* Advantages Section */
.page-slot-games__advantages-section {
  background-color: var(--card-bg-color); /* #111111 */
}

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

.page-slot-games__card {
  background-color: var(--card-bg-color); /* #111111 */
  border: 1px solid var(--border-color); /* #3A2A12 */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-slot-games__card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color); /* #F2C14E */
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-slot-games__card-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main-color); /* #FFF6D6 */
}

/* Popular Games Section */
.page-slot-games__popular-games {
  background-color: var(--background-color); /* #0A0A0A */
}

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

.page-slot-games__game-card {
  background-color: var(--card-bg-color); /* #111111 */
  border: 1px solid var(--border-color); /* #3A2A12 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-slot-games__game-info {
  padding: 20px;
  text-align: left;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-slot-games__game-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--glow-color); /* #FFD36B */
  margin-bottom: 10px;
}

.page-slot-games__game-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main-color); /* #FFF6D6 */
  margin-bottom: 15px;
  flex-grow: 1;
}

/* How To Play Section */
.page-slot-games__how-to-play {
  background-color: var(--card-bg-color); /* #111111 */
}

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

.page-slot-games__step-item {
  background-color: var(--background-color); /* #0A0A0A */
  border: 1px solid var(--border-color); /* #3A2A12 */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-top: 60px;
}

.page-slot-games__step-number {
  position: absolute;
  top: 20px;
  left: 30px;
  width: 40px;
  height: 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.4);
}

.page-slot-games__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color); /* #F2C14E */
  margin-bottom: 10px;
}

.page-slot-games__step-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main-color); /* #FFF6D6 */
}

/* Promotions Section */
.page-slot-games__promotions {
  background-color: var(--background-color); /* #0A0A0A */
}

.page-slot-games__promo-card {
  background-color: var(--card-bg-color); /* #111111 */
  border: 1px solid var(--border-color); /* #3A2A12 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--glow-color); /* #FFD36B */
  padding: 20px 20px 10px 20px;
}

.page-slot-games__promo-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main-color); /* #FFF6D6 */
  padding: 0 20px 20px 20px;
}

.page-slot-games__center-cta {
  margin-top: 40px;
}

/* Tips & Strategies Section */
.page-slot-games__tips-strategies {
  background-color: var(--card-bg-color); /* #111111 */
}

/* App Download Section */
.page-slot-games__app-download {
  background-color: var(--background-color); /* #0A0A0A */
}

.page-slot-games__app-download .page-slot-games__container {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-slot-games__app-download .page-slot-games__content-block {
  flex: 1;
}

.page-slot-games__app-download .page-slot-games__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__app-download .page-slot-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: block;
}

/* Security & Support Section */
.page-slot-games__security-support {
  background-color: var(--card-bg-color); /* #111111 */
}

.page-slot-games__info-block {
  background-color: var(--background-color); /* #0A0A0A */
  border: 1px solid var(--border-color); /* #3A2A12 */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__info-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color); /* #F2C14E */
  margin-bottom: 10px;
}

.page-slot-games__info-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main-color); /* #FFF6D6 */
}

/* FAQ Section */
.page-slot-games__faq-section {
  background-color: var(--background-color); /* #0A0A0A */
}

.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-slot-games__faq-item {
  background-color: var(--card-bg-color); /* #111111 */
  border: 1px solid var(--border-color); /* #3A2A12 */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--glow-color); /* #FFD36B */
  cursor: pointer;
  background-color: #1a1a1a;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #2a2a2a;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom-color: var(--border-color); /* #3A2A12 */
}

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

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color); /* #F2C14E */
  margin-left: 15px;
}

.page-slot-games__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-item summary::marker {
  display: none;
}

.page-slot-games__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main-color); /* #FFF6D6 */
  background-color: var(--card-bg-color); /* #111111 */
}

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

/* Conclusion CTA Section */
.page-slot-games__conclusion-cta {
  background-color: var(--card-bg-color); /* #111111 */
  padding-bottom: 80px;
}

.page-slot-games__text-center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__section-title {
    font-size: clamp(24px, 5vw, 36px);
  }
  .page-slot-games__main-title {
    font-size: clamp(28px, 6vw, 48px);
  }
  .page-slot-games__text {
    font-size: 16px;
  }
  .page-slot-games__list-item {
    font-size: 16px;
  }
  .page-slot-games__app-download .page-slot-games__container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .page-slot-games__app-download .page-slot-games__content-block {
    order: 2;
  }
  .page-slot-games__app-download .page-slot-games__image-block {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-slot-games__section, .page-slot-games__card, .page-slot-games__container, .page-slot-games__promo-card, .page-slot-games__game-card, .page-slot-games__step-item, .page-slot-games__info-block, .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Image and Video responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__video-section {
    padding-top: 10px !important; /* body already has padding-top */
  }
  .page-slot-games__video-container, .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Button responsiveness */
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-slot-games__btn-secondary {
    margin-left: 0;
  }
  .page-slot-games__cta-button,
  .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__grid-3-columns, .page-slot-games__grid-2-columns, .page-slot-games__step-list {
    grid-template-columns: 1fr;
  }
  .page-slot-games__hero-content {
    padding: 0 15px;
  }
  .page-slot-games__promo-title, .page-slot-games__game-title, .page-slot-games__step-title, .page-slot-games__info-title {
    font-size: 20px;
  }
  .page-slot-games__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 10px 20px 15px 20px;
  }
  .page-slot-games__hero-image-wrapper {
    max-height: 400px;
  }
}

/* Custom Colors */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg-color: #111111;
  --background-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
}

/* Ensuring contrast for all text elements */
.page-slot-games__dark-bg {
  color: var(--text-main-color); /* #FFF6D6 */
}

.page-slot-games__card {
  color: var(--text-main-color); /* #FFF6D6 */
}

.page-slot-games__text-block, .page-slot-games p, .page-slot-games li {
  color: var(--text-main-color); /* #FFF6D6 */
}