* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

.page-container {
    max-width: 750px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #000;
}

.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    height: 44px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.category-tabs {
    position: fixed;
    top: 44px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 99;
    backdrop-filter: blur(10px);
}

.tab-item {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-item.active {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.video-list {
    margin-top: 84px;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    min-height: calc(100vh - 84px);
}

.video-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: scale(1.02);
}

.video-cover {
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    display: block;
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.video-title {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-score {
    color: #ffcc00;
}

.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.load-more {
    text-align: center;
    padding: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    cursor: pointer;
}

.load-more:hover {
    color: #fff;
}
