/**
 * 光夜个人主页样式文件
 * 实现响应式设计、背景图片系统和视觉美化
 */

/* ===== 重置和基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* 防止文字被选中，保持美观 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 允许特定元素的文字选中 */
.bio-text,
.equipment-text,
p,
span.hint-text {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    
    /* 背景图片系统 - 主要背景 */
    background-image: url('bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    /* 备用纯色背景 - 当bg.png加载失败时显示 */
    background-color: #1a1a2e;
    
    /* 背景叠加层，提高文本可读性 */
    position: relative;
}

/* 背景叠加层 - 提高文本对比度 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
    pointer-events: none;
}

/* 无障碍访问 - 隐藏但对屏幕阅读器可见的元素 */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== 主容器布局 ===== */
.main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

/* ===== 头部样式 ===== */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

.header-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.name-chinese {
    color: #ff6b9d;
    font-family: 'Noto Sans SC', sans-serif;
}

.name-separator {
    color: #ffffff;
    opacity: 0.7;
    margin: 0 0.5rem;
}

.name-english {
    color: #87ceeb;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.subtitle {
    font-size: 1.2rem;
    color: #f0f0f0;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

/* ===== 个人资料区域 ===== */
.profile-section {
    max-width: 800px;
    width: 100%;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* 头像容器 */
.avatar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #87ceeb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 8px 24px rgba(255, 107, 157, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.avatar-placeholder:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 16px 40px rgba(255, 107, 157, 0.5);
    background: linear-gradient(135deg, #ff6b9d, #87ceeb, #ff6b9d);
}

.avatar-placeholder:active {
    transform: scale(0.95) rotate(-2deg);
}

/* 头像光晕效果 */
.avatar-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, #ff6b9d, transparent, #87ceeb, transparent);
    animation: avatarRotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avatar-placeholder:hover .avatar-glow {
    opacity: 0.3;
}

@keyframes avatarRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 可爱的装饰元素 */
.kawaii-decorations {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    pointer-events: none;
}

.kawaii-decorations span {
    position: absolute;
    font-size: 1rem;
    animation: floatAround 8s ease-in-out infinite;
}

.deco-star {
    top: 10%;
    left: 80%;
    animation-delay: 0s;
    color: #ffd700;
}

.deco-heart {
    top: 80%;
    left: 20%;
    animation-delay: 2s;
    color: #ff6b9d;
}

.deco-sparkle {
    top: 20%;
    left: 10%;
    animation-delay: 4s;
    color: #87ceeb;
}

.deco-moon {
    top: 70%;
    left: 90%;
    animation-delay: 6s;
    color: #f0e68c;
}

@keyframes floatAround {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 0.7;
    }
    25% { 
        transform: translateY(-10px) rotate(90deg); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-5px) rotate(180deg); 
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-15px) rotate(270deg); 
        opacity: 1;
    }
}

/* 可爱的VRChat链接 */
.vrchat-link-cute {
    margin-top: 1rem;
    text-align: center;
}

.vrchat-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #ff6b9d;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 157, 0.3);
    transition: all 0.3s ease;
    font-family: 'Noto Sans SC', sans-serif;
}

.vrchat-text-link:hover {
    background: rgba(255, 107, 157, 0.2);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.link-emoji {
    animation: gentleFloat 3s ease-in-out infinite;
}

.link-emoji:nth-child(3) {
    animation-delay: 1.5s;
}

/* 可爱的宠物系统 */
.pet-system {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.pet-container {
    position: relative;
}

.pet {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1rem;
    border: 2px solid rgba(255, 182, 193, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.pet:hover {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 182, 193, 0.2);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.4);
}

.pet-face {
    font-size: 1.5rem;
    display: block;
    text-align: center;
    color: #ff6b9d;
    animation: petBreathe 3s ease-in-out infinite;
}

.pet-speech-bubble {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #ff6b9d;
    padding: 0.5rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.pet-speech-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.9);
}

.pet:hover .pet-speech-bubble {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

@keyframes petBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 个人介绍容器 */
.bio-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.bio-section {
    margin-bottom: 2rem;
}

.bio-section:last-child {
    margin-bottom: 0;
}

.bio-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ff6b9d;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.bio-content {
    line-height: 1.8;
}

.bio-text {
    margin-bottom: 1rem;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.bio-text:last-child {
    margin-bottom: 0;
}

/* 中文介绍特殊样式 */
.bio-chinese .bio-text {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 400;
}

/* 英文介绍特殊样式 */
.bio-english .bio-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

/* 分隔线样式 */
.bio-separator {
    color: #87ceeb;
    text-align: center;
    margin: 1rem 0;
    font-family: monospace;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 设备信息样式 */
.equipment-info {
    background: rgba(135, 206, 235, 0.1);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    border-left: 4px solid #87ceeb;
}

.equipment-text {
    font-family: 'Roboto', monospace;
    font-size: 0.9rem;
    color: #87ceeb;
    font-weight: 500;
}

/* 超可爱的状态卡片 */
.kawaii-status-cards {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.kawaii-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.2), rgba(255, 240, 245, 0.2));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 182, 193, 0.4);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 100px;
}

.kawaii-card:hover {
    transform: translateY(-3px) scale(1.05) rotate(1deg);
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.3), rgba(255, 240, 245, 0.3));
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
    border-color: rgba(255, 107, 157, 0.5);
}

.card-face {
    font-size: 1.2rem;
    color: #ff6b9d;
    animation: kawaiiFloat 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 107, 157, 0.5);
}

.card-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ff6b9d;
    text-align: center;
    font-family: 'Noto Sans SC', sans-serif;
}

.kawaii-pulse {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #ff69b4;
    border-radius: 50%;
    animation: kawaii-pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px #ff69b4;
}

.online-status .kawaii-pulse {
    display: block;
}

.mood-status .kawaii-pulse,
.activity-status .kawaii-pulse {
    display: none;
}

@keyframes kawaiiFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        opacity: 0.9;
    }
    50% { 
        transform: translateY(-2px) scale(1.03); 
        opacity: 1;
    }
}

@keyframes kawaii-pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
        box-shadow: 0 0 10px #ff69b4;
    }
    50% { 
        opacity: 0.5; 
        transform: scale(1.3); 
        box-shadow: 0 0 20px #ff69b4;
    }
}

/* 可爱的互动游戏区域 */
.kawaii-games {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

/* 戳戳游戏 */
.poke-game {
    text-align: center;
}

.poke-target {
    display: inline-block;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.3), rgba(173, 216, 230, 0.3));
    border-radius: 50%;
    border: 3px solid rgba(255, 182, 193, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.poke-target:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.5), rgba(173, 216, 230, 0.5));
}

.poke-target:active {
    transform: scale(0.9);
    animation: pokeShake 0.5s ease;
}

.poke-face {
    font-size: 2rem;
    color: #ff6b9d;
    display: block;
}

.poke-text {
    font-size: 0.8rem;
    color: #ff6b9d;
    margin-top: 0.5rem;
    font-family: 'Noto Sans SC', sans-serif;
}

.poke-counter {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #87ceeb;
    font-family: 'Noto Sans SC', sans-serif;
}

@keyframes pokeShake {
    0%, 100% { transform: scale(0.9) rotate(0deg); }
    25% { transform: scale(0.9) rotate(-5deg); }
    75% { transform: scale(0.9) rotate(5deg); }
}

/* 表情收集器 */
.emoji-collector {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid rgba(255, 182, 193, 0.3);
}

.collector-title {
    font-size: 1rem;
    color: #ff6b9d;
    margin-bottom: 1rem;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 600;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    max-width: 200px;
    margin: 0 auto;
}

.emoji-item {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 182, 193, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.emoji-item:hover {
    transform: scale(1.2) rotate(10deg);
    background: rgba(255, 182, 193, 0.4);
}

.emoji-item.collected {
    background: linear-gradient(135deg, #ff6b9d, #87ceeb);
    animation: emojiSparkle 2s ease-in-out infinite;
}

@keyframes emojiSparkle {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(255, 107, 157, 0.5); 
    }
    50% { 
        box-shadow: 0 0 15px rgba(255, 107, 157, 0.8); 
    }
}

/* 分隔线装饰 */
.bio-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    opacity: 0.6;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #ff6b9d, transparent);
}

.divider-text {
    margin: 0 1rem;
    color: #ff6b9d;
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* ===== 页脚样式 ===== */
.footer {
    margin-top: auto;
    padding: 2rem 1rem 1rem;
    text-align: center;
    animation: fadeIn 1s ease-out 0.6s both;
}

.footer-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* 超级可爱的互动区域 */
.kawaii-interactive-zone {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 可爱的爱心收集器 */
.kawaii-heart-collector {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.2), rgba(255, 240, 245, 0.2));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 2px solid rgba(255, 182, 193, 0.4);
    text-align: center;
}

.collector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.collector-title {
    font-size: 1.1rem;
    color: #ff6b9d;
    font-weight: 600;
    font-family: 'Noto Sans SC', sans-serif;
}

.heart-counter-cute {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 2px solid rgba(255, 182, 193, 0.5);
}

.counter-emoji {
    font-size: 1.2rem;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.counter-number {
    font-weight: 700;
    color: #ff6b9d;
    font-size: 1.1rem;
}

.collector-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.3), rgba(173, 216, 230, 0.3));
    border-radius: 15px;
    border: 2px solid rgba(255, 182, 193, 0.5);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* 固定按钮尺寸，防止文字变化导致变形 */
    min-width: 140px;
    min-height: 80px;
}

.collector-button:hover {
    transform: translateY(-1px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.4), rgba(173, 216, 230, 0.4));
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.25);
}

.collector-button:active {
    transform: translateY(0) scale(0.98);
    transition: all 0.05s ease-out;
}

.btn-face {
    font-size: 1.5rem;
    color: #ff6b9d;
    animation: btnFloat 2s ease-in-out infinite;
    /* 确保表情不会被选中 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* 固定宽度防止表情变化导致按钮变形 */
    display: inline-block;
    min-width: 2em;
    text-align: center;
}

.btn-text {
    font-size: 0.9rem;
    color: #ff6b9d;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 500;
    /* 确保按钮文字不会被选中 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes btnFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        opacity: 0.9;
    }
    50% { 
        transform: translateY(-1px) scale(1.02); 
        opacity: 1;
    }
}

/* 可爱的天气系统 */
.kawaii-weather {
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.2), rgba(255, 240, 245, 0.2));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 2px solid rgba(173, 216, 230, 0.4);
    text-align: center;
}

.weather-title {
    font-size: 1rem;
    color: #87ceeb;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Noto Sans SC', sans-serif;
}

.weather-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    border: 2px solid rgba(173, 216, 230, 0.3);
}

.weather-icon {
    font-size: 1.5rem;
    animation: weatherFloat 3s ease-in-out infinite;
}

.weather-text {
    font-size: 0.9rem;
    color: #87ceeb;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 500;
}

.weather-change-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.3), rgba(255, 182, 193, 0.3));
    border-radius: 20px;
    border: 2px solid rgba(173, 216, 230, 0.5);
    color: #87ceeb;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Noto Sans SC', sans-serif;
    /* 固定按钮尺寸 */
    min-width: 100px;
    min-height: 35px;
}

.weather-change-btn:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.4), rgba(255, 182, 193, 0.4));
    box-shadow: 0 2px 8px rgba(173, 216, 230, 0.3);
}

.weather-change-btn:active {
    transform: scale(0.98);
    transition: all 0.05s ease-out;
}

@keyframes weatherFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    25% { 
        transform: translateY(-1px) rotate(2deg); 
    }
    50% { 
        transform: translateY(-2px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-1px) rotate(-2deg); 
    }
}

/* 可爱的留言板 */
.kawaii-message-board {
    background: linear-gradient(135deg, rgba(255, 240, 245, 0.2), rgba(255, 182, 193, 0.2));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 2px solid rgba(255, 240, 245, 0.4);
    text-align: center;
}

.board-title {
    font-size: 1rem;
    color: #ff6b9d;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Noto Sans SC', sans-serif;
}

.message-display {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid rgba(255, 182, 193, 0.3);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-text {
    font-size: 0.9rem;
    color: #ff6b9d;
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.5;
    text-align: center;
}

.message-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.3), rgba(255, 240, 245, 0.3));
    border-radius: 20px;
    border: 2px solid rgba(255, 182, 193, 0.5);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* 固定按钮尺寸，防止文字变化导致变形 */
    min-width: 120px;
    min-height: 45px;
}

.message-btn:hover {
    transform: translateY(-1px) scale(1.01);
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.4), rgba(255, 240, 245, 0.4));
    box-shadow: 0 3px 10px rgba(255, 107, 157, 0.2);
}

.message-btn:active {
    transform: translateY(0) scale(0.98);
    transition: all 0.05s ease-out;
}

.message-btn .btn-emoji {
    font-size: 1.1rem;
    animation: messageFloat 2s ease-in-out infinite;
}

.message-btn .btn-text {
    font-size: 0.9rem;
    color: #ff6b9d;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 500;
    /* 确保按钮文字不会被选中 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@keyframes messageFloat {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
}

/* 浮动爱心 */
.floating-hearts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    font-size: 1.2rem;
    color: #ff6b9d;
    animation: floatUp 3s ease-out forwards;
    pointer-events: none;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1.5) rotate(360deg);
    }
}

/* 彩蛋提示 */
.easter-egg-hint {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(135, 206, 235, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(135, 206, 235, 0.2);
}

.hint-text {
    font-size: 0.8rem;
    color: #87ceeb;
    opacity: 0.8;
    animation: hintPulse 3s ease-in-out infinite;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.copyright,
.last-updated {
    font-size: 0.9rem;
    color: #f0f0f0;
    opacity: 0.8;
    margin: 0.25rem 0;
}

/* ===== 动画效果 ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== 响应式设计 ===== */

/* 平板设备 (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .header-content {
        padding: 1.5rem 2rem;
    }
    
    .bio-container {
        padding: 2rem;
    }
    
    .avatar-placeholder {
        width: 100px;
        height: 100px;
        font-size: 1.3rem;
    }
}

/* 移动设备 (最大768px) */
@media screen and (max-width: 768px) {
    .main-container {
        padding: 1rem 0.5rem;
    }
    
    .main-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.2rem;
    }
    
    .name-separator {
        display: none;
    }
    
    .header-content {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .bio-container {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .avatar-placeholder {
        width: 80px;
        height: 80px;
        font-size: 1.1rem;
    }
    
    .bio-title {
        font-size: 1.3rem;
    }
    
    .bio-text {
        font-size: 0.95rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    /* 可爱元素移动端适配 */
    .kawaii-decorations span {
        font-size: 0.8rem;
    }
    
    .pet {
        padding: 0.75rem;
    }
    
    .pet-face {
        font-size: 1.2rem;
    }
    
    /* 可爱状态卡片移动端适配 */
    .kawaii-status-cards {
        gap: 0.5rem;
    }
    
    .kawaii-card {
        padding: 0.75rem;
        min-width: 80px;
    }
    
    .card-face {
        font-size: 1rem;
    }
    
    .card-text {
        font-size: 0.75rem;
    }
    
    /* 可爱互动区域移动端适配 */
    .kawaii-interactive-zone {
        gap: 1rem;
    }
    
    .kawaii-heart-collector,
    .kawaii-weather,
    .kawaii-message-board {
        padding: 1rem;
    }
    
    .collector-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .collector-title,
    .weather-title,
    .board-title {
        font-size: 0.9rem;
    }
    
    .btn-text,
    .weather-text,
    .message-text {
        font-size: 0.8rem;
    }
    
    .footer-content {
        padding: 1.5rem 1rem;
    }
    
    /* 移动设备上的背景处理 */
    body {
        background-attachment: scroll;
    }
}

/* 小屏幕移动设备 (最大480px) */
@media screen and (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .header-content {
        padding: 1rem;
    }
    
    .bio-container {
        padding: 1rem;
    }
    
    .bio-text {
        font-size: 0.9rem;
    }
    
    .equipment-text {
        font-size: 0.8rem;
    }
    
    /* 可爱游戏区域超小屏幕适配 */
    .kawaii-games {
        gap: 1rem;
    }
    
    /* 新内容区域移动端适配 */
    .daily-quotes,
    .world-recommendations,
    .kawaii-tips {
        margin: 0 0.5rem;
        margin-top: 1.5rem;
        padding: 1rem;
    }
    
    .quotes-title,
    .world-title,
    .tips-title {
        font-size: 1rem;
    }
    
    .world-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .quotes-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .quote-btn {
        width: 100%;
        max-width: 120px;
    }
    
    .poke-target {
        padding: 1rem;
    }
    
    .poke-face {
        font-size: 1.5rem;
    }
    
    .emoji-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 160px;
    }
    
    .emoji-item {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }
    
    /* 可爱状态卡片超小屏幕适配 */
    .kawaii-status-cards {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .kawaii-card {
        width: 100%;
        max-width: 150px;
    }
}

/* 大屏幕设备 (最小1200px) */
@media screen and (min-width: 1200px) {
    .main-title {
        font-size: 3.5rem;
    }
    
    .header-content {
        padding: 2.5rem 4rem;
    }
    
    .bio-container {
        padding: 3rem;
    }
    
    .avatar-placeholder {
        width: 140px;
        height: 140px;
        font-size: 1.7rem;
    }
    
    /* 大屏幕可爱元素 */
    .kawaii-decorations span {
        font-size: 1.2rem;
    }
    
    .pet {
        padding: 1.5rem;
    }
    
    .pet-face {
        font-size: 2rem;
    }
    
    /* 大屏幕可爱状态卡片 */
    .kawaii-card {
        padding: 1.5rem;
        min-width: 120px;
    }
    
    .card-face {
        font-size: 1.4rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
    
    /* 大屏幕互动区域 */
    .kawaii-interactive-zone {
        gap: 2rem;
    }
    
    .collector-title,
    .weather-title,
    .board-title {
        font-size: 1.2rem;
    }
}

/* ===== 高对比度模式支持 ===== */
@media (prefers-contrast: high) {
    body::before {
        background: rgba(0, 0, 0, 0.7);
    }
    
    .header-content,
    .bio-container,
    .footer-content {
        background: rgba(0, 0, 0, 0.8);
        border: 2px solid #ffffff;
    }
    
    .main-title,
    .bio-text {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}

/* ===== 减少动画模式支持 ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== 工具提示 ===== */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    animation: tooltipFadeIn 0.3s ease forwards;
}

[data-tooltip]:hover::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(1px);
    border: 4px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
    animation: tooltipFadeIn 0.3s ease forwards;
}

@keyframes tooltipFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(5px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== 特殊效果 ===== */
.rainbow-text {
    background: linear-gradient(45deg, #ff6b9d, #87ceeb, #ff6b9d, #87ceeb);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowFlow 3s ease-in-out infinite;
}

@keyframes rainbowFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.shake-animation {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.gentle-pulse {
    animation: gentlePulse 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 超丝滑的按钮点击反馈 */
.btn-click-feedback {
    animation: btnClickFeedback 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes btnClickFeedback {
    0% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(0.97); 
    }
    100% { 
        transform: scale(1); 
    }
}

@keyframes gentlePulse {
    0% { 
        transform: scale(1); 
        box-shadow: 0 4px 12px rgba(255, 107, 157, 0.2);
    }
    50% { 
        transform: scale(1.02); 
        box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
    }
    100% { 
        transform: scale(1); 
        box-shadow: 0 4px 12px rgba(255, 107, 157, 0.2);
    }
}

@keyframes gentleFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        opacity: 0.85;
    }
    50% { 
        transform: translateY(-2px) rotate(1deg) scale(1.05); 
        opacity: 1;
    }
}

/* ===== 新增内容区域样式 ===== */

/* 日常语录区域 */
.daily-quotes {
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.15), rgba(173, 216, 230, 0.15));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 2px solid rgba(255, 182, 193, 0.3);
    text-align: center;
}

.quotes-title {
    font-size: 1.1rem;
    color: #ff6b9d;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Noto Sans SC', sans-serif;
}

.quotes-container {
    position: relative;
    height: 120px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.quote-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 182, 193, 0.2);
}

.quote-item.active {
    opacity: 1;
    transform: translateX(0);
}

.quote-text {
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-family: 'Noto Sans SC', sans-serif;
}

.quote-time {
    font-size: 0.8rem;
    color: #87ceeb;
    opacity: 0.8;
    font-style: italic;
}

.quotes-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.quote-btn {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.3), rgba(173, 216, 230, 0.3));
    border: 2px solid rgba(255, 182, 193, 0.4);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #ff6b9d;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Noto Sans SC', sans-serif;
}

.quote-btn:hover {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.5), rgba(173, 216, 230, 0.5));
    transform: translateY(-1px);
}

.quote-btn:active {
    transform: translateY(0) scale(0.98);
    transition: all 0.05s ease-out;
}

.quote-indicator {
    font-size: 0.8rem;
    color: #87ceeb;
    font-family: 'Roboto', sans-serif;
}

/* VRChat世界推荐 */
.world-recommendations {
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.15), rgba(255, 240, 245, 0.15));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 2px solid rgba(173, 216, 230, 0.3);
}

.world-title {
    font-size: 1.1rem;
    color: #87ceeb;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Noto Sans SC', sans-serif;
}

.world-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.world-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1rem;
    border: 2px solid rgba(173, 216, 230, 0.3);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.world-card:hover {
    transform: translateY(-2px) scale(1.01);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 16px rgba(173, 216, 230, 0.25);
}

.world-card:active {
    transform: translateY(0) scale(0.99);
    transition: all 0.05s ease-out;
}

.world-emoji {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    animation: worldFloat 3s ease-in-out infinite;
}

.world-name {
    font-size: 1rem;
    color: #87ceeb;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Noto Sans SC', sans-serif;
}

.world-desc {
    font-size: 0.85rem;
    color: #ffffff;
    opacity: 0.9;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-family: 'Noto Sans SC', sans-serif;
}

.world-rating {
    font-size: 0.9rem;
    color: #ffd700;
}

@keyframes worldFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    25% { 
        transform: translateY(-1px) rotate(1deg); 
    }
    50% { 
        transform: translateY(-2px) rotate(2deg); 
    }
    75% { 
        transform: translateY(-1px) rotate(1deg); 
    }
}

/* 小贴士区域 */
.kawaii-tips {
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(255, 240, 245, 0.15), rgba(255, 182, 193, 0.15));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 2px solid rgba(255, 240, 245, 0.3);
}

.tips-title {
    font-size: 1.1rem;
    color: #ff6b9d;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Noto Sans SC', sans-serif;
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 182, 193, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tip-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(3px);
    border-color: rgba(255, 182, 193, 0.4);
}

.tip-item:active {
    transform: translateX(1px) scale(0.99);
    transition: all 0.05s ease-out;
}

.tip-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    animation: tipIconBounce 2s ease-in-out infinite;
}

.tip-text {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.5;
    font-family: 'Noto Sans SC', sans-serif;
}

@keyframes tipIconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== 打印样式 ===== */
@media print {
    body {
        background: white;
        color: black;
    }
    
    body::before {
        display: none;
    }
    
    .header-content,
    .bio-container,
    .footer-content {
        background: white;
        border: 1px solid black;
        box-shadow: none;
        backdrop-filter: none;
    }
    
    .main-title,
    .bio-title {
        color: black;
    }
    
    .name-chinese,
    .name-english {
        color: black;
    }
    
    .vrchat-button,
    .status-cards,
    .interactive-zone {
        display: none;
    }
}