/* ==================== 全局样式 ==================== */

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

html, body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', 'Arial', sans-serif;
    background: linear-gradient(135deg, #f5e6ff 0%, #e6f2ff 50%, #ffe6f2 100%);
    overflow-x: hidden;
    position: relative;
}

/* ==================== 背景动画星星 ==================== */

.stars-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #FFD700, rgba(255, 215, 0, 0)),
        radial-gradient(2px 2px at 60px 70px, #FFC0CB, rgba(255, 192, 203, 0)),
        radial-gradient(1px 1px at 50px 50px, #9B59B6, rgba(155, 89, 182, 0));
    background-size: 200px 200px;
    background-position: 0 0;
    pointer-events: none;
    z-index: -1;
    animation: twinkling 6s ease-in-out infinite;
}

@keyframes twinkling {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* ==================== 容器 ==================== */

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.welcome-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 60px 40px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(155, 89, 182, 0.15);
    border: 2px solid rgba(155, 89, 182, 0.2);
    animation: slideUp 0.8s ease-out;
}

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

/* ==================== 标题样式 ==================== */

.title-decoration {
    text-align: center;
    margin-bottom: 20px;
}

.main-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.gradient-text {
    background: linear-gradient(90deg, #9B59B6, #3498DB, #E91E63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(10deg);
    }
}

.emoji-decoration {
    font-size: 2.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==================== 欢迎语 ==================== */

.welcome-tagline {
    text-align: center;
    font-size: 1.8rem;
    color: #9B59B6;
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: 2px;
}

/* ==================== 艺术家卡片 ==================== */

.artist-card {
    background: linear-gradient(135deg, #f9f5ff 0%, #f0e6ff 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    border: 2px solid #E91E63;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.1);
    text-align: center;
}

.artist-avatar-placeholder {
    font-size: 5rem;
    margin-bottom: 15px;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.artist-info h2 {
    font-size: 2rem;
    color: #3498DB;
    margin-bottom: 10px;
}

.artist-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.artist-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(90deg, #3498DB, #9B59B6);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ==================== 分隔线 ==================== */

.divider {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    font-size: 1.5rem;
    animation: fadeInOut 3s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ==================== 按钮组 ==================== */

.button-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left 0.5s ease;
    z-index: 1;
}

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

.btn-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: iconBounce 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1) rotateZ(0deg);
    }
    50% {
        transform: scale(1.2) rotateZ(5deg);
    }
}

.btn-text {
    font-size: 1.3rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.btn-description {
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* 作品展示按钮 */
.btn-gallery {
    background: linear-gradient(135deg, #3498DB, #5DADE2);
    color: white;
}

.btn-gallery:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.3);
}

/* 游戏按钮 */
.btn-game {
    background: linear-gradient(135deg, #E91E63, #F06292);
    color: white;
}

.btn-game:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(233, 30, 99, 0.3);
}

/* ==================== 页脚 ==================== */

.footer {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid rgba(155, 89, 182, 0.2);
    color: #888;
    font-size: 0.95rem;
}

/* ==================== 响应式设计 ==================== */

@media (max-width: 768px) {
    .welcome-section {
        padding: 40px 25px;
        border-radius: 20px;
    }

    .main-title {
        font-size: 2.5rem;
        gap: 10px;
    }

    .emoji-decoration {
        font-size: 2rem;
    }

    .welcome-tagline {
        font-size: 1.5rem;
    }

    .artist-card {
        padding: 20px;
    }

    .artist-avatar-placeholder {
        font-size: 4rem;
    }

    .artist-info h2 {
        font-size: 1.5rem;
    }

    .artist-description {
        font-size: 1rem;
    }

    .btn {
        padding: 25px;
        border-radius: 15px;
    }

    .btn-icon {
        font-size: 2.5rem;
    }

    .btn-text {
        font-size: 1.1rem;
    }

    .btn-description {
        font-size: 0.85rem;
    }
}

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

    .welcome-section {
        padding: 30px 20px;
    }

    .main-title {
        font-size: 2rem;
    }

    .welcome-tagline {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }

    .artist-card {
        padding: 15px;
        margin-bottom: 25px;
    }

    .btn {
        padding: 20px;
        gap: 10px;
    }

    .btn-icon {
        font-size: 2rem;
    }

    .btn-text {
        font-size: 1rem;
    }

    .btn-description {
        font-size: 0.8rem;
    }

    .divider {
        gap: 15px;
        margin: 25px 0;
    }
}
