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

body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #333;
}

/* Header with background image */
.header {
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header h1 {
    color: white;
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    z-index: 1;
}

/* Navigation Bar */
nav {
    background-color: #000;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #333;
}

nav ul li a.active {
    background-color: #8B4513;
}

/* Main Content Area */
.content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    min-height: 500px;
    border-radius: 8px;
}

/* Home Page Styles */
.home-content {
    text-align: center;
    padding: 60px 20px;
}

.home-content h2 {
    color: #8B4513;
    margin-bottom: 20px;
    font-size: 2.5em;
}

.home-content p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #666;
}

/* Library Page Styles */
.library-list {
    list-style: none;
}
/* Basic site styles (minimal) */
body { font-family: Arial, Helvetica, sans-serif; margin:0; padding:0; background:#fff; color:#111 }
.header { text-align:center; padding:18px 0 }
nav ul { list-style:none; display:flex; gap:12px; justify-content:center; padding:0 }
nav a { text-decoration:none; color:#111 }
.content { max-width:900px; margin:0 auto; padding:18px }
.video-grid { display:flex; flex-wrap:wrap; gap:18px; justify-content:center }
.video-item { width:300px }
.video-container { background:#000; height:170px; display:flex; align-items:center; justify-content:center }
.channel-name { text-align:center; font-weight:600; margin-top:8px }

/* Button */
.btn { background:#222; color:#fff; border:none; padding:10px 16px; cursor:pointer; border-radius:4px }

/* Modal styles */
.modal { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.7); align-items:center; justify-content:center; z-index:2000 }
.modal-content { background:#111; color:#eee; padding:20px; max-width:760px; width:90%; max-height:80vh; overflow:auto; border-radius:6px; position:relative; box-shadow:0 8px 30px rgba(0,0,0,0.6) }
.modal-close { position:absolute; right:10px; top:8px; background:transparent; color:#eee; border:none; font-size:24px; cursor:pointer }
.modal-body { white-space:pre-wrap; font-family: 'Courier New', monospace; line-height:1.4; }

@media (max-width:480px){ .video-item{ width:100% } .modal-content{ width:96% } }

.library-item {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s;
}

.library-item:hover {
    background-color: #f5f5f5;
}

.file-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #8B4513;
    margin-bottom: 5px;
}

.file-author {
    color: #666;
    font-style: italic;
}

/* Masses Page Styles */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

.video-item {
    text-align: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background-color: #000;
    margin-bottom: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.channel-name {
    font-weight: bold;
    color: #333;
}

/* Members Page Styles */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px;
    padding: 20px 0;
}

.member-card {
    text-align: center;
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2em;
    font-weight: bold;
}

.member-name {
    font-size: 1.2em;
    font-weight: bold;
    color: hwb(0 0% 100%);
    margin-bottom: 5px;
}

.member-title {
    color: #666;
    font-style: italic;
}

    .avatar {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        display: block;
        margin: 0 auto;
    }

h2 {
    color: #8B4513;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #8B4513;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        flex-wrap: wrap;
    }
    
    .header h1 {
        font-size: 2em;
    }
}