:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --color-card-bg: #11271B;
    --color-background-deep-green: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-promotions {
    background-color: var(--color-background-deep-green);
    color: var(--color-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-promotions__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 16px;
    box-sizing: border-box;
}

.page-promotions__section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-promotions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--color-glow);
    border-radius: 2px;
}

/* Hero Section */
.page-promotions__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Adjusted for shared header offset */
    background-color: var(--color-deep-green);
    position: relative;
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 300px;
}

.page-promotions__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 40px 20px;
    z-index: 2;
    position: relative;
    background: rgba(8, 22, 15, 0.8);
    border-radius: 10px;
    margin-top: -80px; /* Overlap with image slightly */
}

.page-promotions__main-title {
    font-size: 44px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-promotions__hero-description {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-button {
    display: inline-block;
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Promotion Categories Section */
.page-promotions__categories-section {
    padding: 60px 0;
    background-color: var(--color-background-deep-green);
}

.page-promotions__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promotions__promo-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--color-text-main);
}

.page-promotions__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__promo-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-promotions__promo-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-promotions__promo-card-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--color-gold);
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-promotions__promo-card-title a {
    color: var(--color-gold);
    text-decoration: none;
}

.page-promotions__promo-card-title a:hover {
    color: var(--color-glow);
}

.page-promotions__promo-card-description {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-main);
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    padding: 60px 0;
    background-color: var(--color-deep-green);
}

.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-promotions__step-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.page-promotions__step-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-promotions__btn-primary {
    display: inline-block;
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 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-promotions__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Terms Summary Section */
.page-promotions__terms-summary-section {
    padding: 60px 0;
    background-color: var(--color-background-deep-green);
}

.page-promotions__text-block {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    color: var(--color-text-secondary);
    font-size: 16px;
}

.page-promotions__text-block p {
    margin-bottom: 15px;
}

.page-promotions__text-block ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-promotions__text-block li {
    margin-bottom: 8px;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 60px 0 80px;
    background-color: var(--color-deep-green);
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-card-bg);
}
details.page-promotions__faq-item summary.page-promotions__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: var(--color-text-main);
}
details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}
details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: rgba(var(--color-primary), 0.1);
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--color-gold);
}
.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--color-glow);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 20px 20px;
  background: rgba(var(--color-card-bg), 0.7);
  border-radius: 0 0 10px 10px;
  color: var(--color-text-secondary);
  font-size: 15px;
}

/* Verbatim Homepage CSS - Media Queries */
@media (max-width: 1023px) {
  .page-promotions__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-promotions__hero-brand,
  .page-promotions__hero-jackpot {
    display: none !important;
  }
  .page-promotions__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-promotions__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-promotions__game-trial-topbar,
  .page-promotions__game-trial-bottombar {
    display: none !important;
  }
  .page-promotions__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-promotions__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-promotions__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-promotions__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

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

/* Mobile Responsive (max-width: 768px) */
@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__container {
        padding: 15px;
    }
    .page-promotions__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .page-promotions__hero-section {
        padding-top: 0; /* No extra padding on mobile, rely on body */
    }
    .page-promotions__hero-content {
        padding: 25px 15px;
        margin-top: -50px;
    }
    .page-promotions__main-title {
        font-size: 32px;
    }
    .page-promotions__hero-description {
        font-size: 16px;
    }
    .page-promotions__cta-button {
        font-size: 18px;
        padding: 12px 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__promo-card-title {
        font-size: 20px;
    }
    .page-promotions__promo-card-description {
        font-size: 14px;
    }
    .page-promotions__btn-secondary {
        font-size: 15px;
        padding: 10px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__step-item {
        padding: 20px;
    }
    .page-promotions__step-title {
        font-size: 22px;
    }
    .page-promotions__step-description {
        font-size: 15px;
    }
    .page-promotions__btn-primary {
        font-size: 16px;
        padding: 10px 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__text-block {
        padding: 20px;
        font-size: 15px;
    }

    details.page-promotions__faq-item summary.page-promotions__faq-question {
        padding: 15px;
    }
    .page-promotions__faq-qtext {
        font-size: 16px;
    }
    .page-promotions__faq-toggle {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
    details.page-promotions__faq-item .page-promotions__faq-answer {
        padding: 0 15px 15px;
    }

    /* General image and container responsive rules */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-image-wrapper,
    .page-promotions__promo-card,
    .page-promotions__step-item,
    .page-promotions__text-block,
    details.page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Button container specific for multiple buttons */
    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .page-promotions__promo-strip-track {
      grid-template-columns: repeat(2, 1fr) !important; /* Example for promo strip if it existed */
      overflow-x: hidden;
    }
    .page-promotions__hot-games-grid {
      grid-template-columns: repeat(2, 1fr) !important; /* Example for hot games if it existed */
    }
}

/* Placeholder for homepage game trial overlay/modal styles (verbatim copy as required) */
.page-promotions__game-trial-overlay{
    z-index:5;
    pointer-events:auto;
}
.page-promotions__game-trial-overlay.is-hidden{
    display:none!important;
    pointer-events:none!important;
}
.page-promotions__game-trial-start{
    z-index:6;
    pointer-events:auto;
    touch-action:manipulation;
}
.page-promotions__game-trial-shell{
    border:1px solid rgba(212,175,55,.45);
    border-radius:10px;
    overflow:hidden;
}
.page-promotions__reward-modal{
    position:fixed;
    inset:0;
    z-index:10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}
.page-promotions__reward-modal[aria-hidden="false"] {
    visibility: visible;
    opacity: 1;
}
.page-promotions__reward-modal-content {
    background: var(--color-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
    box-sizing: border-box;
}
.page-promotions__reward-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--color-text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}
.page-promotions__reward-modal-close:hover {
    color: var(--color-gold);
}
.page-promotions__reward-modal h3 {
    color: var(--color-gold);
    font-size: 28px;
    margin-bottom: 15px;
}
.page-promotions__reward-modal p {
    color: var(--color-text-secondary);
    font-size: 16px;
    margin-bottom: 25px;
}
.page-promotions__reward-modal .page-promotions__btn-primary {
    padding: 12px 30px;
    font-size: 18px;
}