html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    background: #080616;
    color: #ffffff;
}

body {
   
    flex-direction: column;
    min-height: 100vh;
}

#tartalom {

    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(47,47,228,0.4);
    }
    50% {
        box-shadow: 0 0 18px rgba(47,47,228,0.7);
    }
}

#menu-wrapper {
    width: 100%;
    background: #1A1953;
    border-bottom: 2px solid #2F2FE4;
    z-index: 2000;
    animation: glowPulse 2s infinite;
}

@media (min-width: 701px) {
    #menu-wrapper {
        position: static;
    }
}

#menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 14px 0;
}

#menu a {
    padding: 12px 20px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px;

    background: #1A1953;
    border: 2px solid rgba(47,47,228,0.4);

    box-shadow:
        0 4px 12px rgba(0,0,0,0.5),
        0 0 10px rgba(47,47,228,0.3),
        inset 0 0 8px rgba(47,47,228,0.2);

    transition: 0.25s ease;
}

#menu a:hover {
    box-shadow: 0 0 18px rgba(47,47,228,0.8);
    transform: translateY(-2px);
}

#menu a:active {
    transform: scale(0.96);
}

#menu a.active {
    background: #2F2FE4;
    box-shadow: 0 0 15px rgba(47,47,228,0.7);
}

#hamburger {
    display: none;
}

@media (max-width: 700px) {

    #hamburger {
        display: block;
        position: fixed;
        top: 10px;
        left: 10px;
        font-size: 22px;
        padding: 10px 14px;
        z-index: 3000;

        background: rgba(22, 46, 147, 0.9);
        border-radius: 10px;
        cursor: pointer;
        border: 1px solid rgba(255,255,255,0.2);
    }

    #menu-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 2500;
    }

    #menu-wrapper.open {
        transform: translateY(0);
    }

    #menu {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        padding: 20px 0;
    }

    #menu a {
        width: 80%;
        text-align: center;
        font-size: 20px;
        padding: 14px;
    }
}

.kezdoszoveg {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
    padding: 30px;
    background: #1A1953;
    border-radius: 14px;
    border-left: 6px solid #162E93;
}

.ujtagok-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.ujtag-kartya {
    text-align: center;
    width: 150px;
    background: #1A1953;
    padding: 15px;
    border-radius: 12px;
}

.rendezveny-kartya {
    background: #1A1953;
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    box-sizing: border-box;
}

@media (max-width: 700px) {
    .rendezveny-kartya {
        width: 95%;
    }
}

#topBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #162E93;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
}

footer {
    width: 100%;
    margin: 0;
    padding: 30px;
    box-sizing: border-box;
    display: block;
    background: #1A1953;
    border-top: 4px solid #162E93;
    text-align: center;
    
}
footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: 0.25s ease;
    opacity: 0.85;
}

footer a:hover {
    opacity: 1;
    text-shadow: 0 0 6px rgba(255,255,255,0.8);
    transform: translateY(-1px);
}

footer a:active {
    transform: translateY(0);
    text-shadow: 0 0 3px rgba(255,255,255,0.6);
}