/* General page styles for GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Main text color for dark background */
    background-color: #0A0A0A; /* Page background */
}

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

.page-gdpr__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0 40px; /* Small top padding, then content */
    background: #111111; /* Card BG for hero section */
    border-bottom: 1px solid #3A2A12; /* Border color */
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin-top: 30px;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.8;
}

.page-gdpr__main-title {
    font-size: 3.2em;
    font-weight: 700;
    color: #F2C14E; /* Primary brand color for title */
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
}

.page-gdpr__description {
    font-size: 1.1em;
    color: #FFF6D6;
    margin-bottom: 30px;
    max-width: 800px;
}

.page-gdpr__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for bright button */
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: #F2C14E; /* Primary brand color */
    border: 2px solid #F2C14E; /* Border color */
}

.page-gdpr__btn-secondary:hover {
    background: #F2C14E;
    color: #111111; /* Dark text on hover */
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-gdpr__content-section {
    padding: 50px 0;
    border-bottom: 1px solid #3A2A12;
}

.page-gdpr__content-section:last-of-type {
    border-bottom: none;
}

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #F2C14E;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.page-gdpr__text-block {
    font-size: 1.05em;
    color: #FFF6D6;
    margin-bottom: 20px;
    text-align: justify;
}

.page-gdpr__highlight-keyword {
    color: #FFD36B; /* Auxiliary color for keywords */
    font-weight: bold;
}

.page-gdpr__grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-gdpr__card {
    background: #111111; /* Card background */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #FFF6D6; /* Card text color */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-gdpr__card-title {
    font-size: 1.4em;
    color: #F2C14E;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__card-text {
    font-size: 1em;
    color: #FFF6D6;
    line-height: 1.6;
}

.page-gdpr__image-text-block {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-gdpr__content-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.page-gdpr__list li {
    background: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    color: #FFF6D6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__list-title {
    font-size: 1.2em;
    color: #FFD36B; /* Auxiliary color for list titles */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-gdpr__list li p {
    font-size: 0.95em;
    color: #FFF6D6;
    margin: 0;
}

.page-gdpr__link-text {
    color: #F2C14E;
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__link-text:hover {
    text-decoration: underline;
}

/* FAQ Section Styles */
.page-gdpr__faq-section {
    padding-bottom: 50px;
}

.page-gdpr__faq-list {
    margin-top: 30px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111; /* Card background */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2C14E; /* Question text color */
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: rgba(242, 193, 78, 0.1); /* Light hover effect with brand color */
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Question text color */
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Page background for answer area */
  border-radius: 0 0 10px 10px;
  color: #FFF6D6; /* Answer text color */
}
details.page-gdpr__faq-item .page-gdpr__faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* --- FORCED HOMEPAGE TRIAL GAME CSS BLOCKS (MUST BE INCLUDED) --- */
/* A. @media (max-width: 1023px) must be output as is */
@media (max-width: 1023px) {
  .page-gdpr__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-gdpr__hero-brand,
  .page-gdpr__hero-jackpot {
    display: none !important;
  }
  .page-gdpr__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-gdpr__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-gdpr__game-trial-topbar,
  .page-gdpr__game-trial-bottombar {
    display: none !important;
  }
  .page-gdpr__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-gdpr__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-gdpr__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-gdpr__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

/* B. @media (min-width: 1024px) must be output as is */
@media (min-width: 1024px) {
  .page-gdpr__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;
    box-sizing: border-box;
  }
  .page-gdpr__hero-brand,
  .page-gdpr__hero-jackpot,
  .page-gdpr__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-gdpr__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-gdpr__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-gdpr__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-gdpr__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-gdpr__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* Mobile responsive styles (max-width: 768px) */
@media (max-width: 768px) {
    .page-gdpr__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-gdpr__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__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;
    }
    .page-gdpr__grid-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__image-text-block {
        flex-direction: column;
        gap: 20px;
    }
    .page-gdpr__content-image {
        max-width: 100%;
    }
    .page-gdpr__list {
        min-width: unset;
        width: 100%;
    }
    details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
    .page-gdpr__faq-qtext { font-size: 1em; }

    /* Forced Mobile Images Responsive */
    .page-gdpr img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    /* Dummy blocks for forced homepage CSS requirements - not directly used by GDPR content */
    /* 2. Ưu đãi __promo-strip */
    .page-gdpr__promo-strip-track {
        grid-template-columns: repeat(2, 1fr) !important; /* Adjusted for mobile */
        overflow-x: hidden !important;
        gap: 15px !important;
    }
    .page-gdpr__promo-card {
        flex-direction: column !important; /* Top image, bottom text */
        text-align: center !important;
    }
    .page-gdpr__promo-card-image {
        width: 100% !important;
        height: auto !important;
        margin-bottom: 10px !important;
    }
    .page-gdpr__promo-card-content {
        padding: 0 10px !important;
    }
    /* 3. Phổ biến __hot-games */
    .page-gdpr__hot-games-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    .page-gdpr__hot-games-item-name,
    .page-gdpr__hot-games-item-rtp,
    .page-gdpr__hot-games-item-desc {
        display: none !important; /* Hide details on mobile */
    }
    .page-gdpr__hot-games-item img {
        width: 100% !important;
        height: auto !important;
    }
    /* 4. Giới thiệu thương hiệu __brand-intro (hiển thị trên mobile nếu ẩn trên desktop) */
    .page-gdpr__brand-intro {
        display: block !important; /* Ensure it shows if hidden on wider screens */
        padding: 20px 15px !important;
    }
    /* 5. Dòng người thắng __winner-ticker */
    .page-gdpr__winner-ticker {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: rgba(0, 0, 0, 0.8) !important;
        color: #FFF6D6 !important;
        padding: 10px 0 !important;
        z-index: 999 !important;
    }
    body {
        padding-bottom: 50px !important; /* Adjust body padding for fixed ticker */
    }
    /* 8. Other modules (FAQ as already defined) */
}

/* General utility class for hiding elements */
.is-hidden {
    display: none !important;
    pointer-events: none !important;
}