/* style/gdpr.css */

/* Homepage Trial Layout CSS - MUST BE INCLUDED AS PER INSTRUCTIONS, EVEN FOR INNER PAGES */
@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;
  }
}

@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;
  }
}

/* Homepage-specific elements that might need 768px rules, as per instructions */
@media (max-width: 768px) {
  .page-gdpr__promo-strip-track {
    grid-template-columns: repeat(4,1fr);
    overflow-x: hidden;
    display: grid;
    gap: 10px;
  }
  .page-gdpr__hot-games-grid {
    grid-template-columns: repeat(2,1fr);
    display: grid;
    gap: 15px;
  }
  .page-gdpr__brand-intro {
    display: block;
  }
  .page-gdpr__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 8px 15px;
  }
  body.page-gdpr--has-ticker {
    padding-bottom: 40px;
  }
  .page-gdpr__game-trial-overlay.is-hidden {
    display: none !important;
    pointer-events: none !important;
  }
  .page-gdpr__reward-modal-close {
    background: #c30808;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
  }
  .page-gdpr__reward-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* GDPR Page Specific Styling */

/* General Styling for .page-gdpr */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background: #FFFFFF;
  padding-bottom: 40px;
}

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

/* Hero Section */
.page-gdpr__hero-section {
  padding-top: 10px;
  padding-bottom: 40px;
  text-align: center;
  background: linear-gradient(180deg, #e6ffe6 0%, #ffffff 100%);
}

.page-gdpr__hero-image-wrapper {
  margin-bottom: 25px;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__main-title {
  font-size: clamp(28px, 4vw, 48px);
  color: #017439;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-gdpr__lead-text {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #555555;
}

/* CTA Button - Primary */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-gdpr__btn-primary:hover {
  background: #005a2e;
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}
}