* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('./images/bkg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    color: #e0e0e0;
}

.container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
    min-height: 100vh;
}

.resume-section, .video-section {
    flex: 1;
    background: rgba(35, 39, 42, 0.4);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
}

.section-header {
    background: rgba(35, 37, 38, 0.6);
    color: #fff;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.pdf-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: rgba(24, 25, 28, 0.3);
    border-radius: 0px;
}

.pdf-container iframe {
    flex: 1;
    border: 2px solid rgba(68, 68, 68, 0.5);
    border-radius: 10px;
    background: rgba(24, 25, 28, 0.4);
    min-height: 500px;
}

.pdf-actions {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.download-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

.download-icon {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

.pdf-info {
    margin-top: 10px;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.video-player-container {
    padding: 20px;
    border-bottom: 1px solid rgba(51, 51, 51, 0.5);
    background: rgba(24, 25, 28, 0.3);
    border-radius: 0px;
}

#video-player {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: rgba(24, 25, 28, 0.4);
}

.video-info {
    margin-top: 15px;
}

#video-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

#video-description {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.video-playlist {
    flex: 1;
    padding: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: rgba(24, 25, 28, 0.3);
    border-radius: 0 0 10px 10px;
}

.video-playlist h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.video-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(24, 25, 28, 0.5);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    color: #e0e0e0;
    backdrop-filter: blur(3px);
}

.video-item:hover {
    background: rgba(35, 39, 42, 0.7);
    transform: translateX(5px);
}

.video-item.active {
    background: linear-gradient(135deg, rgba(35,37,38,0.7) 0%, rgba(65,67,69,0.7) 100%);
    color: #fff;
    border-color: rgba(65, 67, 69, 0.8);
}

.video-thumbnail {
    width: 60px;
    height: 40px;
    background: rgba(51,51,51,0.5);
    border-radius: 5px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #b0b0b0;
}

.video-item.active .video-thumbnail {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.video-details {
    flex: 1;
}

.video-item-title {
    font-weight: 500;
    margin-bottom: 3px;
}

.video-item-duration {
    font-size: 0.8rem;
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        gap: 15px;
    }
    .resume-section,
    .video-section {
        min-height: auto;
    }
    .pdf-container iframe {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    .download-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .video-item {
        flex-direction: column;
        text-align: center;
    }
    .video-thumbnail {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(35, 39, 42, 0.5);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: rgba(68, 68, 68, 0.7);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 102, 102, 0.8);
}

/* PDF页面样式 */
.pdf-page {
    margin: 10px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.pdf-page canvas {
    display: block;
    max-width: 100%;
    height: auto;
} 