body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: black;
    color: white;
}

.container {
    display: flex;
}

.nav-area {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-item {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: rgba(255, 255, 255, 1);
}

.content-area {
    flex-grow: 1;
    margin-left: 150px;
}

.movie-section {
    padding: 4rem 2rem;
    box-sizing: border-box;
    max-width: 800px;
    margin: 0 auto;
}

.movie-content {
    text-align: center;
    margin-bottom: 3rem;
}

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

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.movie-stills {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.movie-still {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.back-link {
    position: fixed;
    top: 20px;
    left: 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    z-index: 10;
}

.movie-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.douban-icon {
    width: 40px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .nav-area {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 15px;
        background-color: rgba(0, 0, 0, 0.8);
        width: 100%;
        z-index: 5;
        gap: 10px;
    }
    
    .nav-item {
        font-size: 0.7rem;
        padding: 5px 8px;
        white-space: nowrap;
    }
    
    .content-area {
        margin-left: 0;
        padding-top: 30px;
    }
    
    .movie-section {
        padding: 2rem 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .movie-title {
        flex-direction: column;
    }
    
    .douban-icon {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .back-link {
        top: 10px;
        left: 10px;
        font-size: 16px;
    }
}

/* 小型手机屏幕适配 */
@media (max-width: 480px) {
    .nav-area {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 5px;
    }
    
    .movie-section {
        padding: 1.5rem 0.8rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    p {
        font-size: 0.9rem;
    }
}

/* 添加移动端导航菜单按钮 */
.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 20;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .nav-area {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .nav-area.active {
        display: flex;
    }
    
    .nav-item {
        font-size: 1rem;
        padding: 10px;
    }
} 