/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    background: #0a0e17;
}
/* 背景样式 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../style/image/BJ.png') no-repeat center center;
    background-size: cover;
    z-index: -1;
}
/* 主容器 */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* 导航栏 */
.navbar {
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}
.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}
.logo img:hover {
    transform: scale(1.05);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.server-days {
    font-size: 0.9rem;
    color: #a0aec0;
}
#days-counter {
    color: #48bb78;
    font-weight: bold;
}
.qq-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.qq-link:hover {
    background: rgba(0, 122, 255, 0.2);
    transform: translateY(-2px);
}
/* 主要内容 */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.hero-section {
    text-align: center;
    max-width: 800px;
    width: 100%;
    animation: fadeIn 1s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.subtitle {
    font-size: 1.2rem;
    color: #a0aec0;
    margin-bottom: 3rem;
}
/* 按钮组 */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}
.btn:hover::before {
    left: 100%;
}
.btn-primary {
    background: linear-gradient(135deg, #7289da 0%, #5a6fc2 100%);
    color: white;
}
.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(114, 137, 218, 0.4);
}
.btn-secondary {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
}
.btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(66, 153, 225, 0.4);
}

/* ============ 服务器信息卡片 — 关键优化：打开即显示毛玻璃 ============ */
.server-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    opacity: 0;
    transform: translateY(15px);
    animation: cardFadeIn 0.8s ease-out forwards;
}
.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.25s; }
.info-card:nth-child(3) { animation-delay: 0.4s; }

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 15px 35px rgba(0, 0, 0Expenses, 0.35);
}

.info-card i {
    font-size: 2rem;
    color: #48bb78;
    margin-top: 0.5rem;
}
.info-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #a0aec0;
}
.info-text p {
    font-size: 1.3rem;
    font-weight: 600;
}

/* IP复制相关 */
.copy-ip {
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}
.copy-ip:hover {
    color: #68d391 !important;
}
.copy-check {
    display: inline-block;
    animation: checkPop 0.4s ease-out;
    color: #48bb78;
    font-weight: bold;
    margin-left: 6px;
}
@keyframes checkPop {
    0%   { transform: scale(0) rotate(-45deg); opacity: 0; }
    70%  { transform: scale(1.3); }
    100% { transform: scale(1); opacity: 1; }
}

/* 页脚 */
.footer {
    background: rgba(10, 14, 23, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    margin-top: auto;
}
.footer p {
    color: #a0aec0;
    font-size: 0.9rem;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-content { flex-direction: column; gap: 1rem; }
    .title { font-size: 2.5rem; }
    .action-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; justify-content: center; }
    .server-info { grid-template-columns: 1fr; }
    .info-card { text-align: center; flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
    .nav-content { padding: 0 1rem; }
    .title { font-size: 2rem; }
    .subtitle { font-size: 1rem; }
    .hero-section { padding: 0 1rem; }
}

/* 音乐控制按钮 */
.music-control {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.music-control:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: scale(1.15);
}
.music-control i {
    font-size: 1.2rem;
    color: white;
}

/* 消息提示 */
.message-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    z-index: 10000;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
}
.message-success { background: rgba(72, 187, 120, 0.9); }
.message-error   { background: rgba(245, 101, 101, 0.9); }
.message-info    { background: rgba(66, 153, 225, 0.9); }