/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'LXGW WenKai', 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Background decoration */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 80, 200, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 120, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 200, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Main container */
.container {
    max-width: 600px;
    width: 90%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

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

/* Header */
.header {
    margin-bottom: 2rem;
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: white;
    animation: pulse 2s infinite;
}

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

.title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

/* Content sections */
.content {
    margin-bottom: 2rem;
}

.message {
    margin-bottom: 2rem;
}

.greeting {
    font-size: 1.25rem;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 1rem;
}

.announcement {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.timeline {
    font-size: 1rem;
    color: #718096;
    font-style: italic;
}

/* WeChat section */
.wechat-section {
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.wechat-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    text-align: center;
}

.wechat-description {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.6;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.qr-code {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.info-section {
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.info-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    text-align: center;
}

.info-section ul {
    list-style: none;
    padding: 0;
}

.info-section li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.info-section li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.farewell {
    margin-top: 2rem;
}

.farewell p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.signature {
    font-style: italic;
    color: #718096;
    font-size: 1rem;
}

/* Footer */
.footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.copyright {
    font-size: 0.9rem;
    color: #a0aec0;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .title {
        font-size: 2rem;
    }

    .greeting {
        font-size: 1.1rem;
    }

    .announcement {
        font-size: 1rem;
    }

    .icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem 1rem;
    }

    .title {
        font-size: 1.75rem;
    }

    .greeting {
        font-size: 1rem;
    }

    .info-section {
        padding: 1rem;
    }

    .wechat-section {
        padding: 1rem;
    }

    .qr-code {
        max-width: 150px;
    }
}

/* Smooth transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Focus states for accessibility */
a:focus, button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}