.page-cookies-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #f5f5f5;
}

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

.page-cookies-policy__hero-section {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(135deg, #017439, #005a2e);
  color: #ffffff;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
}

.page-cookies-policy__main-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Custom font color for title */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cookies-policy__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto;
  color: #f0f0f0;
}

.page-cookies-policy__content-area {
  padding: 60px 0;
  background: #ffffff;
  color: #333333;
}

.page-cookies-policy__dark-section {
  background-color: #f9f9f9;
  color: #333333;
}

.page-cookies-policy__section-title {
  font-size: 2em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #017439;
}

.page-cookies-policy p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

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

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

.page-cookies-policy__link-text {
  color: #017439;
  text-decoration: underline;
}

/* FAQ Styles */
details.page-cookies-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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;
}
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: #f5f5f5;
}
.page-cookies-policy__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-cookies-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* CTA Section */
.page-cookies-policy__cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #017439, #004d26);
  text-align: center;
  color: #ffffff;
}

.page-cookies-policy__cta-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-cookies-policy__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

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

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

.page-cookies-policy__btn-primary {
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-cookies-policy__btn-primary:hover {
  background-color: #e00000;
  border-color: #e00000;
  transform: translateY(-2px);
}

.page-cookies-policy__btn-secondary {
  background-color: #ffffff;
  color: #C30808; /* Login button color */
  border: 2px solid #C30808;
}

.page-cookies-policy__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #e00000;
  border-color: #e00000;
  transform: translateY(-2px);
}

/* Responsive styles */
@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) {
  .page-cookies-policy__main-title {
    font-size: 2em;
    padding: 0 15px;
  }

  .page-cookies-policy__intro-text {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-cookies-policy__section-title {
    font-size: 1.8em;
    padding: 0 15px;
  }

  .page-cookies-policy p,
  .page-cookies-policy__list li {
    font-size: 1em;
    padding: 0 15px;
  }
  .page-cookies-policy__list {
    margin-left: 40px;
  }

  .page-cookies-policy__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 15px;
    box-sizing: border-box;
  }

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

  .page-cookies-policy__cta-title {
    font-size: 2em;
    padding: 0 15px;
  }

  .page-cookies-policy__cta-description {
    font-size: 1em;
    padding: 0 15px;
  }

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

  .page-cookies-policy__btn-primary,
  .page-cookies-policy__btn-secondary {
    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-cookies-policy__section,
  .page-cookies-policy__card,
  .page-cookies-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Homepage specific blocks - included as per global instruction, even if not directly used by this page's HTML */
/* The following blocks are for homepage game trial layout and are included as mandated by the prompt's global CSS requirement. */
/* For this 'cookies-policy' page, these styles will not apply as the corresponding HTML elements are not present. */

/* Placeholder for .page-cookies-policy__promo-strip-track (if it were on this page) */
@media (max-width:768px){
  .page-cookies-policy__promo-strip-track{
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); /* Ensure no horizontal scroll */
    overflow-x:hidden;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-cookies-policy__promo-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-cookies-policy__promo-card-image {
    width: 100%;
    height: auto;
    max-width: 100% !important;
  }
  .page-cookies-policy__promo-card-content {
    padding: 10px;
  }
  .page-cookies-policy__promo-card-button {
    width: 100%;
    max-width: 100% !important;
  }
}

/* Placeholder for .page-cookies-policy__hot-games-grid (if it were on this page) */
@media (max-width:768px){
  .page-cookies-policy__hot-games-grid{
    grid-template-columns:repeat(2,1fr);
    gap: 15px;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-cookies-policy__hot-games-item-image {
    width: 100%;
    height: auto;
    max-width: 100% !important;
  }
  .page-cookies-policy__hot-games-name,
  .page-cookies-policy__hot-games-rtp,
  .page-cookies-policy__hot-games-desc {
    display: none;
  }
  .page-cookies-policy__hot-games-item {
    text-align: center;
  }
}

/* Placeholder for .page-cookies-policy__brand-intro (if it were on this page) */
@media (max-width:768px){
  .page-cookies-policy__brand-intro {
    padding: 30px 15px;
    text-align: center;
  }
  .page-cookies-policy__brand-intro-title {
    font-size: 1.8em;
  }
  .page-cookies-policy__brand-intro-text {
    font-size: 1em;
  }
}

/* Placeholder for .page-cookies-policy__winner-ticker (if it were on this page) */
@media (max-width:768px){
  .page-cookies-policy__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #017439;
    color: #fff;
    padding: 10px 15px;
    overflow: hidden;
    white-space: nowrap;
  }
  body,
  main.page-cookies-policy {
    padding-bottom: 50px; /* Adjust based on ticker height */
  }
}

/* Common styles for game trial overlay and modal, as per prompt */
.page-cookies-policy__game-trial-overlay{
  z-index:5;
  pointer-events:auto;
}
.page-cookies-policy__game-trial-overlay.is-hidden{
  display:none!important;
  pointer-events:none!important;
}
.page-cookies-policy__game-trial-start{
  z-index:6;
  pointer-events:auto;
  touch-action:manipulation;
}
.page-cookies-policy__game-trial-shell{
  border:1px solid rgba(212,175,55,.45);
  border-radius:10px;
  overflow:hidden;
}
.page-cookies-policy__reward-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}
.page-cookies-policy__reward-modal[hidden] {
  display: none !important;
}
.page-cookies-policy__reward-modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  width: 100%;
  position: relative;
  color: #333;
}
.page-cookies-policy__reward-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}
.page-cookies-policy__reward-modal-close:hover {
  color: #333;
}
.page-cookies-policy__reward-modal h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439;
}
.page-cookies-policy__reward-modal p {
  font-size: 1.1em;
  margin-bottom: 25px;
}
.page-cookies-policy__reward-modal-button {
  background-color: #C30808;
  color: #FFFF00;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.page-cookies-policy__reward-modal-button:hover {
  background-color: #e00000;
}