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

:root {
    --main-pink: #ffb6c1;
    --light-pink: #ffd1d9;
    --dark-gray: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #666666;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    background-color: black;
    font-weight: 400;
    position: relative;
}

/* 导航栏样式 */
.main-nav {
    position: fixed;
    top: 40px;
    right: 40px;
    transform: none;
    z-index: 1000;
    padding: 2rem 3rem;
    clip-path: polygon(50% 0%, 65% 30%, 98% 30%, 69% 52%, 82% 95%, 50% 70%, 18% 95%, 31% 52%, 2% 30%, 35% 30%);
    background-color: rgba(51, 51, 51, 0.4);
    backdrop-filter: blur(3px);
    min-width: 280px;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--dark-gray);
    text-transform: lowercase;
}

.nav-links {
    display: flex;
    flex-direction: column;
    list-style: none;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--main-pink);
    text-decoration: none;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 100;
    font-size: 2rem;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* 播放按钮 */
.play-button {
    position: relative;
    margin-top: 0.4rem;
    background: var(--main-pink);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 0.8rem;
    opacity: 0.9;
}

.play-button:hover {
    transform: scale(1.1);
    background: white;
    color: var(--main-pink);
    opacity: 1;
}

/* iPod 风格视频模态框 */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.video-modal.active {
    display: flex;
}

/* iPod 容器 */
.video-container {
    position: relative;
    width: 340px;
    height: 580px;
    background: linear-gradient(to bottom, #f3f3f3, #e0e0e0);
    border-radius: 30px;
    box-shadow: 
        0 0 0 2px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

/* iPod 屏幕 */
.video-wrapper {
    position: relative;
    width: 300px;
    height: 240px;
    margin: 20px auto;
    background: #000;
    border-radius: 4px;
    box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* iPod 控制轮 */
.ipod-controls {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 30px auto;
    background: #e0e0e0;
    border-radius: 50%;
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.1),
        0 2px 5px rgba(0, 0, 0, 0.1);
}

.center-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.2),
        inset 0 -1px 2px rgba(0, 0, 0, 0.1);
}

/* iPod 菜单按钮 */
.menu-text {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* iPod 播放控制 */
.control-text {
    position: absolute;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.control-text.prev {
    top: 50%;
    left: 15%;
    transform: translateY(-50%);
}

.control-text.next {
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
}

.control-text.play {
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
}

.close-modal {
    position: absolute;
    top: -30px;
    right: 0;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2002;
}

.close-modal:hover {
    color: #ccc;
}

/* iPod 标题 */
.ipod-header {
    text-align: center;
    padding: 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

/* 扫描线动画 */
@keyframes scanline {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100%);
    }
}

/* 主要内容区域 */
.main-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.content-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Hero 图片 */
.hero-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 照片轮播区域样式 */
.gallery {
    padding: 4rem 0;
    background-color: white;
}

.swiper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.swiper-slide {
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(51, 51, 51, 0.7);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 200;
    letter-spacing: 1px;
}

/* 音乐区域样式 */
.music {
    padding: 6rem 2rem;
    background-color: var(--light-gray);
}

.music h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 200;
    margin-bottom: 3rem;
    color: var(--dark-gray);
    letter-spacing: 2px;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.music-item {
    text-align: center;
}

.music-cover {
    position: relative;
    margin-bottom: 1rem;
    cursor: pointer;
    overflow: hidden;
}

.music-cover img {
    width: 100%;
    transition: transform 0.3s ease;
}

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

.music-item h3 {
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.music-item p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* 社交媒体链接 */
.social-links {
    position: fixed;
    bottom: 2rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2rem;
    z-index: 1000;
}

.social-icon {
    color: var(--main-pink);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
}

.social-icon:hover {
    opacity: 0.7;
    transform: translateY(-3px);
}

.social-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background-color: rgba(51, 51, 51, 0.9);
    color: white;
    font-size: 0.8rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.social-icon:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Swiper 导航按钮样式自定义 */
.swiper-button-next,
.swiper-button-prev {
    color: var(--main-pink);
}

.swiper-pagination-bullet {
    background: var(--main-pink);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-nav {
        padding: 2rem 2rem;
        min-width: 240px;
        min-height: 280px;
    }
    
    .nav-content {
        padding: 0.5rem;
    }

    .nav-links a {
        font-size: 1.4rem;
    }
    
    .social-links {
        gap: 1.5rem;
        bottom: 1rem;
    }
    
    .social-icon {
        font-size: 1.3rem;
    }

    .video-container {
        width: 300px;
        height: 520px;
    }
    
    .video-wrapper {
        width: 260px;
        height: 200px;
    }
    
    .ipod-controls {
        width: 180px;
        height: 180px;
    }
    
    .center-button {
        width: 60px;
        height: 60px;
    }
} 