/* style/slot-games.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --dark-background: #121212;
  --light-text: #ffffff;
  --dark-text: #333333;
  --medium-gray: #f0f0f0;
  --light-gray-border: #e0e0e0;
}

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

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

.page-slot-games__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-slot-games__section-description {
  font-size: 18px;
  color: var(--light-text);
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 15px;
  margin-bottom: 10px;
}

/* Video Section */
.page-slot-games__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust for fixed header */
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(255, 215, 0, 0.2));
}

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

.page-slot-games__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__video-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.page-slot-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 3px solid var(--primary-color);
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  object-fit: cover;
  pointer-events: none;
}

.page-slot-games__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-slot-games__video-link:hover .page-slot-games__video-overlay {
  opacity: 1;
}

.page-slot-games__video-click-hint {
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
  padding: 15px 30px;
  background: var(--secondary-color);
  border-radius: 8px;
  white-space: nowrap;
  border: 2px solid var(--primary-color);
}

.page-slot-games__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.page-slot-games__play-now-button {
  display: inline-block;
  padding: 18px 50px;
  background: var(--primary-color);
  color: var(--dark-background);
  text-decoration: none;
  border-radius: 10px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.page-slot-games__play-now-button:hover {
  background: var(--light-text);
  color: var(--secondary-color);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Title Section */
.page-slot-games__title-section {
  padding: 80px 20px 60px;
  text-align: center;
  background: var(--dark-background);
}

.page-slot-games__main-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.page-slot-games__title-description {
  font-size: 20px;
  color: var(--light-text);
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 16px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__cta-button--primary {
  background: var(--primary-color);
  color: var(--dark-background);
  border-color: var(--primary-color);
}

.page-slot-games__cta-button--primary:hover {
  background: var(--light-text);
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-slot-games__cta-button--secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-slot-games__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--dark-background);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

/* About Slot Section */
.page-slot-games__about-slot {
  padding: 80px 0;
  background: var(--dark-background);
}

.page-slot-games__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-slot-games__image-wrapper {
  flex: 1;
  min-width: 40%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__text-content {
  flex: 1;
  font-size: 18px;
  color: var(--light-text);
}

.page-slot-games__text-content p {
  margin-bottom: 20px;
}

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark-background) 0%, #2a0000 100%);
}

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

.page-slot-games__feature-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-slot-games__feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--primary-color);
}

.page-slot-games__feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-slot-games__feature-card p {
  color: var(--medium-gray);
  font-size: 16px;
}

/* Popular Games Section */
.page-slot-games__popular-games {
  padding: 80px 0;
  background: var(--dark-background);
}

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

.page-slot-games__game-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-slot-games__game-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border-color: var(--primary-color);
}

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

.page-slot-games__game-card .page-slot-games__card-title {
  font-size: 22px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-slot-games__game-card p {
  color: var(--medium-gray);
  font-size: 15px;
  padding: 0 20px 15px;
}

.page-slot-games__game-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--light-text);
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.page-slot-games__game-button:hover {
  background: var(--primary-color);
  color: var(--dark-background);
  transform: translateY(-2px);
}

/* Tips Section */
.page-slot-games__tips-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2a0000 0%, var(--dark-background) 100%);
}

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

.page-slot-games__tip-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(139, 0, 0, 0.2);
}

.page-slot-games__tip-card:hover {
  transform: translateY(-8px) scale(1.03);
  background: rgba(139, 0, 0, 0.15);
  border-color: var(--secondary-color);
}

.page-slot-games__tip-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-slot-games__tip-card p {
  color: var(--medium-gray);
  font-size: 16px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background: var(--dark-background);
}

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-slot-games__faq-question:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--primary-color);
}

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

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  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(--light-text);
  transform: rotate(180deg);
}

.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, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--medium-gray);
  font-size: 16px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

/* Brand Section */
.page-slot-games__brand-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), var(--dark-background));
}

.page-slot-games__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__brand-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-slot-games__brand-item:hover {
  transform: translateY(-8px) scale(1.03);
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--primary-color);
}

.page-slot-games__brand-item .page-slot-games__card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-slot-games__brand-item p {
  color: var(--medium-gray);
  font-size: 16px;
}

/* Blog Section */
.page-slot-games__blog-section {
  padding: 80px 0;
  background: var(--dark-background);
}

.page-slot-games__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__blog-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-slot-games__blog-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border-color: var(--primary-color);
}

.page-slot-games__blog-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

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

.page-slot-games__blog-item-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  padding: 20px 20px 10px;
  line-height: 1.4;
}

.page-slot-games__blog-item-excerpt {
  font-size: 15px;
  color: var(--medium-gray);
  padding: 0 20px 15px;
}

.page-slot-games__blog-item-date {
  display: block;
  font-size: 13px;
  color: #aaa;
  padding: 0 20px 20px;
  text-align: right;
}

/* Join Us Section */
.page-slot-games__join-us {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-background) 100%);
  text-align: center;
}

.page-slot-games__join-us-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__join-us .page-slot-games__section-title {
  color: var(--light-text);
  margin-bottom: 30px;
}

.page-slot-games__join-us p {
  font-size: 18px;
  color: var(--medium-gray);
  margin-bottom: 40px;
}

/* 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__play-now-button {
    font-size: 20px;
    padding: 16px 45px;
  }
  .page-slot-games__cta-button {
    padding: 14px 35px;
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    padding-top: 10px !important; /* Mobile: Adjust for fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__container {
    padding: 0 15px;
  }

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

  .page-slot-games__video-container,
  .page-slot-games__video-link,
  .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;
  }
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }
  .page-slot-games__video-click-hint {
    font-size: 18px;
    padding: 10px 20px;
  }
  .page-slot-games__video-cta {
    margin-top: 30px;
    padding: 0 15px;
  }
  .page-slot-games__play-now-button {
    font-size: 18px;
    padding: 14px 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__title-section {
    padding: 60px 15px 40px;
  }

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

  .page-slot-games__title-description {
    font-size: 17px;
    margin-bottom: 30px;
  }

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

  .page-slot-games__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 25px !important;
    font-size: 16px !important;
  }

  .page-slot-games__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-slot-games__section-description {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .page-slot-games__about-slot .page-slot-games__content-wrapper {
    flex-direction: column;
  }

  .page-slot-games__image-wrapper {
    min-width: 100%;
    margin-bottom: 30px;
  }
  .page-slot-games__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__feature-icon,
  .page-slot-games__tip-icon {
    width: 80px;
    height: 80px;
  }

  .page-slot-games__card-title {
    font-size: 20px;
  }

  .page-slot-games__game-image {
    height: 180px;
  }

  .page-slot-games__faq-question {
    padding: 15px 20px;
  }

  .page-slot-games__faq-question h3 {
    font-size: 16px;
  }

  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }

  .page-slot-games__faq-answer {
    padding: 0 20px;
  }

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px 20px !important;
  }

  .page-slot-games__blog-image {
    height: 180px;
  }

  .page-slot-games__blog-item-title {
    font-size: 18px;
  }

  .page-slot-games__blog-item-excerpt {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 28px;
  }
  .page-slot-games__section-title {
    font-size: 24px;
  }
  .page-slot-games__play-now-button {
    font-size: 16px;
    padding: 12px 25px;
  }
  .page-slot-games__cta-button {
    font-size: 15px;
  }
  .page-slot-games__video-click-hint {
    font-size: 16px;
    padding: 8px 16px;
  }
  .page-slot-games__game-image {
    height: 160px;
  }
}