* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-card: #21262d;
    --bg-card-hover: #30363d;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --border-color: #30363d;
    --accent-primary: #58a6ff;
    --accent-secondary: #238636;
    --accent-gold: #e3b341;
    --accent-purple: #a371f7;
    --accent-cyan: #39c5cf;
    --accent-pink: #f778ba;
    --accent-orange: #ff7b00;
    --gradient-popular: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-premium: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-special: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 50px;
}

.header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
    background: var(--bg-secondary);
    padding: 6px;
    border-radius: 12px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.toggle-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    color: var(--text-primary);
}

.toggle-btn.active {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

/* Pricing Card */
.pricing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.free {
    border-color: var(--text-muted);
}

.pricing-card.popular {
    border-color: var(--accent-purple);
    box-shadow: 0 0 30px rgba(163, 113, 247, 0.2);
}

.pricing-card.featured {
    border-color: var(--accent-gold);
    box-shadow: 0 0 30px rgba(227, 179, 65, 0.2);
}

.pricing-card.premium {
    border-color: var(--accent-pink);
    box-shadow: 0 0 30px rgba(247, 120, 186, 0.2);
}

.pricing-card.special {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(57, 197, 207, 0.2);
}

.pricing-card.ultra {
    border-color: var(--accent-orange);
    box-shadow: 0 0 30px rgba(255, 123, 0, 0.2);
}

.pricing-card.pro-plus {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 30px rgba(35, 134, 54, 0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-popular);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-header {
    margin-bottom: 24px;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.pricing-card.popular .plan-name {
    color: var(--accent-purple);
}

.pricing-card.featured .plan-name {
    color: var(--accent-gold);
}

.pricing-card.premium .plan-name {
    color: var(--accent-pink);
}

.pricing-card.special .plan-name {
    color: var(--accent-cyan);
}

.pricing-card.ultra .plan-name {
    color: var(--accent-orange);
}

.pricing-card.pro-plus .plan-name {
    color: var(--accent-secondary);
}

.price {
    position: relative;
}

.original-price {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.current-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.discount-badge {
    display: inline-block;
    background: var(--accent-secondary);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

.total-price {
    font-size: 0.875rem;
    color: var(--accent-primary);
    margin-top: 8px;
    min-height: 20px;
    transition: opacity 0.3s ease, transform 0.3s ease, font-size 0.4s ease, margin 0.4s ease;
}

.price-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: flex-direction 0.4s ease;
}

.price-container.quarterly-swapped,
.price-container.yearly-swapped {
    flex-direction: column-reverse;
}

.price-container.quarterly-swapped .total-price,
.price-container.yearly-swapped .total-price {
    order: -1;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.125rem;
    font-weight: 600;
}

.price-container.quarterly-swapped .total-price::before,
.price-container.yearly-swapped .total-price::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.features .check {
    color: var(--accent-secondary);
    font-weight: 700;
    flex-shrink: 0;
}

.feature-highlight {
    color: var(--accent-gold) !important;
    font-weight: 500;
}

.feature-exclude {
    color: var(--text-muted) !important;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(255,255,255,0.3), rgba(255,255,255,0), rgba(255,255,255,0.3));
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 100%);
    border-radius: 10px;
    z-index: -1;
    transition: all 0.3s ease;
}

.btn:hover::after {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
}

.btn-primary:hover {
    background: #79b8ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 166, 255, 0.3), 0 0 0 1px rgba(255,255,255,0.1);
}

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

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--text-secondary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.05);
}

.pricing-card.popular .btn-primary {
    background: var(--gradient-popular);
}

.pricing-card.popular .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4), 0 0 0 1px rgba(255,255,255,0.1);
}

.pricing-card.featured .btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ff9500 100%);
    color: white;
}

.pricing-card.featured .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(227, 179, 65, 0.4), 0 0 0 1px rgba(255,255,255,0.1);
}

.pricing-card.premium .btn-primary {
    background: var(--gradient-premium);
}

.pricing-card.premium .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(247, 120, 186, 0.4), 0 0 0 1px rgba(255,255,255,0.1);
}

.pricing-card.special .btn-primary {
    background: var(--gradient-special);
}

.pricing-card.special .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(57, 197, 207, 0.4), 0 0 0 1px rgba(255,255,255,0.1);
}

.pricing-card.ultra .btn-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff9500 100%);
}

.pricing-card.ultra .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(255, 123, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.1);
}

/* 会员权益悬停提示 */
.member-tooltip-wrap {
    position: relative;
    cursor: pointer;
}
.member-tooltip-wrap:hover .member-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.member-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #1c2128;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 12px 16px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 2000;
    margin-top: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.member-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #30363d;
}
.member-tooltip .tip-plan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #21262d;
    font-size: 13px;
}
.member-tooltip .tip-plan:last-child {
    border-bottom: none;
}
.member-tooltip .tip-plan-name {
    color: #f0f6fc;
    font-weight: 600;
}
.member-tooltip .tip-plan-name.indicator {
    color: #e3b341;
}
.member-tooltip .tip-plan-days {
    color: #8b949e;
    font-size: 12px;
}
.member-tooltip .tip-plan-date {
    color: #6e7681;
    font-size: 11px;
    margin-left: 8px;
}
.member-tooltip .tip-plan-expiring {
    color: #f85149;
    font-weight: 600;
}

.pricing-card.pro-plus .btn-primary {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, #2ea043 100%);
}

.pricing-card.pro-plus .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(35, 134, 54, 0.4), 0 0 0 1px rgba(255,255,255,0.1);
}

.pricing-card.qile-member {
    border-color: #9c27b0;
    box-shadow: 0 0 30px rgba(156, 39, 176, 0.2);
}

.pricing-card.qile-member .plan-name {
    color: #9c27b0;
}

.pricing-card.qile-member .btn-primary {
    background: linear-gradient(135deg, #9c27b0 0%, #673ab7 100%);
}

.pricing-card.qile-member .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(156, 39, 176, 0.4), 0 0 0 1px rgba(255,255,255,0.1);
}

/* Compare Section */
.compare-section {
    margin-bottom: 60px;
}

.compare-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.compare-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    min-width: 800px;
}

.compare-table th,
.compare-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.compare-table th {
    background: var(--bg-card);
    font-weight: 600;
    color: var(--text-primary);
    position: sticky;
    top: 0;
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.compare-table tbody tr:hover {
    background: var(--bg-card);
}

.compare-table .check {
    color: var(--accent-secondary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.footer p {
    margin-bottom: 8px;
}

.guarantee {
    color: var(--accent-secondary);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    .header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .billing-toggle {
        flex-wrap: wrap;
    }

    .toggle-btn {
        padding: 10px 16px;
        font-size: 0.875rem;
    }

    .pricing-card {
        padding: 24px;
    }

    .amount {
        font-size: 2.5rem;
    }

    .compare-section h2 {
        font-size: 1.5rem;
    }
}

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

.pricing-card {
    animation: fadeIn 0.5s ease forwards;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }
.pricing-card:nth-child(4) { animation-delay: 0.4s; }
.pricing-card:nth-child(5) { animation-delay: 0.5s; }
.pricing-card:nth-child(6) { animation-delay: 0.6s; }
.pricing-card:nth-child(7) { animation-delay: 0.7s; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Redeem Button */
.redeem-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ff9500 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(227, 179, 65, 0.3);
}

.redeem-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 179, 65, 0.4);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.modal-overlay.show {
    display: flex;
}

/* Modal */
.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

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

.modal-body {
    padding: 24px;
}

.input-group {
    margin-bottom: 16px;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.input-group input::placeholder {
    color: var(--text-muted);
    letter-spacing: normal;
    text-transform: none;
}

/* 兑换码输入大写 */
.input-group input.uppercase {
    text-transform: uppercase;
}

.btn-redeem {
    width: 100%;
    padding: 14px;
    background: var(--accent-secondary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-redeem:hover {
    background: #2ea043;
}

.btn-redeem:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

.redeem-result {
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    display: none;
}

.redeem-result.show {
    display: block;
}

.redeem-result.success {
    background: rgba(35, 134, 54, 0.1);
    border: 1px solid var(--accent-secondary);
    color: var(--accent-secondary);
}

.redeem-result.error {
    background: rgba(248, 81, 73, 0.1);
    border: 1px solid #f85149;
    color: #f85149;
}

.redeem-result h3 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.redeem-result ul {
    list-style: none;
    margin-top: 8px;
}

.redeem-result li {
    padding: 4px 0;
    font-size: 0.9rem;
}

/* Redeem Cards */
.redeem-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.redeem-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: cardSlideIn 0.5s ease forwards;
    transition: all 0.3s ease;
}

.redeem-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--accent-secondary);
    box-shadow: 0 8px 24px rgba(35, 134, 54, 0.2);
}

@keyframes cardSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.redeem-card-icon {
    font-size: 2rem;
    animation: iconBounce 0.6s ease;
    animation-delay: inherit;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

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

.redeem-card-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.redeem-card-duration {
    font-size: 0.85rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .redeem-btn {
        top: 10px;
        right: 10px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .modal {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
}

/* Lottery Animation */
.lottery-container {
    position: relative;
    width: 100%;
    margin-top: 20px;
    overflow: hidden;
}

.lottery-cards-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.lottery-cards {
    display: flex;
    gap: 12px;
    will-change: transform;
}

.lottery-card {
    flex-shrink: 0;
    width: 160px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.lottery-card.highlight {
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(227, 179, 65, 0.5);
    transform: scale(1.05);
}

.lottery-card-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.lottery-card-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.lottery-card-duration {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.lottery-pointer {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--accent-gold), transparent);
    pointer-events: none;
    z-index: 10;
}

.lottery-pointer::before {
    content: '▼';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.lottery-pointer::after {
    content: '▲';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-gold);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .lottery-card {
        width: 140px;
        padding: 12px;
    }
    
    .lottery-card-icon {
        font-size: 1.5rem;
    }
    
    .lottery-card-name {
        font-size: 0.85rem;
    }
    
    .lottery-card-duration {
        font-size: 0.75rem;
    }
}

/* 购买人数 & 配额 */
.buyer-count {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: center;
}
.quota-low {
    color: #f85149 !important;
    font-weight: 600;
}

/* 维护中遮罩 */
.pricing-card.maintenance-blocked {
    position: relative;
    opacity: 0.7;
}
.pricing-card.maintenance-blocked::after {
    content: "✕";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90px;
    color: #f85149;
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
    font-weight: 700;
}

/* ========== 手机端响应式 ========== */
@media (max-width: 768px) {
    .container {
        padding: 20px 10px;
    }
    .header h1 {
        font-size: 1.8rem;
    }
    .subtitle {
        font-size: 0.9rem;
    }
    .billing-toggle {
        gap: 4px;
        padding: 4px;
        margin-bottom: 24px;
    }
    .toggle-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }
    .pricing-card {
        padding: 20px;
        border-radius: 12px;
    }
    .plan-name {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    .price .amount {
        font-size: 2rem;
    }
    .features li {
        font-size: 0.85rem;
        padding: 4px 0;
    }
    .btn {
        padding: 12px;
        font-size: 0.9rem;
    }
    .popular-badge {
        font-size: 0.65rem;
        padding: 4px 12px;
        top: -10px;
    }
    /* 设置按钮位置适配 */
    #settingsBtn {
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    #loginBtn {
        top: 8px;
        left: 8px;
        padding: 6px 14px;
        font-size: 13px;
    }
    #userBar {
        top: 4px;
        left: 4px;
        font-size: 12px;
    }
    /* 功能对比表 */
    .compare-table {
        font-size: 0.7rem;
    }
    .compare-table th,
    .compare-table td {
        padding: 6px 4px;
    }
    .modal {
        width: 95vw !important;
        max-width: none !important;
        margin: 10px;
    }
    /* 维护中遮罩缩小 */
    .pricing-card.maintenance-blocked::after {
        font-size: 60px;
    }
    /* 价格容器 */
    .original-price {
        font-size: 0.75rem;
    }
    .current-price {
        align-items: baseline;
    }
    .discount-badge {
        font-size: 0.7rem;
        padding: 2px 8px;
    }
}
