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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    min-height: 100vh;
    color: #2c3e50;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部样式 */
.header {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #1a73e8;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.select-control {
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-control:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.login-btn {
    padding: 12px 25px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    background: linear-gradient(45deg, #ee5a24, #ff6b6b);
}

/* 主要内容区域 */
.main-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: center;
    min-height: 60vh;
}

/* 左侧面板 */
.left-panel {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.mobile-tip {
    text-align: center;
}

.mobile-tip h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 20px;
}

.mobile-tip p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.qrcode-placeholder {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qrcode {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #fdcb6e, #e17055);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(253, 203, 110, 0.3);
}

/* 右侧面板 */
.right-panel {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.function-circles {
    display: flex;
    gap: 50px;
    justify-content: center;
}

.circle-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.circle-btn:hover {
    transform: translateY(-5px);
}

.circle-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #00b894, #00cec9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: white;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.3);
    transition: all 0.3s ease;
}

.circle-btn:hover .circle-icon {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 184, 148, 0.4);
}

.circle-btn span {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}



/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.modal-content button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #fd79a8, #e84393);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(253, 121, 168, 0.3);
}

.modal-content button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(253, 121, 168, 0.4);
    background: linear-gradient(45deg, #e84393, #fd79a8);
}

/* 底部按钮容器 */
.bottom-buttons-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.bottom-btn {
    padding: 15px 20px;
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(116, 185, 255, 0.3);
    text-align: center;
}

.bottom-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(116, 185, 255, 0.4);
    background: linear-gradient(45deg, #0984e3, #74b9ff);
}

.bottom-btn:focus {
    outline: 3px solid #ffd700;
    transform: scale(1.05);
}

/* 右侧面板布局调整 */
.right-panel {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.function-circles {
    display: flex;
    gap: 50px;
    justify-content: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }
    
    .controls {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .function-circles {
        flex-direction: column;
        gap: 30px;
    }
    
    .bottom-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .bottom-buttons-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bottom-btn {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .function-circles {
        flex-direction: column;
        gap: 30px;
    }
    
    .right-panel {
        padding: 20px;
    }
    
    .circle-icon {
        width: 100px;
        height: 100px;
        font-size: 30px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .select-control {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .login-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}