:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --background-color: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Light text for dark body background */
    background-color: var(--background-color); /* Body background */
}

/* Base container for content sections */
.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-promotions__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main); /* Default for dark background */
}

.page-promotions__section-title--white {
    color: #ffffff; /* Explicitly white for darker sections if needed */
}

/* HERO Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, header offset handled by body */
    background-color: var(--background-color);
    overflow: hidden; /* Prevent image overflow */
}

.page-promotions__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure it takes full width within max-width */
}

.page-promotions__hero-image {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 1; /* Ensure image is below text if text is absolutely positioned (but it's not here) */
}

.page-promotions__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-promotions__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

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

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%; /* For responsive button */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__cta-button:hover {
    background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Module 1: Introduction */
.page-promotions__intro-section {
    background-color: var(--background-color);
    padding: 60px 0;
}
.page-promotions__intro-section .page-promotions__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-main);
}

/* Module 2: Quick Access Links */
.page-promotions__quick-access-section {
    background-color: var(--card-bg); /* Darker background for contrast */
    padding: 60px 0;
}

.page-promotions__link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__quick-link-card {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    background-color: #1a1e27; /* Slightly lighter dark */
}

.page-promotions__quick-link-card .page-promotions__card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-promotions__quick-link-card p {
    font-size: 15px;
    color: var(--text-main);
}

/* Module 3: Core Games/Services Introduction */
.page-promotions__games-intro-section {
    background-color: var(--background-color);
    padding: 60px 0;
}

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

.page-promotions__game-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-promotions__game-card img {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-promotions__game-card .page-promotions__card-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    padding: 15px 20px 5px;
}

.page-promotions__game-card p {
    font-size: 15px;
    color: var(--text-main);
    padding: 0 20px 20px;
}

/* Module 4: Promotions Details */
.page-promotions__promotions-detail-section {
    background-color: var(--card-bg);
    padding: 60px 0;
}

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

.page-promotions__promotion-card {
    background-color: var(--background-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

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

.page-promotions__promotion-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-promotions__promotion-card .page-promotions__card-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    padding: 15px 20px 5px;
}

.page-promotions__promotion-card p {
    font-size: 15px;
    color: var(--text-main);
    padding: 0 20px 15px;
    flex-grow: 1; /* Make paragraph grow to push button to bottom */
}

.page-promotions__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    margin: 0 20px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    text-align: center;
    max-width: calc(100% - 40px); /* For responsive button */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary:hover {
    background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Module 5: Security and Customer Service */
.page-promotions__security-cs-section {
    background-color: var(--background-color);
    padding: 60px 0;
}

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

.page-promotions__info-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.page-promotions__info-card .page-promotions__card-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions__info-card p {
    font-size: 15px;
    color: var(--text-main);
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* For responsive button */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    margin-top: auto; /* Push to bottom */
}

.page-promotions__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--secondary-color);
}
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: #2a2d37; /* Slightly lighter dark for hover */
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--secondary-color);
}
.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 25px 25px;
  background: var(--background-color);
  border-radius: 0 0 10px 10px;
  color: var(--text-main);
  font-size: 16px;
}
details.page-promotions__faq-item .page-promotions__faq-answer p {
    margin: 0;
    color: var(--text-main);
}

/* Module 7: Latest Blog Content */
.page-promotions__blog-section {
    background-color: var(--card-bg);
    padding: 60px 0;
}

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

.page-promotions__blog-card {
    background-color: var(--background-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

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

.page-promotions__blog-card img {
    width: 100%;
     /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-promotions__blog-card .page-promotions__card-title {
    font-size: 19px;
    font-weight: bold;
    padding: 15px 20px 5px;
    flex-grow: 1; /* Allow title to grow */
}

.page-promotions__blog-card .page-promotions__card-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__blog-card .page-promotions__card-title a:hover {
    color: var(--primary-color);
}

.page-promotions__blog-card .page-promotions__blog-excerpt {
    font-size: 14px;
    color: var(--text-main);
    padding: 0 20px 10px;
}

.page-promotions__blog-card .page-promotions__blog-date {
    font-size: 13px;
    color: #999;
    padding: 0 20px 15px;
    display: block;
}

.page-promotions__view-all-button-container {
    text-align: center;
    margin-top: 50px;
}


/* Responsive styles */
@media (max-width: 1024px) {
    .page-promotions__hero-image img {
        border-radius: 6px;
    }
    .page-promotions__main-title {
        font-size: clamp(26px, 5vw, 42px);
    }
    .page-promotions__hero-description {
        font-size: 16px;
    }
    .page-promotions__cta-button {
        padding: 14px 35px;
        font-size: 17px;
    }
    .page-promotions__section-title {
        font-size: 30px;
        margin-bottom: 30px;
    }
    .page-promotions__intro-section .page-promotions__text-block {
        font-size: 16px;
    }
    .page-promotions__game-card img,
    .page-promotions__promotion-card img {
        
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-top: 10px !important; /* Fixed top padding, body handles header offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__hero-image img {
        border-radius: 4px;
    }
    .page-promotions__main-title {
        font-size: clamp(24px, 6vw, 36px);
    }
    .page-promotions__hero-description {
        font-size: 15px;
    }
    .page-promotions__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 20px;
        padding-right: 20px;
    }

    /* All images responsive */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    /* All containers with images */
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-container,
    .page-promotions__link-grid,
    .page-promotions__game-cards,
    .page-promotions__promotion-grid,
    .page-promotions__info-grid,
    .page-promotions__blog-grid,
    .page-promotions__view-all-button-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Section padding adjustment */
    .page-promotions__container {
        padding: 30px 15px;
    }
    .page-promotions__section-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    /* Button specific overrides for mobile */
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__link-grid,
    .page-promotions__game-cards,
    .page-promotions__promotion-grid,
    .page-promotions__info-grid,
    .page-promotions__blog-grid {
        grid-template-columns: 1fr; /* Single column layout for grids */
        gap: 20px;
    }
    .page-promotions__quick-link-card,
    .page-promotions__game-card,
    .page-promotions__promotion-card,
    .page-promotions__info-card,
    .page-promotions__blog-card {
        padding: 20px;
    }
    .page-promotions__quick-link-card .page-promotions__card-title,
    .page-promotions__game-card .page-promotions__card-title,
    .page-promotions__promotion-card .page-promotions__card-title,
    .page-promotions__info-card .page-promotions__card-title,
    .page-promotions__blog-card .page-promotions__card-title {
        font-size: 18px;
    }
    .page-promotions__game-card p,
    .page-promotions__promotion-card p,
    .page-promotions__info-card p,
    .page-promotions__blog-card .page-promotions__blog-excerpt {
        font-size: 14px;
    }
    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: 28px; }
    details.page-promotions__faq-item .page-promotions__faq-answer { padding: 0 15px 15px; }
}