body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    font-family: monospace;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    opacity: 0;
    animation: fadeInPage 1.5s ease-out forwards;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
    background-color: #fff;
    width: 1px;
    height: 1px;
    border-radius: 50%;
    opacity: 0.5;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

.top-buttons {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 1;
}

.top-button {
    color: #fff;
    font-family: monospace;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-button:hover {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.main-container {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 1400px;
    height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
    padding: 40px;
    box-sizing: border-box;
    overflow-y: auto;
    gap: 15px;
    align-items: center;
}

.blog-post {
    width: 48%;
    height: 220px;
    border: 1px solid #333333;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 25px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.blog-post:hover {
    transform: translateY(-2px);
    border-color: #444;
}

.blog-post:nth-child(odd) {
    align-self: flex-start;
    transform: translateX(-40px) translateY(0);
}

.blog-post:nth-child(even) {
    align-self: flex-end;
    transform: translateX(40px) translateY(-30px);
}

.blog-post:nth-child(odd):hover {
    transform: translateX(-40px) translateY(-2px);
}

.blog-post:nth-child(even):hover {
    transform: translateX(40px) translateY(-32px);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.post-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-title {
    font-size: 18px;
    color: #fff;
}

.new-label {
    font-size: 12px;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.post-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.post-preview {
    position: absolute;
    left: 25px;
    right: 25px;
    top: 70px;
    bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.2;
    text-align: left;
    overflow: hidden;
    max-height: calc(100% - 85px);
}

.post-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.view-count::before {
    content: "👁 ";
    margin-right: 4px;
}

@media screen and (max-width: 768px) {
    .main-container {
        width: 90%;
        padding: 20px;
    }

    .blog-post {
        width: 95%;
    }

    .blog-post:nth-child(odd),
    .blog-post:nth-child(even) {
        transform: none;
    }

    .blog-post:nth-child(odd):hover,
    .blog-post:nth-child(even):hover {
        transform: translateY(-2px);
    }
}

@media screen and (max-width: 480px) {
    .main-container {
        padding: 15px;
        top: 70px;
        height: calc(100vh - 100px);
    }

    .no-posts-message {
        font-size: 13px;
    }
}

.no-posts-message {
    color: #ffffffda;
    font-size: 15px;
}

.copyright {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.bottom-left-image {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 222px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.bottom-left-image:hover {
    opacity: 1;
} 