:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-light: #f1f3f5;
    --background-dark: #0a0a0a;
    --border-color: #e0e0e0;
}

.page-gift-codes-redemption-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-light); /* Body background is dark, so use light text */
    background-color: var(--background-dark);
}

/* Ensure main content has top padding to avoid being hidden by fixed header */
.page-gift-codes-redemption-guide__hero-banner {
    padding-top: 180px; /* Desktop: Adjust based on actual header height */
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color), #1a3a7a);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-gift-codes-redemption-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-gift-codes-redemption-guide__main-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-gift-codes-redemption-guide__main-title .highlight {
    color: var(--secondary-color);
}

.page-gift-codes-redemption-guide__subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.page-gift-codes-redemption-guide__subtitle a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-gift-codes-redemption-guide__subtitle a:hover {
    text-decoration: underline;
}

.page-gift-codes-redemption-guide__cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-gift-codes-redemption-guide__cta-button:hover {
    background: #e0b800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gift-codes-redemption-guide__cta-button--secondary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
}

.page-gift-codes-redemption-guide__cta-button--secondary:hover {
    background: #1a3a7a;
    border-color: #e0b800;
}

.page-gift-codes-redemption-guide__content-section {
    padding: 60px 0;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-gift-codes-redemption-guide__section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.page-gift-codes-redemption-guide__section-title .highlight {
    color: var(--secondary-color);
}

.page-gift-codes-redemption-guide__text-block {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 30px;
}

.page-gift-codes-redemption-guide__text-block p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.page-gift-codes-redemption-guide__text-block p a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.page-gift-codes-redemption-guide__text-block p a:hover {
    text-decoration: underline;
}

.page-gift-codes-redemption-guide__text-block h3 {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-gift-codes-redemption-guide__list,
.page-gift-codes-redemption-guide__ordered-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.page-gift-codes-redemption-guide__list li,
.page-gift-codes-redemption-guide__ordered-list li {
    background: var(--background-light);
    border-left: 5px solid var(--secondary-color);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.page-gift-codes-redemption-guide__list li h3,
.page-gift-codes-redemption-guide__ordered-list li h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-gift-codes-redemption-guide__list li p,
.page-gift-codes-redemption-guide__ordered-list li p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 0;
}

.page-gift-codes-redemption-guide__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 30px auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-gift-codes-redemption-guide__image--full-width {
    width: 100%;
}

.page-gift-codes-redemption-guide__image--medium {
    max-width: 800px;
}

.page-gift-codes-redemption-guide__image--small {
    max-width: 600px;
}

/* FAQ Section */
.page-gift-codes-redemption-guide__faq-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-gift-codes-redemption-guide__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-gift-codes-redemption-guide__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gift-codes-redemption-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-gift-codes-redemption-guide__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-gift-codes-redemption-guide__faq-question:active {
    background: #eeeeee;
}

.page-gift-codes-redemption-guide__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-gift-codes-redemption-guide__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-gift-codes-redemption-guide__faq-item.active .page-gift-codes-redemption-guide__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg);
}

.page-gift-codes-redemption-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    color: var(--text-dark);
}

.page-gift-codes-redemption-guide__faq-item.active .page-gift-codes-redemption-guide__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
}

.page-gift-codes-redemption-guide__faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 0;
}

.page-gift-codes-redemption-guide__faq-answer p a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.page-gift-codes-redemption-guide__faq-answer p a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gift-codes-redemption-guide__main-title {
        font-size: 36px;
    }
    .page-gift-codes-redemption-guide__subtitle {
        font-size: 18px;
    }
    .page-gift-codes-redemption-guide__section-title {
        font-size: 28px;
    }
    .page-gift-codes-redemption-guide__text-block {
        padding: 30px;
    }
    .page-gift-codes-redemption-guide__list li,
    .page-gift-codes-redemption-guide__ordered-list li {
        padding: 18px 20px;
    }
    .page-gift-codes-redemption-guide__list li h3,
    .page-gift-codes-redemption-guide__ordered-list li h3 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-gift-codes-redemption-guide__hero-banner {
        padding-top: 160px !important; /* Mobile: Adjust based on actual header height */
        padding-bottom: 40px;
    }
    .page-gift-codes-redemption-guide__main-title {
        font-size: 28px;
    }
    .page-gift-codes-redemption-guide__subtitle {
        font-size: 16px;
    }
    .page-gift-codes-redemption-guide__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-gift-codes-redemption-guide__content-section,
    .page-gift-codes-redemption-guide__faq-section {
        padding: 40px 0;
    }
    .page-gift-codes-redemption-guide__container {
        padding: 0 15px;
    }
    .page-gift-codes-redemption-guide__section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    .page-gift-codes-redemption-guide__text-block {
        padding: 25px;
        margin-bottom: 20px;
    }
    .page-gift-codes-redemption-guide__text-block p {
        font-size: 15px;
    }
    .page-gift-codes-redemption-guide__text-block h3 {
        font-size: 19px;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .page-gift-codes-redemption-guide__list li,
    .page-gift-codes-redemption-guide__ordered-list li {
        padding: 15px;
        margin-bottom: 10px;
    }
    .page-gift-codes-redemption-guide__list li h3,
    .page-gift-codes-redemption-guide__ordered-list li h3 {
        font-size: 17px;
    }
    .page-gift-codes-redemption-guide__list li p,
    .page-gift-codes-redemption-guide__ordered-list li p {
        font-size: 14px;
    }
    .page-gift-codes-redemption-guide__image {
        margin: 20px auto;
    }
    
    /* Mobile FAQ */
    .page-gift-codes-redemption-guide__faq-question {
        padding: 15px 20px;
    }
    .page-gift-codes-redemption-guide__faq-question h3 {
        font-size: 16px;
    }
    .page-gift-codes-redemption-guide__faq-toggle {
        font-size: 24px;
        width: 25px;
        height: 25px;
    }
    .page-gift-codes-redemption-guide__faq-answer {
        padding: 0 20px;
    }
    .page-gift-codes-redemption-guide__faq-item.active .page-gift-codes-redemption-guide__faq-answer {
        padding: 15px 20px !important;
    }
    .page-gift-codes-redemption-guide__faq-answer p {
        font-size: 15px;
    }

    /* Ensure all images and their containers are responsive */
    .page-gift-codes-redemption-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-gift-codes-redemption-guide__container,
    .page-gift-codes-redemption-guide__text-block,
    .page-gift-codes-redemption-guide__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}