/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #0a0a0a;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(0, 255, 255, 0.05) 1px, transparent 0);
    background-size: 20px 20px;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

/* 网格背景（仅桌面端） */
@media (min-width: 768px) {
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, rgba(0, 255, 255, 0.05) 1px, transparent 1px),
                    linear-gradient(to right, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
        background-size: 50px 50px;
        animation: gridMove 20s linear infinite;
        z-index: -1;
    }
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Logo 区域 */
.logo-container {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.claw-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    animation: logoRotate 20s linear infinite;
}

@keyframes logoRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.logo-text {
    font-size: 48px;
    font-weight: 700;
    color: #00FFFF;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    letter-spacing: 2px;
}

.glow {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, rgba(0, 255, 255, 0) 70%);
    animation: glowPulse 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.scratch-marks {
    position: absolute;
    bottom: -30px;
    width: 200px;
    display: flex;
    justify-content: space-between;
}

.mark {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00FFFF, transparent);
    opacity: 0.6;
    animation: scratchFade 3s ease-in-out infinite;
}

.mark:nth-child(1) {
    animation-delay: 0s;
}

.mark:nth-child(2) {
    animation-delay: 1s;
}

.mark:nth-child(3) {
    animation-delay: 2s;
}

@keyframes scratchFade {
    0%, 100% {
        opacity: 0.2;
        transform: translateX(0);
    }
    50% {
        opacity: 0.8;
        transform: translateX(5px);
    }
}

/* 文案区域 */
.text-container {
    text-align: center;
    margin-bottom: 60px;
}

.main-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    letter-spacing: 3px;
    background: linear-gradient(90deg, #ffffff, #00FFFF, #ffffff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 5s ease-in-out infinite;
}

@keyframes textGradient {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.sub-title {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #00FFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.cursor {
    animation: cursorBlink 1s ease-in-out infinite;
}

@keyframes cursorBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* 邮箱订阅区域 */
.subscribe-container {
    width: 100%;
    max-width: 500px;
    margin-bottom: 80px;
}

.subscribe-form {
    display: flex;
    position: relative;
}

#email {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    padding: 15px 20px;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

#email:focus {
    border-bottom-color: #00FFFF;
    box-shadow: 0 1px 0 #00FFFF;
}

#email::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#submit-btn {
    background: transparent;
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: rgba(0, 255, 255, 0.5);
    padding: 0 25px;
    cursor: not-allowed;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

#submit-btn.active {
    background: #00FFFF;
    color: #0a0a0a;
    cursor: pointer;
    border-color: #00FFFF;
}

#submit-btn:hover.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
}

.claw-btn-icon {
    width: 16px;
    height: 16px;
}

/* 底部社交链接 */
.footer {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.icp-info {
    margin-top: 20px;
}

.icp-info a {
    color: rgba(0, 255, 255, 0.6);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.icp-info a:hover {
    color: #00FFFF;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo-text {
        font-size: 36px;
    }
    
    .claw-icon {
        width: 100px;
        height: 100px;
    }
    
    .main-title {
        font-size: 32px;
    }
    
    .subscribe-form {
        flex-direction: column;
        gap: 20px;
    }
    
    #submit-btn {
        padding: 15px;
        justify-content: center;
    }
    
    .social-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 28px;
    }
    
    .claw-icon {
        width: 80px;
        height: 80px;
    }
    
    .main-title {
        font-size: 24px;
    }
    
    .sub-title {
        font-size: 12px;
    }
}