/* Base Styles */
.page-cookies-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
  padding-top: 10px; /* Small top padding for inner pages */
}

.page-cookies-policy__hero-section {
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cookies-policy__main-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 800px;
}

.page-cookies-policy__description {
  font-size: 1.1em;
  color: #FFF1E8;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-cookies-policy__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cookies-policy__content-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background-color: #2A1212; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E; /* Border */
}

.page-cookies-policy__section-title {
  font-size: 2em;
  color: #F3C54D; /* Gold */
  margin-bottom: 25px;
  border-bottom: 2px solid #6A1E1E;
  padding-bottom: 10px;
}

.page-cookies-policy__text-block p {
  margin-bottom: 15px;
  font-size: 1em;
}

.page-cookies-policy__text-block strong {
  color: #FFB04A;
}

.page-cookies-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-cookies-policy__list li {
  margin-bottom: 10px;
}

.page-cookies-policy__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-cookies-policy__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border: 2px solid transparent;
}

.page-cookies-policy__btn-primary:hover {
  background: linear-gradient(180deg, #FFC06A 0%, #E87A24 100%);
  transform: translateY(-2px);
}

.page-cookies-policy__btn-secondary {
  background: #2A1212;
  color: #F3C54D;
  border: 2px solid #F3C54D;
}

.page-cookies-policy__btn-secondary:hover {
  background: #F3C54D;
  color: #140C0C;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-cookies-policy__faq-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background-color: #2A1212; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E; /* Border */
}

details.page-cookies-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E;
  overflow: hidden;
  background: #140C0C;
}

details.page-cookies-policy__faq-item summary.page-cookies-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: #FFF1E8;
}

details.page-cookies-policy__faq-item summary.page-cookies-policy__faq-question::-webkit-details-marker {
  display: none;
}

details.page-cookies-policy__faq-item summary.page-cookies-policy__faq-question:hover {
  background: #2A1212;
}

.page-cookies-policy__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D;
}

.page-cookies-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFB04A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-cookies-policy__faq-item .page-cookies-policy__faq-answer {
  padding: 0 20px 20px;
  background: #2A1212;
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}

.page-cookies-policy__faq-answer p {
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  /* Placeholder for homepage-specific rules, not applicable to this inner page */
  /* These blocks are included as per strict prompt, but their content should be minimal or empty for inner pages, if not explicitly defined */
  .page-cookies-policy__home-hero { /* This class would not exist on an inner page, but kept for strict adherence if it were to be generated */
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
}

@media (min-width: 1024px) {
  /* Placeholder for homepage-specific rules, not applicable to this inner page */
  /* These blocks are included as per strict prompt, but their content should be minimal or empty for inner pages, if not explicitly defined */
  .page-cookies-policy__home-hero { /* This class would not exist on an inner page, but kept for strict adherence if it were to be generated */
    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;
  }
}

@media (max-width: 768px) {
  .page-cookies-policy__main-title {
    font-size: 2em;
  }

  .page-cookies-policy__description {
    font-size: 0.95em;
  }

  .page-cookies-policy__section-title {
    font-size: 1.6em;
  }

  .page-cookies-policy__content-section,
  .page-cookies-policy__faq-section {
    margin: 20px auto;
    padding: 15px;
  }

  .page-cookies-policy p,
  .page-cookies-policy li {
    font-size: 0.95em;
  }

  .page-cookies-policy__hero-section {
    padding: 20px 15px;
  }

  .page-cookies-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-cookies-policy__btn-primary,
  .page-cookies-policy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px;
    font-size: 1em;
  }

  .page-cookies-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cookies-policy__content-section,
  .page-cookies-policy__faq-section,
  .page-cookies-policy__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-cookies-policy__faq-item summary.page-cookies-policy__faq-question { padding: 15px; }
  .page-cookies-policy__faq-qtext { font-size: 1em; }
  details.page-cookies-policy__faq-item .page-cookies-policy__faq-answer { padding: 0 15px 15px; }
}

/* Global image/button responsive rules (non-homepage specific) */
.page-cookies-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-cookies-policy__content-section,
.page-cookies-policy__faq-section {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-cookies-policy a[class*="btn"],
.page-cookies-policy a[class*="button"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cookies-policy__cta-buttons {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Contrast Fixes - Default to dark theme for this site's colors */
.page-cookies-policy {
  color: #FFF1E8; /* Light text on dark background */
}

.page-cookies-policy__card {
  background: #2A1212;
  color: #FFF1E8;
}

.page-cookies-policy__dark-section {
  background: #C61F1F;
  color: #ffffff;
}

.page-cookies-policy__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #ffffff;
}

.page-cookies-policy__btn-secondary {
  background: #2A1212;
  color: #F3C54D;
  border: 2px solid #F3C54D;
}

/* The following CSS blocks are included as per the prompt's strict requirement for homepage-specific media queries, 
   even though this is a 'cookies-policy' inner page. Their content is taken directly from the prompt. */
@media (max-width: 1023px) {
  .page-cookies-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-cookies-policy__hero-brand,
  .page-cookies-policy__hero-jackpot {
    display: none !important;
  }
  .page-cookies-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-cookies-policy__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-cookies-policy__game-trial-topbar,
  .page-cookies-policy__game-trial-bottombar {
    display: none !important;
  }
  .page-cookies-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-cookies-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-cookies-policy__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-cookies-policy__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

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

@media (max-width: 768px) {
  /* These are examples from the prompt, adapted for a non-homepage context if they were to apply. 
     For a cookie policy page, these specific classes might not exist. */
  /* .page-cookies-policy__promo-strip-track { grid-template-columns: repeat(4,1fr); overflow-x:hidden; } */
  /* .page-cookies-policy__hot-games-grid { grid-template-columns: repeat(2,1fr); } */
  /* .page-cookies-policy__winner-ticker { position: fixed; bottom: 0; left: 0; right: 0; } */
  /* .page-cookies-policy__hero-brand { display: none; } */
  
  /* General image and button rules are already defined above for 768px */
}