.page-fortuneox {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

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

.page-fortuneox__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
  text-align: center;
}

.page-fortuneox__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
  text-align: left;
}

.page-fortuneox__image-content {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  border: 2px solid #2E7A4E; /* Border */
}

/* 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: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%); /* Deep Green to Background */
  overflow: hidden;
}

.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 in column */
}

.page-fortuneox__hero-image {
  width: 100%;
  margin-bottom: 30px;
  order: 1; /* Image first */
}

.page-fortuneox__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 3px solid #57E38D; /* Glow */
}

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

.page-fortuneox__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.page-fortuneox__hero-description {
  font-size: clamp(16px, 2vw, 22px);
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-fortuneox__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fortuneox__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fortuneox__cta-button--small {
    padding: 12px 30px;
    font-size: 18px;
    margin-top: 30px;
}

/* General Buttons */
.page-fortuneox__btn-primary,
.page-fortuneox__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 10px;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fortuneox__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fortuneox__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-fortuneox__btn-secondary {
  background: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fortuneox__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* Border with transparency */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-fortuneox__button-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  gap: 20px;
}

/* Lists */
.page-fortuneox__unordered-list,
.page-fortuneox__ordered-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-fortuneox__list-item {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  color: #F2FFF6; /* Text Main */
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fortuneox__list-item strong {
  color: #57E38D; /* Glow */
  margin-right: 10px;
  flex-shrink: 0;
}

.page-fortuneox__ordered-list .page-fortuneox__list-item {
  counter-increment: list-counter;
}

.page-fortuneox__ordered-list .page-fortuneox__list-item::before {
  content: counter(list-counter) ". ";
  font-weight: bold;
  color: #57E38D; /* Glow */
  margin-right: 10px;
  font-size: 1.2em;
}

/* Promo Cards Grid */
.page-fortuneox__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-fortuneox__promo-card {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.page-fortuneox__promo-title {
  font-size: 24px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-fortuneox__promo-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

/* FAQ Section */
.page-fortuneox__faq-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
}

.page-fortuneox__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

details.page-fortuneox__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* Card BG */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

details.page-fortuneox__faq-item summary.page-fortuneox__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2FFF6; /* Text Main */
  font-size: 18px;
  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(46, 122, 78, 0.2); /* Border with transparency */
}

.page-fortuneox__faq-qtext {
  flex: 1;
  line-height: 1.5;
}

.page-fortuneox__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #57E38D; /* Glow */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-fortuneox__faq-item .page-fortuneox__faq-answer {
  padding: 0 25px 25px;
  background: #0A4B2C; /* Deep Green */
  border-radius: 0 0 12px 12px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 16px;
  line-height: 1.7;
}

.page-fortuneox__faq-answer p {
    margin: 0;
}

/* Related Games Grid */
.page-fortuneox__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fortuneox__game-card {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.page-fortuneox__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-fortuneox__game-title {
  font-size: 20px;
  color: #F2FFF6; /* Text Main */
  margin: 20px 15px 10px;
}

.page-fortuneox__game-title a {
    color: inherit;
    text-decoration: none;
}

.page-fortuneox__game-title a:hover {
    color: #57E38D; /* Glow */
}

.page-fortuneox__game-description {
  font-size: 15px;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fortuneox__game-card .page-fortuneox__btn-primary {
  margin: 15px;
  width: calc(100% - 30px);
  padding: 12px 20px;
  font-size: 16px;
}

.page-fortuneox__blog-callout {
  background: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 40px;
  margin-top: 60px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fortuneox__blog-title {
  font-size: 28px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-fortuneox__blog-description {
  font-size: 17px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-fortuneox__blog-callout .page-fortuneox__btn-primary {
  padding: 15px 40px;
  font-size: 18px;
}

/* Global Image Styles */
.page-fortuneox img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fortuneox__container {
    padding: 30px 15px;
  }
  .page-fortuneox__section {
    padding: 40px 0;
  }
  .page-fortuneox__section-title {
    margin-bottom: 30px;
  }
  .page-fortuneox__hero-image img {
    border-radius: 8px;
  }
  .page-fortuneox__cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-fortuneox__promo-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-fortuneox__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fortuneox__hero-image img {
    border-radius: 8px;
  }
  .page-fortuneox__main-title {
    font-size: clamp(28px, 6vw, 40px);
  }
  .page-fortuneox__hero-description {
    font-size: clamp(15px, 3vw, 18px);
  }
  .page-fortuneox__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 15px 30px;
    font-size: 16px;
  }

  .page-fortuneox__btn-primary,
  .page-fortuneox__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fortuneox__button-group {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fortuneox img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fortuneox__image-content {
    border-radius: 8px;
  }

  .page-fortuneox__list-item {
    padding: 15px;
    font-size: 15px;
  }

  .page-fortuneox__faq-section {
    padding: 50px 0;
  }

  details.page-fortuneox__faq-item summary.page-fortuneox__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-fortuneox__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
  }

  details.page-fortuneox__faq-item .page-fortuneox__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }

  .page-fortuneox__promo-card {
    padding: 25px;
  }
  .page-fortuneox__promo-title {
    font-size: 20px;
  }
  .page-fortuneox__promo-description {
    font-size: 14px;
  }

  .page-fortuneox__game-card img {
    
  }
  .page-fortuneox__game-title {
    font-size: 18px;
  }
  .page-fortuneox__game-description {
    font-size: 14px;
  }
  .page-fortuneox__blog-callout {
    padding: 30px;
  }
  .page-fortuneox__blog-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .page-fortuneox__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-fortuneox__hero-description {
    font-size: clamp(14px, 3.5vw, 17px);
  }
  .page-fortuneox__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-fortuneox__game-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-fortuneox__game-card img {
    height: 220px;
  }
  .page-fortuneox__blog-title {
    font-size: 20px;
  }
  .page-fortuneox__blog-description {
    font-size: 15px;
  }
}