/* CSS变量 */
:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --accent-color: #ec4899;
    --success-color: #10b981;
    --bg-gradient-start: #faf5ff;
    --bg-gradient-end: #f3e8ff;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --card-bg: rgba(255, 255, 255, 0.9);
    --shadow-color: rgba(99, 102, 241, 0.1);
    --max-width: 600px;
}

/* CSS重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* 域名展示区域 */
.domain-section {
    margin-bottom: 2.5rem;
}

.domain-name {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    word-break: break-all;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.domain-status {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #f472b6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
    animation: pulse 2s infinite;
}

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

.domain-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 400px;
    margin: 0 auto;
}

/* 联系方式区域 */
.contact-section {
    margin-bottom: 2rem;
}

.telegram-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 220px;
    line-height: 1.3;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.telegram-btn::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: left 0.5s;
}

.telegram-btn:hover::before {
    left: 100%;
}

.telegram-icon {
    flex-shrink: 0;
}

.telegram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.telegram-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* 操作提示区域 */
.instructions-section {
    margin-bottom: 2.5rem;
}

.instructions {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* 页脚 */
.footer {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer p {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* 响应式设计 */
@media (max-width: 640px) {
    .container {
        padding: 1.5rem;
    }
    
    .domain-name {
        font-size: 2.5rem;
    }
    
    .domain-status {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .telegram-btn {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
        min-width: 200px;
        line-height: 1.4;
    }
    
    .instructions {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .domain-name {
        font-size: 2rem;
    }
    
    .domain-status {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }
    
    .telegram-btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
        min-width: 180px;
        line-height: 1.4;
    }
    
    .instructions {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 焦点样式 */
.telegram-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 选择文本样式 */
::selection {
    background-color: var(--primary-color);
    color: white;
}
