/* Page Header */
.page-header {
    padding: 80px 50px 30px;
    background: linear-gradient(180deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.4) 100%);
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

.page-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-title i {
    width: 32px;
    height: 32px;
    color: #ff0080;
}

.page-title h1 {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}

.page-actions {
    display: flex;
    gap: 15px;
}

/* Drama Progress */
.drama-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    padding: 8px;
}

.progress-bar {
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff0080, #ff8c00);
    border-radius: 2px;
}

.progress-text {
    font-size: 11px;
    color: #fff;
    text-align: center;
}

/* History Date Badge */
.history-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #fff;
}

/* Completed Badge */
.completed-badge {
    background: linear-gradient(135deg, #00d97e, #00a86b);
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    margin-left: 8px;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 10px;
}

.filter-tab {
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    color: #ccc;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tab:hover {
    background: rgba(255,255,255,0.15);
}

.filter-tab.active {
    background: linear-gradient(135deg, #ff0080, #ff8c00);
    color: #fff;
}

/* History Grid */
.history-grid {
    margin-bottom: 20px;
}

/* History List */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.history-item {
    display: flex;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.history-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.history-item a {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: inherit;
    padding: 15px;
    gap: 15px;
}

.history-poster {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.history-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.history-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.history-meta {
    font-size: 14px;
    color: #ccc;
    margin: 0;
    display: flex;
    align-items: center;
}

.history-date-text {
    font-size: 13px;
    color: #999;
    margin: 0;
}

.history-progress {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 80px;
}

.history-progress .progress-bar {
    width: 100%;
}

.progress-percentage {
    font-size: 12px;
    color: #ccc;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-state i {
    width: 64px;
    height: 64px;
    color: #666;
    margin-bottom: 20px;
}

.empty-state h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ccc;
}

.empty-state p {
    font-size: 16px;
    color: #999;
    margin-bottom: 30px;
    max-width: 500px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 50px 16px 15px;
    }
    
    .page-header-content {
        align-items: flex-start;
        gap: 10px;
    }
    
    .page-title h1 {
        font-size: 24px;
    }
    
    .page-title i {
        width: 24px;
        height: 24px;
    }
    
    .filter-tabs {
        overflow-x: auto;
        padding-bottom: 5px;
        scrollbar-width: none;
    }
    
    .filter-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .filter-tab {
        white-space: nowrap;
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .history-item a {
        padding: 10px;
        gap: 10px;
    }
    
    .history-poster {
        width: 60px;
        height: 90px;
    }
    
    .history-title {
        font-size: 14px;
    }
    
    .history-meta {
        font-size: 12px;
    }
    
    .history-date-text {
        font-size: 11px;
    }
    
    .history-progress {
        width: 60px;
    }
    
    .progress-percentage {
        font-size: 11px;
    }
    
    .empty-state {
        padding: 40px 16px;
    }
    
    .empty-state h2 {
        font-size: 20px;
    }
    
    .empty-state p {
        font-size: 14px;
    }
}