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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #FFF9F0;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* APP容器 */
.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #FFF9F0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* 头部 */
.header {
    background: #FFE4E1;
    padding: 16px;
    border-bottom: 1px solid #FFDAB9;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    text-align: center;
}

.header-content h1 {
    font-size: 24px;
    font-weight: 600;
    color: #8B4513;
    margin: 0;
}

/* 主要内容 */
.main-content {
    padding: 16px;
}

/* 联系卡片 */
.contact-section {
    margin-bottom: 24px;
}

.contact-card {
    background-color: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #FFF0F5;
    border-radius: 12px;
}

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

.contact-info {
    flex: 1;
    min-width: 0;
}

.contact-info h2 {
    font-size: 18px;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 4px;
}

.contact-detail {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-note {
    font-size: 12px;
    color: #666;
}

/* 按钮样式 - 仿APP按钮 */
.contact-btn {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    min-width: 100px;
    justify-content: center;
}

.email-btn {
    background: linear-gradient(135deg, #4ECDC4 0%, #66D7CC 100%);
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.3);
}

.contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.email-btn:hover {
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
}

.contact-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 4px rgba(255, 107, 107, 0.3);
    opacity: 0.9;
}

.email-btn:active {
    box-shadow: 0 1px 4px rgba(78, 205, 196, 0.3);
}

.btn-icon {
    width: 16px;
    height: 16px;
}

/* 提示卡片 */
.tips-section {
    margin-bottom: 24px;
}

.tips-card {
    background-color: #FFF0F5;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.tips-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 12px;
}

.tips-list {
    list-style: none;
}

.tips-list li {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    padding-left: 8px;
}

.tips-list li:last-child {
    margin-bottom: 0;
}

/* 底部 */
.footer {
    padding: 16px;
    text-align: center;
    font-size: 12px;
    color: #999;
    border-top: 1px solid #FFE4E1;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .app-container {
        max-width: 100%;
        min-height: 100vh;
    }
    
    .header {
        padding: 14px;
    }
    
    .header-content h1 {
        font-size: 22px;
    }
    
    .main-content {
        padding: 14px;
    }
    
    .contact-card {
        padding: 16px;
        margin-bottom: 14px;
    }
    
    .contact-icon {
        margin-right: 16px;
        width: 50px;
        height: 50px;
    }
    
    .icon {
        width: 35px;
        height: 35px;
    }
    
    .contact-info h2 {
        font-size: 16px;
    }
    
    .contact-detail {
        font-size: 14px;
    }
    
    .contact-btn {
        padding: 8px 14px;
        font-size: 13px;
        min-width: 90px;
    }
    
    .tips-card {
        padding: 16px;
    }
    
    .tips-card h3 {
        font-size: 15px;
    }
    
    .tips-list li {
        font-size: 13px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #FFF0F5;
}

::-webkit-scrollbar-thumb {
    background: #FFDAB9;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFC0CB;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card,
.tips-card {
    animation: fadeIn 0.5s ease forwards;
}

.contact-card:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.2s;
}

.tips-card {
    animation-delay: 0.3s;
}