:root {
    --primary-color: #8B0000;
    /* Deep Red for important text */
    --secondary-color: #D4AF37;
    /* Metallic Gold for headers */
    --accent-color: #D32F2F;
    /* Bright Red for accents */
    --accent-glow: #FFD700;
    /* Gold Glow */
    --dark-bg: #8E0E0E;
    /* Fallback Red */
    --glass-bg: rgba(255, 252, 240, 0.95);
    /* Creamy Paper Background */
    --glass-border: #D4AF37;
    /* Gold border */
    --success-green: #2E7D32;
    --text-dark: #4E342E;
    /* Warm Dark Brown text */
    --font-main: 'Noto Sans TC', sans-serif;
    --transition-speed: 0.5s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    /* Festive Red Gradient Background */
    background: linear-gradient(135deg, #D32F2F 0%, #880E4F 100%);
    min-height: 100vh;
}

/* --- Hero Section (Static) --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    background: url('assets/cny_hero.png') no-repeat center center;
    background-size: cover;
    border-bottom: 5px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    background: rgba(139, 0, 0, 0.4);
    padding: 20px 40px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.cny-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: #FFF;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    /* Gold Gradient Text */
    background: linear-gradient(to bottom, #FFECB3 0%, #FFC107 50%, #FF6F00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 0 #5D4037);
}

.brand-name {
    font-size: 6rem;
    display: block;
    background: linear-gradient(to bottom, #FFF8E1 0%, #FFD54F 40%, #FF8F00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 0 #3E2723);
    font-weight: 800;
    letter-spacing: 5px;
}

.cny-subtitle {
    font-size: 2.5rem;
    color: #FFF;
    margin-top: 10px;
    letter-spacing: 15px;
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    background: #B71C1C;
    display: inline-block;
    padding: 5px 30px;
    border-radius: 50px;
    border: 2px solid #FFD700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Hide Old Slider Elements just in case HTML lingers */
.slider-container,
.slide,
.prev-btn,
.next-btn,
.slider-dots {
    display: none;
}

@media (max-width: 768px) {
    .cny-title {
        font-size: 3rem;
    }

    .brand-name {
        font-size: 3.5rem;
    }

    .cny-subtitle {
        font-size: 1.5rem;
        letter-spacing: 5px;
    }

    .hero-section {
        height: 50vh;
        min-height: 400px;
    }
}

/* --- Main Content --- */
.main-container {
    padding: 60px 20px 140px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #FFD700;
    /* Gold Title on Red BG */
    margin-bottom: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.highlight {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* --- Intro Section Styles --- */
.intro-section {
    padding: 20px 0;
}

.content-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
    background: var(--glass-bg);
    /* Cream card */
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--secondary-color);
    /* Gold border */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.content-block.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

.block-title {
    font-size: 2rem;
    color: var(--primary-color);
    /* Deep red title inside card */
    margin-bottom: 20px;
    font-weight: 700;
}

.text-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.text-content ul {
    list-style: none;
}

.text-content ul li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.text-content ul li::before {
    content: '★';
    /* Star instead of check */
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.rounded-img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    border: 2px solid var(--secondary-color);
}

.shadow-box {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Trust / Cert Section */
.trust-section {
    margin-bottom: 60px;
    padding: 40px;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #FFF;
    /* White subtitle on Red BG outside cards */
    margin-bottom: 40px;
    text-align: center;
    opacity: 0.9;
}

.trust-section .section-title {
    color: var(--primary-color);
    /* Red title inside cream card */
    text-shadow: none;
}

.trust-section .section-subtitle {
    color: var(--text-dark);
    /* Brown subtitle inside cream card */
    text-align: center;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.cert-card {
    background: #FFF;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #EEE;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cert-card:hover {
    transform: translateY(-5px);
    border: 1px solid var(--secondary-color);
}

.cert-card img {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 5px;
}

.cert-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.trust-badge-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 20px;
    background: #FFF;
    border: 2px solid var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* --- Questionnaire (Festive Card Style) --- */
.questionnaire-section {
    background: #FFF8E1;
    /* Cream/Light Yellow Card */
    border: 4px solid var(--secondary-color);
    /* Thick Gold Border */
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    color: var(--text-dark);
}

.questionnaire-section .section-title {
    color: var(--primary-color);
    text-shadow: none;
    border-bottom: 2px dashed var(--secondary-color);
    padding-bottom: 15px;
    display: inline-block;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background-color: #E0E0E0;
    border-radius: 3px;
    margin-bottom: 40px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFAB00);
    /* Gold Gradient Bar */
    box-shadow: 0 0 10px #FFD700;
    transition: width 0.5s ease;
}

.question-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
    text-align: center;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-text {
    font-size: 1.6rem;
    color: var(--primary-color);
    /* Deep Red Question Text */
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: bold;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.btn-option {
    padding: 14px 50px;
    font-size: 1.2rem;
    border: 2px solid var(--secondary-color);
    background: #FFF;
    color: #B71C1C;
    /* Dark Red Text */
    border-radius: 50px;
    /* Pill shape */
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
}

.btn-option:hover {
    background: linear-gradient(to bottom, #FFD700, #FFC107);
    color: #8B0000;
    border-color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* --- Purchase Section --- */
.purchase-section {
    margin-top: 80px;
    text-align: center;
    padding-bottom: 20px;
}

.product-card-large {
    background: #FFF8E1;
    /* Cream Card */
    border: 3px solid var(--secondary-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.product-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #D4AF37, #FFD700, #D4AF37);
    /* Gold shimmer border */
}

.product-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.product-info p {
    color: var(--text-dark);
    margin-bottom: 25px;
}

.price-tag {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 15px;
}

.original-price {
    text-decoration: line-through;
    color: #795548;
    font-size: 1.2rem;
}

.sale-price {
    color: #D32F2F;
    /* Red Price */
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: none;
}

.large-btn {
    display: inline-block;
    padding: 16px 60px;
    font-size: 1.3rem;
    width: 100%;
    max-width: 350px;
}

.shipping-note {
    margin-top: 20px;
    font-size: 1rem !important;
    color: var(--success-green) !important;
    font-weight: bold;
}

/* --- Result & CTA inside Questionnaire --- */
#cta-box {
    text-align: center;
    animation: fadeIn 1s forwards;
}

.result-message h3 {
    font-size: 3rem;
    color: #D32F2F;
    margin-bottom: 15px;
}

.result-message p {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.sub-text {
    opacity: 0.8;
    font-style: italic;
    color: #795548;
}

/* --- Sticky Footer --- */
.footer-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #B71C1C;
    /* Red Footer */
    border-top: 3px solid var(--secondary-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

.footer-cta.visible {
    transform: translateY(0);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 900px;
    gap: 20px;
}

.footer-content p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFD700;
    /* Gold text on Red footer */
    margin: 0;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
}

/* Festive Red Envelope Button Style */
.glow-button {
    background: linear-gradient(180deg, #FFD700 0%, #FFA000 100%);
    /* Gold Button */
    color: #8B0000;
    /* Red Text */
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 0 #B07800;
    /* 3D effect */
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
    border: 2px solid #FFF;
}

.glow-button:hover {
    transform: translateY(2px);
    /* Press down effect */
    box-shadow: 0 2px 0 #B07800;
    background: linear-gradient(180deg, #FFEA00 0%, #FFC107 100%);
}

.hidden {
    display: none;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .section-title {
        font-size: 1.8rem;
    }

    .content-block,
    .content-block.reverse {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .text-content ul li {
        text-align: left;
        display: inline-block;
    }

    .questionnaire-section {
        padding: 30px 20px;
    }

    .question-text {
        font-size: 1.3rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-content p {
        margin-bottom: 5px;
    }

    .glow-button {
        width: 100%;
    }

    .hero-section {
        height: 60vh;
    }
}