/* --- SMOOTH COLOR TRANSITIONS --- */
@property --accent { syntax: '<color>'; inherits: true; initial-value: #00d2ff; }
@property --secondary { syntax: '<color>'; inherits: true; initial-value: #ffffff; }
@property --bg-color { syntax: '<color>'; inherits: true; initial-value: #050505; }
@property --bg-secondary { syntax: '<color>'; inherits: true; initial-value: #1a1a1a; }
@property --bg-tertiary { syntax: '<color>'; inherits: true; initial-value: rgba(255,255,255,0.03); }

:root {
    /* --- Base Variables --- */
    --primary: #ffffff;      
    --glass: rgba(10, 10, 10, 0.85);
    --transition-speed: 0.5s;

    /* --- READABILITY VARIABLES --- */
    --title-color: #ffffff;       
    --text-color: #cccccc;        

    /* Default Theme - Cyber Hexagon Pattern */
    --accent: #00d2ff;
    --secondary: #ffffff;   
    --bg-color: #050505;           
    --bg-secondary: #1a1a1a;       
    --bg-tertiary: rgba(0, 210, 255, 0.08); 
    /* Complex Hexagon Pattern */
    --pattern: 
        linear-gradient(30deg, var(--bg-tertiary) 12%, transparent 12.5%, transparent 87%, var(--bg-tertiary) 87.5%),
        linear-gradient(150deg, var(--bg-tertiary) 12%, transparent 12.5%, transparent 87%, var(--bg-tertiary) 87.5%),
        linear-gradient(30deg, var(--bg-tertiary) 12%, transparent 12.5%, transparent 87%, var(--bg-tertiary) 87.5%),
        linear-gradient(150deg, var(--bg-tertiary) 12%, transparent 12.5%, transparent 87%, var(--bg-tertiary) 87.5%);
    --pattern-size: 80px 140px;
}

/* --- GLOBAL RESET --- */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

/* --- BACKGROUND LAYER SYSTEM --- */
.bg-layer {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    background-color: var(--bg-color);
    background-image: var(--pattern), linear-gradient(to bottom, var(--bg-color), var(--bg-secondary));
    background-size: var(--pattern-size), 100% 100%;
    opacity: 0;
    transition: opacity 1s ease; 
}
.bg-layer.active { opacity: 1; }

body {
    display: flex; flex-direction: column; 
    font-family: 'Segoe UI', sans-serif;
    background: #000; 
    color: var(--text-color); 
    overflow-x: hidden;
    transition: color 1.5s ease, border-color 1.5s ease;
}

/* Apply readability variables to text elements */
h1, h2, h3, .nav-btn, .section-title, .post-item h3, .slide-title, .modal-name {
    color: var(--title-color);
}

p, .slide-desc, .post-item p, .post-date, .modal-bio, .text-frame {
    color: var(--text-color);
}

/* --- FINAL POLISH: Custom Scrollbars --- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { 
    background: var(--accent); 
    border-radius: 5px; 
    border: 2px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

/* --- FINAL POLISH: Text Selection --- */
::selection {
    background: var(--accent);
    color: #000;
}

a, .diamond-btn, .slider-btn, .read-more, .social-btn {
    transition: color 1.5s ease, border-color 1.5s ease, background-color 1.5s ease, text-shadow 1.5s ease, box-shadow 1.5s ease;
}

a { text-decoration: none !important; }

/* --- LAYOUT UTILS --- */
.main-wrapper { flex: 1 0 auto; }
.container { max-width: 1100px; margin: 40px auto; padding: 0 20px; }

/* --- PAGE LOADER --- */
#page-loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { width: 100px; animation: pulse 2s infinite; }

/* --- HEADER --- */
header {
    background: var(--glass);
    padding: 10px 5%;
    display: flex; align-items: center;
    border-bottom: 2px solid var(--accent);
    backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 100;
}
.logo-container {
    display: flex; align-items: center; gap: 15px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.logo-container:hover { opacity: 0.8; }
.logo-img { height: 50px; width: auto; }
.brand-name { font-size: 1.5rem; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; color: #fff; }

/* --- NAV --- */
.sub-header {
    background: rgba(0,0,0,0.3);
    display: flex; justify-content: center; padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-btn {
    color: #ccc; margin: 0 15px;
    font-weight: 500; text-transform: uppercase; font-size: 0.9rem;
}
.nav-btn:hover, .nav-btn.active { color: var(--accent); text-shadow: 0 0 8px var(--secondary); }

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 75vh; 
    min-height: 500px;
    background: #000;
    display: flex; 
    overflow: hidden;
    border-bottom: 2px solid var(--accent);
}

/* --- DESKTOP LAYOUT (Left | Image | Fade | Text | Right) --- */
.slider-bar-left {
    width: 80px;
    background: #000;
    border-right: 1px solid #222;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 60; 
    flex-shrink: 0;
}

.slider-stage {
    flex: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex; 
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; z-index: 10; }

.slide-split-left {
    flex: 1; 
    height: 100%;
    position: relative;
    overflow: hidden;
}
.slide-image {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

.blade-fade {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 120px;
    background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    z-index: 5;
    pointer-events: none;
}

.slide-split-right {
    width: 350px;
    height: 100%;
    background: #000;
    z-index: 20; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    position: relative;
}

.slider-bar-right {
    width: 100px; 
    background: #000;
    border-left: 1px solid #222;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: center;
    padding: 40px 0; 
    z-index: 60;
    flex-shrink: 0;
}

/* --- ARROWS (Desktop) --- */
.slider-btn {
    background: transparent;
    color: #555; 
    border: none;
    cursor: pointer;
    font-size: 0; 
    line-height: 1; 
    padding: 0;
    height: auto; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    outline: none; 
    -webkit-tap-highlight-color: transparent;
}
.slider-btn svg {
    width: 32px; 
    height: 32px;
    stroke-width: 2.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.4s ease;
}
.slider-btn:hover {
    color: var(--accent);
    background: transparent;
}
.slider-btn:hover svg {
    transform: scale(1.15);
    stroke-width: 3px;
    filter: drop-shadow(0 0 8px var(--accent));
}
.slider-btn:active svg {
    transform: scale(0.9);
}
.slider-btn:focus-visible {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 2px var(--accent);
}

/* Slide Content Styling */
.slide-content {
    position: relative; z-index: 25;
    max-width: 100%;
}
.slide-date { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; display: block; color: var(--secondary); }
.slide-title { font-size: 2rem; margin: 0 0 15px 0; line-height: 1.2; }
.read-more {
    display: inline-block; color: var(--accent); font-weight: bold; font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 1px; border: 1px solid var(--accent); padding: 8px 20px; border-radius: 4px;
    transition: 0.3s;
}
.read-more:hover { background: var(--accent); color: #000; box-shadow: 0 0 15px var(--secondary); }

.slider-pagination {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 12px; 
}
.paginate-diamond {
    width: 10px; height: 10px;
    transform: rotate(45deg);
    background: rgba(255,255,255,0.2);
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.3s;
}
.paginate-diamond:hover { background: var(--secondary); transform: rotate(45deg) scale(1.3); }
.paginate-diamond.active {
    background: var(--accent);
    border-color: #fff;
    transform: rotate(45deg) scale(1.2);
    box-shadow: 0 0 10px var(--accent);
}

/* --- CONTENT FRAMES --- */
.text-frame {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border:1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: border-color 1.5s ease, background 1.5s ease;
}
.text-frame:hover {
    border-color: rgba(255, 255, 255, 0.3); 
    background: rgba(0, 0, 0, 0.8);
}

/* --- INDEX PAGE --- */
.index-content-grid { 
    display: flex; 
    gap: 40px; 
    margin-top: 60px;
}
.grid-item { 
    flex: 1; 
    display: flex;
    flex-direction: column;
}
.section-title { 
    border-left: 5px solid var(--accent); 
    padding-left: 15px; 
    font-size: 2rem; 
    margin-bottom: 20px; 
    transition: border-color 1.5s ease, color 1.5s ease;
}
.container p { font-size: 1.1rem; line-height: 1.6; }
a.link-arrow { color: var(--accent); font-weight: bold; display: block; margin-bottom: 10px; }
a.link-arrow:hover { color: #fff; text-shadow: 0 0 15px var(--secondary); padding-left: 10px; transition: 0.3s; }

/* --- TALENTS PAGE --- */
.talent-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 80px 20px;
}
.talent-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 100px 40px 50px 40px; 
    border-radius: 16px;
    transition: 0.4s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden; 
    z-index: 1;
}
.talent-card-wrapper:hover { 
    transform: translateY(-10px); 
    border-color: var(--accent); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.6); 
    z-index: 10; 
}
.talent-card-wrapper::after {
    content: ''; position: absolute; top: 0; left: -150%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg); pointer-events: none; transition: none;
    z-index: 0;
}
.talent-card-wrapper:hover::after { animation: glint 0.8s; }
.diamond-btn {
    width: 140px; height: 140px;
    transform: rotate(45deg);
    overflow: hidden; cursor: pointer;
    border: 3px solid #fff; background: #000;
    margin-bottom: 50px; 
    margin-top: -40px; 
    position: relative; z-index: 2;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.diamond-btn.nuri { border-color: #9b59b6; box-shadow: 0 0 20px #9b59b6; }
.diamond-btn.adriana { border-color: #f1c40f; box-shadow: 0 0 20px #f1c40f; }
.diamond-btn.nightmelody { border-color: #4facfe; box-shadow: 0 0 20px #4facfe; }

/* Safe hover scale to prevent clipping */
.diamond-btn:hover { transform: rotate(45deg) scale(1.1) translateY(-5px); box-shadow: 0 0 40px var(--accent); }

.diamond-btn img {
    width: 150%; height: 150%;
    object-fit: cover;
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}
.talent-name {
    margin-top: 0; font-weight: bold; text-align: center; font-size: 1.2rem;
    padding: 10px 15px; border-radius: 4px; border: 1px solid transparent;
    background: rgba(0,0,0,0.4); color: #fff; transition: 0.3s;
    position: relative; z-index: 2;
}
.talent-card-wrapper:hover .talent-name { color: var(--accent); border-color: var(--accent); }

/* --- MODAL --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); z-index: 2000; display: none;
    justify-content: center; align-items: center; backdrop-filter: blur(8px);
}
.modal-content {
    background: #111; width: 90%; max-width: 800px; height: 80vh;
    border-radius: 10px; position: relative; display: flex; overflow: hidden;
    border: 2px solid var(--accent);
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    animation: modalOpen 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-content.closing { animation: modalClose 0.3s forwards; }
@keyframes modalOpen { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
@keyframes modalClose { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.8); } }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 2rem; color: #fff; cursor: pointer; z-index: 10; }
.modal-left { width: 40%; background: #000; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.modal-sprite { height: 100%; width: auto; object-fit: cover; }
.modal-right { width: 60%; padding: 40px; overflow-y: auto; }
.modal-right p, .modal-right h2 { animation: slideInRight 0.6s ease forwards; }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.social-links-container { margin-top: 30px; display: flex; gap: 15px; flex-wrap: wrap; }

/* Modal Buttons */
.social-btn {
    display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: bold;
    border: 1px solid var(--accent); padding: 10px 20px; border-radius: 4px;
    background: rgba(255,255,255,0.05); transition: 0.3s;
}
.btn-icon {
    width: 20px; height: 20px; object-fit: contain; filter: grayscale(1);
}
.social-btn:hover { background: var(--accent); color: #000; box-shadow: 0 0 15px var(--secondary); }
.social-btn:hover .btn-icon { filter: grayscale(0); }

/* --- POSTS PAGE --- */
.post-item {
    display: flex; align-items: stretch;
    background: rgba(255,255,255,0.05);
    margin-bottom: 25px;
    border-radius: 8px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(12px); 
}
.post-item:hover { transform: scale(1.01); box-shadow: 0 10px 30px rgba(0,0,0,0.5); border-color: var(--accent); }
.post-item::after {
    content: ''; position: absolute; top: 0; left: -150%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-25deg); pointer-events: none; transition: none;
}
.post-item:hover::after { animation: glint 0.8s; }
@keyframes glint { 0% { left: -150%; } 100% { left: 150%; } }
.post-thumb { width: 280px; height: auto; min-height: 100%; object-fit: cover; }
.post-info { padding: 25px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.post-item[data-author="nuri"] { border-left: 4px solid #9b59b6; }
.post-item[data-author="adriana"] { border-left: 4px solid #f1c40f; }
.post-item[data-author="nightmelody"] { border-left: 4px solid #4facfe; }
.post-item h3 { margin: 0 0 10px 0; font-size: 1.4rem; }
.post-item p { margin: 0; font-size: 1rem; line-height: 1.5; }

/* --- INDIVIDUAL POST PAGE --- */
.post-header-img { width: 100%; max-height: 85vh; object-fit: contain; display: block; margin-bottom: 40px; border-bottom: 2px solid var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,0.5); background: #000; }
.post-full-text { line-height: 1.9; font-size: 1.15rem; max-width: 900px; }

/* --- FOOTER --- */
footer {
    flex-shrink: 0; background: #000; padding: 40px 5%; border-top: 2px solid var(--accent);
    display: flex; justify-content: space-between; align-items: flex-start; margin-top: auto;
}
.footer-left { display: flex; flex-direction: column; gap: 10px; }
.footer-logo-small { height: 40px !important; width: auto; }
.footer-nav-bottom a { color: #666; margin-right: 15px; font-size: 0.8rem; text-transform: uppercase; }
.footer-nav-bottom a:hover { color: var(--accent); }
.footer-socials { display: flex; align-items: center; gap: 20px; margin-top: 10px; flex-wrap: wrap; justify-content: flex-end; }
.social-icon { 
    width: 28px; height: 28px; transition: 0.3s; opacity: 0.7; border-radius: 4px; padding: 4px; 
}
.social-icon:hover { 
    transform: scale(1.2); opacity: 1; filter: drop-shadow(0 0 5px var(--secondary)); 
}

/* --- THEMES --- */
.theme-default {
    --accent: #00d2ff; --secondary: #ffffff; --bg-color: #050505; --bg-secondary: #1a1a1a; --bg-tertiary: rgba(0, 210, 255, 0.08);
    --title-color: #ffffff;
    --text-color: #e0e0e0;
    --pattern: linear-gradient(30deg, var(--bg-tertiary) 12%, transparent 12.5%, transparent 87%, var(--bg-tertiary) 87.5%), linear-gradient(150deg, var(--bg-tertiary) 12%, transparent 12.5%, transparent 87%, var(--bg-tertiary) 87.5%), linear-gradient(30deg, var(--bg-tertiary) 12%, transparent 12.5%, transparent 87%, var(--bg-tertiary) 87.5%), linear-gradient(150deg, var(--bg-tertiary) 12%, transparent 12.5%, transparent 87%, var(--bg-tertiary) 87.5%);
    --pattern-size: 80px 140px;
}
.theme-nuri {
    --accent: #9b59b6; --secondary: #f1c40f; --bg-color: #000000; --bg-secondary: #1a0b1e;
    --bg-tertiary: rgba(155, 89, 182, 0.1);
    --title-color: #9b59b6; 
    --text-color: #e0e0e0;
    --pattern: repeating-linear-gradient(45deg, transparent, transparent 20px, var(--bg-tertiary) 20px, var(--bg-tertiary) 21px, transparent 21px, transparent 40px);
}
.theme-adriana {
    --accent: #f1c40f; --secondary: #00ffff; --bg-color: #050a14; --bg-secondary: #000000;
    --bg-tertiary: rgba(255, 255, 255, 0.1);
    --title-color: #f1c40f; 
    --text-color: #ffffff;
    --pattern:
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, #fff, rgba(0,0,0,0));
    --pattern-size: 200px 200px;
}
.theme-nightmelody {
    --accent: #4facfe; --secondary: #3571da; --bg-color: #020c1b; --bg-secondary: #0a192f;
    --bg-tertiary: rgba(79, 172, 254, 0.15);
    --title-color: #4facfe; 
    --text-color: #cbd5e1; 
    --pattern: radial-gradient(circle at 50% 50%, transparent 20%, var(--bg-tertiary) 21%, transparent 30%);
    --pattern-size: 60px 60px;
}

/* --- ANIMATIONS --- */
@keyframes pulse { 0% { transform: scale(0.95); opacity: 0.7; } 50% { transform: scale(1.05); opacity: 1; } 100% { transform: scale(0.95); opacity: 0.7; } }

/* --- MOBILE FIXES --- */
@media (max-width: 768px) {
    /* --- SLIDER RESTRUCTURE (ARROWS ABOVE IMAGE) --- */
    .hero-section { 
        flex-direction: column; 
        height: auto; 
        min-height: 100vh; 
        border-bottom: none; /* Remove border to blend stack */
    }

    /* 1. TOP BAR (Left Arrow | Right Arrow) */
    .slider-bar-left {
        order: 1; /* Move to top */
        width: 100%;
        height: 60px; /* Fixed height bar */
        position: relative; /* Normal flow inside flex col */
        flex-direction: row; /* Row layout */
        justify-content: space-between; /* Push arrows to edges */
        align-items: center;
        padding: 0 20px;
        background: rgba(0,0,0,0.8); /* Darker backdrop for visibility */
        border-right: none;
        border-bottom: 1px solid #333;
    }

    /* 2. STAGE (Image) */
    .slider-stage {
        order: 2; /* Middle */
        height: 50vh; /* Half screen height */
        width: 100%;
    }

    /* 3. RIGHT BAR (Diamonds - Moved to Bottom) */
    .slider-bar-right {
        order: 3; /* Bottom */
        width: 100%;
        height: 50px;
        flex-direction: row; /* Row layout */
        justify-content: center;
        align-items: center;
        padding: 10px;
        background: rgba(0,0,0,0.8);
        border-left: none;
        border-top: 1px solid #333;
    }

    /* Hide default arrow inside right bar (logic handled by JS, but just in case) */
    .slider-bar-right .slider-btn {
        display: none;
    }

    /* --- SLIDE ADJUSTMENTS FOR MOBILE --- */
    .slide { flex-direction: column; }
    .slide-split-left { width: 100%; height: 100%; }
    .slide-split-right { 
        width: 100%; 
        height: auto; 
        order: 3; /* Move Text to bottom of stack */
        padding: 20px; 
        background: #000;
        border-top: 2px solid var(--accent);
    }
    .blade-fade { display: none; } /* No fade needed in vertical stack */
    .slide-title { font-size: 1.5rem; margin-bottom: 10px; }
    .slide-date { font-size: 0.7rem; }
    
    /* --- PAGINATION (Diamonds) --- */
    .slider-pagination { 
        flex-direction: row; /* Horizontal line */
        gap: 15px; 
    }
    .paginate-diamond {
        width: 12px; height: 12px; /* Slightly bigger for touch */
    }

    /* --- ARROWS --- */
    .slider-btn { 
        height: 60px; /* Fill the bar height */
        width: auto; /* Auto width to fit icon */
    }
    
    /* --- HEADER / NAV --- */
    .sub-header { flex-wrap: wrap; gap: 10px; padding: 15px 0; }
    .nav-btn { margin: 5px 10px; font-size: 0.8rem; }

    /* --- TALENTS PAGE FIX --- */
    .talent-grid { gap: 20px; padding: 40px 10px; }
    .talent-card-wrapper { 
        width: 100%; /* Full width on mobile */
        padding: 80px 20px 40px 20px; /* Adjusted padding */
    }
    /* Reduce diamond size slightly on very small screens */
    .diamond-btn { 
        width: 100px; 
        height: 100px; 
        margin-top: -20px;
    }

    /* --- INDEX & POSTS --- */
    .index-content-grid { flex-direction: column; }
    .post-item { flex-direction: column; }
    .post-thumb { width: 100%; height: 200px; }
    
    /* --- FOOTER --- */
    footer { flex-direction: column; text-align: center; align-items: center; gap: 20px; }
    .footer-socials { justify-content: center; }
    
    /* --- MODAL --- */
    .modal-content { flex-direction: column; height: 90vh; overflow-y: auto; }
    .modal-left, .modal-right { width: 100%; }
    .modal-left { height: 250px; flex-shrink: 0; }
}