:root {
    --bg-color: #030303;
    --accent-glow: radial-gradient(circle at center, #1a1a2e 0%, #030303 70%);
    --text-color: #f0f0f0;
    --accent-color: #ffffff;
    --secondary-text: #666666;
    --transition-speed: 0.5s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image: var(--accent-glow);
    color: var(--text-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* 噪点纹理 */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    z-index: 2;
}

.hero {
    text-align: center;
    max-width: 800px;
}

.title {
    font-size: 6rem;
    font-weight: 200;
    letter-spacing: -0.04em;
    margin-bottom: 0.2rem;
    color: var(--accent-color);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: baseline;
}

.domain-suffix {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.3em;
    font-weight: 400;
    color: #888;
    margin-left: 0.1em;
    letter-spacing: 0;
}

.subtitle {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--secondary-text);
    margin-bottom: 4rem;
    letter-spacing: 0.6em;
    text-transform: uppercase;
}

.waitlist-section {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.waitlist-btn-wide {
    width: 320px;
    background: transparent;
    border: 1px solid #222;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 300;
    cursor: pointer;
    padding: 12px 20px;
    transition: all var(--transition-speed);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.waitlist-btn-wide:hover {
    border-color: #444;
    width: 340px;
    background: rgba(255, 255, 255, 0.02);
}

/* Links Container */
.links-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    animation: fadeIn var(--transition-speed) forwards;
}

.doc-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.doc-link:hover {
    color: var(--accent-color);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.link-icon {
    font-size: 1.1em;
}

/* 提示文字与箭头 */
.redirect-notice {
    text-align: center;
    animation: fadeIn var(--transition-speed) forwards;
}

.notice-text {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 30px;
    font-weight: 300;
}

.arrow-container {
    display: flex;
    justify-content: center;
    color: #444;
    height: 40px;
    overflow: visible; /* 允许长距离动画溢出 */
}

.bounce-arrow {
    animation: slideDownFade 3.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDownFade {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    15% {
        opacity: 1;
        transform: translateY(10px);
    }
    85% {
        opacity: 0.8;
        transform: translateY(100px);
    }
    100% {
        opacity: 0;
        transform: translateY(130px);
    }
}

.hidden {
    display: none;
    opacity: 0;
}

.footer {
    padding: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

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

.social-link {
    color: #333;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    color: var(--accent-color);
    transform: translateY(-4px) scale(1.1);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeInMove ease 1.8s forwards;
}

.hero .title { animation-delay: 0.2s; }
.hero .subtitle { animation-delay: 0.4s; }
.waitlist-section { animation-delay: 0.7s; }
.footer { animation-delay: 1s; }

@keyframes fadeInMove {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.highlight {
    animation: pulse 1.5s infinite;
    color: var(--accent-color) !important;
}

@keyframes pulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0)); }
    50% { transform: scale(1.2); filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0)); }
}

@media (max-width: 480px) {
    .title { font-size: 4rem; }
    .subtitle { letter-spacing: 0.3em; font-size: 0.7rem; }
    .waitlist-btn-wide { width: 280px; }
    
    .links-container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .doc-link {
        width: 100%;
        justify-content: center;
    }
}
