/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif, 'Orbitron', monospace;
    background: #000011;
    min-height: 100vh;
    color: #ffffff;
    position: relative;
    overflow-x: hidden;
}

/* 星际背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top, #1e3c72 0%, #000011 50%),
        radial-gradient(ellipse at bottom, #2a5298 0%, #000011 50%);
    z-index: -3;
}

/* 星星效果 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, #fff, transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, #fff, transparent),
        radial-gradient(2px 2px at 160px 30px, #fff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: twinkle 10s linear infinite;
    z-index: -2;
}

/* 动态粒子背景 */
.space-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: float 20s linear infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* 页面切换 */
.page {
    display: none;
    animation: fadeIn 0.8s ease-in;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95);
        filter: blur(5px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* 头部样式 - 科幻风格 */
header {
    background: rgba(0, 20, 40, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 
        0 8px 32px rgba(0, 191, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 191, 255, 0.1), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.header-content h1 {
    color: #00bfff;
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info span {
    color: #e2e8f0;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(226, 232, 240, 0.3);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
    width: 0%;
}

.stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #cbd5e0;
    text-shadow: 0 0 3px rgba(203, 213, 224, 0.3);
}

/* 开始页面 - 科幻风格 */
.welcome {
    background: rgba(0, 20, 40, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 191, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.welcome h2 {
    color: #00bfff;
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.6);
    font-weight: 600;
}

.welcome p {
    color: #e2e8f0;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 0 0 5px rgba(226, 232, 240, 0.3);
}

/* 答题设置 - 科幻风格 */
.quiz-settings {
    background: rgba(0, 30, 60, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
    border: 1px solid rgba(0, 191, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.setting-group {
    margin-bottom: 15px;
}

.setting-group:last-child {
    margin-bottom: 0;
}

.setting-group label {
    display: block;
    color: #cbd5e0;
    font-weight: 500;
    margin-bottom: 8px;
    text-shadow: 0 0 3px rgba(203, 213, 224, 0.3);
}

.form-select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 10px;
    background: rgba(0, 20, 40, 0.8);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: #00bfff;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.4);
    background: rgba(0, 30, 60, 0.9);
}

.form-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 10px;
    background: rgba(0, 20, 40, 0.8);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #00bfff;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.4);
    background: rgba(0, 30, 60, 0.9);
}

.form-input::placeholder {
    color: #9ca3af;
    opacity: 0.7;
}

.help-text {
    display: block;
    margin-top: 5px;
    color: #9ca3af;
    font-size: 0.85rem;
    text-shadow: 0 0 3px rgba(156, 163, 175, 0.3);
}

.form-input:invalid {
    border-color: #f56565;
}

.form-input:invalid:focus {
    border-color: #f56565;
    box-shadow: 0 0 0 3px rgba(245, 101, 101, 0.1);
}

/* 自定义复选框 */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

/* 随机选题特殊样式 */
.random-setting {
    background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
    border: 2px solid #4299e1;
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    position: relative;
    transition: all 0.3s ease;
}

.random-setting:hover {
    background: linear-gradient(135deg, #e6f3ff, #dbeafe);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.2);
}

.random-checkmark {
    width: 24px;
    height: 24px;
    border: 3px solid #4299e1;
    margin-right: 12px;
}

.random-setting input[type="checkbox"]:checked + .random-checkmark {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    border-color: #4299e1;
}

.random-icon {
    font-size: 1.5rem;
    margin-right: 8px;
    animation: rotate 2s linear infinite;
}

.random-text {
    font-weight: 600;
    color: #2b6cb0;
    font-size: 1.1rem;
    margin-right: 10px;
}

.random-badge {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: auto;
    animation: pulse 2s infinite;
}

.random-description {
    display: block;
    margin-top: 8px;
    color: #4a5568;
    font-size: 0.9rem;
    font-style: italic;
    margin-left: 46px;
}

/* 动画效果 */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* 当未选中随机模式时的样式 */
.random-setting.random-disabled {
    background: #f7fafc;
    border-color: #e2e8f0;
}

.random-setting.random-disabled .random-icon {
    animation: none;
    filter: grayscale(100%);
}

.random-setting.random-disabled .random-text {
    color: #718096;
}

.random-setting.random-disabled .random-badge {
    background: #a0aec0;
    animation: none;
}

.random-setting.random-enabled .random-icon {
    animation: rotate 2s linear infinite;
}

.random-setting.random-enabled .random-badge {
    animation: pulse 2s infinite;
}

/* 按钮样式 - 科幻风格 */
.btn {
    padding: 12px 24px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn-primary {
    background: linear-gradient(135deg, #0066cc, #00bfff);
    color: white;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 4px 20px rgba(0, 191, 255, 0.6),
        0 0 30px rgba(0, 191, 255, 0.4);
    background: linear-gradient(135deg, #0080ff, #00d4ff);
}

.btn-secondary {
    background: rgba(0, 20, 40, 0.8);
    color: #cbd5e0;
    border-color: rgba(203, 213, 224, 0.3);
    text-shadow: 0 0 3px rgba(203, 213, 224, 0.3);
}

.btn-secondary:hover {
    background: rgba(0, 30, 60, 0.9);
    box-shadow: 0 0 15px rgba(203, 213, 224, 0.2);
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #00cc66, #00ff80);
    color: white;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 128, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 4px 20px rgba(0, 255, 128, 0.6),
        0 0 30px rgba(0, 255, 128, 0.4);
    background: linear-gradient(135deg, #00ff66, #00ff99);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* 题目容器 - 科幻风格 */
.question-container {
    background: rgba(0, 20, 40, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 8px 32px rgba(0, 191, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.question-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-info {
    background: linear-gradient(135deg, #0099cc, #00d4ff);
    color: white;
    font-size: 0.9rem;
    padding: 8px 16px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 4px 20px rgba(0, 212, 255, 0.6),
        0 0 25px rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, #00b3e6, #00e6ff);
}

.question-number {
    font-weight: bold;
    color: #00bfff;
    font-size: 1.1rem;
    text-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
}

.source-link {
    color: #00bfff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 10px;
    border: 1px solid rgba(0, 191, 255, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.source-link:hover {
    background: rgba(0, 191, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.4);
}

.question-content h3 {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* 选项样式 */
.options-container {
    margin-bottom: 30px;
}

/* 答案显示区域 - 科幻风格 */
.answer-display {
    background: rgba(0, 40, 80, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 191, 255, 0.4);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    animation: slideIn 0.3s ease-out;
    box-shadow: 
        0 0 25px rgba(0, 191, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.answer-display h4 {
    color: #00d4ff;
    margin-bottom: 8px;
    font-size: 1rem;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

.answer-display p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 15px;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
}

.answer-display p:last-child {
    margin-bottom: 0;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.option {
    background: rgba(0, 30, 60, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    color: #ffffff;
}

.option:hover {
    border-color: #00bfff;
    background: rgba(0, 40, 80, 0.8);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.2);
}

.option.selected {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.8), rgba(0, 191, 255, 0.8));
    color: white;
    border-color: #00bfff;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.4);
}

.option.correct {
    background: linear-gradient(135deg, rgba(0, 204, 102, 0.8), rgba(0, 255, 128, 0.8));
    color: white;
    border-color: #00ff80;
    box-shadow: 0 0 20px rgba(0, 255, 128, 0.4);
}

.option.incorrect {
    background: linear-gradient(135deg, rgba(255, 102, 102, 0.8), rgba(255, 64, 64, 0.8));
    color: white;
    border-color: #ff6666;
    box-shadow: 0 0 20px rgba(255, 102, 102, 0.4);
}

.option input[type="radio"] {
    display: none;
}

.option .option-text {
    font-weight: 500;
}

/* 导航按钮 */
.navigation {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.navigation .btn {
    flex: 1;
    max-width: 150px;
}

/* 结果页面 - 科幻风格 */
.result-container {
    background: rgba(0, 20, 40, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 191, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.result-container h2 {
    color: #00bfff;
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
}

.score-summary {
    margin-bottom: 40px;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc, #00bfff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 
        0 0 30px rgba(0, 191, 255, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.score-circle span {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
}

#score-text {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 0;
    text-shadow: 0 0 5px rgba(226, 232, 240, 0.3);
}

/* 详细结果 */
.detailed-results {
    text-align: left;
    margin-bottom: 30px;
    max-height: 400px;
    overflow-y: auto;
    display: block;
}

.result-item {
    background: rgba(0, 30, 60, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid rgba(0, 191, 255, 0.5);
    color: #ffffff;
}

.result-item.correct {
    border-left-color: #00ff80;
    background: rgba(0, 80, 40, 0.7);
    box-shadow: 0 0 15px rgba(0, 255, 128, 0.2);
}

.result-item.incorrect {
    border-left-color: #ff6666;
    background: rgba(80, 20, 20, 0.7);
    box-shadow: 0 0 15px rgba(255, 102, 102, 0.2);
}

.result-item h4 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1rem;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
}

.result-item p {
    margin: 5px 0;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.result-item .explanation {
    background: rgba(0, 20, 40, 0.8);
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    font-style: italic;
    color: #cbd5e0;
    border: 1px solid rgba(0, 191, 255, 0.2);
}

/* 结果操作按钮 */
.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.result-actions .btn {
    min-width: 120px;
}

/* 加载动画 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
}

.loading.show {
    display: flex;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 消息提示 */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    z-index: 1001;
    max-width: 300px;
}

.message.show {
    opacity: 1;
    transform: translateX(0);
}

.message.success {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.message.error {
    background: linear-gradient(135deg, #f56565, #e53e3e);
}

.message.info {
    background: linear-gradient(135deg, #4299e1, #3182ce);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .question-container,
    .welcome,
    .result-container {
        padding: 20px;
    }
    
    .navigation {
        flex-direction: column;
    }
    
    .navigation .btn {
        max-width: none;
        margin-bottom: 10px;
    }
    
    .result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .result-actions .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .question-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* 认证页面样式 */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: #4a5568;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.auth-header h2 {
    color: #667eea;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.auth-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #4a5568;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #4a5568;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder {
    color: #a0aec0;
}

.btn-full {
    width: 100%;
    margin-bottom: 0;
}

.auth-footer {
    text-align: center;
    color: #718096;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.test-account {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.test-account small {
    color: #a0aec0;
    font-style: italic;
}

/* 联系作者区域 - 科幻风格 */
.contact-footer {
    background: linear-gradient(135deg, rgba(0, 20, 40, 0.9), rgba(0, 40, 80, 0.9));
    backdrop-filter: blur(20px);
    color: white;
    padding: 0;
    max-width: 760px;
    margin: 0 auto;
    margin-top: 20px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 191, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-container {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}


.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.contact-methods {
    display: flex;
    gap: 15px;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(0, 30, 60, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.contact-link:hover {
    background: rgba(0, 50, 100, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.4);
    border-color: #00bfff;
}

.contact-method-icon {
    font-size: 1rem;
}

.contact-method-text {
    font-weight: 500;
}

/* 邮箱链接特殊样式 */
.email-link:hover {
    background: linear-gradient(135deg, #48bb78, #38a169);
    border-color: #48bb78;
}

/* GitHub链接特殊样式 */
.github-link:hover {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    border-color: #4299e1;
}

/* 反馈按钮特殊样式 */
.feedback-link {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feedback-link:hover {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    border-color: #ed8936;
}

/* 弹窗样式 - 科幻风格 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(0, 20, 40, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 10px 40px rgba(0, 191, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px 15px;
    border-bottom: 1px solid rgba(0, 191, 255, 0.2);
}

.modal-header h3 {
    margin: 0;
    color: #00bfff;
    font-size: 1.2rem;
    text-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 191, 255, 0.2);
    color: #ffffff;
}

.modal-body {
    padding: 20px 25px;
}

.modal-body textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 10px;
    background: rgba(0, 30, 60, 0.8);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    min-height: 100px;
    box-sizing: border-box;
}

.modal-body textarea:focus {
    outline: none;
    border-color: #00bfff;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.4);
    background: rgba(0, 40, 80, 0.9);
}

.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 5px 0 15px 0;
    text-shadow: 0 0 3px rgba(156, 163, 175, 0.3);
}

.char-counter.warning {
    color: #ed8936;
}

.char-counter.danger {
    color: #f56565;
}

.feedback-info {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 40, 80, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border-left: 4px solid rgba(0, 191, 255, 0.5);
}

.feedback-info p {
    margin: 5px 0;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 15px 25px 20px;
    border-top: 1px solid rgba(0, 191, 255, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-methods {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .contact-link {
        min-width: 80px;
    }
}