:root {
    --bg: #121212;
    --text: #e0e0e0;
    --accent: #2ecc71;
    --card: #1e1e1e;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    text-transform: lowercase; 
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}



body { 
    background: var(--bg); 
    color: var(--text); 
    line-height: 1.6; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

nav { 
    padding: 2rem; 
    text-align: center; 
}

nav a { 
    text-decoration: none; 
    color: var(--text); 
    margin: 0 15px; 
    opacity: 0.7; 
    transition: 0.3s; 
}

nav a:hover { opacity: 1; }

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.about-content {
    text-align: left;
    max-width: 600px;
    width: 100%;
}

.gallery-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 20px 0;
    width: 100%;
    scrollbar-width: none;
}
.gallery-container::-webkit-scrollbar { display: none; }
.gallery-container img {
    height: 250px;
    border-radius: 12px;
    cursor: pointer;
    flex-shrink: 0;
}

.download-section { 
    margin-top: 4rem; 
    width: 100%;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.dl-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--accent);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    min-width: 240px;
    transition: transform 0.2s ease, background 0.2s;
}

.dl-btn:hover {
    transform: translateY(-5px);
    background: #27ae60;
}

.dl-btn img { 
    width: 20px; 
    height: 20px; 
    filter: brightness(0) invert(1); 
}

.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.lb-slide-img {
    max-width: 85vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1), opacity 0.25s ease;
    will-change: transform;
}

.lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20,20,20,0.7);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 60px;
    cursor: pointer;
    padding: 0;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 2100;
}

.lb-arrow:hover {
    background: rgba(46,204,113,0.85);
    transform: translateY(-50%) scale(1.05);
}

.lb-arrow::after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border-top: 3px solid white;
    border-right: 3px solid white;
}

.lb-prev { left: 30px; transform: translateY(-50%) rotate(-135deg); }
.lb-next { right: 30px; transform: translateY(-50%) rotate(45deg); }

footer { padding: 2rem; text-align: center; opacity: 0.5; }

.markdown-content {
    background: rgba(30,30,30,0.5);
    padding: 1.4rem 1.6rem;
    border-radius: 24px;
    margin: 1.5rem 0 0.5rem 0;
    line-height: 1.65;
}

.markdown-content h1, .markdown-content h2, .markdown-content h3 {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #fff;
}
.markdown-content h1 { font-size: 1.8rem; border-left: 4px solid #2ecc71; padding-left: 1rem; }
.markdown-content h2 { font-size: 1.5rem; }
.markdown-content h3 { font-size: 1.25rem; opacity: 0.9; }
.markdown-content p { margin: 0.8rem 0; }
.markdown-content a { color: #2ecc71; text-decoration: none; border-bottom: 1px dotted #2ecc71; }
.markdown-content ul, .markdown-content ol { margin-left: 1.8rem; margin-top: 0.5rem; }
.markdown-content code { background: #2a2a2a; padding: 0.2rem 0.4rem; border-radius: 8px; font-family: monospace; }
.markdown-content pre { background: #1e1e1e; padding: 1rem; border-radius: 16px; overflow-x: auto; }

.video-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #0a0a0a;
    margin-top: 1.8rem;
}
.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}