/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #190108;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 内容区样式 */
.content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    background-color: #190108;
}

/* 顶部导航栏 */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.logo-text {
    color: white;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #ff3399, #ff66cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 主内容区域 */
main {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

.background-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px); /* 调整高度，只减去header高度 */
    overflow: hidden;
}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

.image-slide {
    flex: 1;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    opacity: 0.7;
    overflow: hidden;
}

.image-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(33, 6, 13, 0.8), rgba(33, 6, 13, 0.4));
    z-index: 1;
}

.image-slide::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(0deg, rgba(33, 6, 13, 1), transparent);
    z-index: 1;
}

.image-container:hover .image-slide {
    flex: 0.5;
    filter: grayscale(0.5);
}

.image-container .image-slide:hover {
    flex: 2.5;
    opacity: 1;
    filter: grayscale(0) saturate(1.2) brightness(1.1);
    box-shadow: 0 0 30px rgba(255, 51, 153, 0.5);
    z-index: 2;
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 100px;
    padding-top: 100px;
    color: white;
    z-index: 5;
}

.online-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: floatStatus 3s ease-in-out infinite alternate;
}

@keyframes floatStatus {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

.status-dot {
    width: 12px;
    height: 12px;
    background-color: #4caf50;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(76, 175, 80, 0);
        transform: scale(1.2);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
        transform: scale(1);
    }
}

.status-text {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.avatar-group {
    display: flex;
    margin-left: 10px;
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin-left: -10px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.avatar:hover {
    transform: translateY(-8px) scale(1.2);
    z-index: 10;
    border-color: #ff3399;
    box-shadow: 0 10px 25px rgba(255, 51, 153, 0.5);
}

.main-heading {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards 0.5s, glowText 2s infinite alternate 1.5s;
    background: linear-gradient(90deg, #ff3399, #ff66cc, #ff99ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
}

@keyframes glowText {
    0% {
        text-shadow: 0 0 5px rgba(255, 51, 153, 0.5);
        background-position: 0% center;
    }
    100% {
        text-shadow: 0 0 20px rgba(255, 51, 153, 0.8);
        background-position: 100% center;
    }
}

.description {
    max-width: 700px;
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: 18px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards 0.8s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(3px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.highlight {
    color: #ff3399;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff3399;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.5s ease-out;
}

.highlight:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* 添加按钮链接样式 */
.button-link {
    text-decoration: none;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards 1.1s;
}

.button-link:hover {
    text-decoration: none;
}

.try-free-btn-large {
    background: linear-gradient(90deg, #ff3399, #cc0066);
    background-size: 200% auto;
    border: none;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(204, 0, 102, 0.5);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.try-free-btn-large:hover {
    background-position: right center;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 51, 153, 0.6);
    letter-spacing: 2px;
}

.try-free-btn-large::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -50%;
        top: -50%;
    }
    100% {
        left: 150%;
        top: 150%;
    }
}

.try-free-btn-large::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.8s, opacity 0.8s;
}

.try-free-btn-large:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* 响应式设计 - 大型平板设备 (992px-1199px) */
@media (max-width: 1199px) {
    .content-overlay {
        padding: 0 60px;
    }
    
    .main-heading {
        font-size: 42px;
    }
    
    .description {
        max-width: 600px;
        font-size: 17px;
    }
}

/* 响应式设计 - 平板设备 (768px-991px) */
@media (max-width: 991px) {
    header {
        padding: 15px 30px;
    }
    
    .content-overlay {
        padding: 0 40px;
    }
    
    .main-heading {
        font-size: 38px;
    }
    
    .description {
        max-width: 500px;
        font-size: 16px;
        padding: 15px;
        margin-bottom: 30px;
    }
    
    .try-free-btn-large {
        padding: 12px 30px;
        font-size: 18px;
    }
    
    .online-status {
        margin-bottom: 30px;
    }
}

/* 响应式设计 - 大型手机设备 (576px-767px) */
@media (max-width: 767px) {
    header {
        padding: 15px 20px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .content-overlay {
        padding: 0 20px;
        padding-top: 40px;
        justify-content: center;
        padding-bottom: 0;
    }
    
    .main-heading {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .description {
        font-size: 15px;
        line-height: 1.6;
        padding: 15px;
        margin-bottom: 25px;
    }
    
    .try-free-btn-large {
        padding: 12px 25px;
        font-size: 16px;
    }
    
    .online-status {
        margin-bottom: 25px;
        padding: 6px 12px;
    }
    
    .avatar-group {
        margin-left: 8px;
    }
    
    .avatar {
        width: 30px;
        height: 30px;
        margin-left: -8px;
    }
    
    /* 在手机上减少图片切换的扩展倍数 */
    .image-container .image-slide:hover {
        flex: 1.5;
    }
    
    /* 减少粒子数量提高性能 */
    .particle-container div {
        opacity: 0.5;
    }
    
    /* 确保横向滑动效果在手机上也能正常显示 */
    .image-container {
        align-items: stretch;
    }
    
    .image-slide {
        background-position: center 25%;
    }
}

/* 响应式设计 - 小型手机设备 (小于576px) */
@media (max-width: 575px) {
    .image-container {
        flex-direction: row;
        height: 100%;
        position: relative;
    }
    
    .image-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transform: scale(1.05);
        transition: opacity 1s ease, transform 1.5s ease;
        z-index: 1;
    }
    
    .image-slide.active {
        opacity: 1;
        transform: scale(1);
        z-index: 2;
    }
    
    .image-container:hover .image-slide {
        flex: unset;
        opacity: 0;
    }
    
    .image-container:hover .image-slide.active {
        opacity: 1;
    }
    
    .image-container .image-slide:hover {
        flex: unset;
    }
    
    .content-overlay {
        padding: 0 15px;
        padding-bottom: 60px;
    }
    
    .main-heading {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .description {
        font-size: 14px;
        padding: 12px;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .try-free-btn-large {
        padding: 10px 20px;
        font-size: 15px;
    }
    
    .online-status {
        transform: scale(0.9);
        margin-bottom: 20px;
    }
    
    /* 在小屏幕上减少视觉复杂度 */
    .content::before,
    .content::after {
        opacity: 0.4;
    }
    
    /* 减少动画强度，提高性能 */
    @keyframes glowText {
        0% {
            text-shadow: 0 0 3px rgba(255, 51, 153, 0.4);
        }
        100% {
            text-shadow: 0 0 8px rgba(255, 51, 153, 0.6);
        }
    }
    
    .avatar:hover {
        transform: translateY(-5px) scale(1.1);
    }
    
    /* 优化按钮在小屏幕上的显示 */
    .try-free-btn-large:hover {
        letter-spacing: 1px;
    }
}

/* 竖屏设备的特定优化 */
@media (max-width: 575px) and (orientation: portrait) {
    .background-container {
        height: calc(100vh - 70px);
    }
    
    /* 优化竖屏下的图片显示 */
    .image-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 1s ease, transform 1.5s ease;
        background-position: center 30%;
        background-size: cover;
    }
    
    .image-slide.active {
        opacity: 1;
    }
    
    /* 确保内容显示在合适的位置 */
    .content-overlay {
        justify-content: center;
        padding-bottom: 0;
        padding-top: 30px;
    }
}

/* 横屏设备上的特定优化 (如手机横屏) */
@media (max-height: 500px) and (orientation: landscape) {
    header {
        padding: 10px 20px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .main-heading {
        font-size: 26px;
        margin-bottom: 10px;
    }
    
    .description {
        font-size: 13px;
        padding: 10px;
        margin-bottom: 15px;
        max-width: 80%;
    }
    
    .try-free-btn-large {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .online-status {
        transform: scale(0.8);
        margin-bottom: 15px;
    }
}

/* 添加更多酷炫动效 */
/* 背景渐变动画 */
.content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 51, 153, 0.3), transparent 70%);
    animation: moveGradient 15s ease infinite alternate;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

@keyframes moveGradient {
    0% {
        background-position: 0% 0%;
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        background-position: 100% 100%;
        opacity: 0.5;
    }
}

/* 添加视觉噪点效果 */
.content::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIiB4PSIwIiB5PSIwIj48ZmVUdXJidWxlbmNlIGJhc2VGcmVxdWVuY3k9Ii43NSIgc3RpdGNoVGlsZXM9InN0aXRjaCIgdHlwZT0iZnJhY3RhbE5vaXNlIi8+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPjwvZmlsdGVyPjxwYXRoIGQ9Ik0wIDBoMzAwdjMwMEgweiIgZmlsdGVyPSJ1cmwoI2EpIiBvcGFjaXR5PSIuMDUiLz48L3N2Zz4=');
    pointer-events: none;
    opacity: 0.2;
    z-index: 2;
}

/* 图片缩放效果 */
.image-slide {
    animation: scaleBackground 30s ease infinite alternate;
    animation-delay: calc(var(--i, 0) * 5s);
}

@keyframes scaleBackground {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

/* 给每个图片设置不同的动画延迟 */
.image-slide:nth-child(1) { --i: 0; }
.image-slide:nth-child(2) { --i: 1; }
.image-slide:nth-child(3) { --i: 2; }
.image-slide:nth-child(4) { --i: 3; }
.image-slide:nth-child(5) { --i: 4; }

/* 添加闪烁效果 */
@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 0.95;
        text-shadow: 0 0 15px rgba(255, 51, 153, 0.7);
    }
    20%, 24%, 55% {
        opacity: 0.7;
        text-shadow: 0 0 5px rgba(255, 51, 153, 0.5);
    }
} 