/* ========== 基础样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6B9D;
    --primary-dark: #E85A8A;
    --secondary: #7C3AED;
    --accent: #FFD93D;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-dark: #1a1a2e;
    --text-light: #666;
    --text-white: #fff;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 420px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
}

/* ========== 页面切换 ========== */
.page {
    display: none;
    min-height: 100vh;
    padding: 20px 16px;
    animation: fadeIn 0.3s ease;
    box-sizing: border-box;
}

.page.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== 主题选择页 ========== */
#theme-page {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.theme-content {
    width: 100%;
    text-align: center;
}

.theme-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 30px 0;
}

.theme-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    position: relative;
}

.theme-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--theme-color, #667eea);
    transform: translateX(5px);
}

.theme-emoji {
    font-size: 36px;
    flex-shrink: 0;
}

.theme-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-align: left;
}

.theme-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
    margin-left: auto;
}

.theme-hot, .theme-new {
    position: absolute;
    top: -8px;
    right: 12px;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.theme-hot {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
}

.theme-new {
    background: linear-gradient(135deg, #00d2d3, #1dd1a1);
    color: #fff;
}

.theme-tip {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
}

/* ========== 落地页 ========== */
.landing-content {
    text-align: center;
    padding: 40px 20px;
}

.emoji-header {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.3;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.title .highlight {
    background: linear-gradient(90deg, #FFD93D, #FF6B9D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--text-white);
    font-size: 14px;
    margin-bottom: 30px;
}

.stats-badge .fire {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.btn-start {
    width: 100%;
    max-width: 280px;
    padding: 18px 40px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    background: var(--text-white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.btn-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.btn-start:active {
    transform: translateY(0);
}

.test-info {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.disclaimer {
    margin-top: 40px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========== 答题页 ========== */
#test-page {
    justify-content: space-between;
    /* padding: 20px 0; */
}

#test-page .question-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.test-header {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    /* padding: 0 10px; */
}

.btn-back-test {
    position: absolute;
    left: 0;
    top: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.btn-back-test:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* 题目导航按钮 */
.question-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-prev, .btn-next {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: opacity 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn-prev {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

.btn-prev:active:not(:disabled) {
    opacity: 0.7;
}

.btn-prev:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.btn-next {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.btn-next:active:not(:disabled) {
    opacity: 0.8;
}

.btn-next:disabled {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
}

.progress-info {
    text-align: center;
    color: var(--text-white);
    font-size: 16px;
    margin-bottom: 10px;
    padding: 0 40px;
}

.progress-info #current-q {
    font-size: 24px;
    font-weight: 700;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD93D, #FF6B9D);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 12.5%;
}

.question-container {
    width: 100%;
    background: var(--card-bg);
    border-radius: 24px;
    padding: 30px 20px;
    box-shadow: var(--shadow);
    margin: 0 10px;
    box-sizing: border-box;
}

.question-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 24px;
    text-align: center;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    text-align: left;
    line-height: 1.5;
    -webkit-tap-highlight-color: transparent;
}

/* 移动端不显示hover效果 */
@media (hover: hover) {
    .option:hover:not(.selected) {
        border-color: #d0d5dd;
        background: #fafafa;
    }
}

.option:active {
    background: #f5f5f5;
}

.option.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* ========== 加载页 ========== */
.loading-content {
    text-align: center;
}

.loading-emoji {
    font-size: 80px;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.loading-text {
    font-size: 20px;
    color: var(--text-white);
    margin: 20px 0;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: var(--text-white);
    border-radius: 50%;
    animation: dotPulse 1.4s infinite ease-in-out;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* ========== 结果页 ========== */
#result-page {
    justify-content: flex-start;
    padding-top: 30px;
}

.result-content {
    width: 100%;
}

.result-header {
    text-align: center;
    margin-bottom: 20px;
}

.result-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.result-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-white);
    margin-top: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.result-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 30px 24px;
    box-shadow: var(--shadow);
    text-align: center;
}

.result-emoji {
    font-size: 64px;
    margin-bottom: 16px;
}

.result-keywords {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.result-keywords span {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-dark);
}

.result-quote {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 12px;
    line-height: 1.5;
}

.result-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.result-level {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.level-label {
    font-size: 14px;
    color: var(--text-light);
}

.level-value {
    font-size: 18px;
    letter-spacing: 2px;
}

.result-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.result-stats strong {
    color: var(--accent);
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.btn-pk, .btn-share, .btn-poster, .btn-retry {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-pk {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-pk:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-share {
    background: linear-gradient(135deg, #07c160, #06ad56);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.3);
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.4);
}

.btn-poster {
    background: var(--text-white);
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.btn-poster:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-retry {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    backdrop-filter: blur(10px);
}

.btn-retry:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-copy {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: var(--text-white);
}

.btn-copy:hover {
    transform: translateY(-2px);
}

.share-hint {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========== 海报页 ========== */
#poster-page {
    background: #1a1a2e;
    justify-content: flex-start;
    padding-top: 20px;
}

.poster-container {
    width: 100%;
}

.poster-preview {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.poster-content {
    width: 320px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.poster-header {
    text-align: center;
    margin-bottom: 20px;
}

.poster-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-white);
}

.poster-result {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
}

.poster-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.poster-emoji {
    font-size: 56px;
    margin-bottom: 8px;
}

.poster-quote {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.5;
    padding: 0 10px;
}

.poster-keywords {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.poster-keywords span {
    background: linear-gradient(135deg, #667eea20, #764ba220);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    color: var(--primary);
    border: 1px solid #667eea30;
}

.poster-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
    padding: 0 8px;
    text-align: left;
}

.poster-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
}

.poster-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 11px;
    color: #999;
}

.poster-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 255, 255, 0.3);
}

.poster-qr {
    width: 60px;
    height: 60px;
    background: var(--text-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-sizing: border-box;
    overflow: hidden;
}

.poster-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.poster-cta {
    flex: 1;
    margin-left: 12px;
    color: var(--text-white);
}

.poster-cta p {
    font-size: 13px;
    margin-bottom: 4px;
}

.poster-url {
    font-size: 10px;
    opacity: 0.7;
    word-break: break-all;
}

.poster-actions {
    display: flex;
    gap: 12px;
}

.btn-save, .btn-back {
    flex: 1;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save {
    background: var(--primary);
    color: var(--text-white);
}

.btn-save:hover {
    background: var(--primary-dark);
}

.btn-back {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.2);
}

.poster-tip {
    text-align: center;
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* 生成的图片容器 */
.generated-image-container {
    margin: 20px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
}

.generated-image {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.save-tip {
    margin-top: 12px;
    font-size: 14px;
    color: #feca57;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ========== 分享弹窗 ========== */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.share-modal-content {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 340px;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
    font-size: 16px;
}

.share-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.share-modal-body {
    padding: 20px;
}

.share-wechat-tip {
    background: linear-gradient(135deg, #07c160, #06ad56);
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 16px;
}

.share-wechat-tip p {
    margin: 4px 0;
    font-size: 14px;
}

.share-text-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.share-text {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 8px;
}

.share-url {
    font-size: 12px;
    color: #666;
    word-break: break-all;
}

.btn-copy-share {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

/* ========== 确认弹窗 ========== */
.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.confirm-content {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 300px;
    padding: 24px;
    text-align: center;
    animation: modalSlideUp 0.3s ease;
}

.confirm-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.confirm-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.confirm-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.confirm-buttons {
    display: flex;
    gap: 12px;
}

.btn-confirm-cancel, .btn-confirm-ok {
    flex: 1;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
}

.btn-confirm-cancel {
    background: #f0f0f0;
    color: #666;
}

.btn-confirm-ok {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
}

/* ========== Toast提示 ========== */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    z-index: 2000;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ========== PK页面 ========== */
#pk-page {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.pk-content {
    width: 100%;
    text-align: center;
}

.pk-header {
    margin-bottom: 30px;
    position: relative;
}

.btn-back-test {
    position: absolute;
    left: 0;
    top: -5px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.btn-back-test:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.pk-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    color: #fff;
    margin-bottom: 12px;
}

.pk-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.pk-battle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.pk-player {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    width: 120px;
    backdrop-filter: blur(10px);
}

.pk-emoji {
    font-size: 48px;
    margin-bottom: 8px;
}

.pk-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.pk-type {
    font-size: 12px;
    color: #fff;
    font-weight: 600;
}

.pk-vs {
    font-size: 28px;
    font-weight: 800;
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.pk-match {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.pk-match-score {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.score-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 8px;
}

.score-value {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-percent {
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.pk-match-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

.pk-match-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #feca57);
    border-radius: 4px;
    transition: width 1s ease;
    width: 0;
}

.pk-match-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.pk-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-pk-share {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-pk-new {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(10px);
}

/* ========== 响应式 ========== */
@media (max-width: 375px) {
    .title {
        font-size: 28px;
    }
    
    .question-text {
        font-size: 18px;
    }
    
    .option {
        font-size: 14px;
        padding: 14px 16px;
    }
    
    .result-title {
        font-size: 24px;
    }
    
    .poster-content {
        width: 280px;
        padding: 20px;
    }
}

/* ========== 工具类 ========== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}
