* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0d1117; 
    display: flex;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 294px;
    height: 100vh;
    background-color: #0d1119;
    border-right: 1px solid #21262d;
    padding: 20px;
    overflow-y: auto;
    overflow-x: visible;
    display: flex;
    flex-direction: column;
}

.sidebar-nav {
    flex: 1;
}

.sidebar-footer {
    margin-top: auto;
    padding: 25px 15px 20px;
    border-top: 1px solid #21262d;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 17, 25, 0.3) 100%);
    overflow: visible;
}

.footer-content {
    text-align: center;
}

.footer-text {
    font-size: 20px;
    color: #8b949e;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.footer-author {
    font-size: 13px;
    color: #6e7681;
    margin: 0 0 8px 0;
    font-style: italic;
}

.footer-version-container {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.footer-version {
    font-size: 14px;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(59, 130, 246, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    vertical-align: middle;
    flex-shrink: 1;
    min-width: 0;
}

.footer-version:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}



.footer-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 15px;
}

.footer-link {
    color: #8b949e;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 8px;
    border-radius: 6px;
    background: rgba(139, 148, 158, 0.05);
}

.footer-link:hover {
    color: #58a6ff;
    background: rgba(88, 166, 255, 0.1);
    transform: translateY(-2px);
}

.sidebar-header {
    margin-bottom: 40px;
    text-align: center;
    padding-top: 20px;
}

.logo {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    filter: brightness(1.3) drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
    transform: scale(1.05);
}

@keyframes glow {
    0% {
        filter: brightness(1.3) drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
    }
    50% {
        filter: brightness(1.5) drop-shadow(0 0 25px rgba(255, 255, 255, 0.8));
    }
    100% {
        filter: brightness(1.3) drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
    }
}

.logo:hover {
    animation: glow 1.5s ease-in-out infinite;
    transform: scale(1.05);
}
.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 8px;
}

.nav-link {
    display: block;
    align-items: center;
    padding: 12px 16px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 400;
    transition: all 0.2s ease;
    width: 100%;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.nav-link:hover {
    background-color: #161b22;
    transform: none;
}

.sidebar-nav {
    width: 100%;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.sidebar-nav li {
    margin-bottom: 0;
    width: 100%;
}

.nav-link:hover {
    background-color: #161b22;
}


.main-content {
    margin-left: 294px;
    flex: 1;
    padding: 20px 40px;
    min-height: 100vh;
    background-color: #0d1117;
    max-width: 1200px;
    margin-right: auto;
}


.main-content h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.post-list {
    list-style: none;
    padding: 0;
}

.post-item {
    background: linear-gradient(145deg, #1a1f2e 0%, #16213e 100%);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(79, 172, 254, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.post-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.post-item:hover {
    background: linear-gradient(145deg, #1e2337 0%, #1a2847 100%);
    border-color: rgba(79, 172, 254, 0.4);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(79, 172, 254, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.post-title {
    margin-bottom: 16px;
    position: relative;
}

.post-title a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.post-title a:hover {
    color: #58a6ff;
    text-shadow: 0 0 8px rgba(88, 166, 255, 0.3);
}

.post-date {
    color: #8b949e;
    font-size: 0.9rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.read-more {
    color: #58a6ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.2);
    display: inline-block;
    position: relative;
}

.read-more:hover {
    color: #ffffff;
    background: rgba(88, 166, 255, 0.2);
    border-color: rgba(88, 166, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.2);
}

.read-more::before {
    content: "Abrir entrada completa";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #21262d;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
    border: 1px solid #30363d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 8px;
}

.read-more::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #21262d;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1001;
    margin-bottom: 2px;
}

.read-more:hover::before,
.read-more:hover::after {
    opacity: 1;
    visibility: visible;
}


::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
    border-radius: 20px;
    border: 1px solid rgba(79, 172, 254, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    border-radius: 20px;
    border: 2px solid #0d1117;
    box-shadow: 
        0 2px 8px rgba(37, 99, 235, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    box-shadow: 
        0 4px 12px rgba(37, 99, 235, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 50%, #1e3a8a 100%);
    box-shadow: 
        0 2px 6px rgba(37, 99, 235, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}


.modal-body-post::-webkit-scrollbar {
    width: 12px;
}

.modal-body-post::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-radius: 15px;
    border: 1px solid rgba(79, 172, 254, 0.15);
}

.modal-body-post::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    border-radius: 15px;
    border: 2px solid #0f172a;
    box-shadow: 
        0 2px 6px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.modal-body-post::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    box-shadow: 
        0 3px 8px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}


html {
    scrollbar-width: thin;
    scrollbar-color: #2563eb #0d1117;
}


.post-list::-webkit-scrollbar {
    width: 10px;
}

.post-list::-webkit-scrollbar-track {
    background: rgba(13, 17, 23, 0.8);
    border-radius: 12px;
}

.post-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4f46e5 0%, #3730a3 100%);
    border-radius: 12px;
    border: 1px solid rgba(13, 17, 23, 0.5);
}

.post-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
}


@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
        max-width: none;
    }
    
    .post-item {
        padding: 20px;
    }
    
    .main-content h2 {
        font-size: 1.6rem;
    }
    
    .post-content {
        padding: 1.5rem;
    }
}

@media (min-width: 1400px) {
    .main-content {
        padding: 20px 60px;
        max-width: 1400px;
    }
    
    .post-content {
        padding: 3rem 5rem;
    }
}


.pagination {
    margin-top: 3rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.pagination-item {
    margin: 0;
}

.pagination-link {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #ffffff;
    background-color: #161b22;
    border: 1px solid #21262d;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 44px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
}

.pagination-link:hover {
    background-color: #21262d;
    border-color: #30363d;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.pagination-prev,
.pagination-next {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    background-color: #0d1117;
}

.pagination-prev:hover,
.pagination-next:hover {
    background-color: #161b22;
    color: #1d9bf0;
}

.pagination-current {
    background-color: #1d9bf0;
    color: #ffffff;
    border-color: #1d9bf0;
    font-weight: 600;
    cursor: default;
}

.pagination-current:hover {
    background-color: #1d9bf0;
    border-color: #1d9bf0;
    transform: none;
    box-shadow: none;
}

.pagination-prev,
.pagination-next {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    background-color: #0d1117;
}

.pagination-prev:hover,
.pagination-next:hover {
    background-color: #161b22;
    color: #1d9bf0;
}


@media (max-width: 768px) {
    .pagination {
        margin-top: 2rem;
    }
    
    .pagination-list {
        gap: 0.25rem;
        justify-content: center;
    }
    
    .pagination-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        min-width: 40px;
    }
    
    .pagination-prev,
    .pagination-next {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .pagination-list {
        gap: 0.15rem;
    }
    
    .pagination-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
        min-width: 36px;
    }
    
    .pagination-prev,
    .pagination-next {
        padding: 0.4rem 0.8rem;
    }
}



.post-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
    background-color: #0d1117;
}

.post-content {
    background-color: #0d1119;
    border: 1px solid #21262d;
    border-radius: 12px;
    padding: 3rem 8rem;
    margin: 2rem 0;
    line-height: 1.7;
    width: 100%;
    max-width: none;
}

.post-content h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #1c2128;
    padding-bottom: 1rem;
}

.post-content h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    border-left: 4px solid #1d9bf0;
    padding-left: 1rem;
}

.post-content h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1.5rem 0 0.8rem 0;
}

.post-content h4, .post-content h5, .post-content h6 {
    color: #ffffff;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
    max-width: none;
}

.post-content p {
    color: #c9d1d9;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    max-width: none;
}

.post-content ul, .post-content ol {
    color: #c9d1d9;
    margin: 1rem 0;
    padding-left: 2rem;
    max-width: none;
}

.post-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.post-content blockquote {
    background-color: #010409;
    border-left: 4px solid #1d9bf0;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #7d8590;
    max-width: none;
}

.post-content code {
    background-color: #161b22;
    color: #ff7b72;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.post-content pre {
    background-color: #010409;
    border: 1px solid #1c2128;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    max-width: none;
    width: 100%;
}

.post-content pre code {
    background: none;
    padding: 0;
    color: #c9d1d9;
}

.post-content a {
    color: #1d9bf0;
    text-decoration: none;
    transition: color 0.2s;
}

.post-content a:hover {
    color: #58a6ff;
    text-decoration: underline;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: #010409;
    border: 1px solid #1c2128;
    border-radius: 8px;
    overflow: hidden;
    max-width: none;
}

.post-content th, .post-content td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid #1c2128;
}

.post-content th {
    background-color: #0d1117;
    color: #ffffff;
    font-weight: 600;
}

.post-content td {
    color: #c9d1d9;
}

.post-meta {
    color: #7d8590;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;

}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 1.5rem;
    background-color: #0d1117;
    color: #1d9bf0;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #1c2128;
    transition: all 0.3s ease;
    font-weight: 500;
}

.back-link:hover {
    background-color: #161b22;
    border-color: #21262d;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.post-header {
    margin-bottom: 3rem;
    text-align: center;
    padding-bottom: 2rem;
    background-color: #0d1119;  
    border: 1px solid #21262d;  
    border-radius: 12px;  
    padding: 2rem;  
    margin-bottom: -1rem;  
}

.post-title-single {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: -1rem;
}

.post-date-single {
    color: #8b949e;
    font-size: 1rem;
    font-weight: 500;
}

.post-content {
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-content h2 {
    font-size: 1.8rem;
    border-bottom: 1px solid #21262d;
    padding-bottom: 0.5rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: #e6edf3;
}

.post-content a {
    color: #1d9bf0;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.post-content a:hover {
    border-bottom-color: #1d9bf0;
}

.post-content blockquote {
    border-left: 4px solid #1d9bf0;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #8b949e;
    background-color: #161b22;
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
}

.post-content code {
    background-color: #161b22;
    color: #f85149;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .post-container {
        padding: 1rem;
        max-width: 100%;
    }
    
    .post-content {
        padding: 1.5rem 2rem;
    }
}

@media (min-width: 1200px) {
    .post-container {
        max-width: 1600px;
    }
    
    .post-content {
        padding: 3rem 10rem;
    }
}

@media (min-width: 1600px) {
    .post-container {
        max-width: 1800px;
    }
    
    .post-content {
        padding: 3rem 12rem;
    }
}

.nav-icon {
    margin-right: 1.2rem;
    font-size: 1.1rem;
    width: 1.2rem;
    display: inline-block;
    text-align: center;
}

.nav-link i.nav-icon {
    width: 1.2rem;
    text-align: center;
    margin-right: 1.2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 20px;
    font-weight: 400;
    transition: background-color 0.2s;
    width: auto;
    margin-bottom: 8px;
}

.archive-container {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.archive-sidebar {
    width: 280px;
    background-color: #0d1119;
    border: 1px solid #21262d;
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
}


@keyframes glow {
    0% {
        filter: brightness(1.05) drop-shadow(0 0 3px rgba(255, 255, 255, 0.1));
    }
    50% {
        filter: brightness(1.1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    }
    100% {
        filter: brightness(1.05) drop-shadow(0 0 3px rgba(255, 255, 255, 0.1));
    }
}

.logo:hover {
    animation: glow 1.5s ease-in-out infinite;
    transform: scale(1.01);
}


.archive-sidebar h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #21262d;
}

.year-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.year-list > li {
    margin-bottom: 12px;
}

.year-link {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #0d1117;
    border: 1px solid #21262d;
    margin-bottom: 8px;
}

.year-link:hover {
    background-color: #161b22;
    border-color: #30363d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: #1d9bf0;
}


.month-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 20px;
    padding-left: 0;
}

.month-list li {
    margin-bottom: 6px;
}

.month-list a {
    color: #c9d1d9; 
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 12px;
    display: block;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: #161b22;
    border: 1px solid #30363d;
    font-weight: 400;
    position: relative;
}


.month-list a:before {
    content: "";
    position: absolute;
    left: -12px;
    top: 50%;
    width: 8px;
    height: 1px;
    background-color: #30363d;
    transform: translateY(-50%);
}

.month-list a:hover {
    background-color: #21262d;
    border-color: #484f58;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: #58a6ff;
}

.month-list a:before {
    display: none;
}

.year-link {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #0d1117;
    border: 1px solid #21262d;
    margin-bottom: 8px;
}

.year-link:hover {
    background-color: #161b22;
    border-color: #30363d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: #1d9bf0;
}
@media (max-width: 1024px) {
    .archive-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .archive-sidebar {
        width: 100%;
        position: static;
        order: 2;
    }
    
    .archive-content {
        order: 1;
        padding: 24px;
    }
    
    .month-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding-left: 0;
    }
    
    .month-list li {
        margin-bottom: 0;
    }
    
    .month-list a {
        padding: 8px 12px;
        font-size: 0.9rem;
        border-radius: 20px;
    }
    
    .month-list a:hover {
        transform: translateY(-1px);
    }
}

@media (max-width: 768px) {
    .archive-container {
        padding: 0 10px;
    }
    
    .archive-sidebar {
        padding: 20px;
    }
    
    .archive-content {
        padding: 20px;
    }
    
    .year-link {
        font-size: 1rem;
    }
    
    .month-list {
        gap: 6px;
    }
    
    .month-list a {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
}

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0d1117;
    border-top: 1px solid #21262d;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #8b949e;
    transition: all 0.2s ease;
    padding: 8px 12px;
    border-radius: 12px;
    min-width: 60px;
    position: relative;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
    color: #1d9bf0;
    background-color: rgba(29, 155, 240, 0.1);
    transform: scale(1.05);
}

.mobile-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
    transition: transform 0.2s ease;
}

.mobile-nav-item span {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    line-height: 1;
}

.mobile-nav-item:hover i {
    transform: translateY(-2px);
}
.mobile-nav-item.active {
    color: #1d9bf0;
}

.mobile-nav-item.active::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #1d9bf0;
    border-radius: 0 0 3px 3px;
}
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    .main-content {
        padding-bottom: 80px;
    }
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
}

@media (max-width: 480px) {
    .mobile-nav-item {
        padding: 6px 8px;
        min-width: 50px;
    }
    
    .mobile-nav-item i {
        font-size: 18px;
    }
    
    .mobile-nav-item span {
        font-size: 10px;
    }
}

@supports (padding: max(0px)) {
    .mobile-bottom-nav {
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }
}

.mobile-mode-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #1d9bf0;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 15px 0;
    width: 100%;
    justify-content: center;
}

.mobile-mode-toggle:hover {
    background-color: #1a8cd8;
    transform: translateY(-1px);
}

.mobile-mode-toggle i {
    font-size: 14px;
}

.mobile-settings-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-settings-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(8px);
}

.mobile-settings-panel.show {
    display: flex;
    align-items: flex-end;
    opacity: 1;
    animation: fadeInBackdrop 0.4s ease-out;
}

.settings-content {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-height: 70vh;
    transform: translateY(100%) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.2);
}

.mobile-settings-panel.show .settings-content {
    transform: translateY(0) scale(1);
    animation: slideUpScale 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes fadeInBackdrop {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

@keyframes slideUpScale {
    0% {
        transform: translateY(100%) scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.mobile-footer-section {
    margin-top: 20px;
}

.mobile-footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.3), transparent);
    margin: 0 20px 20px 20px;
}

.mobile-footer-content {
    padding: 0 20px 20px 20px;
    text-align: center;
}

.mobile-footer-info {
    margin-bottom: 15px;
}

.mobile-footer-text {
    color: #8b949e;
    font-size: 12px;
    margin: 0 0 5px 0;
}

.mobile-footer-author {
    color: #58a6ff;
    font-size: 13px;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.mobile-footer-version {
    margin-bottom: 15px;
}

.mobile-version-display {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.mobile-version-display:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.mobile-footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.mobile-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(33, 38, 45, 0.8);
    border: 1px solid rgba(88, 166, 255, 0.2);
    transition: all 0.3s ease;
    color: #8b949e;
}

.mobile-footer-link:hover {
    background: rgba(88, 166, 255, 0.1);
    border-color: rgba(88, 166, 255, 0.4);
    transform: translateY(-2px);
    color: #58a6ff;
}

.mobile-footer-link i {
    font-size: 18px;
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #21262d;
}

.settings-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.settings-close {
    background: none;
    border: none;
    color: #8b949e;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.settings-close:hover {
    background-color: #21262d;
    color: #ffffff;
}

.settings-body {
    padding: 20px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.setting-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.setting-icon {
    color: #1d9bf0;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.setting-text {
    display: flex;
    flex-direction: column;
}

.setting-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
}

.setting-desc {
    color: #8b949e;
    font-size: 13px;
    margin-top: 2px;
}

.ios-toggle-btn {
    position: relative;
    width: 50px;
    height: 30px;
    background-color: #3b82f6;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    outline: none;
}

.ios-toggle-btn:hover {
    background-color: #2563eb;
}

.ios-toggle-btn.active {
    background-color: #1d9bf0;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 26px;
    height: 26px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ios-toggle-btn.active .toggle-slider {
    transform: translateX(-20px);
}

.force-mobile .sidebar {
    transform: translateX(-100%) !important;
}

.force-mobile .main-content {
    margin-left: 0 !important;
    padding-bottom: 80px !important;
}

.force-mobile .mobile-bottom-nav {
    display: flex !important;
}

.force-mobile .mobile-mode-toggle {
    display: none !important;
}

.force-desktop .mobile-bottom-nav {
    display: none !important;
}

.force-desktop .sidebar {
    transform: translateX(0) !important;
}

.force-desktop .main-content {
    margin-left: 294px !important;
    padding-bottom: 20px !important;
}

.force-desktop .mobile-settings-panel {
    display: none !important;
}

@media (max-width: 768px) {
    body:not(.force-desktop) .mobile-bottom-nav {
        display: flex;
    }
    
    body:not(.force-desktop) .sidebar {
        transform: translateX(-100%);
    }
    
    body:not(.force-desktop) .main-content {
        margin-left: 0;
        padding-bottom: 80px;
    }
    
    body:not(.force-desktop) .mobile-mode-toggle {
        display: none;
    }
}

.mobile-version-btn {
    font-size: 14px;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(59, 130, 246, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    vertical-align: middle;
    flex-shrink: 1;
    min-width: 0;
}

.mobile-version-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.mobile-version-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: rgba(59, 130, 246, 0.4);
}

.mobile-version-btn.active:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: rgba(59, 130, 246, 0.6);
}

.version-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    max-width: 100%;
}

.version-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.version-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(145deg, #1a1f2e 0%, #16213e 100%);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 20px;
    width: min(500px, 90vw);
    max-width: 90vw;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(79, 172, 254, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalSlideInConfirm 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

@keyframes modalSlideInConfirm {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    padding: 24px 28px;
    border-bottom: 1px solid rgba(79, 172, 254, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.modal-header h2 {
    color: #ffffff;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    font-weight: normal;
    line-height: 1;
}

.close:hover,
.close:focus {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.modal-body {
    padding: 28px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    line-height: 1.6;
    max-height: calc(80vh - 100px);
    overflow-y: auto;
}

.version-entry {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #21262d;
}

.version-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.version-number {
    color: #58a6ff;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.version-date {
    color: #8b949e;
    font-size: 14px;
    margin-bottom: 12px;
}

.version-changes {
    color: #e6edf3;
    font-size: 14px;
}

.version-changes ul {
    margin: 8px 0;
    padding-left: 20px;
}

.version-changes li {
    margin-bottom: 4px;
}

.version-changes .new {
    color: #3fb950;
}

.version-changes .improved {
    color: #58a6ff;
}

.version-changes .fixed {
    color: #f85149;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #484f58;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 0;
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-body {
        padding: 20px;
        max-height: 70vh;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
}

.mobile-version-btn img {
    transition: all 0.3s ease;
    vertical-align: middle;
    filter: invert(0.55);
}

.mobile-version-btn:hover img {
    filter: invert(0.8);
    transform: scale(1.1);
}

.mobile-version-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}
.version-modal-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.version-modal-mobile.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 998;
}

.modal-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.modal-content-mobile {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(10px);
    max-width: 95vw;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    width: calc(100vw - 32px);
    height: calc(100vh - 32px);
    animation: modalSlideInMobile 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
}

@keyframes modalSlideInMobile {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header-mobile {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 60px;
    flex-wrap: nowrap;
}

.modal-header-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(29, 78, 216, 0.1) 100%);
    border-radius: 12px 12px 0 0;
}

.modal-header-mobile h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 12px;
}

.modal-close-mobile {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.modal-close-mobile:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.modal-close-top {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1000;
}

.modal-close-top:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-close-top:active {
    transform: scale(0.95);
}

.modal-close-large {
    background: #da3633;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.2s ease;
    position: absolute;
    top: 16px;
    right: 16px;
}

.modal-close-large:hover {
    background: #f85149;
    transform: scale(1.1);
}

.modal-close-large:active {
    transform: scale(0.95);
}

.modal-close-large span:first-child {
    font-size: 18px;
    font-weight: bold;
}

.modal-body-mobile {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
    background: transparent;
    height: calc(100% - 100px);
}

.modal-body-mobile::-webkit-scrollbar {
    width: 8px;
}

.modal-body-mobile::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-body-mobile::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-body-mobile::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #60a5fa, #2563eb);
}

.version-entry-mobile {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(29, 78, 216, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.version-entry-mobile:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(29, 78, 216, 0.1) 100%);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    padding-left: 20px;
}

.version-entry-mobile:last-child {
    margin-bottom: 0;
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.version-entry-mobile .version-number {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.version-entry-mobile .version-date {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 4px 0 8px 0;
}

.version-entry-mobile .version-changes h4 {
    color: #e5e7eb;
    margin: 0 0 8px 0;
    font-size: 1rem;
}

.version-entry-mobile .version-changes ul {
    margin: 0;
    padding-left: 20px;
    color: #d1d5db;
}

.version-entry-mobile .version-changes li {
    margin-bottom: 4px;
    line-height: 1.4;
}

.version-number {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.version-date {
    color: #7d8590;
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 16px;
}

.version-changes h4 {
    color: #f0f6fc;
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
}

.version-changes ul {
    margin: 0;
    padding-left: 20px;
    color: #c9d1d9;
}

.version-changes li {
    margin-bottom: 8px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .modal-container {
        padding: 16px;
        align-items: center;
        justify-content: center;
    }
    
    .modal-content-mobile {
        max-height: 85vh;
        height: auto;
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        border-radius: 16px;
        animation: fadeIn 0.3s ease-out;
        background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
        border: 1px solid rgba(59, 130, 246, 0.3);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 1000;
        position: relative;
    }
    
    .modal-header-mobile h3 {
        font-size: 1rem;
    }
    
    .modal-close-mobile {
        width: 28px;
        height: 28px;
    }
    
    .modal-close-large {
        width: 100%;
        padding: 16px;
        font-size: 18px;
        border-radius: 12px;
    }
    
    .modal-body-mobile {
        padding: 20px;
        max-height: 70vh;
    }
    
    .version-entry-mobile {
        padding: 16px;
        margin-bottom: 24px;
    }
    
    .version-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideUpMobile {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.version-modal-mobile.show {
    display: block;
}

.modal-close-border {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #da3633;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.modal-close-border:hover {
    background: #f85149;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.modal-close-border:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .modal-close-border {
        top: -12px;
        right: 16px;
        padding: 6px 12px;
        font-size: 13px;
    }
}

.version-modal-desktop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.version-modal-desktop.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop-desktop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-container-desktop {
    position: relative;
    z-index: 1001;
    padding: 15px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 95vw;
    max-height: 90vh;
}

.modal-content-desktop {
    background: linear-gradient(145deg, #1a1f2e 0%, #16213e 100%);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 20px;
    width: min(790px, 100%);
    max-width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(79, 172, 254, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalSlideInDesktop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

@keyframes modalSlideInDesktop {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header-desktop {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    padding: 24px 28px;
    border-bottom: 1px solid rgba(79, 172, 254, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-header-desktop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.modal-header-desktop h3 {
    color: #ffffff;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.modal-close-desktop {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.modal-close-desktop:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-body-desktop {
    padding: 0;
    max-height: calc(80vh - 100px);
    overflow-y: auto;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.modal-body-desktop::-webkit-scrollbar {
    width: 8px;
}

.modal-body-desktop::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

.modal-body-desktop::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    border-radius: 4px;
}

.version-entry-desktop {
    padding: 28px;
    border-bottom: 1px solid rgba(79, 172, 254, 0.1);
    position: relative;
    transition: all 0.3s ease;
    margin-right: 8px;
}

.version-entry-desktop:last-child {
    border-bottom: none;
}

.version-entry-desktop:hover {
    background: rgba(79, 172, 254, 0.05);
    transform: translateX(4px);
}

.version-header-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.version-number-desktop {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(79, 172, 254, 0.3);
}

.version-date-desktop {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
}

.version-changes-desktop {
    color: #e2e8f0;
    line-height: 1.6;
}

.version-changes-desktop h4 {
    color: #f1f5f9;
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
}

.version-changes-desktop ul {
    margin: 0;
    padding-left: 20px;
}

.version-changes-desktop li {
    margin-bottom: 8px;
    position: relative;
}

.version-changes-desktop li::marker {
    color: #3b82f6;
}

@media (max-width: 768px) {
    .version-modal-desktop {
        display: none !important;
    }
}

.footer-version:not(.mobile-version-btn):hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}


.post-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.post-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content-post {
    background: linear-gradient(145deg, #1a1f2e 0%, #16213e 100%);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 20px;
    width: min(1400px, 95vw);
    max-width: 95vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(79, 172, 254, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalSlideInPost 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1002;
}

@keyframes modalSlideInPost {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header-post {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    padding: 28px 32px;
    border-bottom: 1px solid rgba(79, 172, 254, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.modal-header-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.modal-header-post h2 {
    color: #ffffff;
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    text-align: center;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.modal-close-post {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    font-weight: normal;
    line-height: 1;
    position: absolute;
    right: 24px;
    top: 35%;
    transform: translateY(-5%);
}

.modal-close-post:hover,
.modal-close-post:focus {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.modal-body-post {
    padding: 28px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    line-height: 1.6;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.modal-body-post::-webkit-scrollbar {
    width: 8px;
}

.modal-body-post::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

.modal-body-post::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    border-radius: 4px;
}

.modal-body-post::-webkit-scrollbar-thumb:hover {
    background: #484f58;
}

.post-content-modal {
    color: #e2e8f0;
}

.post-content-modal h1,
.post-content-modal h2,
.post-content-modal h3,
.post-content-modal h4,
.post-content-modal h5,
.post-content-modal h6 {
    color: #ffffff;
    margin-top: 24px;
    margin-bottom: 16px;
}

.post-content-modal p {
    margin-bottom: 16px;
}

.post-content-modal img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

.post-content-modal a {
    color: #58a6ff;
    text-decoration: none;
}

.post-content-modal a:hover {
    text-decoration: underline;
}

.post-content-modal ul,
.post-content-modal ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.post-content-modal li {
    margin-bottom: 8px;
}

@media (min-width: 768px) {

    .post-content-modal blockquote {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin: 16px 0 !important;
        font-style: normal !important;
    }
    .post-content-modal blockquote h2 {
        background: transparent !important;
        border-left: 4px solid #1d9bf0 !important;
        border-bottom: 0.6px solid #b8b8b8 !important;
        border-radius: 0 !important;
        padding: 12px 20px !important;
        margin: 0 0 16px 0 !important;
        color: #ffffff !important;
        font-size: 1.8rem !important;
        font-weight: 550 !important;
    }

    .post-content-modal blockquote p,
    .post-content-modal blockquote ul,
    .post-content-modal blockquote li {
        background: transparent !important;
        border: none !important;
        color: #e1e8ed !important;
        padding: 0 !important;
        margin: 8px 0 !important;
    }

    .post-content-modal blockquote h3,
    .post-content-modal blockquote h4 {
        color: #58a6ff;
        margin: 0 0 12px 0;
        font-weight: 600;
        font-style: normal;
    }
}

.post-content-modal code {
    background: rgba(79, 172, 254, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #58a6ff;
}

.post-content-modal pre {
    background: rgba(15, 23, 42, 0.8);
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 16px 0;
}

.post-content-modal pre code {
    background: none;
    padding: 0;
    color: #e2e8f0;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(79, 172, 254, 0.2);
    border-top: 4px solid #58a6ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    color: #8b949e;
    margin: 0;
}
@media (max-width: 768px) {
    .modal-content-post {
        width: 95vw;
        max-height: 95vh;
        margin: 0;
    }
    
    .modal-header-post {
        padding: 20px;
    }
    
    .modal-header-post h2 {
        font-size: 18px;
    }
    
    .modal-body-post {
        padding: 20px;
        max-height: calc(95vh - 80px);
    }
}