body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1e1e1e;
    color: #ffffff;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #444;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: calc(100% - 20px);
    z-index: 1000;
}

    nav a {
        margin: 0 15px;
        text-decoration: none;
        color: #ffffff;
        font-size: 18px;
    }

        nav a:hover {
            color: #7cf1e7;
        }

.nav-left {
    display: flex;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
}

    .nav-right img {
        height: 30px;
        margin: 5px 10px 5px 0;
        object-fit: contain;
    }

.nav-item {
    margin-left: 15px;
    color: #888888;
    font-size: 16px;
    display: none;
}

    .nav-item.active {
        display: inline;
    }

.carousel {
    margin: 80px auto 10px;
    padding: 20px 0;
    background: #2c2c2c;
    display: flex;
    align-items: center;
    justify-content: left;
    position: relative;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
    margin-left: 20px;
}

.carousel img {
    border-radius: 5px;
    object-fit: cover;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #7cf1e7;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 100;
    font-size: 18px;
    border-radius: 5px;
}

    .carousel-btn:hover {
        background: #7cf1e7;
        color: #2c2c2c;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

    .modal.active {
        display: flex;
    }

.modal-content {
    background: rgba(44, 44, 44, 0.85);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    width: 800px;
    position: absolute;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

    .modal-content h2 {
        margin: 10px 0;
        color: #7cf1e7;
    }

    .modal-content input, .modal-content textarea {
        width: 760px;
        margin: 5px auto;
        padding: 10px;
        border: 1px solid #555;
        border-radius: 5px;
        background: #1e1e1e;
        color: #ffffff;
        resize: none;
    }

    .modal-content button {
        padding: 10px 20px;
        margin: 10px auto;
        border: none;
        border-radius: 5px;
        background: #7cf1e7;
        color: #2c2c2c;
        font-size: 16px;
        cursor: pointer;
    }

        .modal-content button:hover {
            background: #62d4c9;
        }

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    color: #ffffff;
}

.forum-container {
    max-width: 1200px;
    margin: 10px auto 0;
    padding: 10px 20px 20px 20px;
}

.forum-category {
    margin-bottom: 15px;
}

    .forum-category h2 {
        color: #7cf1e7;
        margin-bottom: 10px;
    }

.forum-thread {
    background: #2c2c2c;
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease;
}

    .forum-thread:hover {
        background-color: #3a3a3a;
        cursor: pointer;
    }

    .forum-thread h3 {
        margin: 0;
        font-size: 24px;
        color: #ffffff;
    }

    .forum-thread p {
        margin: 5px 0;
        color: #bbbbbb;
    }

.author {
    color: #7cf1e7;
}

footer {
    background: #2c2c2c;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    border-top: 2px solid #444;
}

    footer p {
        margin: 0;
        font-size: 14px;
        color: #7cf1e7;
    }
    footer p a { text-decoration: none; color:#7cf1e7; }

#userStatus {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    color: #888888;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 3000;
    justify-content: center;
    align-items: center;
}

    .overlay.active {
        display: flex;
    }

.overlay-image {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.close-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
    z-index: 3100;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 5px;
}
