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

.container {
    display: flex;
    min-height: 100vh;
}

.left-column {
    flex: 0 0 20%;
    padding: 40px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-column::-webkit-scrollbar {
    display: none;
}

.right-column {
    flex: 0 0 80%;
    padding: 20px;
    margin-left: 20%;
    overflow-y: auto;
    max-width: 80vw;
    box-sizing: border-box;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 100%;
}

.video-item {
    display: flex;
    flex-direction: column;
    break-inside: avoid;
}

.video-wrapper {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
    animation: gradientAnimation 2s ease infinite;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}

.video-subtitle {
    margin-top: 5px;
    font-size: 0.8rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

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

.category-item {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 20px;
}

/* 移动端菜单按钮 */
.menu-button {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .left-column {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: auto;
        background: rgba(0, 0, 0, 0.9);
        z-index: 100;
        padding: 80px 20px 20px;
        flex: none;
        width: 100%;
        box-sizing: border-box;
    }

    .left-column.active {
        display: flex;
    }

    .menu-button {
        display: block;
    }

    .right-column {
        margin-left: 0;
        padding: 60px 10px 20px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .video-grid {
        column-count: 2;
        column-gap: 10px;
        display: block;
    }

    .video-item {
        margin-bottom: 10px;
        width: 100%;
    }

    .back-link {
        top: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .video-grid {
        column-count: 1;
    }
} 