* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "STSong", "等线", "SimSun", "宋体", "FangSong", "仿宋", "Songti SC", "Noto Serif SC", "Source Han Serif SC", "PMingLiU", serif;
    background: linear-gradient(135deg, #e8f5e9 0%, #d4edda 30%, #c8e6c9 60%, #a5d6a7 100%);
    min-height: 100vh;
    color: #2d3748;
    line-height: 1.6;
    background-attachment: fixed;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(22, 153, 78, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(225, 71, 43, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(22, 153, 78, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.logo-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    padding: 15px;
    display: none;
}

.logo-img {
    width: 8vw;
    max-width: 100px;
    min-width: 50px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
}

h1 {
    text-align: center;
    color: #16994e;
    margin-bottom: 30px;
    font-size: 2.2em;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(22, 153, 78, 0.1);
    letter-spacing: 2px;
}

h2 {
    text-align: center;
    color: #e1472b;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: 700;
}

h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page {
    display: none;
    animation: fadeInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    -webkit-animation: fadeInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.page.active {
    display: block;
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
        -webkit-transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        -webkit-transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
        -webkit-transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        -webkit-transform: translateY(0);
    }
}

@-webkit-keyframes liquidFlow {
    0%, 100% { transform: translateY(0) scaleY(1); -webkit-transform: translateY(0) scaleY(1); }
    25% { transform: translateY(-3px) scaleY(1.02); -webkit-transform: translateY(-3px) scaleY(1.02); }
    50% { transform: translateY(1px) scaleY(0.98); -webkit-transform: translateY(1px) scaleY(0.98); }
    75% { transform: translateY(-1px) scaleY(1.01); -webkit-transform: translateY(-1px) scaleY(1.01); }
}

@keyframes liquidFlow {
    0%, 100% { transform: translateY(0) scaleY(1); -webkit-transform: translateY(0) scaleY(1); }
    25% { transform: translateY(-3px) scaleY(1.02); -webkit-transform: translateY(-3px) scaleY(1.02); }
    50% { transform: translateY(1px) scaleY(0.98); -webkit-transform: translateY(1px) scaleY(0.98); }
    75% { transform: translateY(-1px) scaleY(1.01); -webkit-transform: translateY(-1px) scaleY(1.01); }
}

@-webkit-keyframes bubble {
    0% { opacity: 0; transform: translateY(0) scale(0); -webkit-transform: translateY(0) scale(0); }
    50% { opacity: 0.6; transform: translateY(-15px) scale(1); -webkit-transform: translateY(-15px) scale(1); }
    100% { opacity: 0; transform: translateY(-30px) scale(0.8); -webkit-transform: translateY(-30px) scale(0.8); }
}

@keyframes bubble {
    0% { opacity: 0; transform: translateY(0) scale(0); -webkit-transform: translateY(0) scale(0); }
    50% { opacity: 0.6; transform: translateY(-15px) scale(1); -webkit-transform: translateY(-15px) scale(1); }
    100% { opacity: 0; transform: translateY(-30px) scale(0.8); -webkit-transform: translateY(-30px) scale(0.8); }
}

@-webkit-keyframes float {
    0%, 100% { transform: translateY(0); -webkit-transform: translateY(0); }
    50% { transform: translateY(-10px); -webkit-transform: translateY(-10px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); -webkit-transform: translateY(0); }
    50% { transform: translateY(-10px); -webkit-transform: translateY(-10px); }
}

@-webkit-keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@-webkit-keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(22, 153, 78, 0.3); }
    50% { box-shadow: 0 0 40px rgba(22, 153, 78, 0.6); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(22, 153, 78, 0.3); }
    50% { box-shadow: 0 0 40px rgba(22, 153, 78, 0.6); }
}

.intro {
    text-align: center;
    margin-bottom: 20px;
    padding: 30px 20px;
}

.intro p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #4a5568;
    line-height: 1.8;
}

.intro .highlight {
    color: #16994e;
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: #e1472b;
    text-underline-offset: 4px;
}

.more-link {
    display: block;
    width: max-content;
    margin: 30px auto 0;
    font-size: 1.8em;
    font-family: inherit;
    font-weight: 900;
    color: #16994e;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.more-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #16994e, #148a45);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.more-link:hover {
    color: #e1472b;
    transform: translateY(-2px);
}

.more-link:hover::after {
    background: linear-gradient(90deg, #e1472b, #c63c24);
    transform: scaleX(1);
}

.start-btn {
    background: linear-gradient(145deg, #16994e, #148a45);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 1.2em;
    font-weight: 900;
    border-radius: 35px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 25px;
    box-shadow: 
        0 8px 20px rgba(22, 153, 78, 0.35), 
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.start-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.start-btn:hover::before {
    left: 100%;
}

.start-btn:hover,
.start-btn:active {
    background: linear-gradient(145deg, #e1472b, #c63c24);
    transform: scale(1.03) translateY(-3px);
    box-shadow: 
        0 12px 30px rgba(225, 71, 43, 0.45), 
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.start-btn:active {
    transform: scale(0.98) translateY(-1px);
    box-shadow: 
        0 4px 10px rgba(225, 71, 43, 0.3), 
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.question {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 28px;
    border-radius: 22px;
    margin-bottom: 24px;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.06), 
        0 2px 6px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(22, 153, 78, 0.1);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.question:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.08), 
        0 4px 10px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.question h3 {
    margin-bottom: 24px;
    color: #16994e;
    font-size: 1.2em;
    line-height: 1.7;
    font-weight: 800;
    padding-top: 10px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.option {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 2px solid rgba(22, 153, 78, 0.12);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 1.05em;
    background: linear-gradient(145deg, #ffffff, #fafafa);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04), 
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #16994e, #148a45);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom;
    z-index: 1;
}

.option::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, 
        rgba(22, 153, 78, 0.15) 0%, 
        rgba(22, 153, 78, 0.1) 30%,
        rgba(22, 153, 78, 0.06) 60%,
        rgba(22, 153, 78, 0.03) 100%);
    transition: height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.option:hover {
    border-color: #16994e;
    transform: translateY(-2px) translateX(4px);
    box-shadow: 
        0 6px 16px rgba(22, 153, 78, 0.18), 
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.option:hover::before {
    transform: scaleY(1);
}

.option.selected {
    border-color: #16994e;
    box-shadow: 
        0 6px 16px rgba(22, 153, 78, 0.22), 
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.option.selected::before {
    transform: scaleY(1);
    background: linear-gradient(180deg, #16994e, #148a45);
}

.option.selected::after {
    height: 100%;
    animation: liquidWave 1s ease-out;
    -webkit-animation: liquidWave 1s ease-out;
}

@-webkit-keyframes liquidWave {
    0% {
        height: 0%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    40% {
        height: 60%;
    }
    60% {
        height: 90%;
    }
    80% {
        height: 100%;
    }
    100% {
        height: 100%;
        opacity: 1;
    }
}

@keyframes liquidWave {
    0% {
        height: 0%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    40% {
        height: 60%;
    }
    60% {
        height: 90%;
    }
    80% {
        height: 100%;
    }
    100% {
        height: 100%;
        opacity: 1;
    }
}

.option.selected::after {
    background: linear-gradient(180deg, 
        rgba(22, 153, 78, 0.18) 0%, 
        rgba(22, 153, 78, 0.12) 40%,
        rgba(22, 153, 78, 0.08) 70%,
        rgba(22, 153, 78, 0.04) 100%);
}

.option-radio {
    width: 24px;
    height: 24px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    background: white;
    z-index: 2;
}

.option:hover .option-radio {
    border-color: #16994e;
    transform: scale(1.1);
}

.option.selected .option-radio {
    border-color: #16994e;
    background: #16994e;
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(22, 153, 78, 0.4);
}

.option.selected .option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: scaleIn 0.3s ease;
    -webkit-animation: scaleIn 0.3s ease;
}

@-webkit-keyframes scaleIn {
    0% { transform: translate(-50%, -50%) scale(0); -webkit-transform: translate(-50%, -50%) scale(0); }
    100% { transform: translate(-50%, -50%) scale(1); -webkit-transform: translate(-50%, -50%) scale(1); }
}

@keyframes scaleIn {
    0% { transform: translate(-50%, -50%) scale(0); -webkit-transform: translate(-50%, -50%) scale(0); }
    100% { transform: translate(-50%, -50%) scale(1); -webkit-transform: translate(-50%, -50%) scale(1); }
}

.option-text {
    color: #374151;
    flex: 1;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.option.selected .option-text {
    color: #16994e;
    font-weight: 600;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
    gap: 15px;
}

.nav-btn {
    padding: 14px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.05em;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.08), 
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 120px;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.4s ease;
}

.nav-btn:hover::before {
    left: 100%;
}

.prev-btn {
    background: linear-gradient(145deg, #ffffff, #f1f3f4);
    color: #16994e;
    border: 2px solid rgba(22, 153, 78, 0.25);
}

.next-btn {
    background: linear-gradient(145deg, #16994e, #148a45);
    color: white;
    box-shadow: 
        0 6px 16px rgba(22, 153, 78, 0.35), 
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.submit-btn {
    background: linear-gradient(145deg, #16994e, #148a45);
    color: white;
    box-shadow: 
        0 6px 16px rgba(22, 153, 78, 0.35), 
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.nav-btn:hover:not(:disabled),
.nav-btn:active:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 20px rgba(225, 71, 43, 0.4), 
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    background: linear-gradient(145deg, #e1472b, #c43d23);
    color: white;
    border-color: #e1472b;
}

.nav-btn:active:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 10px rgba(225, 71, 43, 0.3), 
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.result-box {
    width: 92vw;
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.result {
    text-align: center;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 25px 25px 45px;
    border-radius: 24px;
    box-shadow: 
        0 12px 32px rgba(22, 153, 78, 0.18), 
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(22, 153, 78, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: auto;
    overflow: visible;
    position: relative;
}

#result .result,
#result .result * {
    font-weight: 800;
}

.result h2 {
    margin: 0;
    font-size: 1.15em;
    color: #16994e;
    font-weight: 800;
    padding-top: 10px;
}

.result .tag {
    display: inline-block;
    background: linear-gradient(145deg, #16994e, #148a45);
    color: white;
    padding: 14px 30px;
    border-radius: 35px;
    font-size: 1.4em;
    font-weight: 900;
    margin: 8px 0 12px;
    box-shadow: 
        0 6px 18px rgba(22, 153, 78, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    max-width: 92%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    animation: pulse-glow 2s ease-in-out infinite;
    -webkit-animation: pulse-glow 2s ease-in-out infinite;
}

.result img {
    max-width: 94%;
    max-height: 56%;
    border-radius: 18px;
    margin: 15px 0 8px;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.06);
    border: 4px solid #16994e;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.result img:hover {
    transform: scale(1.02);
}

.result h3 {
    color: #16994e;
    margin: 12px 0 8px;
    font-size: 1.1em;
    font-weight: 800;
}

#resultType {
    font-size: 2.2em;
    line-height: 1.2;
    color: #e1472b;
    text-shadow: 0 2px 4px rgba(225, 71, 43, 0.1);
}

.video-section {
    width: 100%;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 3px solid rgba(22, 153, 78, 0.1);
    position: relative;
}

.video-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: linear-gradient(90deg, #16994e, #e1472b);
    border-radius: 3px;
}

.video-intro {
    width: 100%;
    margin: 15px auto;
    text-align: center;
}

.video-intro .video-container {
    position: relative;
    display: inline-block;
    border: 6px solid #16994e;
    border-radius: 16px;
    overflow: hidden;
}

.video-intro .video-container video {
    display: block;
    max-width: 520px;
    width: 100%;
    object-fit: cover;
    background: #000;
}

.video-section h3 {
    color: #16994e;
    margin-bottom: 18px;
    font-weight: 800;
    text-align: center;
}

.result-page-title {
    text-align: center;
    color: #16994e;
    font-size: 2em;
    font-weight: 900;
    margin: 0 auto 25px;
    padding: 15px 0;
    text-shadow: 0 2px 4px rgba(22, 153, 78, 0.1);
}

.result p {
    font-size: 1.2em;
    margin: 3px 0;
    color: #e1472b;
    text-align: center;
    line-height: 1.3;
    font-weight: 800;
}

.result #resultDescription {
    width: 100%;
    max-width: 600px;
    margin: 28px 0 6px;
    text-align: center;
    font-size: 1.05em;
    color: #4a5568;
    line-height: 1.8;
}

#resultMessage {
    margin-top: 6px;
    font-size: 1em;
    color: #6b7280;
}

.all-results-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 25px;
}

.result-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 24px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(22, 153, 78, 0.1);
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.result-card h3 {
    color: #16994e;
    margin-bottom: 12px;
    font-weight: 800;
}

.result-card p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 8px;
}

.result-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.result-card .content {
    flex: 1;
}

.result-card .image {
    flex-shrink: 0;
    width: 120px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.result-card .image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: 3px solid #16994e;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.result-card:hover .image img {
    transform: scale(1.05);
}

.result-card h3 {
    color: #16994e;
    margin: 0 0 12px 0;
    font-size: 1.25em;
    font-weight: 800;
}

.result-card .tag {
    display: inline-block;
    background: linear-gradient(145deg, #16994e, #148a45);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.95em;
    font-weight: 800;
    margin: 6px 0 16px 0;
    box-shadow: 0 4px 12px rgba(22, 153, 78, 0.3);
}

.result-card p {
    margin: 10px 0;
    line-height: 1.6;
}

.result-card .description {
    color: #4a5568;
    font-size: 0.98em;
}

.result-card .message {
    color: #e1472b;
    font-weight: 800;
}

.get-same {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    color: #16994e;
    border: 2px solid rgba(22,153,78,0.22);
    background: linear-gradient(145deg, rgba(22,153,78,0.08), rgba(225,71,43,0.06));
    box-shadow: 0 4px 12px rgba(22,153,78,0.12), inset 0 1px 0 rgba(255,255,255,0.85);
    transform: translateY(0);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    user-select: none;
}

.get-same:hover {
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(225,71,43,0.35);
    color: #e1472b;
    box-shadow: 0 6px 16px rgba(225,71,43,0.14), 0 6px 16px rgba(22,153,78,0.14), inset 0 1px 0 rgba(255,255,255,0.9);
}

.get-same:active {
    transform: translateY(0) scale(0.99);
}

.get-same .cart-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
    animation: cartWiggle 1.8s ease-in-out infinite;
    -webkit-animation: cartWiggle 1.8s ease-in-out infinite;
}

@-webkit-keyframes cartWiggle {
    0%, 100% { transform: rotate(0deg) translateY(0); -webkit-transform: rotate(0deg) translateY(0); }
    30% { transform: rotate(-6deg) translateY(-1px); -webkit-transform: rotate(-6deg) translateY(-1px); }
    60% { transform: rotate(6deg) translateY(0); -webkit-transform: rotate(6deg) translateY(0); }
}

@keyframes cartWiggle {
    0%, 100% { transform: rotate(0deg) translateY(0); -webkit-transform: rotate(0deg) translateY(0); }
    30% { transform: rotate(-6deg) translateY(-1px); -webkit-transform: rotate(-6deg) translateY(-1px); }
    60% { transform: rotate(6deg) translateY(0); -webkit-transform: rotate(6deg) translateY(0); }
}

.btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.result-card.current-result {
    border: 2px solid #16994e;
    box-shadow: 0 6px 16px rgba(22,153,78,0.2);
    background: linear-gradient(145deg, #f0f9f0, #ffffff);
}

.result-card.current-result h3 {
    color: #16994e;
    font-weight: bold;
}

.restart-btn {
    background: linear-gradient(145deg, #16994e, #148a45);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(22,153,78,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

.restart-btn:hover,
.restart-btn:active {
    background: linear-gradient(145deg, #e1472b, #c63c24);
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 6px 16px rgba(225,71,43,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}

.test-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.questions-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.question-item {
    scroll-margin-top: 70px;
}

.test-actions {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 18px 0 8px;
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #16994e;
    font-size: 0.9em;
}

.draggable-ball {
    cursor: grab;
    z-index: 9999;
    opacity: 1;
    animation: sway 1.8s ease-in-out infinite;
    -webkit-animation: sway 1.8s ease-in-out infinite;
    pointer-events: auto;
}

.bottle-wrapper {
    position: relative;
    width: 50px;
    height: auto;
    overflow: hidden;
}

.bottle-wrapper.draggable-ball {
    position: fixed;
    top: 40%;
    left: 80%;
    width: 8vw;
    max-width: 80px;
    height: auto;
}

.bottle-img {
    width: 8vw;
    max-width: 80px;
    height: auto;
    display: block;
    pointer-events: none;
}

.bottle-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: url('../images/剪影.webp') center bottom no-repeat;
    background-size: 100% auto;
    transition: height 0.5s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    pointer-events: none;
}

.bottle-fill.filling {
    animation: liquidFlow 0.5s ease-in-out infinite;
    -webkit-animation: liquidFlow 0.5s ease-in-out infinite;
}

.draggable-ball.dragging {
    animation: none;
    transform: rotate(5deg);
    transition: transform 0.1s ease;
}

.draggable-ball.releasing {
    animation: none;
    transition: transform 0.3s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.draggable-ball:active {
    cursor: grabbing;
    opacity: 1;
    animation: none;
}

.get-same-float {
    position: fixed;
    left: 6vw;
    top: 260px;
    display: none;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-direction: column;
    user-select: none;
    z-index: 9999;
    padding: 8px 8px 14px;
}

.get-same-float.show {
    display: flex;
}

.get-same-float .cart-link {
    width: 7vw;
    max-width: 56px;
    height: 7vw;
    max-height: 56px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #16994e;
    background: linear-gradient(145deg, #ffffff, #f0fdf4);
    background: -webkit-gradient(linear, 145deg, #ffffff, #f0fdf4);
    box-shadow: 
        0 4px 12px rgba(22, 153, 78, 0.15),
        0 2px 4px rgba(22, 153, 78, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    -webkit-box-shadow: 
        0 4px 12px rgba(22, 153, 78, 0.15),
        0 2px 4px rgba(22, 153, 78, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(22, 153, 78, 0.15);
    transform: translateY(0);
    -webkit-transform: translateY(0);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    -webkit-transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: cartFloat 2.5s ease-in-out infinite;
    -webkit-animation: cartFloat 2.5s ease-in-out infinite;
}

@-webkit-keyframes cartFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        -webkit-transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
        -webkit-transform: translateY(-5px) scale(1.02);
    }
}

@keyframes cartFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        -webkit-transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
        -webkit-transform: translateY(-5px) scale(1.02);
    }
}

.get-same-float .cart-link:hover {
    transform: translateY(-4px) scale(1.05);
    -webkit-transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 12px 24px rgba(22, 153, 78, 0.28),
        0 6px 12px rgba(22, 153, 78, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(22, 153, 78, 0.3);
}

.get-same-float .cart-link:active {
    transform: translateY(-2px) scale(0.98);
}

.get-same-float .cart-icon {
    width: 5.5vw;
    max-width: 44px;
    height: 5.5vw;
    max-height: 44px;
    filter: drop-shadow(0 2px 4px rgba(22, 153, 78, 0.15));
    transition: filter 0.25s ease;
}

.get-same-float .cart-link:hover .cart-icon {
    filter: drop-shadow(0 4px 8px rgba(22, 153, 78, 0.25));
}

.get-same-float .label {
    font-weight: 900;
    font-size: 1.2vw;
    max-font-size: 12px;
    line-height: 1.05;
    letter-spacing: 0.5px;
    text-align: center;
    white-space: nowrap;
    color: #16994e;
}

@-webkit-keyframes sway {
    0%, 100% { transform: translateX(0); -webkit-transform: translateX(0); }
    50% { transform: translateX(-5px); -webkit-transform: translateX(-5px); }
}

@keyframes sway {
    0%, 100% { transform: translateX(0); -webkit-transform: translateX(0); }
    50% { transform: translateX(-5px); -webkit-transform: translateX(-5px); }
}

@-webkit-keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; -webkit-transform: scale(1); }
    50% { transform: scale(1.05); opacity: 1; -webkit-transform: scale(1.05); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; -webkit-transform: scale(1); }
    50% { transform: scale(1.05); opacity: 1; -webkit-transform: scale(1.05); }
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f5e9 0%, #d4edda 30%, #c8e6c9 60%, #a5d6a7 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(22, 153, 78, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(225, 71, 43, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(22, 153, 78, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.loader-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.container.loaded {
    opacity: 1;
}

.loader-title {
    font-size: 1.8em;
    color: #16994e;
    margin-bottom: 35px;
    text-align: center;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(22, 153, 78, 0.15);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.loader-progress-container {
    width: 70%;
    max-width: 340px;
    min-width: 240px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 
        inset 0 2px 6px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #16994e, #148a45, #16994e);
    background-size: 200% 100%;
    border-radius: 6px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
    animation: shimmer 2s linear infinite;
    -webkit-animation: shimmer 2s linear infinite;
    box-shadow: 0 0 10px rgba(22, 153, 78, 0.4);
}

.loader-percent {
    margin-top: 20px;
    font-size: 1.4em;
    color: #2d3748;
    font-weight: 800;
    text-align: center;
    position: relative;
    z-index: 1;
}

.loader-hint {
    margin-top: 12px;
    font-size: 1em;
    color: #6b7280;
    text-align: center;
    position: relative;
    z-index: 1;
}

.loader-bubbles {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.loader-bubble {
    width: 8px;
    height: 8px;
    background: rgba(22, 153, 78, 0.4);
    border-radius: 50%;
    animation: bubble 1.5s ease-in-out infinite;
    -webkit-animation: bubble 1.5s ease-in-out infinite;
}

.loader-bubble:nth-child(2) {
    animation-delay: 0.3s;
}

.loader-bubble:nth-child(3) {
    animation-delay: 0.6s;
}

@media (max-width: 768px) {
    .container {
        padding: 12px;
    }

    h1 {
        font-size: 1.6em;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.3em;
    }

    h3 {
        font-size: 1em;
    }

    .intro {
        margin-bottom: 20px;
    }

    .intro p {
        font-size: 1em;
        margin-bottom: 12px;
    }

    .start-btn {
        padding: 13px 35px;
        font-size: 1em;
    }

    .more-link {
        font-size: 1.4em;
    }

    .question {
        padding: 18px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .question h3 {
        margin-bottom: 16px;
        font-size: 1em;
    }

    .option {
        padding: 12px 14px;
        font-size: 0.95em;
    }

    .option-radio {
        width: 20px;
        height: 20px;
        margin-right: 12px;
    }

    .result {
        padding: 20px;
    }

    .result img {
        max-width: 94%;
        max-height: 54%;
    }

    .result-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .result-card .image {
        order: -1;
        margin-bottom: 15px;
    }

    .result-card .content {
        width: 100%;
    }

    .video-container video {
        max-width: 100%;
    }

    .result-page-title {
        font-size: 1.6em;
    }

    #resultTag {
        font-size: 0.9em;
        padding: 6px 14px;
    }

    .get-same-float {
        left: 8vw;
        top: 220px;
    }

    .get-same-float .cart-link {
        width: 14vw;
        max-width: 50px;
        height: 14vw;
        max-height: 50px;
        background: linear-gradient(145deg, #ffffff, #f0fdf4);
        background: -webkit-gradient(linear, 145deg, #ffffff, #f0fdf4);
        box-shadow: 
            0 4px 12px rgba(22, 153, 78, 0.15),
            0 2px 4px rgba(22, 153, 78, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
        -webkit-box-shadow: 
            0 4px 12px rgba(22, 153, 78, 0.15),
            0 2px 4px rgba(22, 153, 78, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
        border: 2px solid rgba(22, 153, 78, 0.15);
        animation: cartFloat 2.5s ease-in-out infinite;
        -webkit-animation: cartFloat 2.5s ease-in-out infinite;
    }

    .get-same-float .cart-link:hover {
        transform: translateY(-4px) scale(1.05);
        -webkit-transform: translateY(-4px) scale(1.05);
        box-shadow: 
            0 12px 24px rgba(22, 153, 78, 0.28),
            0 6px 12px rgba(22, 153, 78, 0.15);
    }

    .get-same-float .cart-icon {
        width: 11vw;
        max-width: 38px;
        height: 11vw;
        max-height: 38px;
        filter: drop-shadow(0 2px 4px rgba(22, 153, 78, 0.15));
    }

    .get-same-float .label {
        font-size: 1.8vw;
    }

    .loader-title {
        font-size: 1.2em;
    }

    .loader-percent {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .draggable-ball {
        bottom: 20px;
        right: 20px;
        width: 12vw;
        max-width: 60px;
    }

    h1 {
        font-size: 1.4em;
    }

    .more-link {
        font-size: 1.1em;
    }

    .intro {
        padding: 20px 15px;
    }

    .question {
        padding: 15px;
        border-radius: 12px;
    }

    .option {
        padding: 11px 12px;
        font-size: 0.9em;
    }

    .option-radio {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }

    .nav-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .result-card .image {
        width: 100px;
        height: 140px;
    }

    .btn-group {
        flex-direction: column;
        align-items: center;
    }

    .restart-btn {
        width: 80%;
        margin-top: 15px;
    }

    .all-results-container {
        padding: 10px;
    }

    .loader-title {
        font-size: 1em;
    }

    .loader-progress-container {
        width: 75%;
        min-width: 150px;
    }
}