/*Ha lopod a css em akkor este az agyad elott leszek es reggelre nem lesz vesed/fitymad*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

html {
    font-size: 62.5%;
    /* 1rem = 10px */
}

body {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black;
    color: white;
}

header {
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 3rem;
    color: #9D00FF;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover {
    transform: scale(1.1);
}

nav {
    display: flex;
}

nav a {
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
    color: #9D00FF;
    border-bottom: 3px solid #9D00FF;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
}

@media (max-width: 995px) {
    .hamburger {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        width: 40%;
        border-left: 3px solid #9D00FF;
        border-bottom: 3px solid #9D00FF;
        border-bottom-left-radius: 2rem;
        padding: 1rem;
        background-color: #000000;
    }

    nav.active {
        display: block;
    }

    nav a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }
}


.center {
    /* min-height: 100vh;  <-- EZT TÖRÖLD vagy kommentezd ki! */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* vagy: unset */
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}
        .loader {
            border: 8px solid #f3f3f3;
            border-top: 8px solid #3498db;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            animation: spin 1s linear infinite;
            margin: 40px auto;
            display: none;
        }
        @keyframes spin {
            0% { transform: rotate(0deg);}
            100% { transform: rotate(360deg);}
        }
        #downloadText {
            display: none;
        }

                #downloadText, #retrySection {
            display: none;
        }

        .site-footer {
    width: 100%;
    background: #0c0c0c;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    left: 0;
    bottom: 0;
    font-size: 1.1rem;
    letter-spacing: 1px;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.main-title {
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #9D00FF;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px #000, 0 0px 40px #9D00FF44;
    line-height: 80px; /* igazítsd a header magasságához */
    height: 80px;      /* igazítsd a header magasságához */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: static;
    width: 100%;
    max-width: 100vw;
    word-break: break-word;
    overflow-wrap: break-word;
    padding: 0;
    box-sizing: border-box;
}

 .changelog-list {
            max-width: 700px;
            margin: 4rem auto 2rem auto;
            padding: 2rem;
            background: #181818;
            border-radius: 1.5rem;
            box-shadow: 0 2px 16px #0008;
        }
        .changelog-item {
            margin-bottom: 2.5rem;
        }
        .changelog-title {
            font-size: 2rem;
            color: #9D00FF;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        .changelog-desc {
            font-size: 1.2rem;
            color: #eee;
            margin-left: 1rem;
        }

        .server-ip {
    text-align: center;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    font-weight: 600;
    text-shadow: 0 1px 8px #000;
}

.changelog-list,
.changelog-preview {
    max-width: 300px;
    width: 100%;
    margin: 2rem 2rem 2rem auto;   /* JOBB oldalra igazítás */
    padding: 1.2rem 1.5rem;
    background: #181818;
    border-radius: 1.5rem;
    box-shadow: 0 2px 16px #0008;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    word-break: break-word;
    overflow-wrap: break-word;
    position: relative;
}

/* Changelog cím középre, a doboz felett */
.changelog-section-title {
    display: block;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #9D00FF;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    margin-top: -2.2rem; /* feljebb tolja a címet a dobozhoz képest */
    width: 100%;
    position: absolute;
    left: 50%;
    top: -2.2rem;
    transform: translateX(-50%);
    z-index: 2;
    background: transparent;
    pointer-events: none;
}

/* Changelog elemek */
.changelog-item {
    margin-bottom: 2rem;
    width: 100%;
}

.changelog-title {
    font-size: 1.5rem;
    color: #9D00FF;
    font-weight: 700;
    margin-bottom: 0.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
    text-align: left;
    width: 100%;
}

.changelog-desc {
    font-size: 1.1rem;
    color: #eee;
    margin-left: 0.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-line;
    text-align: left;
    width: 100%;
}

/* Mobil nézetben legyen teljes szélességű */
@media (max-width: 700px) {
    .changelog-list,
    .changelog-preview {
        max-width: 98vw;
        margin: 2rem auto;
        align-items: flex-start;
    }
}