/* assets/css/style.css - 所有样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 850px;
}

.main-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 28px;
    text-align: center;
    letter-spacing: 0.5px;
}

/* 网盘切换器 */
.drive-switcher {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
    gap: 8px;
    margin-bottom: 32px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 6px;
    border: 1px solid #e1e5e9;
}

.drive-btn {
    padding: 12px 10px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
    text-align: center;
    white-space: nowrap;
}

.drive-btn:hover {
    background: rgba(102, 126, 234, 0.08);
    color: #667eea;
}

.drive-btn.active {
    background: #667eea;
    color: white;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

/* 夸克PC样式 */
.drive-btn.quark-pc-color {
    color: #007AFF;
}

.drive-btn.quark-pc-color.active {
    background: #007AFF;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 122, 255, 0.3);
}

.drive-btn.quark-pc-color:hover:not(.active) {
    background: rgba(0, 122, 255, 0.08);
    color: #007AFF;
}

/* UC PC样式 */
.drive-btn.uc-pc-color {
    color: #FF6A00;
}

.drive-btn.uc-pc-color.active {
    background: #FF6A00;
    color: white;
    box-shadow: 0 2px 6px rgba(255, 106, 0, 0.3);
}

.drive-btn.uc-pc-color:hover:not(.active) {
    background: rgba(255, 106, 0, 0.08);
    color: #FF6A00;
}

/* 夸克TV样式 */
.drive-btn.quark-tv-color {
    color: #00A1E9;
}

.drive-btn.quark-tv-color.active {
    background: #00A1E9;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 161, 233, 0.3);
}

.drive-btn.quark-tv-color:hover:not(.active) {
    background: rgba(0, 161, 233, 0.08);
    color: #00A1E9;
}

/* UCTV样式 */
.drive-btn.uctv-color {
    color: #8B5CF6;
}

.drive-btn.uctv-color.active {
    background: #8B5CF6;
    color: white;
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.3);
}

.drive-btn.uctv-color:hover:not(.active) {
    background: rgba(139, 92, 246, 0.08);
    color: #8B5CF6;
}

/* 百度样式 */
.drive-btn.baidu-color {
    color: #2932E1;
}

.drive-btn.baidu-color.active {
    background: #2932E1;
    color: white;
    box-shadow: 0 2px 6px rgba(41, 50, 225, 0.3);
}

.drive-btn.baidu-color:hover:not(.active) {
    background: rgba(41, 50, 225, 0.08);
    color: #2932E1;
}

/* 联通云盘样式 */
.drive-btn.unicom-color {
    color: #FF6900;
}

.drive-btn.unicom-color.active {
    background: #FF6900;
    color: white;
    box-shadow: 0 2px 6px rgba(255, 105, 0, 0.3);
}

.drive-btn.unicom-color:hover:not(.active) {
    background: rgba(255, 105, 0, 0.08);
    color: #FF6900;
}

/* 移动云样式 */
.drive-btn.yidong-color {
    color: #1E90FF;
}

.drive-btn.yidong-color.active {
    background: #1E90FF;
    color: white;
    box-shadow: 0 2px 6px rgba(30, 144, 255, 0.3);
}

.drive-btn.yidong-color:hover:not(.active) {
    background: rgba(30, 144, 255, 0.08);
    color: #1E90FF;
}
/* 阿里云盘样式 */
.drive-btn.alipan-color {
    color: #FF6A00;
}

.drive-btn.alipan-color.active {
    background: #FF6A00;
    color: white;
    box-shadow: 0 2px 6px rgba(255, 106, 0, 0.3);
}

.drive-btn.alipan-color:hover:not(.active) {
    background: rgba(255, 106, 0, 0.08);
    color: #FF6A00;
}

.scan-btn.alipan {
    background: linear-gradient(135deg, #FF6A00 0%, #E55A00 100%);
    box-shadow: 0 2px 8px rgba(255, 106, 0, 0.2);
}

.scan-btn.alipan:hover {
    background: linear-gradient(135deg, #E55A00 0%, #CC4A00 100%);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

.clear-btn.alipan {
    color: #FF6A00;
    border-color: #FFD9B3;
}

.clear-btn.alipan:hover {
    border-color: #FF6A00;
    color: #E55A00;
}

.copy-hint.alipan {
    color: #FF6A00;
}

.qrcode-loading.alipan::after {
    border-color: #FF6A00;
    border-top-color: transparent;
}
/* 哔哩哔哩样式 */
.drive-btn.bilibili-color {
    color: #FB7299;
}

.drive-btn.bilibili-color.active {
    background: #FB7299;
    color: white;
    box-shadow: 0 2px 6px rgba(251, 114, 153, 0.3);
}

.drive-btn.bilibili-color:hover:not(.active) {
    background: rgba(251, 114, 153, 0.08);
    color: #FB7299;
}

/* 天翼云样式 */
.drive-btn.tianyi-color {
    color: #FF6A00;
}

.drive-btn.tianyi-color.active {
    background: #FF6A00;
    color: white;
    box-shadow: 0 2px 6px rgba(255, 106, 0, 0.3);
}

.drive-btn.tianyi-color:hover:not(.active) {
    background: rgba(255, 106, 0, 0.08);
    color: #FF6A00;
}

/* 豆包样式 */
.drive-btn.doubao-color {
    color: #007AFF;
}

.drive-btn.doubao-color.active {
    background: #007AFF;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 122, 255, 0.3);
}

.drive-btn.doubao-color:hover:not(.active) {
    background: rgba(0, 122, 255, 0.08);
    color: #007AFF;
}

/* 芒果TV样式 */
.drive-btn.mgtv-color {
    color: #FF6A00;
}

.drive-btn.mgtv-color.active {
    background: #FF6A00;
    color: white;
    box-shadow: 0 2px 6px rgba(255, 106, 0, 0.3);
}

.drive-btn.mgtv-color:hover:not(.active) {
    background: rgba(255, 106, 0, 0.08);
    color: #FF6A00;
}

/* 爱奇艺样式 - 新增 */
.drive-btn.iqiyi-color {
    color: #00BEFF;
}

.drive-btn.iqiyi-color.active {
    background: #00BEFF;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 190, 255, 0.3);
}

.drive-btn.iqiyi-color:hover:not(.active) {
    background: rgba(0, 190, 255, 0.08);
    color: #00BEFF;
}

/* 内容区域 */
.content-area {
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-area.active {
    display: block;
}

/* Token显示区域 */
.token-display {
    margin: 0 0 28px 0;
}

.token-item {
    margin-bottom: 16px;
}

.token-item:last-child {
    margin-bottom: 0;
}

.token-type {
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
    text-align: left;
    font-weight: 500;
    padding-left: 2px;
}

.token-value {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 12px;
    color: #2c3e50;
    word-break: break-all;
    line-height: 1.5;
    min-height: 48px;
    text-align: left;
    padding: 12px 14px;
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.2s ease;
    resize: vertical;
}

.token-value.placeholder {
    color: #95a5a6;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #e1e5e9;
    background: #fafbfc;
}

.token-value.copyable {
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.token-value.copyable:hover {
    background: #edf2f7;
    border-color: #667eea;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.15);
}

.token-value.copyable::after {
    content: '点击复制';
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 8px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    font-size: 11px;
    border-bottom-left-radius: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.token-value.copyable:hover::after {
    opacity: 1;
}

/* 手机号输入区域 */
.phone-input-group {
    margin: 20px 0;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e1e5e9;
    text-align: left;
}

.phone-input-label {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
    display: block;
}

.phone-input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.phone-input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: white;
}

.phone-input:focus {
    outline: none;
    border-color: #1E90FF;
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.phone-input::placeholder {
    color: #aaa;
}

.generate-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #1E90FF 0%, #0066CC 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(30, 144, 255, 0.2);
}

.generate-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
    background: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
}

.generate-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

/* Authorization显示区域 */
.auth-result-group {
    margin-top: 16px;
}

.auth-result-label {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
    display: block;
    text-align: left;
}

.auth-result {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 12px;
    color: #2c3e50;
    word-break: break-all;
    line-height: 1.5;
    min-height: 48px;
    text-align: left;
    padding: 12px 14px;
    border: 1px solid #1E90FF;
    border-radius: 10px;
    background: #f0f8ff;
    transition: all 0.2s ease;
    position: relative;
}

.auth-result.copyable {
    cursor: pointer;
}

.auth-result.copyable:hover {
    background: #e6f2ff;
    box-shadow: 0 2px 6px rgba(30, 144, 255, 0.15);
}

.auth-result::after {
    content: '点击复制';
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 8px;
    background: rgba(30, 144, 255, 0.1);
    color: #1E90FF;
    font-size: 11px;
    border-bottom-left-radius: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.auth-result.copyable:hover::after {
    opacity: 1;
}

.button-group {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* 扫码按钮样式 */
.scan-btn {
    flex: 1;
    padding: 14px 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.scan-btn.quark-pc {
    background: linear-gradient(135deg, #007AFF 0%, #0051CC 100%);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.2);
}

.scan-btn.uc-pc {
    background: linear-gradient(135deg, #FF6A00 0%, #E55A00 100%);
    box-shadow: 0 2px 8px rgba(255, 106, 0, 0.2);
}

.scan-btn.quark-tv {
    background: linear-gradient(135deg, #00A1E9 0%, #0088C9 100%);
    box-shadow: 0 2px 8px rgba(0, 161, 233, 0.2);
}

.scan-btn.uctv {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}

.scan-btn.baidu {
    background: linear-gradient(135deg, #2932E1 0%, #1D25CC 100%);
    box-shadow: 0 2px 8px rgba(41, 50, 225, 0.2);
}

.scan-btn.unicom {
    background: linear-gradient(135deg, #FF6900 0%, #E55A00 100%);
    box-shadow: 0 2px 8px rgba(255, 105, 0, 0.2);
}

.scan-btn.yidong {
    background: linear-gradient(135deg, #1E90FF 0%, #0066CC 100%);
    box-shadow: 0 2px 8px rgba(30, 144, 255, 0.2);
}

.scan-btn.bilibili {
    background: linear-gradient(135deg, #FB7299 0%, #FF9EB5 100%);
    box-shadow: 0 2px 8px rgba(251, 114, 153, 0.2);
}

.scan-btn.tianyi {
    background: linear-gradient(135deg, #FF6A00 0%, #E55A00 100%);
    box-shadow: 0 2px 8px rgba(255, 106, 0, 0.2);
}

.scan-btn.doubao {
    background: linear-gradient(135deg, #007AFF 0%, #0051CC 100%);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.2);
}

.scan-btn.mgtv {
    background: linear-gradient(135deg, #FF6A00 0%, #FF4500 100%);
    box-shadow: 0 2px 8px rgba(255, 106, 0, 0.2);
}

.scan-btn.iqiyi {
    background: linear-gradient(135deg, #00BEFF 0%, #0088FF 100%);
    box-shadow: 0 2px 8px rgba(0, 190, 255, 0.2);
}

.scan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #5a6fd8 0%, #6b4199 100%);
}

.scan-btn.quark-pc:hover {
    background: linear-gradient(135deg, #0051CC 0%, #003399 100%);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.scan-btn.uc-pc:hover {
    background: linear-gradient(135deg, #E55A00 0%, #CC4A00 100%);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

.scan-btn.yidong:hover {
    background: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

.scan-btn.bilibili:hover {
    background: linear-gradient(135deg, #EA6188 0%, #FF8CAD 100%);
    box-shadow: 0 4px 12px rgba(251, 114, 153, 0.3);
}

.scan-btn.tianyi:hover {
    background: linear-gradient(135deg, #E55A00 0%, #CC4A00 100%);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

.scan-btn.doubao:hover {
    background: linear-gradient(135deg, #0051CC 0%, #003399 100%);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.scan-btn.mgtv:hover {
    background: linear-gradient(135deg, #FF4500 0%, #E63900 100%);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

.scan-btn.iqiyi:hover {
    background: linear-gradient(135deg, #0088FF 0%, #0066CC 100%);
    box-shadow: 0 4px 12px rgba(0, 190, 255, 0.3);
}

/* 清除按钮样式 */
.clear-btn {
    flex: 1;
    padding: 14px 18px;
    background: white;
    color: #667eea;
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-btn.quark-pc {
    color: #007AFF;
    border-color: #B3D9FF;
}

.clear-btn.uc-pc {
    color: #FF6A00;
    border-color: #FFD9B3;
}

.clear-btn.quark-tv {
    color: #00A1E9;
    border-color: #B3E5FF;
}

.clear-btn.uctv {
    color: #8B5CF6;
    border-color: #DDD6FE;
}

.clear-btn.baidu {
    color: #2932E1;
    border-color: #CCD2FF;
}

.clear-btn.unicom {
    color: #FF6900;
    border-color: #FFD9B3;
}

.clear-btn.yidong {
    color: #1E90FF;
    border-color: #B3E0FF;
}

.clear-btn.bilibili {
    color: #FB7299;
    border-color: #FFCCD8;
}

.clear-btn.tianyi {
    color: #FF6A00;
    border-color: #FFD9B3;
}

.clear-btn.doubao {
    color: #007AFF;
    border-color: #B3D9FF;
}

.clear-btn.mgtv {
    color: #FF6A00;
    border-color: #FFD9B3;
}

.clear-btn.iqiyi {
    color: #00BEFF;
    border-color: #B3E5FF;
}

.clear-btn:hover {
    background: #f8f9fa;
    border-color: #667eea;
    color: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.clear-btn.quark-pc:hover {
    border-color: #007AFF;
    color: #0051CC;
}

.clear-btn.uc-pc:hover {
    border-color: #FF6A00;
    color: #E55A00;
}

.clear-btn.yidong:hover {
    border-color: #1E90FF;
    color: #0066CC;
}

.clear-btn.bilibili:hover {
    border-color: #FB7299;
    color: #EA6188;
}

.clear-btn.tianyi:hover {
    border-color: #FF6A00;
    color: #E55A00;
}

.clear-btn.doubao:hover {
    border-color: #007AFF;
    color: #0051CC;
}

.clear-btn.mgtv:hover {
    border-color: #FF6A00;
    color: #FF4500;
}

.clear-btn.iqiyi:hover {
    border-color: #00BEFF;
    color: #0088FF;
}

/* 复制提示 */
.copy-hint {
    font-size: 12px;
    color: #667eea;
    margin-top: 8px;
    text-align: left;
    font-weight: 400;
    opacity: 0.8;
    min-height: 16px;
    padding-left: 2px;
    display: none;
}

.copy-hint.quark-pc {
    color: #007AFF;
}

.copy-hint.uc-pc {
    color: #FF6A00;
}

.copy-hint.quark-tv {
    color: #00A1E9;
}

.copy-hint.uctv {
    color: #8B5CF6;
}

.copy-hint.baidu {
    color: #2932E1;
}

.copy-hint.unicom {
    color: #FF6900;
}

.copy-hint.yidong {
    color: #1E90FF;
}

.copy-hint.bilibili {
    color: #FB7299;
}

.copy-hint.tianyi {
    color: #FF6A00;
}

.copy-hint.doubao {
    color: #007AFF;
}

.copy-hint.mgtv {
    color: #FF6A00;
}

.copy-hint.iqiyi {
    color: #00BEFF;
}

/* 弹窗样式 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background: transparent;
    border-radius: 0;
    width: 100%;
    max-width: 320px;
    overflow: hidden;
    position: relative;
}

.qrcode-container {
    width: 280px;
    height: 280px;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
}

#qrcode-img {
    width: 280px;
    height: 280px;
    border-radius: 0;
    border: none;
    box-shadow: 0 12px 48px rgba(0,0,0,0.4);
    transition: opacity 0.3s ease;
    animation: qrFadeIn 0.5s ease;
}

@keyframes qrFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.status-info {
    margin-top: 20px;
    font-size: 15px;
    color: white;
    text-align: center;
    min-height: 24px;
    font-weight: 500;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.qrcode-loading {
    position: relative;
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.qrcode-loading::after {
    content: '';
    width: 48px;
    height: 48px;
    border: 4px solid #667eea;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.qrcode-loading.quark-pc::after {
    border-color: #007AFF;
    border-top-color: transparent;
}

.qrcode-loading.uc-pc::after {
    border-color: #FF6A00;
    border-top-color: transparent;
}

.qrcode-loading.yidong::after {
    border-color: #1E90FF;
    border-top-color: transparent;
}

.qrcode-loading.bilibili::after {
    border-color: #FB7299;
    border-top-color: transparent;
}

.qrcode-loading.tianyi::after {
    border-color: #FF6A00;
    border-top-color: transparent;
}

.qrcode-loading.doubao::after {
    border-color: #007AFF;
    border-top-color: transparent;
}

.qrcode-loading.mgtv::after {
    border-color: #FF6A00;
    border-top-color: transparent;
}

.qrcode-loading.iqiyi::after {
    border-color: #00BEFF;
    border-top-color: transparent;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 刷新提示 */
.refresh-hint {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    z-index: 1001;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.refresh-hint.show {
    opacity: 1;
    transform: translateY(0);
}

.refresh-hint.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

/* 复制成功提示 */
.copy-success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(46, 204, 113, 0.95);
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 15px;
    z-index: 2000;
    box-shadow: 0 8px 24px rgba(46, 204, 113, 0.3);
    animation: copyFadeOut 2s ease forwards;
    backdrop-filter: blur(10px);
}

@keyframes copyFadeOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container { 
        max-width: 100%; 
        padding: 10px;
    }
    
    .main-card { 
        padding: 24px 20px; 
        border-radius: 14px;
    }
    
    .card-title { 
        font-size: 20px; 
        margin-bottom: 24px;
    }
    
    .button-group { 
        flex-direction: column; 
        gap: 10px;
    }
    
    .drive-btn { 
        padding: 10px 8px; 
        font-size: 12px; 
    }
    
    .drive-switcher { 
        gap: 6px; 
        grid-template-columns: repeat(3, 1fr);
    }
    
    .modal { 
        max-width: 280px; 
    }
    
    .qrcode-container { 
        width: 240px; 
        height: 240px; 
    }
    
    #qrcode-img { 
        width: 240px; 
        height: 240px; 
    }
    
    .refresh-hint { 
        top: 10px; 
        right: 10px; 
        font-size: 12px; 
        padding: 8px 14px; 
    }
    
    .scan-btn, .clear-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .token-value {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 11px;
    }
    
    /* 移动端调整 */
    .phone-input-container {
        flex-direction: column;
    }
    
    .generate-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .drive-switcher {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .qrcode-container { 
        width: 220px; 
        height: 220px; 
    }
    
    #qrcode-img { 
        width: 220px; 
        height: 220px; 
    }
    
    .status-info {
        font-size: 14px;
        padding: 6px;
    }
    
    .main-card {
        padding: 20px 16px;
    }
    
    .card-title {
        font-size: 18px;
    }
}