body {
    background-color: #0a1929;
    background-image: url('../img/Background_image.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    overflow-x: hidden;
    padding-top: 70px;
    opacity: 1;
    transition: opacity 0.1s ease;
}

body.fade-out {
    opacity: 0;
}

.content-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    padding: 2rem;
    transform-style: preserve-3d;
    align-items: center;
}

.logo-container {
    width: 280px;
    height: 280px;
    position: relative;
    margin: 0 auto;
    transform: translateZ(50px);
    transition: transform 0.5s ease;
}

.logo-container:hover {
    transform: translateZ(80px) scale(1.05);
}

.logo-container::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: -10%;
    left: -10%;
    animation: pulse 3s infinite;
}

.logo-container img {
    width: 120%;
    height: 120%;
    object-fit: contain;
    transform: translate(-10%, -10%);
    filter: drop-shadow(0 0 25px rgba(33, 150, 243, 0.4));
    transition: filter 0.5s ease;
}

.logo-container:hover img {
    filter: drop-shadow(0 0 35px rgba(33, 150, 243, 0.6));
}

.text-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateZ(30px);
    padding-left: 2rem;
}

.platform-title {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    white-space: nowrap;
    background: linear-gradient(120deg, #fff, #64B5F6, #2196F3);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGradient 6s ease infinite;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(33, 150, 243, 0.2);
}

@keyframes titleGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.platform-subtitle {
    font-size: 1.8rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    transform: translateX(-20px);
    animation: slideInRight 1s ease-out forwards;
}

@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.btn-primary {
    align-self: flex-start;
    background: linear-gradient(45deg, #1976D2, #64B5F6);
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    transform: translateY(20px);
    animation: slideInUp 1s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.btn-primary::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: 0.5s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

@keyframes slideInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .text-content {
        text-align: center;
        padding-left: 0;
    }

    .logo-container {
        width: 220px;
        height: 220px;
    }

    .platform-title {
        font-size: 3.2rem;
        white-space: normal;
        word-break: break-word;
        letter-spacing: 1px;
    }

    .platform-subtitle {
        font-size: 1.5rem;
    }

    .btn-primary {
        align-self: center;
    }
}

.particle {
    position: absolute;
    background: linear-gradient(45deg, rgba(100, 181, 246, 0.8), transparent);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: particleFade 4s infinite;
    box-shadow: 0 0 10px rgba(100, 181, 246, 0.4);
}

@keyframes particleFade {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }

    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

.star {
    position: absolute;
    background: radial-gradient(circle at center, #fff, transparent 70%);
    border-radius: 50%;
    animation: twinkle 3s infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 1rem 0;
    color: rgba(255, 255, 255, 0.6);
}

/* 添加页眉样式 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 25, 41, 0.4);
    backdrop-filter: blur(8px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.nav-links {
    display: flex;
    gap: 3.5rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
}

.nav-link i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #64B5F6;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link:hover i {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-link span {
        display: none;
    }

    .nav-link {
        padding: 0.5rem;
    }

    .nav-link i {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .header-container {
        padding: 0 1rem;
    }

    .nav-links {
        gap: 1rem;
    }
}

/* 添加与 selection.html 相同的过渡样式 */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a1929;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.15s ease;
}

.page-transition.loaded {
    opacity: 0;
    pointer-events: none;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #64B5F6;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}