body {
    font-family: Arial, sans-serif;
    background-image: url(Noc.png);
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px;
}
h1, h2 {
    color: #4a8fe7;
}
h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
}
.forum-section {
    background-color: #16213e;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.forum-categories, .recent-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.category, .post {
    background-color: #1f2b4d;
    border-radius: 8px;
    padding: 15px;
    transition: transform 0.3s ease;
}
.category:hover, .post:hover {
    transform: scale(1.03);
}
.category h3, .post h3 {
    margin-top: 0;
    color: #4a8fe7;
}
.category-stats, .post-meta {
    font-size: 0.9em;
    color: #a0a0a0;
}
.button {
    display: inline-block;
    background-color: #4a8fe7;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1em;
}
.button:hover {
    background-color: #3a7fd7;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    background-color: #16213e;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #4a8fe7;
    border-radius: 8px;
    width: 50%;
    max-width: 500px;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover,
.close:focus {
    color: #4a8fe7;
    text-decoration: none;
    cursor: pointer;
}
.modal input[type="text"],
.modal textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #4a8fe7;
    background-color: #1f2b4d;
    color: #ffffff;
}
.modal textarea {
    height: 150px;
    resize: vertical;
}
@media (max-width: 768px) {
    .forum-categories, .recent-posts {
        grid-template-columns: 1fr;
    }
    .modal-content {
        width: 80%;
    }
}