/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

body {
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}

.container {
    max-width: 100%;
    height: 100vh;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 顶部内容区样式 */
.content-area {
    text-align: center;
    padding: 50px 20px 0;
    margin-top: 60px;
}

.main-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
    letter-spacing: 2px;
    -webkit-text-stroke: 0.5px #b80000;
}

.subtitle {
    font-size: 1rem;
    line-height: 1.8;
    padding: 0 10px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

.star {
    display: inline-block;
    font-size: 1.2rem;
    margin: 0 5px;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 注册区域样式 */
.register-box {
    margin: 40px auto;
    text-align: center;
}

.register-btn {
    background: linear-gradient(to right, #ffd166, #ffbd59);
    color: #ac4414;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 30px;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.register-note {
    color: #ffd700;
    font-size: 0.9rem;
    position: relative;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.register-note::before,
.register-note::after {
    content: '❀';
    color: #ffd700;
    margin: 0 8px;
}

/* 下载区域样式 */
.download-area {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px auto 80px;
    padding: 0 20px;
    width: 100%;
    max-width: 500px;
}

.download-btn {
    background-color: #ff4c44;
    color: white;
    text-decoration: none;
    padding: 15px 0;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    flex: 1;
    max-width: 200px;
    transition: all 0.3s ease;
    background-image: linear-gradient(to bottom, #ff5e57, #ff4c44);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.android-btn, .ios-btn {
    position: relative;
}

/* 管理入口（隐藏） */
.admin-link {
    position: fixed;
    bottom: 5px;
    right: 5px;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.admin-link:hover {
    opacity: 1;
}

#admin-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.8rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .register-btn {
        font-size: 1.1rem;
        padding: 12px 25px;
    }
    
    .download-area {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 80%;
        max-width: 250px;
    }
} 