/* Serica Dashboard - 现代化设计风格 */
:root {
    --primary: rgb(234, 117, 121);
    --primary-light: rgb(247, 168, 171);
    --primary-dark: rgb(200, 90, 94);
    --bg-cream: #FFF9F5;
    --bg-warm: #FFF5F0;
    --bg-soft: #FFFBF8;
    --text-dark: #2D2A26;
    --text-body: #5C5650;
    --text-muted: #9A938B;
    --border-light: rgba(0, 0, 0, 0.06);
    --shadow-soft: 0 4px 20px rgba(234, 117, 121, 0.1);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px rgba(234, 117, 121, 0.3);
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --radius: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-cream);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.6;
}

/* ===== Floating Particles Background ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* ===== Logout Confirm Dialog ===== */
.logout-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.logout-confirm-modal {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-card);
    animation: slideUp 0.3s ease;
    text-align: center;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logout-confirm-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.logout-confirm-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.logout-confirm-message {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 24px;
    line-height: 1.5;
}

.logout-confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.logout-confirm-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    min-width: 100px;
}

.logout-confirm-cancel {
    background: var(--bg-soft);
    color: var(--text-body);
    border: 1px solid var(--border-light);
}

.logout-confirm-cancel:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.logout-confirm-confirm {
    background: linear-gradient(135deg, var(--primary), #ec4899);
    color: white;
    box-shadow: 0 4px 12px rgba(234, 117, 121, 0.3);
}

.logout-confirm-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(234, 117, 121, 0.4);
}

.logout-confirm-confirm:active {
    transform: translateY(0);
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.4;
    animation: float-particle 15s infinite ease-in-out;
}

@keyframes float-particle {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(255, 249, 245, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link {
    color: var(--text-body);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 50px;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(234, 117, 121, 0.1);
}

/* ===== Container ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px 40px;
    position: relative;
    z-index: 1;
}

/* ===== Main Content ===== */
.main {
    display: grid;
    gap: 24px;
}

/* ===== Cards ===== */
.card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.card:hover::before {
    opacity: 1;
}

/* ===== Card Header ===== */
.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

.card-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(234, 117, 121, 0.1), rgba(234, 117, 121, 0.05));
    border-radius: 12px;
}

.card-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    flex: 1;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
}

/* ===== User Card ===== */
.user-card {
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-cream) 100%);
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.user-avatar {
    width: 88px;
    height: 88px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(234, 117, 121, 0.3);
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid white;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-info {
    flex: 1;
}

.user-info h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.user-info p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 12px;
}

.user-level-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    background: var(--text-muted);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-level-badge.pro {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.user-level-badge.ultra {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* ===== Checkin Card ===== */
.checkin-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(234, 117, 121, 0.05));
    border-color: rgba(16, 185, 129, 0.2);
}

.consecutive-days {
    font-size: 15px;
    color: var(--success);
    font-weight: 700;
    margin-left: auto;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50px;
}

.checkin-reward {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 24px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
}

.reward-label {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 600;
}

.reward-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--success);
    line-height: 1;
}

.reward-type {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 600;
}

.btn-checkin {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
    margin-bottom: 20px;
}

.btn-checkin:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
}

.btn-checkin:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-checkin.checked {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    box-shadow: none;
}

.checkin-icon {
    font-size: 22px;
}

.checkin-progress {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-light);
}

.progress-label {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.progress-bar {
    height: 10px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.progress-bonus {
    font-size: 14px;
    color: var(--warning);
    font-weight: 700;
}

/* ===== Credits Card ===== */
.credits-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(234, 117, 121, 0.05));
    border-color: rgba(245, 158, 11, 0.2);
}

.credits-display {
    margin-bottom: 20px;
}

.credits-total {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
}

.credits-icon {
    font-size: 36px;
}

.credits-value {
    font-size: 56px;
    font-weight: 800;
    color: var(--warning);
    line-height: 1;
}

.credits-unit {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 600;
}

.credits-breakdown {
    display: flex;
    gap: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
}

.credits-type {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.type-icon {
    font-size: 20px;
}

.type-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.type-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-left: auto;
}

.credits-hint {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
    font-weight: 600;
}

.credits-hint-sub {
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.7;
    margin-top: 6px;
    text-align: center;
}

/* ===== Invite Card ===== */
.invite-card {
    background: linear-gradient(135deg, rgba(234, 117, 121, 0.08), rgba(124, 58, 237, 0.05));
    border-color: rgba(234, 117, 121, 0.2);
}

.invite-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.invite-code-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
}

.invite-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.invite-code {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    flex: 1;
}

.btn-copy, #copyInviteBtn {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(234, 117, 121, 0.1);
    border: 2px solid var(--primary);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-copy:hover, #copyInviteBtn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.invite-stats {
    display: flex;
    gap: 32px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
}

.invite-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.invite-stat .stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.invite-stat .stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.invite-hint {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
    line-height: 1.6;
    font-weight: 600;
}

/* ===== Redeem Card ===== */
.redeem-form {
    display: flex;
    gap: 12px;
}

.redeem-form .input {
    flex: 1;
    height: 52px;
    padding: 0 24px;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--bg-soft);
    border: 2px solid var(--border-light);
    border-radius: 50px;
    outline: none;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 2px;
    transition: var(--transition);
}

.redeem-form .input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(234, 117, 121, 0.1);
}

/* ===== Buttons ===== */
.btn {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(234, 117, 121, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 117, 121, 0.5);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-ghost {
    background: transparent;
    color: var(--text-body);
    border: 2px solid var(--border-light);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(234, 117, 121, 0.05);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: btn-shine 3s infinite;
}

@keyframes btn-shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* ===== Payment Card ===== */
.payment-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
}

.payment-info .price {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
}

.payment-info .equals {
    font-size: 28px;
    color: var(--text-muted);
}

.payment-info .credits-amount {
    font-size: 26px;
    font-weight: 700;
    color: var(--warning);
}

.btn-pay {
    width: 100%;
    height: 56px;
    background: #0070ba;
    color: white;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-pay:hover {
    background: #003087;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 112, 186, 0.3);
}

.paypal-icon {
    font-weight: 700;
    font-style: italic;
}

.payment-hint {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    font-weight: 600;
}

/* ===== History Card ===== */
.history-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

.history-list::-webkit-scrollbar {
    width: 6px;
}

.history-list::-webkit-scrollbar-track {
    background: var(--bg-soft);
    border-radius: 10px;
}

.history-list::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.history-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.history-item:hover {
    padding-left: 8px;
}

.history-item:last-child {
    border-bottom: none;
}

.history-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.history-type {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.history-credits-type {
    display: inline-block;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 700;
    width: fit-content;
}

.history-credits-type.daily {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.history-credits-type.permanent {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.history-time {
    font-size: 13px;
    color: var(--text-muted);
}

.history-amount {
    font-size: 18px;
    font-weight: 800;
}

.history-amount.positive {
    color: var(--success);
}

.history-amount.negative {
    color: var(--error);
}

.loading, .empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ===== Messages ===== */
.msg {
    margin-top: 16px;
    padding: 14px 20px;
    font-size: 14px;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
}

.msg.success {
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.msg.error {
    color: var(--error);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.6;
}

/* ===== Membership Card ===== */
.membership-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(234, 117, 121, 0.05));
    border-color: rgba(102, 126, 234, 0.2);
}

.membership-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    margin-bottom: 24px;
}

.current-level {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 600;
}

.current-level strong {
    color: var(--text-dark);
    font-weight: 800;
}

.expire-time {
    font-size: 14px;
    color: var(--warning);
    font-weight: 700;
}

.period-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 24px 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50px;
}

.period-btn {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition);
}

.period-btn:hover {
    color: var(--primary);
    background: rgba(234, 117, 121, 0.1);
}

.period-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(234, 117, 121, 0.3);
}

.period-btn .save-tag {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-size: 11px;
    margin-left: 4px;
}

.membership-plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.plan-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid var(--border-light);
    transition: var(--transition);
    position: relative;
}

.plan-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
}

.plan-badge {
    display: inline-block;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-pro .plan-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.plan-ultra .plan-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.plan-price-wrap {
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.price-original {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
    display: none;
}

.price-current {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-period {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 600;
}

.first-month-tag {
    display: none;
    margin-top: 8px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #ff6b9d, #ffa07a);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    width: fit-content;
}

.plan-features {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.plan-features li {
    font-size: 14px;
    color: var(--text-body);
    padding: 10px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 800;
    font-size: 16px;
}

.plan-features li strong {
    color: var(--warning);
    font-weight: 800;
}

.btn-plan {
    width: 100%;
    height: 50px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: auto;
}

.btn-pro {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.btn-pro:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.btn-ultra {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.btn-ultra:hover {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

.btn-plan:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-plan.current {
    background: #9ca3af;
    cursor: default;
    box-shadow: none;
}

/* ===== Footer ===== */
.footer {
    margin-top: 60px;
    padding: 40px 24px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content span {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: white;
    padding: 16px 24px;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: none;
    align-items: center;
    gap: 12px;
    z-index: 3000;
    animation: toastSlideIn 0.3s ease;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast.show {
    display: flex;
}

.toast-icon {
    font-size: 20px;
}

.toast-msg {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .container {
        padding: 90px 16px 32px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-link {
        padding: 6px 12px;
        font-size: 13px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .card {
        padding: 24px;
    }

    .user-card {
        flex-direction: column;
        text-align: center;
        padding: 28px;
    }

    .user-avatar {
        width: 80px;
        height: 80px;
    }

    .credits-breakdown {
        flex-direction: column;
        gap: 16px;
    }

    .invite-stats {
        flex-direction: column;
        gap: 16px;
    }

    .membership-plans {
        grid-template-columns: 1fr;
    }

    .membership-info {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
