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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

nav.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-logo-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.navbar-title {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

main.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem;
    gap: 2rem;
}

.video-wrapper {
    width: 100%;
    max-width: 900px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    padding: 2rem;
}

.video-title {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#videoContainer {
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

video#videoPlayer {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.video-info {
    color: #ccc;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.video-info h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.video-info p {
    line-height: 1.6;
}

/* Security notice */
.security-notice {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #ffb3b3;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    text-align: center;
}

.security-notice::before {
    content: '🔒 ';
}

/* PDF Embedded Styles */
.pdf-wrapper {
    width: 100%;
    max-width: 900px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    padding: 2rem;
    margin-top: 2rem;
}

.pdf-wrapper h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#pdfContainer {
    width: 100%;
    background: white;
    padding: 10px;
    border-radius: 4px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pdf-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid #ddd;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.pdf-btn {
    padding: 8px 16px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.pdf-btn:hover {
    background: #764ba2;
}

.pdf-btn:active {
    transform: scale(0.98);
}

#pdf-page-info {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    min-width: 200px;
    text-align: center;
}

.pdf-render {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

#pdfViewer {
    border-radius: 4px;
}

.pdf-notice {
    margin-top: 15px;
    font-size: 13px;
    color: #aaa;
    font-style: italic;
    text-align: center;
}

.pdf-notice::before {
    content: 'ℹ️ ';
    margin-right: 0.5rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .video-wrapper {
        padding: 1rem;
    }
    
    .video-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    main.main-content {
        padding: 1rem;
    }
}
