/* 全局样式 */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Arial', sans-serif; 
    line-height: 1.6; 
    color: #333; 
    background-color: #f5f5f5; 
}

/* 头部样式 */
header { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    color: white; 
    text-align: center; 
    padding: 3rem 1rem; 
    border-radius: 0 0 30px 30px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    margin-bottom: 2rem; 
}

header h1 { 
    font-size: 2.5rem; 
    margin-bottom: 0.5rem; 
}

header p { 
    font-size: 1.2rem; 
    opacity: 0.9; 
}

header .subtitle { 
    font-size: 1rem; 
    margin-top: 0.5rem; 
    opacity: 0.8; 
}

/* 主内容样式 */
main { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1rem; 
}

section { 
    margin-bottom: 3rem; 
}

/* 个人简介部分 */
.personal-info { 
    text-align: center; 
}

.info-card { 
    background: white; 
    padding: 2rem; 
    border-radius: 15px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
}

/* 仙桃市部分 */
.location-section, .school-section { 
    background: white; 
    padding: 2rem; 
    border-radius: 15px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
}

.location-content, .school-content { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 2rem; 
    align-items: center; 
    justify-content: space-between; 
    margin-top: 1.5rem; 
}

.location-image, .school-image { 
    flex: 1; 
    min-width: 250px; 
    height: 200px; 
}

.location-info, .school-info { 
    flex: 1; 
    min-width: 250px; 
}

/* 图片占位符 */
.image-placeholder { 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); 
    border-radius: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.2rem; 
    color: #666; 
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05); 
}

/* 标题样式 */
h2 { 
    color: #444; 
    margin-bottom: 1.5rem; 
    text-align: center; 
    font-size: 1.8rem; 
    position: relative; 
}

h3 { 
    color: #555; 
    margin-bottom: 1rem; 
    font-size: 1.4rem; 
}

/* 游戏爱好部分 */
.color-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 1.5rem; 
}

.color-card { 
    padding: 2rem; 
    border-radius: 15px; 
    color: white; 
    text-align: center; 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    cursor: pointer; 
    position: relative; 
    overflow: hidden; 
}

.color-card::before { 
    content: '🎮'; 
    position: absolute; 
    top: 10px; 
    right: 10px; 
    font-size: 1.5rem; 
    opacity: 0.7; 
}

.color-card.red { 
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%); 
}

.color-card.blue { 
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%); 
}

.color-card.green { 
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); 
    color: #333; 
}

.color-card.yellow { 
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); 
    color: #333; 
}

/* 个人特点部分 */
.feature-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 1.5rem; 
}

.feature-item { 
    background: white; 
    padding: 2rem; 
    border-radius: 15px; 
    text-align: center; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease; 
}

.feature-item:hover { 
    transform: translateY(-5px); 
}

.feature-icon { 
    width: 80px; 
    height: 80px; 
    margin: 0 auto 1rem; 
    border-radius: 50%; 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-size: 2rem; 
    position: relative; 
}

.feature-icon::after { 
    content: '✨'; 
    font-size: 1.5rem; 
}

/* 页脚样式 */
footer { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    color: white; 
    text-align: center; 
    padding: 2rem 1rem; 
    margin-top: 3rem; 
}

/* 响应式设计 */
@media (max-width: 768px) { 
    header h1 { 
        font-size: 2rem; 
    } 
    
    .location-content, .school-content { 
        flex-direction: column; 
    } 
    
    .location-image, .school-image { 
        order: -1; 
    } 
}