/* ============================================
   善心众筹 - 温暖公益设计
   Warm Charity Design
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600&display=swap');

:root {
    /* Warm Charity Color Palette */
    --primary: #d4763b;
    --primary-dark: #b85a28;
    --primary-light: #e8a67a;
    --accent: #f4b942;
    --bg-primary: #faf8f5;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0ede8;
    --border-color: #e8e3d8;
    --text-primary: #2d2a26;
    --text-secondary: #6b645a;
    --text-muted: #9a9084;

    /* Status Colors */
    --success: #4a8c5a;
    --success-bg: #e8f0eb;
    --warning: #c97b3a;
    --warning-bg: #fdf4ea;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(45, 42, 38, 0.04);
    --shadow-md: 0 4px 12px rgba(45, 42, 38, 0.08);
    --shadow-lg: 0 8px 24px rgba(45, 42, 38, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* Subtle texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at 1px 1px, rgba(212, 118, 59, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
    z-index: 0;
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: 580px;
    margin: 0 auto;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 1px var(--border-color);
    min-height: 100vh;
}

/* ============================================
   Header
   ============================================ */
.header {
    background: var(--bg-secondary);
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.header-right {
    display: flex;
    justify-content: flex-end;
}

.nav {
    display: flex;
    align-items: center;
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.user-icon {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
    background: linear-gradient(180deg, rgba(212, 118, 59, 0.04) 0%, transparent 100%);
}

.hero-title-enhanced {
    font-family: 'Noto Serif SC', serif;
    font-size: 34px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.project-desc-enhanced {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
}

/* ============================================
   Video Section
   ============================================ */
.video-section {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.video-wrapper {
    margin-bottom: var(--spacing-lg);
}

.video-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #1a1815;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.campaign-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.campaign-video:fullscreen {
    object-fit: contain;
}

.campaign-video::-webkit-full-screen {
    object-fit: contain;
}

.campaign-video::-moz-full-screen {
    object-fit: contain;
}

.campaign-video::-ms-fullscreen {
    object-fit: contain;
}

.campaign-video::-webkit-media-controls,
.campaign-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(26, 24, 21, 0.5);
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.3s ease;
}

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

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play-button:hover {
    transform: scale(1.05);
}

.play-icon {
    width: 28px;
    height: 28px;
    color: var(--primary);
    margin-left: 3px;
}

.video-overlay-text {
    color: var(--bg-secondary);
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   Video Controls
   ============================================ */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 24, 21, 0.9) 0%, rgba(26, 24, 21, 0.6) 70%, transparent 100%);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-controls,
.video-controls:hover {
    opacity: 1;
}

.video-control-btn {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.video-control-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

.video-control-btn:active {
    transform: scale(0.95);
}

.control-icon {
    width: 20px;
    height: 20px;
    display: block;
}

/* Video Progress */
.video-progress {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    height: 24px;
    margin: 0 var(--spacing-xs);
}

.progress-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.progress-slider:hover::-webkit-slider-thumb {
    opacity: 1;
}

.progress-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.progress-slider:hover::-moz-range-thumb {
    opacity: 1;
}

.progress-bar-fill {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: var(--primary);
    border-radius: var(--radius-full);
    pointer-events: none;
    width: 0%;
    z-index: 1;
}

/* Video Time */
.video-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    min-width: 80px;
}

.time-sep {
    opacity: 0.6;
}

/* Mobile video controls */
@media (max-width: 480px) {
    .video-controls {
        padding: var(--spacing-sm);
        gap: 4px;
    }

    .video-control-btn {
        padding: 6px;
    }

    .control-icon {
        width: 18px;
        height: 18px;
    }

    .video-progress {
        margin: 0 4px;
    }

    .video-time {
        min-width: 70px;
        font-size: 11px;
    }
}

/* ============================================
   Campaign Section
   ============================================ */
.campaign-section {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.campaign-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* Progress Top Row */
.progress-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-md);
}

.progress-main {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.progress-amount {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Noto Serif SC', serif;
}

.progress-sep {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.progress-target {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.progress-badge {
    font-size: 11px;
    color: var(--primary);
    background: rgba(212, 118, 59, 0.12);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.progress-percent {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Noto Serif SC', serif;
    line-height: 1;
}

/* Progress Bar */
.progress-track {
    margin-bottom: var(--spacing-md);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-full);
    width: 0%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--bg-tertiary);
}

/* Stats Compact Row */
.stats-compact {
    display: flex;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(45, 42, 38, 0.08);
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Noto Serif SC', serif;
}

.stat-sep {
    width: 1px;
    height: 28px;
    background: rgba(45, 42, 38, 0.1);
}

/* ============================================
   Action Section
   ============================================ */
.action-section {
    padding: 0 var(--spacing-lg) var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans SC', sans-serif;
    letter-spacing: 0.01em;
}

.btn:active {
    transform: scale(0.98);
}

.btn-icon {
    font-size: 18px;
}

.btn-text {
    flex: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-secondary);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-md) var(--spacing-lg);
}

.btn-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    background: var(--border-color);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-weight: 500;
}

.btn-secondary:hover {
    background: var(--border-color);
}

/* ============================================
   Payment Modal
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 24, 21, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    max-width: 90%;
    width: 440px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.modal-title-group {
    flex: 1;
}

.modal-title-group h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.modal-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}

.modal-icon {
    font-size: 24px;
    margin-right: var(--spacing-sm);
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.modal-body {
    padding: var(--spacing-lg);
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: var(--spacing-sm);
}

.modal-footer .btn {
    flex: 1;
}

.amount-suggestions {
    margin-bottom: var(--spacing-lg);
}

.amount-suggestion-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
}

.amount-btn {
    padding: var(--spacing-md) var(--spacing-sm);
    border: 1.5px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.amount-btn:hover {
    border-color: var(--primary-light);
    background: var(--bg-tertiary);
}

.amount-btn.selected {
    border-color: var(--primary);
    background: rgba(212, 118, 59, 0.08);
    color: var(--primary);
}

.amount-value {
    display: block;
}

.badge-popular {
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 2px 8px;
    background: var(--primary);
    color: var(--bg-secondary);
    font-size: 10px;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.custom-amount-section {
    padding: var(--spacing-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.custom-amount-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.custom-amount-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.currency-symbol {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

.custom-amount-input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    outline: none;
    text-align: center;
    background: var(--bg-secondary);
    transition: border-color 0.2s ease;
}

.custom-amount-input:focus {
    border-color: var(--primary);
}

.custom-amount-input.selected {
    border-color: var(--primary);
    background: rgba(212, 118, 59, 0.04);
}

.currency-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.custom-amount-hint {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--spacing-sm);
}

.selected-summary {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    color: var(--bg-secondary);
    display: none;
    box-shadow: var(--shadow-md);
}

.selected-summary.active {
    display: flex;
}

.summary-icon {
    font-size: 28px;
}

.summary-content {
    flex: 1;
}

.summary-label {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 400;
}

.summary-amount {
    font-family: 'Noto Serif SC', serif;
    font-size: 26px;
    font-weight: 700;
}

.btn-cancel {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-weight: 500;
}

.btn-cancel:hover {
    background: var(--border-color);
}

.btn-confirm {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-secondary);
    font-size: 15px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.btn-confirm:hover {
    box-shadow: var(--shadow-lg);
}

.btn-confirm-icon {
    display: none;
}

.btn-confirm-text {
    display: inline;
}

.btn-confirm:disabled {
    background: var(--border-color);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

/* ============================================
   Experiment Modal
   ============================================ */
.experiment-modal {
    width: 480px;
}

.experiment-header {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-md);
}

.experiment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--border-color);
}

.experiment-badge svg {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

.experiment-header h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.experiment-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.experiment-icon-wrapper {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(212, 118, 59, 0.1) 0%, rgba(244, 185, 66, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(212, 118, 59, 0.2);
}

.experiment-icon {
    font-size: 36px;
}

.experiment-text-content {
    width: 100%;
}

.experiment-paragraph {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    text-align: left;
    font-weight: 300;
}

.experiment-notice {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--warning-bg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(201, 123, 58, 0.2);
}

.notice-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.notice-content {
    font-size: 13px;
    color: var(--warning);
    line-height: 1.6;
}

.notice-content strong {
    font-weight: 600;
}

.btn-confirm-experiment {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-secondary);
    font-size: 15px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Toast
   ============================================ */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--text-primary);
    color: var(--bg-secondary);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    z-index: 2000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.toast-icon-wrapper {
    width: 20px;
    height: 20px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-success-icon {
    width: 12px;
    height: 12px;
    stroke: var(--bg-secondary);
    stroke-width: 3;
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
        box-shadow: none;
    }

    .header {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .hero-section {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .hero-title-enhanced {
        font-size: 28px;
    }

    .project-desc-enhanced {
        font-size: 14px;
    }

    .video-section,
    .campaign-section,
    .action-section {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }

    .video-container {
        border-radius: var(--radius-md);
    }

    .play-button {
        width: 64px;
        height: 64px;
    }

    .play-icon {
        width: 24px;
        height: 24px;
    }

    .campaign-card {
        padding: var(--spacing-md);
    }

    .progress-amount {
        font-size: 20px;
    }

    .progress-target {
        font-size: 13px;
    }

    .progress-percent {
        font-size: 24px;
    }

    .progress-bar {
        height: 6px;
    }

    .progress-fill::after {
        width: 10px;
        height: 10px;
    }

    .stat-label {
        font-size: 11px;
    }

    .stat-value {
        font-size: 15px;
    }

    .stat-sep {
        height: 24px;
    }

    .amount-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .amount-btn {
        padding: 10px 4px;
        font-size: 14px;
    }

    .amount-value {
        font-size: 14px;
    }

    .modal {
        width: 95%;
        border-radius: var(--radius-md);
    }

    .experiment-modal {
        width: 95%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.campaign-section,
.action-section {
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.1s;
}

.action-section {
    animation-delay: 0.2s;
}

/* ============================================
   Completed Message
   ============================================ */
.completed-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.completed-content {
    text-align: center;
    max-width: 400px;
    padding: var(--spacing-xl);
}

.completed-animation {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
}

.checkmark {
    width: 80px;
    height: 80px;
}

.checkmark-circle {
    stroke: var(--success);
    stroke-width: 3;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    stroke: var(--success);
    stroke-width: 3;
    fill: none;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.completed-content h2 {
    font-family: 'Noto Serif SC', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.completed-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}
