body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #3498db 100%);
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    margin-top: -250px;
}

.container {
    text-align: center;
    padding-top: 0;
    padding-bottom: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

h1 {
    color: #2c3e50;
    font-size: 3rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.button-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.nav-button {
    position: relative;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    color: white;
    background: rgba(52, 152, 219, 0.8);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: rgba(41, 128, 185, 0.9);
}

.button-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.nav-button:hover .button-effect {
    transform: translateX(100%);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    margin: 0;
    width: 250px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 8px;
    z-index: 1;
    margin-top: 10px;
    overflow: hidden;
    padding: 5px 0;
    max-height: 70vh;
    overflow-y: auto;
}

.dropdown-content a {
    color: #2c3e50;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 24px;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #3498db;
}

.dropdown.active .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.file-upload {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.upload-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    color: white;
    background: rgba(52, 152, 219, 0.8);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.upload-btn:hover {
    background: rgba(41, 128, 185, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* 加载动画样式 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-spinner {
    text-align: center;
    position: relative;
}

.spinner {
    width: 200px;
    height: 200px;
    position: relative;
    margin: 0 auto 40px;
}

/* 轨道 */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    margin: -90px 0 0 -90px;
    border: 2px solid rgba(52, 152, 219, 0.2);
    border-radius: 50%;
    animation: orbit-rotate 2s linear infinite;
}

/* 发光轨道效果 */
.orbit::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 180px;
    height: 180px;
    border: 2px solid transparent;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: orbit-glow 2s linear infinite;
}

/* 中心星球 */
.center-planet {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    background: radial-gradient(circle at 30% 30%, #4facfe 0%, #00f2fe 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px #4facfe;
    animation: planet-pulse 2s ease-in-out infinite;
}

/* 旋转的卫星 */
.satellite {
    position: absolute;
    top: -10px;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #3498db 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px #3498db;
    animation: satellite-glow 2s ease-in-out infinite;
}

/* 卫星轨迹 */
.satellite-trail {
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 30px;
    margin-left: -5px;
    background: linear-gradient(to bottom, rgba(52, 152, 219, 0.8), transparent);
    filter: blur(5px);
    transform-origin: center bottom;
}

.loading-text {
    color: #3498db;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
    animation: text-glow 2s ease-in-out infinite;
}

/* 动画定义 */
@keyframes orbit-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes orbit-glow {
    0% { transform: rotate(0deg); opacity: 1; }
    50% { opacity: 0.3; }
    100% { transform: rotate(360deg); opacity: 1; }
}

@keyframes planet-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px #4facfe; }
    50% { transform: scale(1.1); box-shadow: 0 0 50px #4facfe; }
}

@keyframes satellite-glow {
    0%, 100% { box-shadow: 0 0 20px #3498db; }
    50% { box-shadow: 0 0 40px #3498db; }
}

@keyframes text-glow {
    0%, 100% { opacity: 0.8; text-shadow: 0 0 20px rgba(52, 152, 219, 0.5); }
    50% { opacity: 1; text-shadow: 0 0 40px rgba(52, 152, 219, 0.8); }
}

.loading-overlay[style*="display: flex"] {
    opacity: 1;
    visibility: visible;
}

/* 修改弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;  /* 调整位置更靠上 */
    padding: 30px;     /* 增加内边距 */
    border: none;
    width: 400px;      /* 增加宽度 */
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
    transition: all 0.3s ease;
}

.close:hover {
    color: #2c3e50;
    transform: scale(1.1);
}

/* 凭据信息样式 */
.credentials-info p {
    position: relative;
    margin: 10px 0;
    color: #2c3e50;
}

.credentials-info span {
    font-weight: bold;
    color: #3498db;
    padding: 5px 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

/* 复制按钮样式 */
.copy-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    opacity: 0.7;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.copy-btn:hover {
    opacity: 1;
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.copy-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.copy-icon {
    font-style: normal;
    font-size: 1.2rem;
    color: #3498db;
}

/* 复制成功提示样式 */
.copy-tooltip {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.copy-tooltip.show {
    opacity: 1;
    transform: translateX(-50%) translateY(10px);
}

/* 修改确认按钮样式 */
.confirm-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;  /* 增加按钮大小 */
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s ease;
    font-size: 1.1rem;  /* 增加按钮字体大小 */
    font-weight: bold;
}

.confirm-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* 移除之前的按钮容器相关样式 */
.modal-content .button-container,
.close-btn {
    display: none;
}

#modal-title {
    margin: 0 0 25px 0;
    color: #2c3e50;
    padding-right: 40px;
    font-size: 3.5rem;  /* 增加标题字体大小 */
}

/* 放大图片宽度，让 Fmuser_logo 更显眼 */
img[alt="Fmuser Logo"] {
    width: 300px;
    height: auto; /* 确保等比缩放 */
}