/* Base Styles & Typography */
.page-index-our-advantages {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

.page-index-our-advantages__section {
  padding: 60px 0;
}

.page-index-our-advantages__dark-section {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-index-our-advantages__section-title {
  font-size: clamp(28px, 4vw, 38px);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* Hero Section */
.page-index-our-advantages__hero-section {
  padding-top: 10px; /* Small top padding for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-our-advantages__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for aesthetic */
  overflow: hidden;
}

.page-index-our-advantages__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-index-our-advantages__hero-content {
  max-width: 900px;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-index-our-advantages__main-title {
  font-size: clamp(32px, 5vw, 48px);
  color: #FFD36B;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}

.page-index-our-advantages__intro-text {
  font-size: clamp(16px, 2vw, 19px);
  margin-bottom: 30px;
  color: #FFF6D6;
  opacity: 0.9;
}

/* CTA Buttons */
.page-index-our-advantages__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index-our-advantages__btn-primary,
.page-index-our-advantages__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  min-width: 180px;
}

.page-index-our-advantages__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: 2px solid transparent;
}

.page-index-our-advantages__btn-primary:hover {
  background: linear-gradient(180deg, #FFE080 0%, #E8AD2A 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-index-our-advantages__btn-secondary {
  background: #111111;
  color: #FFD36B;
  border: 2px solid #FFD36B;
}

.page-index-our-advantages__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.3);
}

/* Advantages List */
.page-index-our-advantages__advantages-list {
  background-color: #0A0A0A;
}

.page-index-our-advantages__advantage-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background: #111111; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12; /* Border */
  padding: 30px;
}

.page-index-our-advantages__advantage-item:nth-child(even) {
  flex-direction: row-reverse;
}

.page-index-our-advantages__advantage-image {
  flex-shrink: 0;
  width: 45%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 250px; /* Ensure minimum size */
}

.page-index-our-advantages__advantage-content {
  flex: 1;
}

.page-index-our-advantages__advantage-title {
  font-size: clamp(22px, 3vw, 30px);
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.page-index-our-advantages__advantage-content p {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 20px;
  opacity: 0.85;
}

.page-index-our-advantages__text-link {
  color: #F2C14E;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-index-our-advantages__text-link:hover {
  color: #FFD36B;
  text-decoration: underline;
}

.page-index-our-advantages__game-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}

/* Call to Action Section */
.page-index-our-advantages__cta-section {
  background-color: #111111;
  text-align: center;
  padding: 80px 0;
}

.page-index-our-advantages__cta-description {
  font-size: 18px;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.page-index-our-advantages__btn-large {
  padding: 16px 40px;
  font-size: 18px;
}

/* FAQ Section */
.page-index-our-advantages__faq-section {
  background-color: #0A0A0A;
}

.page-index-our-advantages__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-index-our-advantages__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111; /* Card BG */
}

details.page-index-our-advantages__faq-item summary.page-index-our-advantages__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, border-color 0.3s ease;
  color: #FFF6D6;
  font-weight: 600;
}

details.page-index-our-advantages__faq-item summary.page-index-our-advantages__faq-question::-webkit-details-marker {
  display: none;
}

details.page-index-our-advantages__faq-item summary.page-index-our-advantages__faq-question:hover {
  background: rgba(242, 193, 78, 0.1);
}

.page-index-our-advantages__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}

.page-index-our-advantages__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}

details[open] .page-index-our-advantages__faq-toggle {
  transform: rotate(45deg);
}

details.page-index-our-advantages__faq-item .page-index-our-advantages__faq-answer {
  padding: 0 25px 25px;
  background: #0A0A0A;
  border-radius: 0 0 8px 8px;
  color: #FFF6D6;
  font-size: 15px;
  opacity: 0.85;
}

/* Responsive Design */
@media (max-width: 1023px) {
  /* Homepage game trial specific CSS, included as per instruction to copy verbatim */
  .page-index-our-advantages__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-index-our-advantages__hero-brand,
  .page-index-our-advantages__hero-jackpot {
    display: none !important;
  }
  .page-index-our-advantages__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-index-our-advantages__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-index-our-advantages__game-trial-topbar,
  .page-index-our-advantages__game-trial-bottombar {
    display: none !important;
  }
  .page-index-our-advantages__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-index-our-advantages__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-index-our-advantages__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-index-our-advantages__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }

  /* General tablet styles for this page */
  .page-index-our-advantages__advantage-item {
    flex-direction: column;
    text-align: center;
  }
  .page-index-our-advantages__advantage-item:nth-child(even) {
    flex-direction: column;
  }
  .page-index-our-advantages__advantage-image {
    width: 80%;
    margin-bottom: 20px;
  }
}

@media (min-width: 1024px) {
  /* Homepage game trial specific CSS, included as per instruction to copy verbatim */
  .page-index-our-advantages__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px; /* Adjusted padding */
    box-sizing: border-box;
  }
  .page-index-our-advantages__hero-brand,
  .page-index-our-advantages__hero-jackpot,
  .page-index-our-advantages__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-index-our-advantages__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-index-our-advantages__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-index-our-advantages__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-index-our-advantages__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-index-our-advantages__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
  /* Placeholder for other homepage specific modules */
  .page-index-our-advantages__promo-strip { margin-top: 16px; }
  .page-index-our-advantages__promo-strip-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .page-index-our-advantages__hot-games-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .page-index-our-advantages__hot-games-name, .page-index-our-advantages__hot-games-rtp, .page-index-our-advantages__hot-games-desc { display: block; text-align: center; }
}

@media (max-width: 768px) {
  /* General mobile styles for this page */
  .page-index-our-advantages {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-our-advantages__container {
    padding: 0 15px;
  }

  .page-index-our-advantages__section {
    padding: 40px 0;
  }

  .page-index-our-advantages__hero-content {
    padding: 30px 15px;
  }

  .page-index-our-advantages__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-index-our-advantages__intro-text {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .page-index-our-advantages__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-our-advantages__btn-primary,
  .page-index-our-advantages__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-index-our-advantages__advantage-item {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    margin-bottom: 40px;
  }

  .page-index-our-advantages__advantage-item:nth-child(even) {
    flex-direction: column;
  }

  .page-index-our-advantages__advantage-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 0;
  }

  .page-index-our-advantages__advantage-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .page-index-our-advantages__advantage-content p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .page-index-our-advantages__game-links {
    flex-direction: column;
    gap: 10px;
  }

  .page-index-our-advantages__cta-section {
    padding: 50px 0;
  }

  .page-index-our-advantages__cta-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-index-our-advantages__btn-large {
    font-size: 16px;
    padding: 14px 30px;
  }

  details.page-index-our-advantages__faq-item summary.page-index-our-advantages__faq-question {
    padding: 15px;
  }

  .page-index-our-advantages__faq-qtext {
    font-size: 15px;
  }

  details.page-index-our-advantages__faq-item .page-index-our-advantages__faq-answer {
    padding: 0 15px 15px;
  }

  /* Global image and container responsiveness for mobile */
  .page-index-our-advantages img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-our-advantages__section,
  .page-index-our-advantages__card,
  .page-index-our-advantages__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-our-advantages__cta-buttons,
  .page-index-our-advantages__button-group,
  .page-index-our-advantages__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  /* Homepage related mobile CSS, included as per instruction */
  .page-index-our-advantages__promo-strip-track{
    grid-template-columns:repeat(4,1fr);
    overflow-x:hidden;
    padding: 0 15px;
  }
  .page-index-our-advantages__hot-games-grid{
    grid-template-columns:repeat(2,1fr);
    padding: 0 15px;
  }
  /* Brand intro and winner ticker might not be on this page, but if they were, they'd have mobile rules here */
}

/* Homepage game trial specific CSS, included as per instruction to copy verbatim */
.page-index-our-advantages__game-trial-overlay{z-index:5;pointer-events:auto;}
.page-index-our-advantages__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}
.page-index-our-advantages__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}
.page-index-our-advantages__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}
.page-index-our-advantages__reward-modal{position:fixed;inset:0;z-index:10000;}
.page-index-our-advantages__reward-modal.is-hidden { display: none !important; }
.page-index-our-advantages__reward-modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 24px; color: #fff; cursor: pointer; z-index: 10; }
.page-index-our-advantages--reward-open { overflow: hidden; }