/* 基础样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; overflow-x: hidden; }
.page { width: 100%; min-height: 100vh; position: relative; }

/* 登录页面 */
.login-page {
    background: url('https://bue-1411725721.cos.ap-guangzhou.myqcloud.com/ydh/8df7215b-7e19-4509-b12f-0f120bec503c.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* 首页 */
.home-page {
    background: url('https://bue-1411725721.cos.ap-guangzhou.myqcloud.com/ydh/8df7215b-7e19-4509-b12f-0f120bec503c.png') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-container { width: 100%; max-width: 500px; height: 100vh; position: relative; }

/* 图片按钮热点区域 */
.btn-hotspot-area {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    padding-top: 77%;
}
.hotspot-btn { width: 50%; max-width: 400px; height: auto; cursor: pointer; margin-bottom: 10px; transition: transform 0.2s; }
.hotspot-btn:hover { transform: scale(1.02); }

@media (max-width: 480px) {
    .btn-hotspot-area { padding-top: 60%; }
    .hotspot-btn { width: 70%; max-width: 280px; margin-bottom: 6px; }
}

/* 弹出层 */
.modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); display: flex; align-items: center; justify-content: center;
    z-index: 1000; padding: 20px;
}
.modal-content { position: relative; max-width: 90%; max-height: 90%; background: white; border-radius: 15px; padding: 10px; overflow: auto; }
.team-modal-content { background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); padding: 40px; text-align: center; min-width: 300px; }
.modal-content img { max-width: 100%; max-height: 80vh; border-radius: 10px; display: block; }
.close-btn { position: absolute; top: 10px; right: 15px; font-size: 36px; color: #333; cursor: pointer; width: 40px; height: 40px; line-height: 40px; text-align: center; z-index: 1001; }
.close-btn:hover { color: #ff6b6b; }

/* 队服弹窗样式 */
.team-display { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 20px; }
.team-name { font-size: 42px; font-weight: bold; color: #333; text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5); }
.team-uniform { width: 220px; height: 220px; border-radius: 15px; overflow: hidden; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); background: white; }
.team-uniform img { width: 100%; height: 100%; object-fit: cover; }
.team-color-name { font-size: 24px; color: #555; font-weight: 500; }

/* 登录表单 - 调整宽度自适应 */
.login-form {
    width: 90%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.login-title { text-align: center; color: #333; font-size: 26px; margin-bottom: 30px; font-weight: bold; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: #555; font-size: 15px; margin-bottom: 8px; }
.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s;
}
.form-group input:focus { outline: none; border-color: #4CAF50; }

.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4); }

@media (max-width: 480px) {
    .login-form { padding: 30px 20px; }
    .login-title { font-size: 22px; }
    .team-name { font-size: 32px; }
    .team-uniform { width: 180px; height: 180px; }
    .team-color-name { font-size: 20px; }
}
