/* ===== 基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* 优化滚动性能 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 为支持的浏览器添加更平滑的滚动 */
@supports (scroll-behavior: smooth) {
    html {
        scroll-padding-top: 80px; /* 为导航栏预留空间 */
    }
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a1a;
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
    /* 优化滚动性能 */
    -webkit-overflow-scrolling: touch;
}

/* 对需要动画的元素启用硬件加速 */
.glass-card,
.feature-card,
.personal-sponsor-card,
.gold-sponsor-card,
.partner-card,
.integration-card,
.download-card,
.more-feature-item,
.back-to-top,
.hero-social-link {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 渐变文字 ===== */
.gradient-text {
    background: linear-gradient(90deg, #0073f5, #00d7f2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* ===== 玻璃态卡片 ===== */
.glass-card {
    background: rgba(25, 25, 50, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    transition: all 0.3s ease;
}

.glass-card:hover {
    box-shadow: 0 0 5px #0073f5, 0 0 10px rgba(0, 115, 245, 0.5);
    border-color: rgba(0, 115, 245, 0.3);
    transform: translateY(-5px);
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(90deg, #0073f5, #00d7f2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 115, 245, 0.3);
}

.btn-outline {
    border: 1px solid #0073f5;
    color: #0073f5;
    background: transparent;
}

.btn-outline:hover {
    background-color: rgba(0, 115, 245, 0.1);
    transform: translateY(-2px);
}

/* ===== 滚动进度条 ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #0073f5, #00d7f2);
    width: 0%;
    z-index: 1001;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(0, 115, 245, 0.5);
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 26, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
}

.nav-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.brand-text {
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #f5f5f5;
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0073f5, #00d7f2);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #0073f5;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #f5f5f5;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    background: rgba(20, 20, 40, 0.95);
}

.mobile-nav.active {
    display: flex;
}

/* ===== 英雄区 ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://images.server.xiaozhuhouses.asia:3000/i/2025/10/10/gxuv2a.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#three-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 26, 0.7), rgba(10, 10, 26, 0.95));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 16px;
    animation: fadeInUp 1s ease;
}

.typing-text {
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid #0073f5;
    white-space: nowrap;
    animation: typing 2s steps(10) 0.5s forwards, blink 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #d0d0d0;
    margin-bottom: 8px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-description {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.7s both;
}

.hero-features {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.9s both;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d0d0d0;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00d7f2;
    box-shadow: 0 0 10px rgba(0, 215, 242, 0.7);
    animation: pulse 2s infinite;
}

/* 英雄区社交链接 */
.hero-social {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease 1.1s both;
}

.hero-social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(25, 25, 50, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 115, 245, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0073f5;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.hero-social-link:hover {
    background: rgba(0, 115, 245, 0.2);
    border-color: #0073f5;
    color: #00d7f2;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 115, 245, 0.4);
}

.hero-social-link::before {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 115, 245, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.hero-social-link:hover::before {
    opacity: 1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 通用区域样式 ===== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0073f5, #00d7f2);
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: #a0a0a0;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 24px;
}

/* ===== 功能展示区 ===== */
.features-section {
    background: linear-gradient(180deg, #0a0a1a 0%, #0d0d20 50%, #0a0a1a 100%);
    position: relative;
    overflow: hidden;
}

/* 功能区背景装饰 */
.features-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
}

.bg-circle-1 {
    width: 500px;
    height: 500px;
    background: rgba(0, 115, 245, 0.2);
    top: 10%;
    left: -100px;
    animation: float1 6s ease-in-out infinite;
}

.bg-circle-2 {
    width: 450px;
    height: 450px;
    background: rgba(0, 215, 242, 0.18);
    top: 40%;
    right: -100px;
    animation: float2 7s ease-in-out infinite;
}

.bg-circle-3 {
    width: 550px;
    height: 550px;
    background: rgba(0, 115, 245, 0.15);
    top: 75%;
    left: 5%;
    animation: float3 8s ease-in-out infinite;
}

.bg-circle-4 {
    width: 480px;
    height: 480px;
    background: rgba(0, 215, 242, 0.12);
    top: 25%;
    right: 10%;
    animation: float4 6.5s ease-in-out infinite;
}

.bg-circle-5 {
    width: 520px;
    height: 520px;
    background: rgba(0, 115, 245, 0.14);
    top: 55%;
    left: 50%;
    animation: float5 7.5s ease-in-out infinite;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 115, 245, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 115, 245, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
}

/* 光球浮动动画 - 每个光球有不同的移动路径 */
@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(100px, -80px) scale(1.1);
    }
    50% {
        transform: translate(150px, 60px) scale(0.9);
    }
    75% {
        transform: translate(60px, 120px) scale(1.05);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    20% {
        transform: translate(-120px, 100px) scale(1.15);
    }
    45% {
        transform: translate(-60px, -90px) scale(0.85);
    }
    70% {
        transform: translate(-150px, 40px) scale(1.08);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    30% {
        transform: translate(130px, -100px) scale(0.9);
    }
    60% {
        transform: translate(-80px, -60px) scale(1.2);
    }
    85% {
        transform: translate(100px, 80px) scale(0.95);
    }
}

@keyframes float4 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    15% {
        transform: translate(-100px, -70px) scale(1.12);
    }
    40% {
        transform: translate(80px, 110px) scale(0.88);
    }
    65% {
        transform: translate(-140px, 50px) scale(1.06);
    }
    90% {
        transform: translate(60px, -100px) scale(0.94);
    }
}

@keyframes float5 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    22% {
        transform: translate(120px, 90px) scale(1.08);
    }
    48% {
        transform: translate(-110px, -80px) scale(0.92);
    }
    73% {
        transform: translate(90px, -110px) scale(1.14);
    }
}

.features-section > .container {
    position: relative;
    z-index: 1;
}

.feature-card {
    margin-bottom: 40px;
    padding: 32px;
    position: relative;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0073f5, #00d7f2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: translateY(-5px) rotate(5deg);
}

.feature-title {
    font-size: 1.8rem;
    color: #f5f5f5;
}

.feature-content {
    color: #d0d0d0;
}

.feature-list {
    list-style: none;
    margin-bottom: 20px;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-list i {
    color: #00d7f2;
    margin-top: 4px;
}

.feature-description {
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-note {
    color: #0073f5;
    font-weight: 500;
    margin: 16px 0;
}

.feature-media {
    margin-top: 24px;
}

.feature-video {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-images {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: center;
}

.feature-img {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    object-fit: contain;
    transition: all 0.3s ease;
}

.feature-img:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 20px rgba(0, 115, 245, 0.2);
    transform: translateY(-3px);
}

.feature-img-full {
    width: 100%;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Minecraft部署布局 */
.mc-deploy-layout {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    align-items: stretch;
}

.mc-main-image {
    flex: 1;
    min-width: 0;
}

.mc-main-image .feature-img-full {
    margin-top: 0;
    height: 100%;
    object-fit: cover;
}

.mc-logos {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 220px;
    flex-shrink: 0;
    justify-content: center;
}

.mc-logo-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 115, 245, 0.1);
    flex: 1;
    min-height: 120px;
}

.mc-logo-item:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 20px rgba(0, 115, 245, 0.2);
    transform: translateY(-3px);
    border-color: rgba(0, 115, 245, 0.3);
}

/* 当只有一个logo时，让它占据更多空间 */
.mc-logos:has(.mc-logo-item:only-child) .mc-logo-item {
    min-height: 200px;
}

.mc-logo {
    max-width: 140px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.mc-logo-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0073f5;
    text-align: center;
}

/* Swiper 样式 */
.steam-games-swiper {
    margin-top: 24px;
}

.steam-games-swiper .swiper-slide img {
    width: 100%;
    border-radius: 8px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #0073f5;
}

.swiper-pagination-bullet-active {
    background: #0073f5;
}

.more-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.more-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px;
    background: rgba(0, 115, 245, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.more-feature-item:hover {
    background: rgba(0, 115, 245, 0.1);
    transform: translateY(-5px);
}

.more-feature-item i {
    font-size: 32px;
    color: #0073f5;
}

/* ===== 赞助区 ===== */
.sponsors-section {
    background: linear-gradient(180deg, #111122 0%, #1a0a2e 50%, #111122 100%);
    position: relative;
    overflow: hidden;
}

/* 赞助区背景装饰 */
.sponsors-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.sponsor-bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    will-change: transform;
}

.sponsor-bg-circle-1 {
    width: 600px;
    height: 600px;
    background: rgba(147, 51, 234, 0.15);
    top: 15%;
    right: -150px;
    animation: sponsorFloat1 7s ease-in-out infinite;
}

.sponsor-bg-circle-2 {
    width: 500px;
    height: 500px;
    background: rgba(236, 72, 153, 0.12);
    top: 50%;
    left: -100px;
    animation: sponsorFloat2 8s ease-in-out infinite;
}

.sponsor-bg-circle-3 {
    width: 550px;
    height: 550px;
    background: rgba(99, 102, 241, 0.13);
    top: 70%;
    right: 10%;
    animation: sponsorFloat3 9s ease-in-out infinite;
}

.sponsor-bg-circle-4 {
    width: 480px;
    height: 480px;
    background: rgba(168, 85, 247, 0.14);
    top: 30%;
    left: 40%;
    animation: sponsorFloat4 7.5s ease-in-out infinite;
}

/* 斜线装饰 */
.sponsor-bg-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(147, 51, 234, 0.05) 100px,
            rgba(147, 51, 234, 0.05) 101px
        );
    opacity: 0.5;
}

/* 赞助区动画 */
@keyframes sponsorFloat1 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(-100px, 80px) scale(1.1) rotate(5deg);
    }
    50% {
        transform: translate(-50px, -70px) scale(0.9) rotate(-5deg);
    }
    75% {
        transform: translate(80px, 50px) scale(1.05) rotate(3deg);
    }
}

@keyframes sponsorFloat2 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    20% {
        transform: translate(120px, -90px) scale(1.15) rotate(-8deg);
    }
    50% {
        transform: translate(70px, 100px) scale(0.88) rotate(8deg);
    }
    80% {
        transform: translate(-80px, 60px) scale(1.08) rotate(-5deg);
    }
}

@keyframes sponsorFloat3 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    30% {
        transform: translate(-110px, -80px) scale(0.92) rotate(6deg);
    }
    60% {
        transform: translate(90px, 90px) scale(1.18) rotate(-6deg);
    }
    85% {
        transform: translate(-70px, -50px) scale(0.96) rotate(4deg);
    }
}

@keyframes sponsorFloat4 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    15% {
        transform: translate(100px, 70px) scale(1.1) rotate(-7deg);
    }
    45% {
        transform: translate(-90px, -100px) scale(0.9) rotate(7deg);
    }
    75% {
        transform: translate(60px, -80px) scale(1.12) rotate(-4deg);
    }
}

.sponsors-section > .container {
    position: relative;
    z-index: 1;
}

.sponsors-subsection {
    margin-bottom: 60px;
    padding: 40px 0;
    position: relative;
}

.sponsors-subsection:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 115, 245, 0.2), rgba(0, 215, 242, 0.2), transparent);
}

.subsection-title {
    font-size: 2rem;
    color: #f5f5f5;
    text-align: center;
    margin-bottom: 16px;
    margin-top: 0;
    position: relative;
    display: inline-block;
    width: 100%;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #0073f5, #00d7f2);
}

.subsection-description {
    text-align: center;
    color: #a0a0a0;
    margin-bottom: 32px;
}

/* 合作伙伴 */
#partnersSection {
    background: rgba(0, 115, 245, 0.02);
    border-radius: 16px;
    padding: 40px 20px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-card {
    position: relative;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: scale(1.05);
}

.partner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.partner-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 8px;
}

.partner-description {
    font-size: 0.9rem;
    color: #d0d0d0;
}

/* 金牌服务商 */
#goldSponsorsSection {
    background: rgba(0, 215, 242, 0.02);
    border-radius: 16px;
    padding: 40px 20px;
}

.gold-sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.gold-sponsor-card {
    background: rgba(25, 25, 50, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gold-sponsor-card:hover {
    border-color: rgba(0, 115, 245, 0.5);
    box-shadow: 0 0 20px rgba(0, 115, 245, 0.3);
    transform: translateY(-5px);
}

.sponsor-logo-wrapper {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.gold-sponsor-card:hover .sponsor-logo-wrapper {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 115, 245, 0.1);
}

.sponsor-logo {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sponsor-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 8px;
}

.sponsor-description {
    font-size: 0.9rem;
    color: #a0a0a0;
    line-height: 1.6;
}

/* 深度融合 */
#deepIntegrationSection {
    background: rgba(100, 150, 245, 0.02);
    border-radius: 16px;
    padding: 40px 20px;
}

.deep-integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.integration-card {
    background: rgba(25, 25, 50, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.integration-card:hover {
    border-color: rgba(0, 215, 242, 0.5);
    box-shadow: 0 0 20px rgba(0, 215, 242, 0.3);
    transform: translateY(-5px);
}

.integration-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #00d7f2;
    margin-bottom: 12px;
}

.integration-description {
    font-size: 0.95rem;
    color: #d0d0d0;
}

/* 个人赞助 */
#personalSponsorsSection {
    background: rgba(150, 100, 245, 0.02);
    border-radius: 16px;
    padding: 40px 20px;
}

.personal-sponsors-wrapper {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 32px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(15, 15, 30, 0.3);
    border: 1px solid rgba(0, 215, 242, 0.1);
    /* 平滑滚动 */
    scroll-behavior: smooth;
    /* 启用滚动优化 */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* 自定义滚动条 - 个人赞助区域 */
.personal-sponsors-wrapper::-webkit-scrollbar {
    width: 8px;
}

.personal-sponsors-wrapper::-webkit-scrollbar-track {
    background: rgba(25, 25, 50, 0.5);
    border-radius: 4px;
}

.personal-sponsors-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0073f5, #00d7f2);
    border-radius: 4px;
}

.personal-sponsors-wrapper::-webkit-scrollbar-thumb:hover {
    background: #0073f5;
}

.personal-sponsors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    min-height: min-content;
}

.personal-sponsor-card {
    background: rgba(25, 25, 50, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.personal-sponsor-card:hover {
    border-color: rgba(0, 215, 242, 0.5);
    box-shadow: 0 0 15px rgba(0, 215, 242, 0.2);
    transform: translateY(-3px);
}

.sponsor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sponsor-nickname {
    font-weight: 600;
    color: #f5f5f5;
    font-size: 0.95rem;
}

.sponsor-amount {
    color: #00d7f2;
    font-weight: 700;
    font-size: 0.9rem;
}

.sponsor-message {
    font-size: 0.85rem;
    color: #a0a0a0;
    font-style: italic;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    cursor: help;
}

/* 赞助语完整内容提示框 */
.sponsor-message-tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.95);
    color: #f5f5f5;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(0, 115, 245, 0.5);
    box-shadow: 0 8px 24px rgba(0, 115, 245, 0.3);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 350px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    word-wrap: break-word;
    white-space: normal;
}

.sponsor-message-tooltip.visible {
    opacity: 1;
}

.sponsor-cta {
    text-align: center;
}

/* 加载更多提示 */
.sponsors-load-more-hint {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px;
    color: #00d7f2;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounceDown 2s infinite;
}

.sponsors-load-more-hint i {
    font-size: 1.2rem;
}

@keyframes bounceDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ===== 下载区 ===== */
.download-section {
    background: #0a0a1a;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.download-card {
    padding: 32px;
    text-align: center;
}

.download-icon {
    font-size: 4rem;
    color: #0073f5;
    margin-bottom: 16px;
}

.download-title {
    font-size: 1.8rem;
    color: #f5f5f5;
    margin-bottom: 24px;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.download-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(0, 115, 245, 0.1);
    border: 1px solid rgba(0, 115, 245, 0.3);
    border-radius: 8px;
    color: #0073f5;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-link:hover {
    background: rgba(0, 115, 245, 0.2);
    border-color: #0073f5;
    transform: translateY(-2px);
}

.download-note {
    font-size: 0.85rem;
    color: #a0a0a0;
}

.install-script {
    margin-top: 20px;
    text-align: left;
}

.script-label {
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 8px;
}

.code-block {
    position: relative;
    background: #1a1a2e;
    border: 1px solid rgba(0, 115, 245, 0.3);
    border-radius: 8px;
    padding: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

.code-block code {
    color: #00d7f2;
    word-break: break-all;
}

.copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 115, 245, 0.2);
    border: 1px solid rgba(0, 115, 245, 0.3);
    border-radius: 4px;
    padding: 8px 12px;
    color: #0073f5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(0, 115, 245, 0.3);
}

/* ===== 页脚 ===== */
.footer {
    background: #0d0d1a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: #a0a0a0;
    font-size: 0.95rem;
    margin: 0;
    position: relative;
    display: inline-block;
}

.footer-bottom p::before,
.footer-bottom p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 115, 245, 0.3));
}

.footer-bottom p::before {
    right: calc(100% + 20px);
}

.footer-bottom p::after {
    left: calc(100% + 20px);
    background: linear-gradient(90deg, rgba(0, 115, 245, 0.3), transparent);
}

/* ===== 返回顶部按钮 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0073f5, #00d7f2);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 115, 245, 0.4);
}

/* ===== 滚动动画 ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 自定义滚动条 ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0073f5, #00d7f2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0073f5;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-features {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 30px;
    }

    .hero-social {
        gap: 12px;
    }

    .hero-social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .section-title {
        font-size: 2rem;
    }

    .subsection-title {
        font-size: 1.5rem;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .feature-images {
        flex-direction: column;
        align-items: center;
    }

    .feature-img {
        max-width: 100%;
        width: 100%;
    }

    /* Minecraft部署响应式 */
    .mc-deploy-layout {
        flex-direction: column;
    }

    .mc-logos {
        width: 100%;
        flex-direction: row;
    }

    .mc-logo-item {
        flex: 1;
    }

    .partners-grid,
    .gold-sponsors-grid,
    .deep-integration-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom p::before,
    .footer-bottom p::after {
        width: 40px;
    }

    .footer-bottom p::before {
        right: calc(100% + 12px);
    }

    .footer-bottom p::after {
        left: calc(100% + 12px);
    }

    .personal-sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 响应式调整赞助区域样式 */
    .sponsors-subsection {
        padding: 30px 10px;
    }

    #partnersSection,
    #goldSponsorsSection,
    #deepIntegrationSection,
    #personalSponsorsSection {
        padding: 30px 10px;
    }

    .sponsors-subsection:not(:last-child)::after {
        width: 90%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .personal-sponsors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .nav-brand {
        font-size: 20px;
    }

    .nav-logo {
        width: 32px;
        height: 32px;
    }

    .brand-text {
        font-size: 18px;
    }

    .more-features-grid {
        grid-template-columns: 1fr;
    }

    .personal-sponsors-grid {
        grid-template-columns: 1fr;
    }

    /* 小屏幕Minecraft部署 */
    .mc-logos {
        flex-direction: column;
    }

    .mc-logo {
        max-width: 120px;
        max-height: 60px;
    }

    /* 小屏幕页脚 */
    .footer-bottom p::before,
    .footer-bottom p::after {
        display: none;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}

