:root {
    --page-khuyen-mai-background-main: #0A0A0A;
    --page-khuyen-mai-card-bg: #111111;
    --page-khuyen-mai-text-main: #FFF6D6;
    --page-khuyen-mai-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --page-khuyen-mai-border-color: #3A2A12;
    --page-khuyen-mai-glow-color: #FFD36B;
    --page-khuyen-mai-accent-color: #F2C14E; /* Main color */
    --page-khuyen-mai-secondary-accent: #FFD36B; /* Auxiliary color */
    --page-khuyen-mai-light-text: #333333; /* For light backgrounds */
    --page-khuyen-mai-light-bg-section: #ffffff; /* For sections needing light background */
    --page-khuyen-mai-light-bg-card: #f9f9f9; /* For cards on light backgrounds */
}

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

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

.page-khuyen-mai h1,
.page-khuyen-mai h2,
.page-khuyen-mai h3 {
    color: var(--page-khuyen-mai-text-main);
    line-height: 1.2;
    margin-bottom: 15px;
}

.page-khuyen-mai p {
    margin-bottom: 1em;
}

.page-khuyen-mai a {
    color: var(--page-khuyen-mai-accent-color);
    text-decoration: none;
}

.page-khuyen-mai a:hover {
    text-decoration: underline;
}

.page-khuyen-mai img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-khuyen-mai__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
    margin-bottom: 40px;
    text-align: center;
}

.page-khuyen-mai__hero-image {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.page-khuyen-mai__hero-image img {
    width: 100%;
    height: 675px; /* Fixed height for desktop to maintain aspect ratio */
    object-fit: cover;
}

.page-khuyen-mai__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px 40px;
}

.page-khuyen-mai__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Use clamp for H1 */
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.page-khuyen-mai__lead-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--page-khuyen-mai-text-main);
}

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

.page-khuyen-mai__cta-buttons--centered {
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary,
.page-khuyen-mai__card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-khuyen-mai__btn-primary {
    background: var(--page-khuyen-mai-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-khuyen-mai__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-khuyen-mai__btn-secondary {
    background: transparent;
    color: var(--page-khuyen-mai-accent-color);
    border: 2px solid var(--page-khuyen-mai-accent-color);
    box-shadow: 0 2px 8px rgba(242, 193, 78, 0.2);
}

.page-khuyen-mai__btn-secondary:hover {
    background: var(--page-khuyen-mai-accent-color);
    color: var(--page-khuyen-mai-background-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-khuyen-mai__card-button {
    background: var(--page-khuyen-mai-accent-color);
    color: var(--page-khuyen-mai-background-main);
    border: none;
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-khuyen-mai__card-button:hover {
    filter: brightness(1.1);
}

.page-khuyen-mai__section-title {
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--page-khuyen-mai-text-main);
}

.page-khuyen-mai__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--page-khuyen-mai-text-main);
}

.page-khuyen-mai__overview-section {
    padding: 60px 0;
    background-color: var(--page-khuyen-mai-background-main);
}

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

.page-khuyen-mai__category-card,
.page-khuyen-mai__promo-card {
    background-color: var(--page-khuyen-mai-card-bg);
    border: 1px solid var(--page-khuyen-mai-border-color);
    border-radius: 10px;
    overflow: hidden;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--page-khuyen-mai-text-main);
}

.page-khuyen-mai__category-card img {
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-khuyen-mai__card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--page-khuyen-mai-accent-color);
}

.page-khuyen-mai__card-text {
    font-size: 0.95em;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-khuyen-mai__detail-promotions {
    padding: 60px 0;
    background-color: var(--page-khuyen-mai-light-bg-section);
}

.page-khuyen-mai__detail-promotions .page-khuyen-mai__section-title,
.page-khuyen-mai__detail-promotions .page-khuyen-mai__section-description {
    color: var(--page-khuyen-mai-light-text);
}

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

.page-khuyen-mai__promo-card {
    background-color: var(--page-khuyen-mai-card-bg);
    border: 1px solid var(--page-khuyen-mai-border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    color: var(--page-khuyen-mai-text-main);
}

.page-khuyen-mai__promo-header {
    background-color: rgba(242, 193, 78, 0.1);
    padding: 20px;
    border-bottom: 1px solid var(--page-khuyen-mai-border-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-khuyen-mai__promo-title {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--page-khuyen-mai-accent-color);
    margin-bottom: 5px;
    text-align: left;
}

.page-khuyen-mai__promo-tag {
    background-color: var(--page-khuyen-mai-glow-color);
    color: var(--page-khuyen-mai-background-main);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
}

.page-khuyen-mai__promo-body {
    padding: 20px;
    flex-grow: 1;
    text-align: left;
}

.page-khuyen-mai__promo-body p {
    font-size: 0.95em;
    margin-bottom: 15px;
}

.page-khuyen-mai__promo-body strong {
    color: var(--page-khuyen-mai-accent-color);
}

.page-khuyen-mai__promo-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.page-khuyen-mai__promo-features li {
    margin-bottom: 8px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
}

.page-khuyen-mai__promo-features li::before {
    content: '✅';
    margin-right: 10px;
    color: var(--page-khuyen-mai-glow-color);
}

.page-khuyen-mai__promo-footer {
    padding: 20px;
    border-top: 1px solid var(--page-khuyen-mai-border-color);
    text-align: center;
}

.page-khuyen-mai__how-to-claim-section {
    padding: 60px 0;
    background-color: var(--page-khuyen-mai-background-main);
}

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

.page-khuyen-mai__step-item {
    background-color: var(--page-khuyen-mai-card-bg);
    border: 1px solid var(--page-khuyen-mai-border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    color: var(--page-khuyen-mai-text-main);
}

.page-khuyen-mai__step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--page-khuyen-mai-glow-color);
    color: var(--page-khuyen-mai-background-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 3px solid var(--page-khuyen-mai-background-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.page-khuyen-mai__step-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--page-khuyen-mai-accent-color);
}

.page-khuyen-mai__step-text {
    font-size: 0.95em;
}

.page-khuyen-mai__faq-section {
    padding: 60px 0;
    background-color: var(--page-khuyen-mai-light-bg-section);
}

.page-khuyen-mai__faq-section .page-khuyen-mai__section-title,
.page-khuyen-mai__faq-section .page-khuyen-mai__section-description {
    color: var(--page-khuyen-mai-light-text);
}

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

details.page-khuyen-mai__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: var(--page-khuyen-mai-light-bg-card);
    color: var(--page-khuyen-mai-light-text);
}
details.page-khuyen-mai__faq-item summary.page-khuyen-mai__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(--page-khuyen-mai-light-text);
}