/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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



/* 主页区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
    animation: fadeInUp 1s ease 0.4s both;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.telegram-button {
    background: linear-gradient(45deg, #0088cc, #229ED9) !important;
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.telegram-button:hover {
    box-shadow: 0 15px 40px rgba(0, 136, 204, 0.4) !important;
}

.telegram-icon {
    font-size: 1.2rem;
}

.twitter-button {
    background: linear-gradient(45deg, #1DA1F2, #0D8BD9) !important;
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.twitter-button:hover {
    box-shadow: 0 15px 40px rgba(29, 161, 242, 0.4) !important;
}

.twitter-icon {
    font-size: 1.2rem;
}

.community-button {
    background: linear-gradient(45deg, #FF6B6B, #EE5A24) !important;
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.community-button:hover {
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4) !important;
}

.community-icon {
    font-size: 1.2rem;
}











/* 全屏魔性GIF容器 */
.fullscreen-gif-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

/* 浮动GIF样式 */
.floating-gif {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: auto;
}

.floating-gif img {
    border-radius: 15px;
    transition: all 0.3s ease;
}

.floating-gif:hover img {
    transform: scale(1.2);
}

/* 魔性动画 - 每个GIF都有不同的动画 */
.floating-gif:nth-child(1) {
    animation: float1 20s ease-in-out infinite;
    top: 10%;
    left: 10%;
}

.floating-gif:nth-child(2) {
    animation: float2 25s ease-in-out infinite;
    top: 20%;
    right: 15%;
}

.floating-gif:nth-child(3) {
    animation: float3 22s ease-in-out infinite;
    bottom: 20%;
    left: 20%;
}

.floating-gif:nth-child(4) {
    animation: float4 28s ease-in-out infinite;
    top: 50%;
    left: 5%;
}

.floating-gif:nth-child(5) {
    animation: float5 18s ease-in-out infinite;
    bottom: 10%;
    right: 10%;
}

.floating-gif:nth-child(6) {
    animation: float6 24s ease-in-out infinite;
    top: 15%;
    left: 50%;
}

.floating-gif:nth-child(7) {
    animation: float7 26s ease-in-out infinite;
    bottom: 30%;
    right: 30%;
}

.floating-gif:nth-child(8) {
    animation: float8 16s ease-in-out infinite;
    top: 60%;
    right: 5%;
}

.floating-gif:nth-child(9) {
    animation: float9 30s ease-in-out infinite;
    bottom: 50%;
    left: 40%;
}

.floating-gif:nth-child(10) {
    animation: float10 32s ease-in-out infinite;
    top: 25%;
    left: 70%;
}

.floating-gif:nth-child(11) {
    animation: float11 14s ease-in-out infinite;
    bottom: 15%;
    left: 60%;
}

.floating-gif:nth-child(12) {
    animation: float12 35s ease-in-out infinite;
    top: 70%;
    left: 25%;
}

.floating-gif:nth-child(13) {
    animation: float13 19s ease-in-out infinite;
    bottom: 40%;
    right: 50%;
}

.floating-gif:nth-child(14) {
    animation: float14 27s ease-in-out infinite;
    top: 40%;
    left: 80%;
}

.floating-gif:nth-child(15) {
    animation: float15 21s ease-in-out infinite;
    bottom: 60%;
    right: 20%;
}

.floating-gif:nth-child(16) {
    animation: float16 17s ease-in-out infinite;
    top: 80%;
    left: 35%;
}

/* 魔性动画关键帧 - 16个不同的全屏动画 */
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(200px, -100px) rotate(90deg); }
    50% { transform: translate(400px, 0) rotate(180deg); }
    75% { transform: translate(200px, 100px) rotate(270deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-300px, -200px) scale(1.1); }
    66% { transform: translate(300px, -150px) scale(0.9); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    20% { transform: translate(-400px, -100px) rotate(-45deg); }
    40% { transform: translate(-200px, -300px) rotate(-90deg); }
    60% { transform: translate(200px, -200px) rotate(-135deg); }
    80% { transform: translate(400px, -50px) rotate(-180deg); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(500px, -200px) scale(1.2); }
}

@keyframes float5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-400px, 100px) rotate(45deg); }
    50% { transform: translate(-600px, 0) rotate(90deg); }
    75% { transform: translate(-400px, -100px) rotate(135deg); }
}

@keyframes float6 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(200px, -300px) scale(1.1); }
    66% { transform: translate(-200px, -200px) scale(0.8); }
}

@keyframes float7 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    20% { transform: translate(300px, 150px) rotate(90deg); }
    40% { transform: translate(500px, 0) rotate(180deg); }
    60% { transform: translate(300px, -150px) rotate(270deg); }
    80% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes float8 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-400px, -250px) scale(1.3); }
}

@keyframes float9 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(400px, -100px) rotate(-90deg); }
    50% { transform: translate(700px, 0) rotate(-180deg); }
    75% { transform: translate(400px, 100px) rotate(-270deg); }
}

@keyframes float10 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-300px, -350px) scale(0.9); }
    66% { transform: translate(300px, -150px) scale(1.2); }
}

@keyframes float11 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    20% { transform: translate(-200px, 200px) rotate(45deg); }
    40% { transform: translate(-400px, 400px) rotate(90deg); }
    60% { transform: translate(-200px, 200px) rotate(135deg); }
    80% { transform: translate(0, 0) rotate(180deg); }
}

@keyframes float12 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(450px, -300px) scale(1.1); }
}

@keyframes float13 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-500px, -150px) rotate(-45deg); }
    50% { transform: translate(-800px, 0) rotate(-90deg); }
    75% { transform: translate(-500px, 150px) rotate(-135deg); }
}

@keyframes float14 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(200px, -400px) scale(1.2); }
    66% { transform: translate(-200px, -250px) scale(0.8); }
}

@keyframes float15 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    20% { transform: translate(300px, 200px) rotate(90deg); }
    40% { transform: translate(600px, 0) rotate(180deg); }
    60% { transform: translate(300px, -200px) rotate(270deg); }
    80% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes float16 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-350px, -200px) scale(1.1); }
}

/* 页脚 */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    top: 50%;
    transform: translateY(-50%);
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff6b6b;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    top: 50%;
    transform: translateY(-50%);
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff6b6b;
}

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



/* 响应式设计 */
@media (max-width: 768px) {
    .hero {
        padding: 50px 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .telegram-button,
    .twitter-button,
    .community-button {
        margin-left: 0;
    }
    
    /* 移动端全屏GIF调整 */
    .fullscreen-gif-container .floating-gif img {
        /* 移动端保持随机大小 */
    }
    

    

    

}

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

} 