/* 免费领取卡密系统 - 现代化设计 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    touch-action: manipulation;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #fffffc;
    color: #1a202c;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-text-size-adjust: none !important;
    -ms-text-size-adjust: none !important;
    text-size-adjust: none !important;
}

html {
    -webkit-text-size-adjust: none !important;
    -ms-text-size-adjust: none !important;
    text-size-adjust: none !important;
}

.container {
    max-width: 414px;
    margin: 0 auto;
    padding: 0 16px;
}

/* 头部样式 - 现代简洁 */
.header {
    background: #ffffff;
    padding: 0px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
}

.site-title {
    font-size: 18px;
    font-weight: 600;
    color: #00b8ff;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-dropdown {
    position: relative;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.user-trigger:hover {
    background: rgba(0, 0, 0, 0.05);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
}

.login-prompt {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #7dd3fc 0%, #86efac 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(125, 211, 252, 0.3);
}

.login-prompt:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(125, 211, 252, 0.4);
}

.dropdown-arrow {
    font-size: 10px;
    color: #a0aec0;
    transition: transform 0.2s ease;
}

.user-trigger:hover .dropdown-arrow {
    color: #4a5568;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #2d3748;
    text-decoration: none;
    transition: background 0.2s ease;
    font-size: 14px;
}

.dropdown-item:hover {
    background: #f7fafc;
}

.dropdown-item .item-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Banner样式 - 渐变卡片 */
.banner {
    background: linear-gradient(135deg, #7dd3fc 0%, #86efac 100%);
    margin: 0 0 6px 0;
    border-radius: 16px;
    color: white;
    padding: 32px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.banner-illustration {
    font-size: 48px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.banner-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.banner-subtitle {
    font-size: 14px;
    opacity: 0.95;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Banner轮播图样式 */
.banner-slider {
    position: relative;
    width: 100%;
    height: 130px;
    margin: 0 0 6px 0;
    border-radius: 16px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.slider-item.active {
    opacity: 1;
    pointer-events: auto;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.slider-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.slider-link img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* 公告样式 */
.notice {
    background: #fff5cd;
    border-left: 4px solid #f6ad55;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #744210;
    font-size: 14px;
}

.notice-icon {
    font-size: 16px;
}

/* 主内容区 */
.main-content {
    padding: 0 0 8px;
}

/* 领取区域 - 现代卡片设计 */
.receive-section {
    margin-bottom: 8px;
}

.receive-card {
    background: #d7ffff;
    border-radius: 16px;
    padding: 8px 24px 8px 24px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.receive-illustration {
    font-size: 40px;
    margin-bottom: 16px;
}

.receive-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
}

.receive-info {
    margin-bottom: 20px;
    font-size: 14px;
    color: #718096;
}

.receive-info p {
    margin: 6px 0;
}

.highlight {
    color: #38a169;
    font-size: 18px;
    font-weight: 700;
}

.receive-btn {
    background: linear-gradient(135deg, #7dd3fc 0%, #86efac 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(125, 211, 252, 0.3);
    position: relative;
    overflow: hidden;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0;
    white-space: nowrap;
}

.receive-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.receive-btn:disabled {
    background: #e2e8f0 !important;
    color: #a0aec0 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.result-message {
    position: fixed;
    top: 265px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    line-height: 1.6;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    max-width: 90%;
    animation: slideDown 0.3s ease;
    display: none;
}

.result-message.error,
.result-message.success {
    display: block;
}

.result-message.hide {
    animation: slideUp 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

.result-message.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 2px solid #86efac;
}

.result-message.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 2px solid #fca5a5;
}

.card-key {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 16px;
    font-weight: 600;
    background: #f7fafc;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    display: inline-block;
}

.copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, #7dd3fc 0%, #86efac 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(125, 211, 252, 0.3);
}

/* 活动区域 - 简洁卡片 */
.activities-section {
    margin-bottom: 8px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.title-icon {
    font-size: 20px;
}

.activity-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.activity-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.activity-content {
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.activity-meta {
    font-size: 12px;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 导航按钮 - 现代按钮组 */
.nav-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: #ffffff;
    color: #4a5568;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

.nav-btn.secondary {
    color: #e53e3e;
}

.nav-btn.secondary:hover {
    background: #fed7d7;
    border-color: #feb2b2;
}

/* 我的卡密页面 */
.back-btn {
    color: #667eea;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

.page-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.user-summary {
    background: #e4fbff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.user-avatar-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.large-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
}

.user-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.user-details p {
    font-size: 14px;
    color: #718096;
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.empty-icon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.empty-state p {
    font-size: 16px;
    color: #718096;
    margin-bottom: 20px;
}

/* 联系客服页面样式 */
.contact-section {
    padding: 16px 0;
}

.contact-section * {
    -webkit-text-size-adjust: none !important;
    -ms-text-size-adjust: none !important;
    text-size-adjust: none !important;
}

.contact-card {
    background: #e4fbff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.contact-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #00b8ff;
    margin-bottom: 16px;
}

.title-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.qrcode-container {
    text-align: center;
    padding: 0px;
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 16px;
}

.contact-qrcode {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.contact-tips {
    padding: 12px 16px;
    background: linear-gradient(135deg, #cfffff 0%, #fbfffc 100%);
    border-radius: 8px;
}

.contact-tips p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.info-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.info-label {
    font-size: 14px;
    color: #718096;
    min-width: 80px;
}

.info-value {
    font-size: 15px;
    color: #2d3748;
    font-weight: 500;
}

.copy-contact-btn {
    padding: 6px 16px;
    background: linear-gradient(135deg, #7dd3fc 0%, #86efac 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    margin-left: 12px;
}

.copy-contact-btn:active {
    transform: scale(0.95);
}

.copy-contact-btn.copied {
    background: linear-gradient(135deg, #86efac 0%, #7dd3fc 100%);
}

.page-title {
    font-size: 18px;
    font-weight: 600;
    color: #00b8ff;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #7dd3fc 0%, #86efac 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.cards-list {
    display: grid;
    gap: 12px;
}

.card-item {
    background: #e4fbff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

/* 领取卡片样式增强 */
.receive-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    padding-top: 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.receive-card .card-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #00b8ff;
}

.card-status {
    display: flex;
    gap: 8px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.available {
    background: linear-gradient(135deg, #7dd3fc 0%, #86efac 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(125, 211, 252, 0.2);
}

.status-badge.unavailable {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(245, 101, 101, 0.2);
}

.receive-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 12px;
    padding: 12px 20px 16px 20px;
    background: linear-gradient(135deg, #cfffff 0%, #fbfffc 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.receive-tips-box {
    grid-column: 1 / -1;
    margin: 0;
    padding: 8px 16px;
    background: linear-gradient(135deg, #e0f2fe 0%, #d1fae5 100%);
    border-radius: 8px;
    color: #0c4a6e;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

.deadline-item {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 0;
    line-height: 1;
}

.deadline-item .stat-label {
    margin-bottom: 0;
    text-transform: none;
    white-space: nowrap;
    color: #2d3748;
    font-size: 13px;
    font-weight: 600;
}

.deadline-value {
    display: flex;
    align-items: center;
    gap: 4px;
}

.time-remaining {
    color: #2d3748;
    font-size: 13px;
    font-weight: 600;
}

.expired-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}

.my-cards-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: transparent;
    color: #48bb78;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid #48bb78;
    min-height: 38px;
    min-width: 80px;
    box-sizing: border-box;
    width: 100%;
}

.my-cards-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
    text-decoration: none;
    color: #38a169;
    border-color: #38a169;
}

.link-icon {
    font-size: 14px;
}

.stat-item {
    text-align: center;
    padding: 12px;
    background: transparent;
    border-radius: 15px;
    border: 1px solid #4299e1;
}

.stat-item:nth-child(3) {
    border-color: #48bb78;
}

.stat-item:nth-child(4) {
    border-color: #48bb78;
}

.stat-item.deadline-item {
    border: none;
    padding: 0;
}

.stat-label {
    font-size: 12px;
    color: #718096;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 16px;
    color: #4299e1;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid #4299e1;
    border-radius: 8px;
    background: transparent;
    min-height: 38px;
    min-width: 80px;
    box-sizing: border-box;
    width: 100%;
}

.stat-item:nth-child(1) .stat-value,
.stat-item:nth-child(2) .stat-value {
    color: #4299e1;
    border-color: #4299e1;
}

.stat-item:nth-child(3) .stat-value {
    color: #48bb78;
    border-color: #48bb78;
    font-size: 14px;
}

.stat-item:nth-child(4) .stat-value {
    border: none;
    padding: 0;
}

.deadline-item .stat-value {
    border: none;
    padding: 0;
}

.receive-rules {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #4a5568;
}

.rule-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* 成功模态框样式 */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-modal-overlay.show {
    opacity: 1;
}

.success-modal {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.success-modal-overlay.show .success-modal {
    transform: scale(1) translateY(0);
}

.success-modal-header {
    text-align: center;
    padding: 32px 24px 16px;
    background: linear-gradient(135deg, #7dd3fc 0%, #86efac 100%);
    color: white;
}

.success-icon {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-icon img {
    width: 60px;
    height: 60px;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.loading-spinner {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-spinner img {
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.success-modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.success-modal-body {
    padding: 24px;
}

.card-display {
    margin-bottom: 20px;
}

.card-display label {
    display: block;
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 8px;
    font-weight: 600;
}

.card-key-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
    border: 1px solid #f0fff4;
    border-radius: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.1);
}

.card-key-container:hover {
    border-color: #38a169;
    box-shadow: 0 6px 16px rgba(72, 187, 120, 0.2);
    transform: translateY(-1px);
}

.card-key-text {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    background: transparent;
    padding: 8px 12px;
    border: 2px solid #7dd3fc;
    border-radius: 8px;
    word-break: break-all;
}

.copy-btn-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, #7dd3fc 0%, #86efac 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.copy-btn-modal:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(125, 211, 252, 0.3);
}

.copy-btn-modal:disabled {
    background: #48bb78;
    cursor: not-allowed;
    transform: none;
}

.copy-icon {
    font-size: 14px;
}

.success-tips {
    padding: 16px;
    background: linear-gradient(135deg, #effaff 0%, #c1ffd8 100%);
    border-radius: 8px;
}

.success-tips p {
    margin: 0;
    font-size: 14px;
    color: #742a2a;
    line-height: 1.5;
}

.success-modal-footer {
    padding: 16px 24px 24px;
    text-align: center;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.close-btn-modal {
    padding: 12px 32px;
    background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.close-btn-modal:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(125, 211, 252, 0.4);
}

.jump-btn-modal {
    padding: 12px 32px;
    background: linear-gradient(135deg, #86efac 0%, #4ade80 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.jump-btn-modal:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(134, 239, 172, 0.4);
}

/* 响应式设计 */
@media (max-width: 480px) {
    .success-modal {
        width: 95%;
        margin: 20px;
    }
    
    .success-modal-header {
        padding: 24px 16px 12px;
    }
    
    .success-icon {
        font-size: 40px;
    }
    
    .success-modal-header h3 {
        font-size: 20px;
    }
    
    .success-modal-body {
        padding: 16px;
    }
    
    .card-key-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .copy-btn-modal {
        justify-content: center;
    }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.card-type-badge {
    background: #8fa3ff;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.card-time {
    color: #a0aec0;
    font-size: 12px;
}

.card-body {
    margin-bottom: 12px;
}

.card-key-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.card-footer {
    color: #a0aec0;
    font-size: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.page-btn {
    padding: 8px 16px;
    background: #ffffff;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.page-btn:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
}

.page-info {
    color: #718096;
    font-size: 14px;
}

/* Toast消息 */
.toast-message {
    position: fixed;
    top: 16px;
    right: 16px;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s;
    z-index: 9999;
    font-size: 14px;
    font-weight: 500;
    max-width: 320px;
}

.toast-message.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-message.success {
    border-left: 4px solid #48bb78;
}

.toast-message.error {
    border-left: 4px solid #e53e3e;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .banner {
        margin: 12px 0;
        padding: 24px 16px;
    }
    
    .receive-card {
        padding: 8px 16px;
    }
    
    .nav-buttons {
        grid-template-columns: 1fr;
    }
    
    .user-avatar-section {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .card-key-display {
        flex-direction: column;
        align-items: stretch;
    }
    
    .copy-btn {
        margin-left: 0;
        width: 100%;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a202c;
        color: #e2e8f0;
    }
    
    .header {
        background: #2d3748;
    }
    
    .site-title {
        color: #e2e8f0;
    }
    
    .user-name {
        color: #cbd5e0;
    }
    
    .receive-card,
    .activity-card,
    .nav-btn,
    .user-summary,
    .card-item {
        background: #2d3748;
        border-color: #4a5568;
    }
    
    .section-title,
    .receive-card h3,
    .activity-card h4,
    .user-details h3 {
        color: #e2e8f0;
    }
    
    .nav-btn {
        color: #cbd5e0;
    }
    
    .nav-btn:hover {
        background: #4a5568;
    }
}
