* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f5f0;
    color: #333;
    line-height: 1.6;
}

.page {
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    page-break-after: always;
}

/* Cover Page Styles */
.cover-page {
    background: linear-gradient(135deg, #fdf2e9 0%, #fdebd0 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cover-page::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 228, 196, 0.4);
    border-radius: 50%;
    z-index: 0;
}

.cover-page::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: rgba(255, 218, 185, 0.5);
    border-radius: 50%;
    z-index: 0;
}

.cover-content {
    position: relative;
    z-index: 1;
}

.title {
    font-size: 3.5rem;
    color: #ff7f7f;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    font-weight: bold;
}

.cover-images {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.cover-img {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.cover-img:hover {
    transform: scale(1.05);
}

/* Table of Contents Styles */
.contents-page {
    background: white;
    text-align: center;
}

.contents-page h2 {
    font-size: 2.5rem;
    color: #ff7f7f;
    margin-bottom: 40px;
}

.toc-list {
    list-style: none;
    text-align: left;
    max-width: 600px;
}

.toc-list li {
    margin: 15px 0;
}

.toc-list a {
    text-decoration: none;
    color: #333;
    font-size: 1.3rem;
    padding: 10px 20px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.toc-list a:hover {
    background-color: #ff7f7f;
    color: white;
}

/* Team Page Styles */
.team-page {
    background: white;
    text-align: center;
}

.team-page h2 {
    font-size: 2.5rem;
    color: #ff7f7f;
    margin-bottom: 40px;
}

.team-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-member {
    background: #fdf2e9;
    padding: 30px;
    border-radius: 15px;
    width: 280px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid #ff7f7f;
}

.team-member h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.team-member p {
    margin: 8px 0;
    color: #666;
}

/* Content Pages Styles */
.content-page {
    background: white;
    padding: 60px 20px;
}

.content-page h2 {
    font-size: 2.5rem;
    color: #ff7f7f;
    margin-bottom: 50px;
    text-align: center;
}

.content-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
}

.moment-card {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #fdf2e9;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.moment-card:hover {
    transform: translateY(-5px);
}

.moment-card:nth-child(even) {
    flex-direction: row-reverse;
}

.moment-card img {
    width: 400px;
    height: 300px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.moment-text {
    flex: 1;
}

.moment-text h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
}

.moment-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.chinese-text {
    color: #666;
    font-style: italic;
    border-left: 3px solid #ff7f7f;
    padding-left: 15px;
    margin-top: 20px;
}

/* Back Cover Styles */
.back-page {
    background: linear-gradient(135deg, #fdf2e9 0%, #fdebd0 100%);
    text-align: center;
}

.back-content {
    max-width: 600px;
}

.back-content h2 {
    font-size: 3rem;
    color: #ff7f7f;
    margin-bottom: 30px;
}

.back-content p {
    font-size: 1.3rem;
    margin: 15px 0;
    color: #333;
}

.credits {
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
}

.credits p {
    font-size: 1.1rem;
    margin: 10px 0;
}

/* Responsive Design */
@media (max-width: 900px) {
    .moment-card {
        flex-direction: column !important;
    }
    
    .moment-card img {
        width: 100%;
        height: auto;
        max-height: 300px;
    }
    
    .title {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .cover-images {
        gap: 15px;
    }
    
    .cover-img {
        width: 150px;
        height: 150px;
    }
    
    .team-container {
        gap: 20px;
    }
    
    .team-member {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .page {
        page-break-after: always;
    }
    
    body {
        background: white;
    }
}