/* style/jili-slot-community-player-stories.css */
.page-jili-slot-community-player-stories {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: var(--secondary-color, #FFFFFF); /* Ensures light background */
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

.page-jili-slot-community-player-stories__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-jili-slot-community-player-stories__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-jili-slot-community-player-stories__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-jili-slot-community-player-stories__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-jili-slot-community-player-stories__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-jili-slot-community-player-stories__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the area without distortion */
  opacity: 0.3; /* Subtle overlay */
}

.page-jili-slot-community-player-stories__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  cursor: pointer;
}

.page-jili-slot-community-player-stories__cta-button--register {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color */
  border: 2px solid #FCBC45;
}

.page-jili-slot-community-player-stories__cta-button--register:hover {
  background-color: #FFD700; /* Lighter gold */
  transform: translateY(-2px);
}

.page-jili-slot-community-player-stories__cta-button--register-alt,
.page-jili-slot-community-player-stories__cta-button--play-now,
.page-jili-slot-community-player-stories__cta-button--join-today,
.page-jili-slot-community-player-stories__cta-button--support {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Auxiliary color */
  border: 2px solid #FCBC45;
}

.page-jili-slot-community-player-stories__cta-button--register-alt:hover,
.page-jili-slot-community-player-stories__cta-button--play-now:hover,
.page-jili-slot-community-player-stories__cta-button--join-today:hover,
.page-jili-slot-community-player-stories__cta-button--support:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-jili-slot-community-player-stories__cta-button--community,
.page-jili-slot-community-player-stories__cta-button--faq {
  background-color: #FFFFFF; /* Auxiliary color */
  color: #000000; /* Main color */
  border: 2px solid #000000;
}

.page-jili-slot-community-player-stories__cta-button--community:hover,
.page-jili-slot-community-player-stories__cta-button--faq:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

.page-jili-slot-community-player-stories__section {
  padding: 60px 20px;
}

.page-jili-slot-community-player-stories__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-jili-slot-community-player-stories__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

.page-jili-slot-community-player-stories__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-jili-slot-community-player-stories__keyword {
  font-weight: bold;
  color: #FCBC45;
}

.page-jili-slot-community-player-stories__story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-jili-slot-community-player-stories__story-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-jili-slot-community-player-stories__story-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.page-jili-slot-community-player-stories__story-image {
  width: 100%;
  height: 300px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-jili-slot-community-player-stories__story-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-jili-slot-community-player-stories__story-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-jili-slot-community-player-stories__story-excerpt {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-jili-slot-community-player-stories__read-more-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  align-self: flex-start;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-jili-slot-community-player-stories__read-more-button:hover {
  background-color: #FFD700;
  transform: translateY(-2px);
}

.page-jili-slot-community-player-stories__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-jili-slot-community-player-stories__tip-item {
  background-color: #F8F8F8;
  border-left: 5px solid #FCBC45;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-jili-slot-community-player-stories__tip-heading {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-jili-slot-community-player-stories__tip-text {
  font-size: 1em;
  color: #444444;
}

.page-jili-slot-community-player-stories__community-image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-jili-slot-community-player-stories__community-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-jili-slot-community-player-stories__cta-area {
  text-align: center;
  margin-top: 40px;
}

.page-jili-slot-community-player-stories__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-jili-slot-community-player-stories__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
}

.page-jili-slot-community-player-stories__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-jili-slot-community-player-stories__final-cta {
  background-color: #F8F8F8;
  padding-bottom: 80px;
}

.page-jili-slot-community-player-stories__cta-image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-jili-slot-community-player-stories__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-jili-slot-community-player-stories__hero-title {
    font-size: 2.8em;
  }

  .page-jili-slot-community-player-stories__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-jili-slot-community-player-stories {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }

  .page-jili-slot-community-player-stories__hero-title {
    font-size: 2.2em;
  }

  .page-jili-slot-community-player-stories__hero-description {
    font-size: 1em;
  }

  .page-jili-slot-community-player-stories__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-jili-slot-community-player-stories__section-title {
    font-size: 1.8em;
  }

  .page-jili-slot-community-player-stories__story-grid {
    grid-template-columns: 1fr;
  }

  .page-jili-slot-community-player-stories__story-image,
  .page-jili-slot-community-player-stories__community-image,
  .page-jili-slot-community-player-stories__cta-image {
    max-width: 100%;
    height: auto; /* Ensures images are responsive and don't overflow */
  }

  .page-jili-slot-community-player-stories__story-title {
    font-size: 1.4em;
  }

  .page-jili-slot-community-player-stories__tip-heading {
    font-size: 1.2em;
  }

  .page-jili-slot-community-player-stories__faq-question {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-jili-slot-community-player-stories__hero-section,
  .page-jili-slot-community-player-stories__section {
    padding: 40px 15px;
  }

  .page-jili-slot-community-player-stories__cta-button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
}