/* style/gift-code.css */
:root {
    --primary-color: #0A2239;
    --secondary-color: #E0B973;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0a0a0a;
    --bg-light: #f1f3f5;
    --card-bg-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-gift-code {
    color: var(--text-light); /* Default text color for dark body background */
}

.page-gift-code__hero-banner {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 180px; /* Desktop: Adjust for fixed header */
    background: linear-gradient(135deg, var(--primary-color), #2A4A6A);
    color: var(--text-light);
}

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

.page-gift-code__hero-image {
    width: 100%;
    max-width: 800px; /* Slightly smaller for balance */
    height: auto;
    display: block;
    margin: 0 auto 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-gift-code__main-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-gift-code__hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-gift-code__hero-description a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-gift-code__hero-description a:hover {
    color: #ffd700;
}

.page-gift-code__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-gift-code__cta-button:hover {
    background: #FFD700; /* Brighter gold */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gift-code__cta-button--center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

.page-gift-code__section {
    padding: 60px 0;
    position: relative;
}

.page-gift-code__dark-section {
    background: var(--primary-color);
    color: var(--text-light);
}

.page-gift-code__light-bg {
    background: var(--card-bg-light);
    color: var(--text-dark);
}

.page-gift-code__section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: var(--secondary-color);
}

.page-gift-code__dark-section .page-gift-code__section-title {
    color: var(--secondary-color);
}

.page-gift-code__light-bg .page-gift-code__section-title {
    color: var(--primary-color);
}

.page-gift-code__paragraph {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.page-gift-code__dark-section .page-gift-code__paragraph {
    color: #e0e0e0;
}

.page-gift-code__light-bg .page-gift-code__paragraph {
    color: var(--text-dark);
}

.page-gift-code__paragraph a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-gift-code__dark-section .page-gift-code__paragraph a {
    color: var(--secondary-color);
}

.page-gift-code__light-bg .page-gift-code__paragraph a {
    color: var(--primary-color);
}

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

.page-gift-code__card {
    background: var(--card-bg-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-gift-code__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-gift-code__card-image {
    width: 100%;
    max-width: 300px; 
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-gift-code__card-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--text-dark);
    flex-grow: 1;
}

.page-gift-code__card-description a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-gift-code__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: auto; /* Push button to bottom */
}

.page-gift-code__btn-secondary:hover {
    background: #061625;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gift-code__steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-gift-code__step-item {
    background: var(--card-bg-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-dark);
}

.page-gift-code__step-number {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-gift-code__step-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-gift-code__step-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-gift-code__step-description a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

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

.page-gift-code__feature-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gift-code__feature-icon {
    width: 100%;
    max-width: 120px; /* Adjusted for content image, not small icon */
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-gift-code__feature-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-gift-code__feature-description {
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
}

.page-gift-code__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.page-gift-code__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-gift-code__list-item {
    background: var(--card-bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 18px 25px;
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
}

.page-gift-code__list-item strong {
    color: var(--primary-color);
    margin-right: 8px;
    flex-shrink: 0;
}

.page-gift-code__faq-list {
    margin-top: 40px;
}

.page-gift-code__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-gift-code__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-gift-code__faq-item.active .page-gift-code__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

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

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

.page-gift-code__faq-question:active {
    background: #eeeeee;
}

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

.page-gift-code__faq-toggle {
    font-size: 28px; /* Slightly larger for better tap target */
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-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: 32px; /* Increased size */
    height: 32px; /* Increased size */
}

.page-gift-code__faq-item.active .page-gift-code__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Rotate plus to form cross */
}

.page-gift-code a {
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gift-code__main-title {
        font-size: 38px;
    }
    .page-gift-code__section-title {
        font-size: 32px;
    }
    .page-gift-code__hero-description {
        font-size: 17px;
    }
    .page-gift-code__card-title {
        font-size: 22px;
    }
    .page-gift-code__step-title {
        font-size: 20px;
    }
    .page-gift-code__feature-title {
        font-size: 20px;
    }
    .page-gift-code__paragraph,
    .page-gift-code__card-description,
    .page-gift-code__step-description,
    .page-gift-code__feature-description,
    .page-gift-code__list-item {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-gift-code__hero-banner {
        padding-top: 140px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gift-code__container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gift-code__hero-image {
        margin-bottom: 20px;
    }
    .page-gift-code__main-title {
        font-size: 30px;
    }
    .page-gift-code__hero-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-gift-code__cta-button {
        padding: 12px 30px;
        font-size: 18px;
    }
    .page-gift-code__section {
        padding: 40px 0;
    }
    .page-gift-code__section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    .page-gift-code__paragraph {
        font-size: 15px;
    }
    .page-gift-code__card-grid,
    .page-gift-code__steps-container,
    .page-gift-code__features-grid {
        gap: 20px;
        margin-top: 30px;
    }
    .page-gift-code__card {
        padding: 25px;
    }
    .page-gift-code__card-title {
        font-size: 20px;
    }
    .page-gift-code__card-image {
        max-width: 250px;
    }
    .page-gift-code__card-description {
        font-size: 15px;
    }
    .page-gift-code__btn-secondary {
        padding: 10px 20px;
        font-size: 15px;
    }
    .page-gift-code__step-number {
        width: 50px;
        height: 50px;
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-gift-code__step-title {
        font-size: 18px;
    }
    .page-gift-code__step-description {
        font-size: 15px;
    }
    .page-gift-code__feature-icon {
        max-width: 100px;
    }
    .page-gift-code__feature-title {
        font-size: 18px;
    }
    .page-gift-code__feature-description {
        font-size: 15px;
    }
    .page-gift-code__image-full-width {
        margin: 30px auto;
    }
    .page-gift-code__list-item {
        padding: 15px 20px;
        font-size: 15px;
    }
    .page-gift-code__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-gift-code__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-gift-code__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    .page-gift-code__faq-answer {
        padding: 0 15px;
    }
    .page-gift-code__faq-item.active .page-gift-code__faq-answer {
        padding: 15px !important;
    }
    .page-gift-code img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}