* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background: #f5f7fa;
    color: #333;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 添加背景装饰元素 */
.bg-decoration {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 10%;
    left: 10%;
    animation: float 15s infinite ease-in-out;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    bottom: 10%;
    right: 10%;
    animation: float 18s infinite ease-in-out reverse;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    top: 50%;
    left: 70%;
    animation: float 12s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

.header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.85);
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    flex-grow: 1;
    margin: 0 15px;
    color: #2c3e50;
    position: relative;
}

.header h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    border-radius: 3px;
}

.btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #2c3e50;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.btn i {
    margin-right: 8px;
    font-size: 1rem;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin-top: 70px;
    padding: 14px; /* 统一使用14px边距 */
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    padding: 15px 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 1000;
    opacity: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
}

.notification i {
    margin-right: 10px;
    color: #4facfe;
    font-size: 1.2rem;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* 响应式设计 - 统一使用相同的边距 */
@media (max-width: 768px) {
    .header {
        padding: 12px 20px;
    }
    
    .header.scrolled {
        padding: 8px 20px;
    }
    
    .header h1 {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .content {
        margin-top: 65px;
        padding: 14px; /* 保持14px边距 */
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.1rem;
    }
    
    .btn span {
        display: none;
    }
    
    .btn i {
        margin-right: 0;
    }
    
    .content {
        margin-top: 60px;
        padding: 14px; /* 保持14px边距 */
    }
}
