* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Amiri', serif;
    background-color: #f8f5f0;
    color: #2e2a27;
    line-height: 1.7;
    padding: 1.5rem;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    padding: 2.5rem 2rem;
    position: relative;
}

.menu-toggle {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 1001;
    background: #3d2c1f;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: 0.3s;
    line-height: 1;
}

.menu-toggle:hover {
    background: #5f4a37;
    transform: scale(1.05);
}

.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 44, 31, 0.96);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.overlay-menu.active {
    opacity: 1;
    visibility: visible;
}

.overlay-close {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 1002;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 2.8rem;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
    padding: 5px 10px;
}

.overlay-close:hover {
    transform: rotate(90deg);
    color: #d9cdc0;
}

.overlay-menu a {
    color: #f8f5f0;
    text-decoration: none;
    font-size: 3rem;
    font-weight: 700;
    padding: 0.5rem 2rem;
    border-radius: 60px;
    transition: 0.3s;
    letter-spacing: 2px;
    border-bottom: 3px solid transparent;
}

.overlay-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: #d9cdc0;
    transform: translateX(-8px);
    color: #fff;
}

.overlay-menu a i {
    margin-left: 1rem;
    color: #b8a187;
    width: 2rem;
}

.header {
    text-align: center;
    border-bottom: 2px solid #ede7e0;
    padding-bottom: 1.8rem;
    margin-bottom: 2.2rem;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #d9cdc0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #3d2c1f;
    letter-spacing: 1px;
}

.header .subtitle {
    font-size: 1.3rem;
    color: #7f6b5a;
    margin-top: 0.2rem;
}

.header .tagline {
    background: #ede7e0;
    display: inline-block;
    padding: 0.2rem 1.8rem;
    border-radius: 40px;
    font-size: 1.1rem;
    color: #4d3d2e;
    margin-top: 0.7rem;
}

.section {
    margin-bottom: 2.8rem;
}

.section-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #3d2c1f;
    border-right: 6px solid #b8a187;
    padding-right: 1rem;
    margin-bottom: 1.5rem;
}

.bio-text {
    font-size: 1.2rem;
    text-align: justify;
}

.bio-text strong {
    color: #5f4a37;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}

.info-card {
    background: #f6f2ec;
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
    transition: 0.2s;
}

.info-card:hover {
    background: #ede5db;
}

.info-card .label {
    font-weight: 700;
    color: #5f4a37;
    display: block;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.info-card .label i {
    margin-left: 0.5rem;
    color: #8a7a6b;
    width: 1.2rem;
}

.info-card .value {
    font-size: 1.25rem;
    margin-top: 0.2rem;
    padding-right: 0.2rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-top: 1rem;
}

.video-card {
    background: #faf8f5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: 0.2s;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.video-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.video-card .video-title {
    padding: 0.8rem 1.2rem 1.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #3d2c1f;
}

.video-card .video-title i {
    margin-left: 0.6rem;
    color: #7f6b5a;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 1.2rem;
}

.social-btn {
    background: #3d2c1f;
    color: #fff;
    padding: 0.7rem 2.2rem;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid transparent;
}

.social-btn i {
    font-size: 1.3rem;
}

.social-btn:hover {
    background: #5f4a37;
    transform: scale(1.02);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.social-btn.tiktok {
    background: #010101;
}

.social-btn.youtube {
    background: #cc0000;
}

.social-btn.tiktok:hover,
.social-btn.youtube:hover {
    opacity: 0.88;
    transform: scale(1.02);
}

.footer {
    margin-top: 3rem;
    padding-top: 1.8rem;
    border-top: 2px solid #ede7e0;
    text-align: center;
    color: #7f6b5a;
    font-size: 1.05rem;
}

@media (max-width: 600px) {
     .container { padding: 1.5rem 1rem; }
     .header h1 { font-size: 2rem; }
     .profile-img { width: 140px; height: 140px; }
     .section-title { font-size: 1.6rem; }
     .social-btn { width: 100%; justify-content: center; }
     .menu-toggle {
         top: 15px;
         left: 15px;
         padding: 10px 14px;
         font-size: 1.4rem;
     }
     .overlay-close {
         top: 15px;
         left: 15px;
         font-size: 2.2rem;
     }
     .overlay-menu a {
         font-size: 2.2rem;
         padding: 0.3rem 1rem;
     }
     .overlay-menu {
         gap: 1.8rem;
     }
 }

 .admin-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 2rem;
     padding-bottom: 1rem;
     border-bottom: 2px solid #ede7e0;
 }

 .admin-header h1 {
     font-size: 2rem;
     color: #3d2c1f;
 }

 .user-area {
     display: flex;
     align-items: center;
     gap: 0.8rem;
 }

 .user-name {
     font-size: 1.1rem;
     color: #5f4a37;
     font-weight: 700;
 }

 .user-avatar {
     width: 40px;
     height: 40px;
     border-radius: 50%;
     object-fit: cover;
     border: 2px solid #b8a187;
 }

 .admin-actions {
     position: fixed;
     top: 25px;
     right: 25px;
     z-index: 1002;
     display: flex;
     gap: 0.5rem;
 }

 .profile-btn, .logout-btn {
     background: #3d2c1f;
     color: #fff;
     border: none;
     border-radius: 10px;
     padding: 10px 14px;
     font-size: 1.2rem;
     cursor: pointer;
     transition: 0.3s;
 }

 .profile-btn:hover, .logout-btn:hover {
     background: #5f4a37;
 }

 .tabs {
     display: flex;
     gap: 0.5rem;
     margin-bottom: 2rem;
     flex-wrap: wrap;
 }

 .tab-btn {
     background: #f6f2ec;
     color: #5f4a37;
     border: 1px solid #d9cdc0;
     border-radius: 12px;
     padding: 0.8rem 1.5rem;
     font-size: 1rem;
     cursor: pointer;
     transition: 0.3s;
 }

 .tab-btn.active {
     background: #3d2c1f;
     color: #fff;
 }

 .tab-content {
     display: none;
 }

 .tab-content.active {
     display: block;
 }

 .admin-form .form-group {
     margin-bottom: 1.2rem;
 }

 .admin-form label {
     display: block;
     font-weight: 700;
     color: #3d2c1f;
     margin-bottom: 0.4rem;
     font-size: 0.95rem;
 }

 .admin-form input,
 .admin-form textarea {
     width: 100%;
     padding: 0.8rem 1rem;
     border: 1px solid #d9cdc0;
     border-radius: 12px;
     font-family: inherit;
     font-size: 1rem;
     background: #faf8f5;
     transition: 0.3s;
 }

 .admin-form input:focus,
 .admin-form textarea:focus {
     outline: none;
     border-color: #b8a187;
     box-shadow: 0 0 0 2px rgba(184, 161, 135, 0.2);
 }

 .submit-btn {
     background: #3d2c1f;
     color: #fff;
     border: none;
     border-radius: 12px;
     padding: 0.8rem 2rem;
     font-size: 1rem;
     font-weight: 700;
     cursor: pointer;
     transition: 0.3s;
 }

 .submit-btn:hover {
     background: #5f4a37;
 }

 .success-message {
     background: #e6f4ea;
     color: #2e7d32;
     padding: 1rem;
     border-radius: 12px;
     text-align: center;
     margin-top: 1rem;
 }

 .error-message {
     background: #ffebee;
     color: #c62828;
     padding: 0.8rem;
     border-radius: 12px;
     margin-top: 0.5rem;
 }

 .invite-link-box {
     margin-top: 1rem;
     padding: 1rem;
     background: #f6f2ec;
     border-radius: 12px;
 }

 .invite-link-box input {
     margin-top: 0.5rem;
 }

 .team-list {
     margin-top: 1rem;
     display: flex;
     flex-direction: column;
     gap: 0.8rem;
 }

 .team-card {
     display: flex;
     justify-content: space-between;
     align-items: center;
     background: #f6f2ec;
     padding: 1rem 1.5rem;
     border-radius: 12px;
 }

 .team-card button {
     background: #c62828;
     color: #fff;
     border: none;
     padding: 0.4rem 1rem;
     border-radius: 8px;
     cursor: pointer;
 }

 .subsection-title {
     font-size: 1.3rem;
     color: #3d2c1f;
     margin-top: 2rem;
     margin-bottom: 1rem;
 }

 .modal {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0,0,0,0.7);
     z-index: 2000;
     align-items: center;
     justify-content: center;
 }

 .modal.active {
     display: flex;
 }

 .modal-content {
     background: #fff;
     border-radius: 20px;
     padding: 2rem;
     max-width: 500px;
     width: 90%;
     position: relative;
 }

 .modal-close {
     position: absolute;
     top: 1rem;
     left: 1rem;
     background: none;
     border: none;
     font-size: 2rem;
     cursor: pointer;
     color: #7f6b5a;
 }

 .modal-title {
     font-size: 1.5rem;
     color: #3d2c1f;
     margin-bottom: 1.5rem;
 }

 .profile-preview {
     width: 100px;
     height: 100px;
     border-radius: 50%;
     object-fit: cover;
     margin-top: 0.5rem;
     border: 2px solid #b8a187;
 }

 .posts-timeline {
     display: flex;
     flex-direction: column;
     gap: 2rem;
 }

 .post-card {
     background: #faf8f5;
     border-radius: 20px;
     padding: 1.5rem;
     box-shadow: 0 2px 8px rgba(0,0,0,0.04);
 }

 .post-header {
     display: flex;
     align-items: center;
     gap: 0.8rem;
     margin-bottom: 1rem;
 }

 .post-author-img {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     object-fit: cover;
 }

 .post-author-placeholder {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     background: #d9cdc0;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #3d2c1f;
 }

 .post-author-info {
     display: flex;
     flex-direction: column;
 }

 .post-author-name {
     font-weight: 700;
     color: #3d2c1f;
 }

 .post-date {
     font-size: 0.85rem;
     color: #7f6b5a;
 }

 .post-title {
     font-size: 1.5rem;
     color: #3d2c1f;
     margin-bottom: 0.8rem;
 }

 .post-content {
     font-size: 1.1rem;
     line-height: 1.8;
     margin-bottom: 1rem;
 }

 .post-attachments {
     display: flex;
     gap: 0.5rem;
     flex-wrap: wrap;
 }

 .attachment-link {
     background: #3d2c1f;
     color: #fff;
     padding: 0.4rem 0.8rem;
     border-radius: 8px;
     font-size: 0.9rem;
     text-decoration: none;
 }

 .library-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 1.5rem;
 }

 .library-card {
     background: #faf8f5;
     border-radius: 20px;
     padding: 1.5rem;
     display: flex;
     flex-direction: column;
     gap: 0.8rem;
     box-shadow: 0 2px 8px rgba(0,0,0,0.04);
 }

 .library-icon {
     font-size: 3rem;
     color: #b8a187;
     text-align: center;
 }

 .library-title {
     font-size: 1.2rem;
     color: #3d2c1f;
     font-weight: 700;
 }

 .library-description {
     font-size: 0.95rem;
     color: #5f4a37;
 }

 .library-meta {
     display: flex;
     justify-content: space-between;
     font-size: 0.85rem;
     color: #7f6b5a;
 }

 .download-btn {
     background: #3d2c1f;
     color: #fff;
     padding: 0.5rem 1rem;
     border-radius: 12px;
     text-decoration: none;
     text-align: center;
     font-weight: 700;
     margin-top: auto;
 }

 .welcome-message {
     text-align: center;
     padding: 3rem 1rem;
     color: #7f6b5a;
 }

 .auth-page {
     min-height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .auth-card {
     background: #fff;
     border-radius: 20px;
     padding: 2.5rem 2rem;
     box-shadow: 0 8px 30px rgba(0,0,0,0.08);
     max-width: 400px;
     width: 100%;
 }

 .auth-title {
     font-size: 1.8rem;
     color: #3d2c1f;
     text-align: center;
     margin-bottom: 1.5rem;
 }

 @media (max-width: 600px) {
     .admin-header {
         flex-direction: column;
         gap: 1rem;
     }
     .admin-actions {
         position: static;
         margin-top: 1rem;
     }
     .modal-content {
         padding: 1.5rem;
     }
 }