/* 个人属性页面样式 - 暖色主题 */
.profile-header {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.profile-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 183, 77, 0.2);
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 167, 38, 0.3);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
    transition: transform 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-avatar:hover img {
    transform: scale(1.1);
}

.profile-info h1 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 2.5rem;
    font-weight: 700;
}

.profile-bio {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 300;
}

/* 属性卡片容器 */
.attributes-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: var(--spacing-xl);
}

/* 属性卡片通用样式 */
.attribute-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 183, 77, 0.2);
    transition: all 0.3s ease;
}

.attribute-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 167, 38, 0.3);
}

.attribute-card h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}

/* 颜色网格样式 */
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-lg);
}

.color-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.5);
}

.color-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.1);
}

.color-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    border: 3px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.color-item:hover .color-preview {
    transform: scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

.color-item span {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
}

/* 游戏列表样式 */
.game-list {
    display: grid;
    gap: var(--spacing-lg);
}

.game-item {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(255, 183, 77, 0.1);
    border: 1px solid rgba(255, 183, 77, 0.2);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.game-item:hover {
    transform: translateX(10px);
    background: rgba(255, 183, 77, 0.15);
    border-color: rgba(255, 167, 38, 0.3);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.1);
}

.game-item img {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid rgba(255, 107, 107, 0.2);
    transition: transform 0.3s ease;
}

.game-item:hover img {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.game-info h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
    font-weight: 600;
}

.game-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* 游戏名称链接优化，提升优先级 */
.game-info h3 a,
.game-item .game-info h3 a:link,
.game-item .game-info h3 a:visited {
    color: var(--primary-color) !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.game-info h3 a:hover,
.game-item:hover .game-info h3 a {
    color: var(--secondary-color) !important;
    text-decoration: underline;
    text-shadow: 0 2px 4px rgba(255, 167, 38, 0.3);
}

/* 爱好标签样式 */
.hobby-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
}

.hobby-tag {
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hobby-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.3);
    border-color: transparent;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-xl);
        gap: var(--spacing-lg);
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
    }
    
    .profile-info h1 {
        font-size: 2rem;
    }
    
    .profile-bio {
        font-size: 1rem;
    }
    
    .attribute-card {
        padding: var(--spacing-lg);
    }
    
    .attribute-card h2 {
        font-size: 1.5rem;
    }
    
    .game-item {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .game-item img {
        width: 100%;
        height: 150px;
        align-self: center;
        max-width: 200px;
    }
    
    .color-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .color-preview {
        width: 60px;
        height: 60px;
    }
    
    .hobby-tags {
        justify-content: center;
    }
}