/* Homepage specific CSS blocks as per strict instructions */
@media (max-width: 1023px) {
  .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;
  }
}

@media (min-width: 1024px) {
  .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;
  }
  /* PC specific styles for other homepage modules */
  .page-privacy-policy__promo-strip {
    display: block; /* Ensure it's visible if hidden by mobile */
    max-width: 1280px;
    margin: 16px auto 0;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .page-privacy-policy__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .page-privacy-policy__promo-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-privacy-policy__promo-card-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin-right: 15px;
    object-fit: contain;
  }
  .page-privacy-policy__promo-card-content {
    flex-grow: 1;
  }
  .page-privacy-policy__promo-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 5px;
  }
  .page-privacy-policy__promo-card-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.4;
  }

  .page-privacy-policy__hot-games {
    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: 16px;
  }
  .page-privacy-policy__hot-games-card {
    text-align: center;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  .page-privacy-policy__hot-games-card:hover {
    transform: translateY(-5px);
  }
  .page-privacy-policy__hot-games-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
  }
  .page-privacy-policy__hot-games-content {
    padding: 10px;
  }
  .page-privacy-policy__hot-games-name,
  .page-privacy-policy__hot-games-rtp,
  .page-privacy-policy__hot-games-desc {
    display: block; /* Ensure visibility for PC */
    font-size: 14px;
    color: #333333;
    margin-bottom: 5px;
  }
  .page-privacy-policy__hot-games-rtp {
    color: #E53935;
    font-weight: 600;
  }
  .page-privacy-policy__hot-games-desc {
    font-size: 12px;
    color: #666666;
    line-height: 1.3;
  }
  .page-privacy-policy__winner-ticker {
    display: block; /* Ensure visibility for PC */
    position: relative; /* Not fixed for PC unless explicitly stated */
    max-width: 1280px;
    margin: 30px auto;
    padding: 10px 16px;
    background: #E53935;
    color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
  }
  .page-privacy-policy__winner-ticker-track {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
  }
  @keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  }
  .page-privacy-policy__winner-ticker-item {
    padding-right: 30px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  /* Mobile specific styles for homepage modules */
  .page-privacy-policy__promo-strip {
    padding: 0 15px;
    margin-top: 10px;
  }
  .page-privacy-policy__promo-strip-track {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    overflow-x: hidden;
  }
  .page-privacy-policy__promo-card {
    flex-direction: column !important;
    text-align: center;
    padding: 10px;
  }
  .page-privacy-policy__promo-card-image {
    margin-right: 0 !important;
    margin-bottom: 10px;
    width: 60px;
    height: 60px;
  }
  .page-privacy-policy__promo-card-title {
    font-size: 16px;
  }
  .page-privacy-policy__promo-card-desc {
    font-size: 12px;
  }

  .page-privacy-policy__hot-games {
    padding: 0 15px;
    margin-top: 20px;
  }
  .page-privacy-policy__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  .page-privacy-policy__hot-games-image {
    height: 100px;
  }
  .page-privacy-policy__hot-games-name,
  .page-privacy-policy__hot-games-rtp,
  .page-privacy-policy__hot-games-desc {
    display: none !important;
  }
  .page-privacy-policy__hot-games-card .page-privacy-policy__cta-button {
    font-size: 12px;
    padding: 8px 10px;
  }

  .page-privacy-policy__brand-intro {
    padding: 20px 15px;
    text-align: center;
  }
  .page-privacy-policy__brand-intro-content {
    flex-direction: column;
  }
  .page-privacy-policy__brand-intro-logo {
    margin-bottom: 15px;
  }
  .page-privacy-policy__brand-intro-text {
    font-size: 14px;
  }
  .page-privacy-policy__winner-ticker {
    position: fixed !important;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
    padding: 8px 15px;
    z-index: 999;
    margin: 0;
    box-sizing: border-box;
  }
  .page-privacy-policy__winner-ticker-item {
    font-size: 13px;
    padding-right: 20px;
  }
  body {
    padding-bottom: 40px; /* Adjust based on ticker height */
  }

  /* General mobile image and button adaptations */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__section,
  .page-privacy-policy__container,
  .page-privacy-policy__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy 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;
    font-size: 14px;
  }
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__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;
    flex-direction: column;
  }
}

/* Privacy Policy specific styles */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background: #F5F7FA; /* Custom background color */
  padding-top: 10px; /* Small top padding for first section, relying on body for header offset */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 30px;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.page-privacy-policy__hero-content {
  text-align: center;
  max-width: 800px;
}

.page-privacy-policy__main-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-privacy-policy__description {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #333333;
}

.page-privacy-policy__section {
  padding: 30px 0;
  margin-bottom: 20px;
}

.page-privacy-policy__section--dark-bg {
  background: #E53935; /* Brand primary color as background */
  color: #ffffff; /* White text for dark background */
}

.page-privacy-policy__section--dark-bg .page-privacy-policy__section-title,
.page-privacy-policy__section--dark-bg .page-privacy-policy__text-block,
.page-privacy-policy__section--dark-bg .page-privacy-policy__list li,
.page-privacy-policy__section--dark-bg .page-privacy-policy__card-title,
.page-privacy-policy__section--dark-bg .page-privacy-policy__card p {
  color: #ffffff;
}

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

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #E53935;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
}

.page-privacy-policy__section--dark-bg .page-privacy-policy__section-title {
  color: #FFD700; /* Gold-like color for titles on dark background */
}

.page-privacy-policy__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

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

.page-privacy-policy__card {
  background: #FFFFFF; /* Card background */
  color: #333333; /* Card text color */
  border: 1px solid #E0E0E0; /* Border color */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.page-privacy-policy__section--dark-bg .page-privacy-policy__card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-privacy-policy__card:hover {
  transform: translateY(-5px);
}

.page-privacy-policy__card-title {
  font-size: 1.3em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__section--dark-bg .page-privacy-policy__card-title {
  color: #FF5A4F;
}

.page-privacy-policy__card p {
  font-size: 0.95em;
  line-height: 1.6;
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-privacy-policy__list li strong {
  color: #E53935;
}

.page-privacy-policy__section--dark-bg .page-privacy-policy__list li strong {
  color: #FFD700;
}

.page-privacy-policy__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-privacy-policy__image-responsive {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-privacy-policy__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.4);
}

.page-privacy-policy__cta-button--secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  box-shadow: none;
}

.page-privacy-policy__cta-button--secondary:hover {
  background: #f0f0f0;
  color: #E53935;
  border-color: #E53935;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

/* FAQ styles */
.page-privacy-policy__faq-section {
  background: #ffffff;
  padding: 40px 0;
}

.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: #fff;
}
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;
}
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: #555555;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer p {
  margin-bottom: 0;
}

/* Responsive for Privacy Policy content */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
  }
}