.page-fortuneox {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg: #111111;
  --background-color: #0A0A0A;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  color: var(--text-main);
  background-color: var(--background-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

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

.page-fortuneox__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--primary-color);
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-fortuneox__sub-title {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--secondary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-fortuneox p {
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-main);
}

.page-fortuneox strong {
  color: var(--secondary-color);
}

/* 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, #1A1A1A 0%, #0A0A0A 100%);
}

.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%; /* Ensure it takes full width within max-width */
}

.page-fortuneox__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-fortuneox__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-color);
}

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

.page-fortuneox__hero-content h1 {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 0 15px var(--glow-color);
}

.page-fortuneox__hero-content p {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-main);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-fortuneox__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  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 4px 15px rgba(0, 0, 0, 0.4), 0 0 10px var(--glow-color);
  border: 2px solid var(--glow-color);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fortuneox__cta-button:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 25px var(--glow-color);
}

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

/* General Content Sections */
.page-fortuneox__intro-section p,
.page-fortuneox__how-to-play p,
.page-fortuneox__why-55000bet p,
.page-fortuneox__promotions-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  font-size: 18px;
}

.page-fortuneox__dark-bg {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-fortuneox__image-wrapper {
  margin: 40px auto;
  max-width: 1000px;
  width: 100%;
  box-sizing: border-box;
}

.page-fortuneox__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

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

.page-fortuneox__list li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 18px;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fortuneox__list li::before {
  content: '✔';
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 15px;
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

/* Promotions Grid */
.page-fortuneox__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.page-fortuneox__card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fortuneox__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-fortuneox__card-title {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fortuneox__card p {
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 0;
}

/* FAQ Section */
details.page-fortuneox__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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: var(--text-main);
}

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(255, 255, 255, 0.08);
}

.page-fortuneox__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--secondary-color);
}

.page-fortuneox__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-fortuneox__faq-item .page-fortuneox__faq-answer {
  padding: 0 25px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 10px 10px;
  text-align: left;
  color: var(--text-main);
  font-size: 16px;
}

/* Final CTA Section */
.page-fortuneox__cta-final-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #0A0A0A 0%, #1A1A1A 100%);
}

.page-fortuneox__cta-final-section .page-fortuneox__section-title {
  color: var(--text-main);
  text-shadow: 0 0 10px var(--primary-color);
}

.page-fortuneox__cta-final-section p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fortuneox__hero-image img {
    border-radius: 8px;
  }
  .page-fortuneox__hero-content h1 {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-fortuneox__hero-content p {
    font-size: clamp(16px, 2vw, 20px);
  }
  .page-fortuneox__cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-fortuneox__section {
    padding: 40px 0;
  }
  .page-fortuneox__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }
  .page-fortuneox__sub-title {
    font-size: clamp(20px, 2.5vw, 28px);
  }
  .page-fortuneox p {
    font-size: 16px;
  }
  .page-fortuneox__list li {
    font-size: 16px;
    padding: 18px;
  }
  .page-fortuneox__card-title {
    font-size: 22px;
  }
  .page-fortuneox__card p {
    font-size: 15px;
  }
  .page-fortuneox__faq-qtext {
    font-size: 17px;
  }
  .page-fortuneox__faq-answer p {
    font-size: 15px;
  }
  .page-fortuneox__cta-final-section p {
    font-size: 18px;
  }
}

@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__hero-content h1 {
    font-size: clamp(26px, 6vw, 40px);
  }
  .page-fortuneox__hero-content p {
    font-size: clamp(15px, 2.5vw, 18px);
  }
  .page-fortuneox__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    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--small {
    padding: 10px 25px;
    font-size: 16px;
  }
  .page-fortuneox__section {
    padding: 30px 0;
  }
  .page-fortuneox__section-title {
    font-size: clamp(24px, 5vw, 32px);
  }
  .page-fortuneox__sub-title {
    font-size: clamp(18px, 4vw, 24px);
  }
  .page-fortuneox p {
    font-size: 15px;
    text-align: left;
  }
  .page-fortuneox__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fortuneox__image-wrapper {
    margin: 25px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-fortuneox__image-wrapper img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fortuneox__list li {
    font-size: 15px;
    padding: 15px;
  }
  .page-fortuneox__list li::before {
    font-size: 20px;
    margin-right: 10px;
  }
  .page-fortuneox__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-fortuneox__card {
    padding: 20px;
  }
  .page-fortuneox__card-title {
    font-size: 20px;
  }
  .page-fortuneox__card p {
    font-size: 14px;
  }
  details.page-fortuneox__faq-item {
    border-radius: 8px;
    margin-left: 15px;
    margin-right: 15px;
  }
  details.page-fortuneox__faq-item summary.page-fortuneox__faq-question {
    padding: 15px;
  }
  .page-fortuneox__faq-qtext {
    font-size: 16px;
  }
  .page-fortuneox__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-fortuneox__faq-item .page-fortuneox__faq-answer {
    padding: 0 15px 15px;
  }
  .page-fortuneox__cta-final-section p {
    font-size: 16px;
  }
  .page-fortuneox__cta-final-section .page-fortuneox__cta-button {
    width: auto !important;
    max-width: 80% !important;
  }
}

@media (max-width: 480px) {
  .page-fortuneox__hero-content h1 {
    font-size: clamp(24px, 7vw, 36px);
  }
  .page-fortuneox__hero-content p {
    font-size: clamp(14px, 3vw, 16px);
  }
  .page-fortuneox__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-fortuneox__section-title {
    font-size: clamp(22px, 6vw, 28px);
  }
  .page-fortuneox__sub-title {
    font-size: clamp(16px, 5vw, 20px);
  }
  .page-fortuneox p {
    font-size: 14px;
  }
  .page-fortuneox__list li {
    font-size: 14px;
  }
  .page-fortuneox__card-title {
    font-size: 18px;
  }
  .page-fortuneox__faq-qtext {
    font-size: 15px;
  }
  .page-fortuneox__faq-toggle {
    font-size: 22px;
  }
}