/* General styles for the privacy-policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background #f0f2f5 */
  background-color: #f0f2f5; /* Body background color from shared.css */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  padding-bottom: 40px;
  background-color: #B71C1C; /* Custom background color */
  color: #FFF5E1; /* Custom text color */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 0 auto 20px;
  padding: 0 15px;
}

.page-privacy-policy__main-title {
  font-size: clamp(24px, 4vw, 42px); /* Use clamp for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFCC66; /* Gold color for main title */
}

.page-privacy-policy__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.5;
  margin-bottom: 20px;
  color: #FFF5E1; /* Text Main color */
}

.page-privacy-policy__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Content Section */
.page-privacy-policy__content-section {
  padding: 40px 0;
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-privacy-policy__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #C91F17; /* Main brand color */
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 2px solid #E53935; /* Auxiliary brand color */
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #7A0E0E; /* Deep Red color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.page-privacy-policy a {
  color: #C91F17; /* Main brand color for links */
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #E53935; /* Auxiliary brand color on hover */
}

.page-privacy-policy__image-block {
  margin: 30px 0;
  text-align: center;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-privacy-policy__contact-info {
  background-color: #D32F2F; /* Card BG color */
  padding: 25px;
  border-radius: 8px;
  margin-top: 30px;
  color: #FFF5E1; /* Text Main color */
}

.page-privacy-policy__contact-info p {
  margin-bottom: 10px;
  color: #FFF5E1;
}

.page-privacy-policy__contact-info strong {
  color: #F4D34D; /* Gold color */
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button gradient */
  color: #333333; /* Dark text for button */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 40px 0;
  background-color: #f9f9f9;
}

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

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #ffffff;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__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: #333333; /* Dark text for light background */
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: #f5f5f5;
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

/* Copyright Section */
.page-privacy-policy__copyright-section {
  text-align: center;
  padding: 20px 15px;
  background-color: #C91F17; /* Main brand color */
  color: #FFF5E1; /* Text Main color */
  font-size: 14px;
}

.page-privacy-policy__copyright-text {
  margin: 0;
}

/* Responsive Styles */
/* Required homepage-specific media queries - outputting empty/generic rules as they don't apply to this page but are mandatory to output */
@media (max-width: 1023px) {
  /* Placeholder for homepage game trial reset - not applicable to privacy policy */
  .page-privacy-policy__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-privacy-policy__hero-brand,
  .page-privacy-policy__hero-jackpot {
    display: none !important;
  }
  .page-privacy-policy__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-privacy-policy__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial-topbar,
  .page-privacy-policy__game-trial-bottombar {
    display: none !important;
  }
  .page-privacy-policy__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-privacy-policy__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-privacy-policy__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-privacy-policy__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
  /* Placeholder for other modules if they were on homepage and needed 1023px adjustment */
  .page-privacy-policy__promo-strip { display: none; }
  .page-privacy-policy__hot-games { display: none; }
  .page-privacy-policy__brand-intro { display: block; } /* Show brand intro on smaller screens if it was hidden on desktop */
  .page-privacy-policy__winner-ticker { display: none; }
}

@media (min-width: 1024px) {
  /* Placeholder for homepage PC 3-column layout - not applicable to privacy policy */
  .page-privacy-policy__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-privacy-policy__hero-brand,
  .page-privacy-policy__hero-jackpot,
  .page-privacy-policy__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-privacy-policy__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-privacy-policy__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-privacy-policy__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-privacy-policy__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
  /* Placeholder for other modules if they were on homepage and needed 1024px adjustment */
  .page-privacy-policy__promo-strip {
    display: block; /* Example: show on desktop */
    max-width: 1280px;
    margin: 16px auto;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .page-privacy-policy__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
  .page-privacy-policy__hot-games {
    display: block; /* Example: show on desktop */
    max-width: 1280px;
    margin: 30px auto;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .page-privacy-policy__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
  }
  .page-privacy-policy__hot-games-name,
  .page-privacy-policy__hot-games-rtp,
  .page-privacy-policy__hot-games-desc {
    display: block; /* Show text on desktop */
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: 10px;
    padding-bottom: 25px;
  }
  .page-privacy-policy__main-title {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .page-privacy-policy__subtitle {
    font-size: 16px;
  }
  .page-privacy-policy__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-privacy-policy__sub-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-privacy-policy p,
  .page-privacy-policy__list li {
    font-size: 15px;
  }
  .page-privacy-policy__list {
    margin-left: 20px;
  }

  /* Image adaptation */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-image-container,
  .page-privacy-policy__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button adaptation */
  .page-privacy-policy__btn-primary {
    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;
    display: block; /* Ensure it takes full width */
  }
  .page-privacy-policy__contact-info {
    padding: 20px 15px;
  }
  .page-privacy-policy__contact-info .page-privacy-policy__btn-primary {
    margin-top: 15px;
  }

  /* FAQ adaptation */
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question { padding: 15px; }
  .page-privacy-policy__faq-qtext { font-size: 15px; }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 15px 15px;
  }

  /* Placeholder for other homepage modules' 768px rules */
  /* For example, if promo strip was visible on mobile */
  .page-privacy-policy__promo-strip-track {
    grid-template-columns: repeat(2, 1fr); /* Example: 2 columns on mobile */
    gap: 10px;
  }
  /* For hot games */
  .page-privacy-policy__hot-games-grid {
    grid-template-columns: repeat(2, 1fr); /* Example: 2 columns on mobile */
    gap: 10px;
  }
  .page-privacy-policy__hot-games-name,
  .page-privacy-policy__hot-games-rtp,
  .page-privacy-policy__hot-games-desc {
    font-size: 13px; /* Smaller text for mobile */
    margin-top: 5px;
  }
  .page-privacy-policy__winner-ticker {
    bottom: 0; /* Example: fixed bottom on mobile */
    left: 0;
    right: 0;
    width: 100%;
    position: fixed;
    z-index: 999;
  }
  /* Ensure body/main has padding-bottom if ticker is fixed */
  body { padding-bottom: 50px; } /* Example: Adjust based on ticker height */
}

/* Placeholder for homepage-specific CSS - game trial overlay/start button z-index, reward modal */
.page-privacy-policy__game-trial-overlay{z-index:5;pointer-events:auto;}
.page-privacy-policy__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}
.page-privacy-policy__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}
.page-privacy-policy__game-trial-shell{border:1px solid #F2B544;border-radius:10px;overflow:hidden;}
.page-privacy-policy__reward-modal{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,0.7);display:flex;align-items:center;justify-content:center;}
.page-privacy-policy__reward-modal[hidden]{display:none;}
.page-privacy-policy__reward-modal-content{background:#fff;padding:30px;border-radius:10px;max-width:500px;text-align:center;position:relative;}
.page-privacy-policy__reward-modal-close{position:absolute;top:10px;right:10px;background:none;border:none;font-size:24px;cursor:pointer;color:#333;}