@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Goldman:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    color: white;
    font-family: 'IBM Plex Serif', serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Fejléc */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    z-index: 10;
}

.logo {
    position: absolute;
    left: 40px;
    top: 20px;
}

    .logo img {
        height: 60px;
        border-radius: 30px;
    }

.nav-center {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(50, 50, 50, 0.6);
    border-radius: 30px;
    padding: 10px 30px;
    backdrop-filter: blur(10px);
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    font-family: 'IBM Plex Serif', serif;
    transition: color 0.2s;
}

    nav a:hover {
        color: #ff3b3b;
    }

    nav a.tagok {
        color: #ff3b3b;
    }

/* Oldal tartalom */
.oldal {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 20px 60px;
    background: radial-gradient(ellipse at 60% 40%, rgba(255,39,44,0.07) 0%, transparent 60%), radial-gradient(ellipse at 20% 80%, rgba(255,39,44,0.04) 0%, transparent 50%), #0a0a0a;
}

/* Doboz */
.doboz {
    width: 100%;
    max-width: 460px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 48px 44px;
    backdrop-filter: blur(20px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

    .doboz h1 {
        font-family: 'Goldman', cursive;
        font-size: 1.8rem;
        font-weight: 700;
        color: white;
        text-align: center;
        margin-bottom: 8px;
        letter-spacing: 0.02em;
    }

    .doboz .alcim {
        text-align: center;
        color: rgba(255,255,255,0.4);
        font-size: 0.9rem;
        margin-bottom: 36px;
    }

/* Szerep választó */
.szerep-valaszto {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
}

.szerep-opcio {
    flex: 1;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    cursor: pointer;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.6);
    font-family: 'IBM Plex Serif', serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}

    .szerep-opcio:hover {
        border-color: rgba(255,255,255,0.25);
        color: white;
    }

    .szerep-opcio.kivalasztva {
        background: rgba(255,39,44,0.15);
        border-color: rgba(255,39,44,0.5);
        color: white;
    }

/* Form mezők */
.mezo-csoport {
    margin-bottom: 18px;
}

label {
    display: block;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 13px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: white;
    font-family: 'IBM Plex Serif', serif;
    font-size: 1rem;
    transition: border-color 0.2s, background 0.2s;
}

    input[type="text"]:focus,
    input[type="password"]:focus {
        outline: none;
        border-color: rgba(255,59,59,0.5);
        background: rgba(255,255,255,0.07);
    }

input::placeholder {
    color: rgba(255,255,255,0.2);
}

/* Gomb */
.gomb {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    background: #ff3b3b;
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Goldman', cursive;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.03em;
}

    .gomb:hover {
        background: #e60000;
        transform: translateY(-1px);
        box-shadow: 0 8px 24px rgba(255,39,44,0.3);
    }

/* Link */
.link-sor {
    text-align: center;
    margin-top: 20px;
}

#jelszo-beallitas {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s;
}

    #jelszo-beallitas:hover {
        color: white;
    }

/* Üzenet */
.uzenet {
    font-family: 'IBM Plex Serif', serif;
    font-size: 0.88rem;
    padding: 10px 14px;
    border-radius: 10px;
    margin-top: 14px;
    display: none;
    text-align: center;
}

    .uzenet.hiba {
        color: #ff4d4d;
        background: rgba(255,77,77,0.1);
        border: 1px solid rgba(255,77,77,0.3);
        display: block;
    }

    .uzenet.siker {
        color: #4dff91;
        background: rgba(77,255,145,0.1);
        border: 1px solid rgba(77,255,145,0.3);
        display: block;
    }

/* Lábléc */
.site-footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px;
    text-align: center;
    font-family: 'IBM Plex Serif', serif;
}

.footer-title {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-subtitle {
    color: rgba(255,255,255,0.35);
    font-size: 0.8rem;
    margin-top: 4px;
}


.footer-emails {
    margin-top: 10px;
}

    .footer-emails p {
        font-size: 0.85rem;
        color: #9a9a9a;
        margin: 4px 0;
    }

    .footer-emails a {
        color: #ff4d4d;
        text-decoration: none;
        transition: color 0.2s;
    }

        .footer-emails a:hover {
            color: #ffffff;
        }




/* JELSZÓ ERŐSSÉG */
.jelszo-ero {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.ero-sor {
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: rgba(255,255,255,0.08);
    transition: background 0.4s ease;
}

.ero-sor.gyenge  { background: #ff4d4d; }
.ero-sor.kozepes { background: #ffa500; }
.ero-sor.eros    { background: #4dff91; }

.ero-felirat {
    font-size: 0.78rem;
    margin: 5px 0 10px;
    font-family: 'IBM Plex Serif', serif;
    color: rgba(255,255,255,0.4);
    min-height: 16px;
    transition: color 0.3s;
}

.ero-felirat.gyenge  { color: #ff4d4d; }
.ero-felirat.kozepes { color: #ffa500; }
.ero-felirat.eros    { color: #4dff91; }

/* KÖVETELMÉNYEK */
.jelszo-kovetek {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    margin-top: 4px;
}

.kovetelmeny {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}

.kovetelmeny .kov-ikon {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    transition: all 0.3s;
    flex-shrink: 0;
}

.kovetelmeny .kov-szoveg {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    font-family: 'IBM Plex Serif', serif;
    transition: color 0.3s;
}

.kovetelmeny.teljesult {
    background: rgba(77,255,145,0.07);
    border-color: rgba(77,255,145,0.2);
}

.kovetelmeny.teljesult .kov-ikon {
    color: #4dff91;
}

.kovetelmeny.teljesult .kov-szoveg {
    color: #4dff91;
}

.kovetelmeny.nem-teljesult.aktiv {
    background: rgba(255,77,77,0.07);
    border-color: rgba(255,77,77,0.2);
}

.kovetelmeny.nem-teljesult.aktiv .kov-ikon {
    color: #ff4d4d;
}

.kovetelmeny.nem-teljesult.aktiv .kov-szoveg {
    color: rgba(255,255,255,0.5);
}
/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 32px;
    padding: 8px;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.aktiv span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.aktiv span:nth-child(2) { opacity: 0; }
.hamburger.aktiv span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobil-menu {
    display: none;
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    background: rgba(15,15,15,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    z-index: 99;
}

.mobil-menu.nyitva { display: flex; }

.mobil-menu a {
    color: white;
    text-decoration: none;
    font-family: 'IBM Plex Serif', serif;
    font-size: 1rem;
    padding: 14px 16px;
    border-radius: 10px;
    transition: background 0.2s;
}

.mobil-menu a:hover { background: rgba(255,255,255,0.06); }
.mobil-menu a.active { color: #ff3b3b; }

@media (max-width: 900px) {
    .nav-center { display: none; }
    .hamburger { display: flex; }
}
/* Reszponziv */
@media (max-width: 768px) {
    .nav-center {
        padding: 8px 16px;
    }

    nav a {
        margin: 0 8px;
        font-size: 0.9rem;
    }

    .doboz {
        padding: 36px 28px;
    }
}

@media (max-width: 480px) {
    .logo {
        left: 15px;
    }

    .doboz {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .szerep-valaszto {
        flex-direction: column;
    }
}
