.page-fortuneox {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Body Background */
}

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

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

.page-fortuneox__section-title {
  font-size: 2.8em;
  color: #FFD36B; /* Auxiliary color, or Glow */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-fortuneox__section-description {
  font-size: 1.1em;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-fortuneox__dark-section {
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

/* Hero Section */
.page-fortuneox__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0A0A0A; /* Ensure background consistency */
}

.page-fortuneox__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* For flex item inside max-width container */
}

.page-fortuneox__hero-image {
  width: 100%;
  margin-bottom: 30px;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.4); /* Glow */
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #3A2A12; /* Border */
}

.page-fortuneox__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-fortuneox__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.6); /* Subtle glow */
}

.page-fortuneox__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  max-width: 900px;
  margin: 0 auto 30px;
}

.page-fortuneox__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #0A0A0A; /* Dark text for light button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.5);
  border: none;
  cursor: pointer;
}

.page-fortuneox__cta-button:hover {
  background: linear-gradient(180deg, #FFE07A 0%, #E6B02A 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.7);
}

.page-fortuneox__cta-button--large {
  padding: 18px 50px;
  font-size: 1.4em;
}

.page-fortuneox__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background: #111111; /* Card BG */
  color: #F2C14E; /* Primary color */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 2px solid #F2C14E; /* Primary color border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.page-fortuneox__btn-secondary:hover {
  background: #0A0A0A;
  color: #FFD36B;
  border-color: #FFD36B;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.page-fortuneox__btn-secondary--large {
  padding: 18px 50px;
  font-size: 1.4em;
}

.page-fortuneox__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-fortuneox__centered-button-group {
  margin-top: 50px;
}

.page-fortuneox__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-fortuneox__text-block {
  flex: 1;
  font-size: 1.1em;
  color: #FFF6D6;
}

.page-fortuneox__text-block p {
  margin-bottom: 1em;
}

.page-fortuneox__text-block a {
  color: #FFD36B; /* Links in text */
  text-decoration: underline;
}

.page-fortuneox__image-block {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.3);
  border: 2px solid #3A2A12; /* Border */
}

.page-fortuneox__image-block img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
}

.page-fortuneox__centered-image {
  margin: 40px auto;
  max-width: 800px;
  width: 100%;
}


.page-fortuneox__list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-fortuneox__list-item {
  background-color: #111111; /* Card BG */
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12; /* Border */
}

.page-fortuneox__list-title {
  font-size: 1.5em;
  color: #F2C14E; /* Primary color */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fortuneox__list-item p {
  font-size: 1.05em;
  color: #FFF6D6;
}

.page-fortuneox__list-item a {
  color: #FFD36B;
  text-decoration: underline;
}

/* Features Grid */
.page-fortuneox__features-grid,
.page-fortuneox__why-play-grid,
.page-fortuneox__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fortuneox__card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-fortuneox__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.3); /* Glow on hover */
}

.page-fortuneox__card-title {
  font-size: 1.6em;
  color: #F2C14E; /* Primary color */
  margin-top: 0;
  margin-bottom: 15px;
}

.page-fortuneox__card-text {
  font-size: 1em;
  color: #FFF6D6;
}

.page-fortuneox__game-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.page-fortuneox__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for game cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
  box-shadow: 0 0 10px rgba(255, 211, 107, 0.2);
}

/* FAQ Section */
.page-fortuneox__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

details.page-fortuneox__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

details.page-fortuneox__faq-item summary.page-fortuneox__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2C14E; /* Primary color for question */
  font-size: 1.3em;
  font-weight: 600;
}
details.page-fortuneox__faq-item summary.page-fortuneox__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fortuneox__faq-item summary.page-fortuneox__faq-question:hover {
  background: rgba(242, 193, 78, 0.1); /* Light hover effect */
}
.page-fortuneox__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}
.page-fortuneox__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Glow color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}
details.page-fortuneox__faq-item[open] .page-fortuneox__faq-toggle {
  transform: rotate(45deg);
}

details.page-fortuneox__faq-item .page-fortuneox__faq-answer {
  padding: 0 25px 25px;
  background: #0A0A0A; /* Background color for answer */
  border-radius: 0 0 10px 10px;
  color: #FFF6D6;
  font-size: 1.05em;
}

.page-fortuneox__faq-answer p {
  margin-top: 0;
  margin-bottom: 1em;
}

.page-fortuneox__faq-answer a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-fortuneox__centered-content {
  max-width: 900px;
  margin: 0 auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-fortuneox__section-title {
    font-size: 2.2em;
  }
  .page-fortuneox__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-fortuneox__hero-description {
    font-size: 1.1em;
  }
  .page-fortuneox__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-fortuneox__image-block {
    max-width: 100%;
  }
  .page-fortuneox__image-block img {
    height: auto;
  }
  .page-fortuneox__game-card img {
    
  }
}

@media (max-width: 768px) {
  .page-fortuneox__container {
    padding: 0 15px;
  }
  .page-fortuneox__section {
    padding: 40px 0;
  }
  .page-fortuneox__section-title {
    font-size: 1.8em;
  }
  .page-fortuneox__section-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-fortuneox__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-fortuneox__hero-description {
    font-size: 1em;
  }
  .page-fortuneox__cta-button,
  .page-fortuneox__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fortuneox__cta-button--large,
  .page-fortuneox__btn-secondary--large {
    padding: 15px 30px;
    font-size: 1.2em;
  }
  .page-fortuneox__button-group {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-fortuneox__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
  }
  .page-fortuneox__hero-image {
    margin-bottom: 20px;
  }

  .page-fortuneox__text-block {
    font-size: 0.95em;
  }
  .page-fortuneox__list-item {
    padding: 18px;
  }
  .page-fortuneox__list-title {
    font-size: 1.3em;
  }
  .page-fortuneox__list-item p {
    font-size: 0.95em;
  }

  .page-fortuneox__features-grid,
  .page-fortuneox__why-play-grid,
  .page-fortuneox__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fortuneox__card {
    padding: 20px;
  }
  .page-fortuneox__card-title {
    font-size: 1.4em;
  }
  .page-fortuneox__game-card img {
    height: auto; /* Allow auto height for mobile */
    min-width: 200px;
    min- /* Adjusted min-height for mobile */
  }

  details.page-fortuneox__faq-item summary.page-fortuneox__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-fortuneox__faq-qtext {
    font-size: 1em;
  }
  details.page-fortuneox__faq-item .page-fortuneox__faq-answer {
    padding: 0 20px 20px;
    font-size: 0.95em;
  }
  
  /* Images responsive styles for mobile */
  .page-fortuneox img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure min width is respected */
    min- /* Ensure min height is respected */
  }
  .page-fortuneox__section,
  .page-fortuneox__card,
  .page-fortuneox__container,
  .page-fortuneox__content-wrapper,
  .page-fortuneox__image-block,
  .page-fortuneox__text-block,
  .page-fortuneox__list-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fortuneox__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-fortuneox__hero-container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fortuneox__image-block img {
    min-width: 200px;
  }
}

@media (max-width: 480px) {
  .page-fortuneox__section-title {
    font-size: 1.5em;
  }
  .page-fortuneox__main-title {
    font-size: clamp(1.6em, 7vw, 2em);
  }
  .page-fortuneox__cta-button,
  .page-fortuneox__btn-secondary {
    font-size: 0.9em;
  }
  .page-fortuneox__list-title {
    font-size: 1.1em;
  }
  .page-fortuneox__card-title {
    font-size: 1.2em;
  }
  details.page-fortuneox__faq-item summary.page-fortuneox__faq-question {
    font-size: 1em;
  }
}