-->
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-logo img {
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #e74c3c;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
}

.btn-outline {
    border: 2px solid #e74c3c;
    color: #e74c3c;
    background: transparent;
}

.btn-outline:hover {
    background: #e74c3c;
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-bg img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Sections */
.featured,
.categories-preview,
.video-directory,
.categories-page,
.about-content,
.contact-content {
    padding: 80px 0;
}

.featured h2,
.categories-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.video-creator {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #888;
}

.video-category {
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.video-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #e74c3c;
}

.category-card p {
    color: #666;
}

/* Section Footer */
.section-footer {
    text-align: center;
}

/* Page Header */
.page-header {
    background: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.page-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Directory Controls */
.directory-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    display: flex;
    flex: 1;
    min-width: 300px;
}

.search-box input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-size: 1rem;
}

.search-box button {
    padding: 12px 20px;
    background: #e74c3c;
    color: white;
    border: 2px solid #e74c3c;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-size: 1rem;
}

.filter-controls {
    display: flex;
    gap: 1rem;
}

.filter-controls select {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
}

/* Results Info */
.results-info {
    margin-bottom: 2rem;
    color: #666;
}

.no-results {
    text-align: center;
    padding: 4rem 0;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
}

/* Video Detail */
.video-detail {
    padding: 2rem 0;
}

.video-detail-header {
    margin-bottom: 2rem;
}

.video-detail-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.video-detail-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.video-detail-meta span {
    color: #666;
}

.video-embed {
    margin-bottom: 2rem;
}

.video-embed iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
}

.video-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.video-description-full {
    line-height: 1.6;
    color: #333;
}

.video-sidebar {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
}

.video-topics {
    margin-bottom: 2rem;
}

.video-topics h3 {
    margin-bottom: 1rem;
    color: #333;
}

.topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topic-tag {
    background: #e74c3c;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.content-attribution {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #856404;
}

/* Categories Page */
.category-sections {
    margin-bottom: 3rem;
}

.category-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-detail-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.category-detail-card h2 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

.category-detail-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-stats {
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: #333;
}

/* About Page */
.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.about-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.feature-card h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

.values-list {
    list-style: none;
}

.values-list li {
    margin-bottom: 1rem;
    padding-left: 0;
    color: #666;
    line-height: 1.6;
}

.notice-box {
    background: #f8f9fa;
    border-left: 4px solid #e74c3c;
    padding: 1.5rem;
    margin: 2rem 0;
}

.notice-box p {
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact-info h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.contact-purposes {
    margin-top: 2rem;
}

.contact-purposes h3 {
    color: #333;
    margin-bottom: 1rem;
}

.contact-purposes ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.contact-purposes li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Contact Form */
.contact-form-section h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.additional-info {
    margin-top: 3rem;
}

.additional-info h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-card h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

/* Legal Pages */
.legal-content {
    padding: 2rem 0 4rem;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.legal-document h2 {
    color: #333;
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.legal-document h3 {
    color: #555;
    margin: 1.5rem 0 0.5rem;
    font-size: 1.2rem;
}

.legal-document p {
    margin-bottom: 1rem;
    color: #666;
}

.legal-document ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-document li {
    margin-bottom: 0.5rem;
    color: #666;
}

.contact-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.important-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 2rem 0;
}

.final-notice {
    background: #e8f4fd;
    border: 1px solid #b8daff;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 2rem 0;
    text-align: center;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #e74c3c;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom .disclaimer {
    font-size: 0.9rem;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .directory-controls {
        flex-direction: column;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .video-detail-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .video-embed iframe {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 1rem 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .featured,
    .categories-preview,
    .video-directory {
        padding: 40px 0;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

/* Video Not Found */
.video-not-found {
    text-align: center;
    padding: 4rem 0;
}

.video-not-found h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #666;
}

.video-not-found p {
    color: #888;
    margin-bottom: 2rem;
}

/* Loading States */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .nav-toggle,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

<!--