
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f1f3f1;
    color: #222222;
}

.fejlec {
    min-height: 360px;
    padding: 50px 8%;

    display: flex;
    justify-content: center;
    align-items: center;

    color: white;
    text-align: center;

    background:
        linear-gradient(
            rgba(0, 70, 28, 0.78),
            rgba(0, 35, 14, 0.9)
        ),
        url("../img/stadion.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fejlec-tartalom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.klub-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;

    background-color: white;
    border: 5px solid white;
    border-radius: 50%;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);

    transition: transform 0.3s ease;
}

.klub-logo:hover {
    transform: scale(1.06);
}

.klub-adatok h1 {
    margin-bottom: 10px;

    font-size: 52px;
    text-transform: uppercase;
    letter-spacing: 3px;

    text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.65);
}

.klub-felirat {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 16px;

    background-color: white;
    color: #08752e;

    border-radius: 20px;

    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu {
    background-color: #064e20;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.menu a {
    color: white;
    text-decoration: none;
    padding: 18px 22px;
    font-weight: bold;
    transition: 0.2s;
}

.menu a:hover,
.menu .aktiv {
    background-color: white;
    color: #08752e;
}

.kiemelt {
    min-height: 480px;
    padding: 60px 8%;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(0, 75, 30, 0.82), rgba(0, 45, 18, 0.88));
}

.kiemelt-tartalom {
    max-width: 750px;
    color: white;
}

.bajnoksag {
    display: inline-block;
    background-color: white;
    color: #08752e;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.kiemelt h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.kiemelt-tartalom > p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.gomb,
button {
    display: inline-block;
    background-color: white;
    color: #08752e;
    border: none;
    padding: 14px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.gomb:hover,
button:hover {
    background-color: #d9f4e0;
}

.dobozok {
    width: 88%;
    max-width: 1200px;
    margin: 45px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.doboz {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.doboz h2 {
    color: #08752e;
    margin-bottom: 25px;
    border-bottom: 3px solid #08752e;
    padding-bottom: 10px;
}

.doboz h3 {
    margin-bottom: 12px;
}

.doboz p {
    line-height: 1.6;
    margin-bottom: 12px;
}

.doboz button {
    margin-top: 10px;
    background-color: #08752e;
    color: white;
}

.meccs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.csapat {
    flex: 1;
}

.kis-logo {
    width: 75px;
    height: 75px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background-color: #08752e;
    color: white;
    border: 3px solid #064e20;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.ellenfel {
    background-color: #777777;
    border-color: #555555;
}

.meccs-adatok {
    flex: 1;
}

.meccs-adatok strong {
    display: block;
    color: #08752e;
    font-size: 28px;
    margin-bottom: 12px;
}

.rejtett {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background-color: #edf8f0;
    border-left: 4px solid #08752e;
}

footer {
    background-color: #064e20;
    color: white;
    text-align: center;
    padding: 25px;
}

footer p {
    margin: 5px;
}

@media screen and (max-width: 800px) {

    .fejlec {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .fejlec h1 {
        font-size: 30px;
    }

    .kiemelt {
        min-height: 400px;
        text-align: center;
    }

    .kiemelt h2 {
        font-size: 34px;
    }

    .kiemelt-tartalom > p {
        font-size: 17px;
    }

    .dobozok {
        grid-template-columns: 1fr;
    }

    .meccs {
        flex-direction: column;
    }

    .meccs-adatok {
        margin: 15px 0;
    }
}
.oldal-tartalom {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
}

.oldal-fejlec {
    text-align: center;
    margin-bottom: 40px;
}

.oldal-fejlec h2 {
    color: #08752e;
    font-size: 42px;
    margin-bottom: 10px;
}

.oldal-fejlec p {
    font-size: 18px;
    color: #555555;
}

.meccslista {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.meccslista > h2 {
    width: 100%;
}

.meccs-kartya {
    width: min(800px, 100%);
    margin: 20px auto;
    padding: 25px;

    background-color: white;
    border-radius: 12px;
    border-left: 7px solid #08752e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.meccs-kartya:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.fordulo {
    color: #08752e;
    font-weight: bold;
    margin-bottom: 18px;
}

.meccs-csapatok {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
}

.meccs-csapatok span {
    color: #08752e;
    font-size: 28px;
    font-weight: bold;
}

.meccs-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    color: #555555;
}

.meccs-info p {
    margin: 0;
}

.lejatszott {
    border-left-color: #777777;
    opacity: 0.9;
}

.meccs-csapatok .eredmeny {
    background-color: #08752e;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
}

@media screen and (max-width: 700px) {

    .oldal-fejlec h2 {
        font-size: 34px;
    }

    .meccs-csapatok {
        flex-direction: column;
        gap: 8px;
        font-size: 19px;
    }

    .meccs-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

}
.meccslista {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.meccslista > h2 {
    width: 100%;
    text-align: center;
}

.meccs-kartya {
    display: block;
    width: 80%;
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
}

.fordulo {
    text-align: center;
}

.meccs-csapatok {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.meccs-info {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
@media screen and (max-width: 700px) {

    .fejlec {
        min-height: 320px;
        padding: 40px 20px;
    }

    .klub-logo {
        width: 115px;
        height: 115px;
    }

    .klub-adatok h1 {
        font-size: 34px;
        letter-spacing: 1px;
    }

    .klub-jelmondat {
        font-size: 16px;
    }

}
.visszaszamlalo{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-top:25px;

    flex-wrap:wrap;

}

.visszaszamlalo div{

    width:85px;

    background:#08752e;

    color:white;

    padding:15px;

    border-radius:10px;

    text-align:center;

    box-shadow:0 4px 10px rgba(0,0,0,.2);

}

.visszaszamlalo span{

    display:block;

    font-size:34px;

    font-weight:bold;

}

.visszaszamlalo small{

    font-size:15px;

}
.meccs-csapatok {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 35px;
    margin-bottom: 25px;
}

.meccs-csapat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.meccs-csapat img {
    width: 95px;
    height: 95px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.meccs-csapat img:hover {
    transform: scale(1.08);
}

.meccs-csapat strong {
    font-size: 20px;
}

.meccs-vs {
    font-size: 28px;
    font-weight: bold;
    color: #08752e;
}
@media screen and (max-width: 700px) {

    .meccs-csapatok {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .meccs-csapat img {
        width: 80px;
        height: 80px;
    }

}
.tabella-doboz {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 50px;
    padding: 25px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
}

.tabella-gorgeto {
    width: 100%;
    overflow-x: auto;
}

.tabella {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.tabella th {
    padding: 16px 12px;
    background-color: #08752e;
    color: white;
    text-align: center;
    font-size: 18px;
}

.tabella th:nth-child(2) {
    text-align: left;
}

.tabella td {
    padding: 16px 12px;
    border-bottom: 1px solid #dddddd;
    text-align: center;
    font-size: 17px;
}

.tabella td:nth-child(2) {
    text-align: left;
}

.tabella tbody tr {
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.tabella tbody tr:hover {
    background-color: #edf8f0;
}

.tabella tbody tr:first-child {
    background-color: #dcf5e3;
    border-left: 5px solid #08752e;
}

.csapat-nev {
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    font-size: 18px;
}

.csapat-nev img,
.ures-cimer {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    object-fit: contain;
}

.ures-cimer {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #777777;
    color: white;
}

.jelmagyarazat {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    color: #555555;
    font-size: 14px;
}

.jelmagyarazat p {
    margin: 0;
}

@media screen and (max-width: 700px) {

    .tabella-doboz {
        padding: 15px;
    }

    .tabella th,
    .tabella td {
        padding: 12px 9px;
    }

}
.poszt-resz {
    margin-bottom: 50px;
}

.poszt-resz > h2 {
    color: #08752e;
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 3px solid #08752e;
}

.jatekos-racs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.jatekos-kartya {
    overflow: hidden;
    background-color: white;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jatekos-kartya:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

.jatekos-kep {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        145deg,
        #08752e,
        #064e20
    );
}



.mezszam {
    position: absolute;
    right: 14px;
    bottom: 12px;

    width: 75px;
    height: 75px;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: white;
    color: #08752e;

    border-radius: 50%;
    border: 3px solid #08752e;

    font-size: 34px;
    font-weight: bold;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.jatekos-adatok {
    padding: 20px;
    text-align: center;
}

.jatekos-adatok h3 {
    margin-bottom: 8px;
    color: #222222;
    font-size: 21px;
}

.jatekos-adatok p {
    color: #08752e;
    font-size: 17px;
    font-weight: bold;
}

@media screen and (max-width: 1000px) {

    .jatekos-racs {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media screen and (max-width: 750px) {

    .jatekos-racs {
        grid-template-columns: repeat(2, 1fr);
    }

    
    

}

@media screen and (max-width: 500px) {

    .jatekos-racs {
        grid-template-columns: 1fr;
    }

    .jatekos-fejlec{

    height:130px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(135deg,#08752e,#064e20);

}

}
.keret-palya {
    position: relative;

    max-width: 1100px;
    margin: 0 auto 50px;
    padding: 45px 35px;

    overflow: hidden;

    background:
        repeating-linear-gradient(
            0deg,
            #198c43 0,
            #198c43 85px,
            #16803d 85px,
            #16803d 170px
        );

    border: 6px solid white;
    border-radius: 20px;

    box-shadow:
        0 0 0 5px #08752e,
        0 14px 32px rgba(0, 0, 0, 0.25);
}

.keret-palya::before {
    content: "";

    position: absolute;
    inset: 18px;

    border: 3px solid rgba(255, 255, 255, 0.75);
    border-radius: 8px;

    pointer-events: none;
}

.poszt-csoport {
    position: relative;
    z-index: 2;

    margin-bottom: 30px;
    padding: 20px;
}

.poszt-csoport:last-child {
    margin-bottom: 0;
}

.poszt-csoport h3 {
    width: fit-content;

    margin: 0 auto 25px;
    padding: 10px 24px;

    background-color: rgba(0, 65, 28, 0.92);
    color: white;

    border: 2px solid white;
    border-radius: 30px;

    font-size: 24px;
    text-align: center;

    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

.jatekos-lista {
    display: grid;
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    gap: 24px;

    justify-content: center;
}

.kapus-lista {
    grid-template-columns: repeat(2, minmax(150px, 190px));
}

.mez-kartya {
    padding: 18px 12px;

    background-color: rgba(255, 255, 255, 0.94);

    border: 3px solid #08752e;
    border-radius: 15px;

    text-align: center;

    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.24);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.mez-kartya:hover {
    transform: translateY(-8px) scale(1.04);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.34),
        0 0 0 4px rgba(255, 255, 255, 0.3);
}

.mez-ikon {
    position: relative;

    width: 85px;
    height: 90px;

    margin: 0 auto 14px;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            #08752e 0 44%,
            white 44% 56%,
            #08752e 56% 100%
        );

    clip-path: polygon(
        25% 0,
        39% 10%,
        61% 10%,
        75% 0,
        100% 20%,
        84% 42%,
        76% 35%,
        76% 100%,
        24% 100%,
        24% 35%,
        16% 42%,
        0 20%
    );

    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.28));
}

.mez-ikon span {
    margin-top: 8px;

    color: #08752e;

    font-size: 28px;
    font-weight: 900;

    text-shadow:
        -2px -2px 0 white,
        2px -2px 0 white,
        -2px 2px 0 white,
        2px 2px 0 white;
}

.kapus-mez {
    background:
        linear-gradient(
            90deg,
            #f1c40f 0 44%,
            #222222 44% 56%,
            #f1c40f 56% 100%
        );
}

.kapus-mez span {
    color: #222222;
}

.mez-kartya h4 {
    margin: 0 0 7px;

    color: #222222;

    font-size: 18px;
    line-height: 1.25;
}

.mez-kartya p {
    margin: 0;

    color: #08752e;

    font-size: 15px;
    font-weight: bold;
}

.palya-elvalaszto {
    position: relative;
    z-index: 2;

    height: 3px;
    margin: 8px 3% 20px;

    background-color: rgba(255, 255, 255, 0.8);
}

.palya-elvalaszto span {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 85px;
    height: 85px;

    transform: translate(-50%, -50%);

    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

@media screen and (max-width: 1000px) {

    .jatekos-lista {
        grid-template-columns: repeat(3, minmax(140px, 1fr));
    }

    .kapus-lista {
        grid-template-columns: minmax(150px, 190px);
    justify-content: center;
    }

}

@media screen and (max-width: 700px) {

    .keret-palya {
        padding: 35px 15px;
    }

    .poszt-csoport {
        padding: 15px 8px;
    }

    .poszt-csoport h3 {
        font-size: 20px;
    }

    .jatekos-lista {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 16px;
    }

    .kapus-lista {
        grid-template-columns: minmax(140px, 190px);
    justify-content: center;
    }

}

@media screen and (max-width: 430px) {

    .jatekos-lista,
    .kapus-lista {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .mez-kartya {
        max-width: 230px;
        width: 100%;
        margin: 0 auto;
    }

    .palya-elvalaszto span {
        width: 65px;
        height: 65px;
    }

}
.kapcsolat-racs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    margin-bottom: 50px;
}

.kapcsolat-kartya {
    padding: 30px 22px;

    background-color: white;

    border-top: 5px solid #08752e;
    border-radius: 14px;

    text-align: center;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.kapcsolat-kartya:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

.kapcsolat-ikon {
    margin-bottom: 14px;
    font-size: 42px;
}

.kapcsolat-kartya h3 {
    margin-bottom: 12px;

    color: #08752e;
    font-size: 22px;
}

.kapcsolat-kartya p {
    margin: 6px 0;
    font-size: 17px;
}

.kapcsolat-kartya a {
    color: #08752e;
    font-weight: bold;
    text-decoration: none;
}

.kapcsolat-kartya a:hover {
    text-decoration: underline;
}

.uzenet-resz {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 35px;

    background-color: white;

    border-radius: 16px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.uzenet-bevezeto {
    margin-bottom: 28px;
    text-align: center;
}

.uzenet-bevezeto h2 {
    margin-bottom: 10px;
    color: #08752e;
}

.uzenet-bevezeto p {
    color: #555555;
    font-size: 17px;
}

.kapcsolat-urlap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.urlap-mezo {
    display: flex;
    flex-direction: column;
}

.teljes-sor {
    grid-column: 1 / -1;
}

.urlap-mezo label {
    margin-bottom: 8px;

    color: #222222;

    font-size: 16px;
    font-weight: bold;
}

.urlap-mezo input,
.urlap-mezo textarea {
    width: 100%;
    padding: 13px 14px;

    border: 2px solid #d4d4d4;
    border-radius: 8px;

    font-family: inherit;
    font-size: 16px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.urlap-mezo textarea {
    resize: vertical;
}

.urlap-mezo input:focus,
.urlap-mezo textarea:focus {
    border-color: #08752e;
    box-shadow: 0 0 0 3px rgba(8, 117, 46, 0.15);
}

.kuldes-gomb {
    padding: 14px 30px;

    background-color: #08752e;
    color: white;

    border: none;
    border-radius: 8px;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.kuldes-gomb:hover {
    background-color: #065f26;
    transform: translateY(-2px);
}

.urlap-visszajelzes {
    margin-top: 14px;

    color: #08752e;

    font-size: 16px;
    font-weight: bold;
}

@media screen and (max-width: 800px) {

    .kapcsolat-racs {
        grid-template-columns: 1fr;
    }

}

@media screen and (max-width: 600px) {

    .uzenet-resz {
        padding: 25px 18px;
    }

    .kapcsolat-urlap {
        grid-template-columns: 1fr;
    }

    .teljes-sor {
        grid-column: auto;
    }

}
/* FŐOLDAL */

.hero {
    min-height: 520px;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 50px 20px;

    background:
        linear-gradient(
            rgba(0, 55, 24, 0.72),
            rgba(0, 55, 24, 0.78)
        ),
        url("../img/stadion.jpg");

    background-size: cover;
    background-position: center;

    color: white;
    text-align: center;
}

.hero-tartalom {
    max-width: 850px;
}

.hero-kisfelirat {
    margin-bottom: 12px;

    font-size: 18px;
    font-weight: bold;

    text-transform: uppercase;
    letter-spacing: 4px;
}

.hero h2 {
    margin-bottom: 20px;

    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.1;

    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.hero p {
    margin-bottom: 30px;
    font-size: 21px;
}

.hero-gomb {
    display: inline-block;

    padding: 14px 28px;

    background-color: white;
    color: #08752e;

    border: 3px solid white;
    border-radius: 8px;

    font-size: 17px;
    font-weight: bold;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.hero-gomb:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-3px);
}

.fooldal-racs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;

    margin: 50px 0;
}

.fooldal-kartya {
    padding: 32px 25px;

    background-color: white;

    border-top: 6px solid #08752e;
    border-radius: 15px;

    text-align: center;

    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.13);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.fooldal-kartya:hover {
    transform: translateY(-8px);
    box-shadow: 0 13px 28px rgba(0, 0, 0, 0.2);
}

.fooldal-ikon {
    display: block;

    margin-bottom: 15px;

    font-size: 45px;
}

.fooldal-kartya h2 {
    margin-bottom: 13px;
    color: #08752e;
}

.fooldal-kartya h3 {
    margin-bottom: 12px;
    color: #222222;
}

.fooldal-kartya p {
    margin: 8px 0;

    color: #555555;
    font-size: 16px;
    line-height: 1.6;
}

.fooldal-kartya a {
    display: inline-block;

    margin-top: 17px;

    color: #08752e;

    font-weight: bold;
    text-decoration: none;
}

.fooldal-kartya a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 900px) {

    .fooldal-racs {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 440px;
    }

}
/* HÍREK OLDAL */

.hirek-racs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;

    margin-bottom: 55px;
}

.hir-kartya {
    overflow: hidden;

    background-color: white;

    border-radius: 16px;

    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.14);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.hir-kartya:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.hir-kep-doboz {
    position: relative;
    height: 230px;
    overflow: hidden;

    background-color: #dddddd;
}

.hir-kep {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.hir-kartya:hover .hir-kep {
    transform: scale(1.06);
}

.hir-datum {
    position: absolute;
    left: 16px;
    bottom: 14px;

    padding: 7px 12px;

    background-color: rgba(0, 65, 28, 0.92);
    color: white;

    border-radius: 7px;

    font-size: 14px;
    font-weight: bold;
}

.hir-tartalom {
    padding: 25px;
}

.hir-tartalom h3 {
    margin: 0 0 14px;

    color: #08752e;

    font-size: 23px;
    line-height: 1.25;
}

.hir-rovid,
.hir-teljes p {
    color: #555555;

    font-size: 16px;
    line-height: 1.65;
}

.hir-rovid {
    margin-bottom: 17px;
}

.hir-teljes {
    margin-bottom: 17px;
    padding-top: 15px;

    border-top: 1px solid #dddddd;
}

.hir-gomb {
    padding: 11px 18px;

    background-color: #08752e;
    color: white;

    border: none;
    border-radius: 7px;

    font-family: inherit;
    font-size: 15px;
    font-weight: bold;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.hir-gomb:hover {
    background-color: #065f26;
    transform: translateY(-2px);
}

.fooldal-hir-datum {
    color: #777777 !important;
    font-size: 14px !important;
    font-weight: bold;
}

@media screen and (max-width: 1000px) {

    .hirek-racs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media screen and (max-width: 650px) {

    .hirek-racs {
        grid-template-columns: 1fr;
    }

    .hir-kep-doboz {
        height: 220px;
    }

}
/* GALÉRIA */

.galeria-racs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;

    margin-bottom: 55px;
}

.galeria-elem {
    position: relative;

    height: 270px;

    overflow: hidden;

    background-color: white;

    border-radius: 15px;

    cursor: pointer;

    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.14);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.galeria-elem:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.galeria-kep {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.galeria-elem:hover .galeria-kep {
    transform: scale(1.07);
}

.galeria-elem figcaption {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 20px 16px 14px;

    background:
        linear-gradient(
            transparent,
            rgba(0, 45, 18, 0.92)
        );

    color: white;

    font-size: 17px;
    font-weight: bold;
}

/* Nagy kép megjelenítése */

.kepnezeto {
    position: fixed;
    inset: 0;

    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    padding: 70px 90px 35px;

    background-color: rgba(0, 0, 0, 0.93);

    z-index: 9999;
}

.kepnezeto.megnyitva {
    display: flex;
}

.nagy-kep {
    max-width: 90vw;
    max-height: 76vh;

    object-fit: contain;

    border-radius: 10px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}

.kepnezeto-felirat {
    margin-top: 18px;

    color: white;

    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.kepnezeto-bezar {
    position: absolute;

    top: 18px;
    right: 25px;

    width: 48px;
    height: 48px;
    padding: 0;

    background-color: transparent;
    color: white;

    border: none;

    font-size: 44px;
    line-height: 1;

    cursor: pointer;
}

.kepnezeto-bezar:hover {
    background-color: transparent;
    transform: scale(1.1);
}

.kepnezeto-nyil {
    position: absolute;

    top: 50%;

    width: 58px;
    height: 70px;
    padding: 0;

    transform: translateY(-50%);

    background-color: rgba(255, 255, 255, 0.16);
    color: white;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;

    font-size: 50px;
    line-height: 1;

    cursor: pointer;
}

.kepnezeto-nyil:hover {
    background-color: rgba(255, 255, 255, 0.28);
}

.elozo-kep {
    left: 22px;
}

.kovetkezo-kep {
    right: 22px;
}

body.kepnezeto-nyitva {
    overflow: hidden;
}

@media screen and (max-width: 950px) {

    .galeria-racs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media screen and (max-width: 620px) {

    .galeria-racs {
        grid-template-columns: 1fr;
    }

    .galeria-elem {
        height: 250px;
    }

    .kepnezeto {
        padding: 65px 15px 30px;
    }

    .nagy-kep {
        max-width: 96vw;
        max-height: 72vh;
    }

    .kepnezeto-nyil {
        top: auto;
        bottom: 20px;

        width: 52px;
        height: 52px;

        transform: none;

        font-size: 38px;
    }

    .elozo-kep {
        left: calc(50% - 65px);
    }

    .kovetkezo-kep {
        right: calc(50% - 65px);
    }

    .kepnezeto-felirat {
        margin-bottom: 55px;
        font-size: 16px;
    }

}
/* ADMINFELÜLET */

.admin-doboz {
    max-width: 850px;
    margin: 0 auto 55px;
    padding: 35px;

    background-color: white;
    border-radius: 16px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.admin-urlap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.admin-gombok {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.admin-mentes,
.admin-torles {
    padding: 13px 24px;

    border: none;
    border-radius: 8px;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
}

.admin-mentes {
    background-color: #08752e;
    color: white;
}

.admin-torles {
    background-color: #777777;
    color: white;
}

.admin-visszajelzes {
    color: #08752e;
    font-weight: bold;
}

@media screen and (max-width: 650px) {

    .admin-doboz {
        padding: 25px 18px;
    }

    .admin-urlap {
        grid-template-columns: 1fr;
    }

}
/* ADMIN BELÉPÉS */

.belepes-oldal {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 25px;

    background:
        linear-gradient(
            rgba(0, 60, 25, 0.84),
            rgba(0, 35, 15, 0.92)
        ),
        url("../img/stadion.jpg");

    background-size: cover;
    background-position: center;
}

.belepes-doboz {
    width: 100%;
    max-width: 440px;

    padding: 38px;

    background-color: rgba(255, 255, 255, 0.97);

    border-radius: 18px;

    text-align: center;

    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.belepes-logo {
    width: 110px;
    height: 110px;

    margin-bottom: 18px;

    object-fit: contain;
}

.belepes-doboz h1 {
    margin-bottom: 8px;
    color: #08752e;
}

.belepes-doboz > p {
    margin-bottom: 28px;
    color: #666666;
}

.belepes-urlap {
    display: flex;
    flex-direction: column;
    gap: 20px;

    text-align: left;
}

.belepes-gomb {
    width: 100%;

    padding: 14px;

    background-color: #08752e;
    color: white;

    border: none;
    border-radius: 8px;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;
}

.belepes-gomb:hover {
    background-color: #065f26;
}

.belepes-uzenet {
    min-height: 22px;

    text-align: center;
    font-weight: bold;
}

.belepes-uzenet.hiba {
    color: #c62828;
}

.vissza-link {
    display: inline-block;

    margin-top: 22px;

    color: #08752e;

    font-weight: bold;
    text-decoration: none;
}

.vissza-link:hover {
    text-decoration: underline;
}

.kijelentkezes-gomb {
    padding: 18px 22px;

    background-color: transparent;
    color: white;

    border: none;
    border-radius: 0;

    font-family: inherit;
    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
}

.kijelentkezes-gomb:hover {
    background-color: white;
    color: #08752e;
}
/* ADMIN HÍRKEZELÉS */

.admin-szakasz-fejlec {
    margin-top: 55px;
}

.admin-lista-cim {
    margin-bottom: 25px;
    padding-bottom: 12px;

    color: #08752e;
    border-bottom: 3px solid #08752e;
}

.admin-hirek-lista {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-hir-elem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;

    padding: 20px;

    background-color: #f2f7f3;

    border-left: 5px solid #08752e;
    border-radius: 10px;
}

.admin-hir-elem h3 {
    margin: 5px 0 8px;
    color: #08752e;
}

.admin-hir-elem p {
    margin: 0;
    color: #555555;
    line-height: 1.5;
}

.admin-hir-datum {
    color: #777777;
    font-size: 14px;
    font-weight: bold;
}

.admin-hir-torles {
    flex-shrink: 0;

    padding: 11px 18px;

    background-color: #c62828;
    color: white;

    border: none;
    border-radius: 7px;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
}

.admin-hir-torles:hover {
    background-color: #9f1f1f;
}

@media screen and (max-width: 650px) {

    .admin-hir-elem {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-hir-torles {
        width: 100%;
    }

}
.admin-hir-gombok {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.admin-hir-szerkesztes {
    padding: 11px 18px;
    background-color: #08752e;
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.admin-hir-szerkesztes:hover {
    background-color: #065f26;
}

@media screen and (max-width: 650px) {

    .admin-hir-gombok {
        width: 100%;
        flex-direction: column;
    }

    .admin-hir-szerkesztes,
    .admin-hir-torles {
        width: 100%;
    }

}
/* ===== EGYSÉGES KERESŐRENDSZER ===== */
.kereso-doboz {
    width: min(760px, 100%);
    margin: -10px auto 38px;
}

.kereso-mezo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #cfd8d1;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.10);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.kereso-mezo-wrap:focus-within {
    border-color: #08752e;
    box-shadow: 0 0 0 4px rgba(8, 117, 46, .13), 0 8px 24px rgba(0, 0, 0, .12);
    transform: translateY(-1px);
}

.kereso-ikon {
    padding-left: 17px;
    font-size: 20px;
    pointer-events: none;
}

.kereso-input {
    width: 100%;
    padding: 15px 54px 15px 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #222;
    font: inherit;
    font-size: 17px;
}

.kereso-torles {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 39px;
    height: 39px;
    padding: 0;
    display: none;
    place-items: center;
    border-radius: 50%;
    background: #edf8f0;
    color: #08752e;
    font-size: 21px;
    line-height: 1;
}

.kereso-torles.lathato { display: grid; }
.kereso-torles:hover { background: #08752e; color: #fff; }

.kereso-talalat-szam {
    min-height: 22px;
    margin-top: 9px;
    color: #5c675f;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.kereso-ures {
    width: min(760px, 100%);
    margin: 0 auto 35px;
    padding: 28px 20px;
    display: none;
    background: #fff;
    border: 2px dashed #b9c8bd;
    border-radius: 14px;
    color: #555;
    text-align: center;
    box-shadow: 0 5px 16px rgba(0,0,0,.07);
}

.kereso-ures.lathato { display: block; }
.kereso-ures strong { display: block; margin-bottom: 7px; color: #08752e; font-size: 20px; }

@media (max-width: 600px) {
    .kereso-doboz { margin-bottom: 28px; }
    .kereso-input { font-size: 16px; padding-top: 13px; padding-bottom: 13px; }
}

/* ===== PRÉMIUM FŐOLDAL 2026 ===== */
.fooldal-fejlec { min-height: 300px; }
.premium-hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 70px 7%;
    color: #fff;
    background: linear-gradient(90deg, rgba(0,40,17,.94) 0%, rgba(0,65,26,.78) 55%, rgba(0,35,15,.34) 100%), url("../img/stadion.jpg") center/cover no-repeat;
}
.premium-hero-belso { width: min(720px,100%); }
.premium-hero-cimke { display:inline-block; margin-bottom:18px; padding:8px 15px; border:1px solid rgba(255,255,255,.5); border-radius:999px; font-weight:800; letter-spacing:1.2px; }
.premium-hero h2 { margin:0 0 22px; font-size:clamp(42px,6vw,76px); line-height:1.02; text-transform:uppercase; text-shadow:0 5px 20px rgba(0,0,0,.35); }
.premium-hero-belso > p:not(.premium-hero-cimke) { max-width:650px; font-size:20px; line-height:1.65; color:rgba(255,255,255,.9); }
.premium-hero-gombok { display:flex; gap:14px; flex-wrap:wrap; margin-top:30px; }
.premium-gomb { padding:15px 24px; border-radius:10px; text-decoration:none; font-weight:900; transition:.2s ease; }
.premium-gomb:hover { transform:translateY(-3px); }
.premium-gomb-elso { background:#fff; color:#08752e; }
.premium-gomb-masodik { border:2px solid rgba(255,255,255,.7); color:#fff; background:rgba(255,255,255,.08); }
.premium-fooldal-tartalom { width:min(1240px,92%); margin:-65px auto 70px; position:relative; z-index:3; }
.kiemelt-meccsek-racs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.premium-meccs-kartya { padding:28px; border-radius:20px; background:#fff; box-shadow:0 18px 45px rgba(0,0,0,.16); overflow:hidden; }
.kovetkezo-kartya { border-top:7px solid #08752e; }
.eredmeny-kartya { border-top:7px solid #17251d; }
.premium-kartya-fejlec { display:flex; align-items:center; gap:14px; padding-bottom:18px; margin-bottom:20px; border-bottom:1px solid #e5ebe6; }
.premium-kartya-fejlec > span { display:grid; place-items:center; width:48px; height:48px; border-radius:14px; background:#edf8f0; font-size:24px; }
.premium-kartya-fejlec small,.premium-szekcio-cim small,.premium-hir-tartalom small,.premium-szekcio-fej small { color:#08752e; font-weight:900; letter-spacing:1.2px; }
.premium-kartya-fejlec h2 { margin:3px 0 0; font-size:21px; }
.premium-csapatok { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:18px; }
.premium-csapat { display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center; font-weight:900; }
.premium-csapat img { width:88px; height:88px; object-fit:contain; }
.premium-vs { color:#08752e; font-size:24px; }
.premium-eredmeny { padding:10px 15px; border-radius:10px; background:#08752e; color:#fff; font-size:29px; }
.premium-meccs-meta { display:flex; justify-content:center; gap:14px 24px; flex-wrap:wrap; margin-top:22px; color:#5d6860; font-size:14px; text-align:center; }
.premium-kartya-link { display:block; margin-top:22px; color:#08752e; font-weight:900; text-align:right; text-decoration:none; }
.premium-betoltes,.premium-ures-allapot { padding:30px 15px; color:#68736b; text-align:center; }
.gyors-statisztikak { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; margin:26px 0; }
.gyors-stat-kartya { min-height:150px; padding:22px 14px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; background:#fff; border-radius:16px; box-shadow:0 8px 24px rgba(0,0,0,.09); }
.gyors-stat-ikon { font-size:25px; }
.gyors-stat-kartya strong { margin:8px 0 5px; color:#08752e; font-size:clamp(22px,2.2vw,34px); line-height:1.1; }
.gyors-stat-kartya small { color:#667069; font-weight:800; }
.fooldal-kiemelt-racs { display:grid; grid-template-columns:1.2fr .8fr; gap:24px; }
.premium-hir-kartya,.premium-tabella-kartya { background:#fff; border-radius:20px; overflow:hidden; box-shadow:0 10px 30px rgba(0,0,0,.10); }
.premium-hir-kartya { display:grid; grid-template-columns:.9fr 1.1fr; min-height:360px; }
.premium-hir-kep { position:relative; min-height:300px; }
.premium-hir-kep img { width:100%; height:100%; object-fit:cover; }
.premium-hir-kep span { position:absolute; left:18px; bottom:18px; padding:8px 12px; border-radius:8px; color:#fff; background:rgba(0,55,24,.9); font-weight:800; }
.premium-hir-tartalom { padding:34px; display:flex; flex-direction:column; justify-content:center; }
.premium-hir-tartalom h2 { margin:12px 0 15px; font-size:30px; color:#17251d; }
.premium-hir-tartalom p { color:#5c675f; line-height:1.65; }
.premium-hir-tartalom a { margin-top:22px; color:#08752e; font-weight:900; text-decoration:none; }
.premium-tabella-kartya { padding:30px; }
.premium-szekcio-cim { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; margin-bottom:22px; }
.premium-szekcio-cim > div { display:flex; gap:12px; }
.premium-szekcio-cim > div > span { font-size:28px; }
.premium-szekcio-cim h2 { margin-top:5px; font-size:24px; }
.premium-szekcio-cim > a { color:#08752e; font-weight:900; text-decoration:none; white-space:nowrap; }
.mini-tabella { display:flex; flex-direction:column; gap:10px; }
.mini-tabella-sor { display:grid; grid-template-columns:34px 42px 1fr auto; align-items:center; gap:10px; padding:13px; border-radius:12px; color:#26342b; text-decoration:none; background:#f3f6f4; }
.mini-tabella-sor.sajat { color:#fff; background:#08752e; box-shadow:0 7px 16px rgba(8,117,46,.25); }
.mini-tabella-sor img { width:38px; height:38px; object-fit:contain; }
.mini-nev { font-weight:900; }
.gyorsmenu-szakasz { margin-top:50px; }
.premium-szekcio-fej { margin-bottom:22px; text-align:center; }
.premium-szekcio-fej h2 { margin-top:6px; font-size:34px; }
.gyorsmenu-racs { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; }
.gyorsmenu-racs a { min-height:170px; padding:24px 15px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; background:#fff; border-radius:16px; color:#1f2b23; text-decoration:none; box-shadow:0 8px 24px rgba(0,0,0,.08); transition:.22s ease; }
.gyorsmenu-racs a:hover { transform:translateY(-7px); box-shadow:0 16px 30px rgba(0,0,0,.13); }
.gyorsmenu-racs span { font-size:34px; }
.gyorsmenu-racs strong { margin:10px 0 5px; color:#08752e; font-size:18px; }
.gyorsmenu-racs small { color:#68736b; line-height:1.35; }
@media (max-width:1050px){.gyors-statisztikak,.gyorsmenu-racs{grid-template-columns:repeat(3,1fr)}.fooldal-kiemelt-racs{grid-template-columns:1fr}}
@media (max-width:760px){.premium-hero{min-height:460px;padding:55px 6%}.premium-fooldal-tartalom{margin-top:-35px}.kiemelt-meccsek-racs{grid-template-columns:1fr}.gyors-statisztikak{grid-template-columns:repeat(2,1fr)}.premium-hir-kartya{grid-template-columns:1fr}.premium-hir-kep{min-height:230px}.gyorsmenu-racs{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.premium-hero h2{font-size:39px}.premium-hero-belso>p:not(.premium-hero-cimke){font-size:17px}.premium-gomb{width:100%;text-align:center}.premium-csapat img{width:70px;height:70px}.premium-csapatok{gap:8px}.premium-meccs-kartya{padding:20px}.gyors-stat-kartya{min-height:130px}.gyorsmenu-racs{grid-template-columns:1fr 1fr}.premium-szekcio-cim{flex-direction:column}.premium-hir-tartalom{padding:25px}.premium-hir-tartalom h2{font-size:25px}}

/* ===== v1.8 – KÉNYELMI FUNKCIÓK ===== */
.mobil-menu-gomb {
    display: none;
}

.mobil-menu-hatter {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobil-menu-hatter.lathato {
    opacity: 1;
    visibility: visible;
}

.vissza-tetejere {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1100;
    width: 52px;
    height: 52px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 2px solid white;
    border-radius: 50%;
    background: #08752e;
    color: white;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
}

.vissza-tetejere.lathato {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.vissza-tetejere:hover {
    background: #064e20;
    transform: translateY(-3px);
}

.vissza-tetejere:focus-visible,
.mobil-menu-gomb:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

@media screen and (max-width: 900px) {
    body.mobil-menu-aktiv {
        overflow: hidden;
    }

    .mobil-menu-gomb {
        position: relative;
        z-index: 1001;
        width: 100%;
        min-height: 56px;
        padding: 14px 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border: 0;
        border-radius: 0;
        background: #064e20;
        color: white;
        font-family: inherit;
        font-size: 17px;
        font-weight: 800;
    }

    .mobil-menu-gomb:hover,
    .mobil-menu-gomb.nyitva {
        background: #08752e;
    }

    .mobil-menu-ikon {
        min-width: 22px;
        font-size: 24px;
        line-height: 1;
    }

    .menu {
        position: relative;
        z-index: 1000;
        max-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        background: #064e20;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: max-height 0.32s ease, opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
    }

    .menu.mobil-menu-nyitva {
        max-height: 650px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
    }

    .menu a,
    .menu button {
        width: 100%;
        padding: 15px 22px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        text-align: center;
    }

    .menu a:last-child,
    .menu button:last-child {
        border-bottom: 0;
    }

    .vissza-tetejere {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .menu,
    .mobil-menu-hatter,
    .vissza-tetejere {
        transition: none;
    }
}

/* ===== v1.9 – PRÉMIUM FINOMHANGOLÁS ===== */

/* Klubszínű görgetősáv – Firefox */
html {
    scrollbar-color: #08752e #e4e9e5;
    scrollbar-width: thin;
}

/* Klubszínű görgetősáv – Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #e4e9e5;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#08752e, #064e20);
    border: 3px solid #e4e9e5;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #064e20;
}

/* Egységesebb, finomabb interakciók */
a,
button,
.gomb,
.hir-gomb,
.premium-gomb,
.premium-kartya-link,
.meccs-reszletek-link {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
}

button:active,
.gomb:active,
.hir-gomb:active,
.premium-gomb:active,
.premium-kartya-link:active,
.meccs-reszletek-link:active {
    transform: translateY(1px) scale(0.98);
}

/* Kártyák visszafogott kiemelése – az elrendezés nem változik */
.doboz,
.meccs-kartya,
.hir-kartya,
.mez-kartya,
.jatekos-kartya,
.kapcsolat-kartya,
.galeria-kartya,
.gyors-stat-kartya,
.premium-meccs-kartya,
.premium-hir-kartya,
.premium-tabella-kartya,
.admin-doboz,
.ranglista-doboz {
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .doboz:hover,
    .meccs-kartya:hover,
    .hir-kartya:hover,
    .mez-kartya:hover,
    .jatekos-kartya:hover,
    .kapcsolat-kartya:hover,
    .galeria-kartya:hover,
    .gyors-stat-kartya:hover,
    .premium-meccs-kartya:hover,
    .premium-hir-kartya:hover,
    .premium-tabella-kartya:hover,
    .admin-doboz:hover,
    .ranglista-doboz:hover {
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    }

    .premium-gomb:hover,
    .premium-kartya-link:hover,
    .meccs-reszletek-link:hover,
    .hir-gomb:hover,
    .gomb:hover {
        transform: translateY(-2px);
    }
}

/* Diszkrét megjelenési animáció */
.v19-felfedes {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.v19-felfedes.v19-lathato {
    opacity: 1;
    transform: translateY(0);
}

/* Billentyűzetes használatnál jól látható fókusz */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(8, 117, 46, 0.38);
    outline-offset: 3px;
}

/* Apró mobilkényelmi javítások */
@media screen and (max-width: 700px) {
    .oldal-tartalom,
    .premium-fooldal-tartalom {
        width: min(94%, 1100px);
    }

    .menu a,
    .menu button,
    .premium-gomb,
    .gomb,
    .hir-gomb,
    .meccs-reszletek-link {
        min-height: 46px;
    }

    .oldal-fejlec {
        margin-bottom: 30px;
    }
}

/* A rendszer animációcsökkentési beállításának tiszteletben tartása */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .v19-felfedes {
        opacity: 1;
        transform: none;
    }
}


/* ===== v2.0 – KÖZLEMÉNY, SÖTÉT MÓD, FRISSÍTÉS ÉS ADMIN GYORSNAV ===== */

/* Közleménysáv */
.v2-kozlemeny-sav {
    width: 100%;
    padding: 13px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #fff4cc;
    color: #3f3200;
    border-bottom: 1px solid #e8d27a;
    font-weight: 700;
    text-align: center;
    line-height: 1.45;
}
.v2-kozlemeny-ikon { font-size: 20px; flex: 0 0 auto; }

/* Sötét mód kapcsoló */
.tema-kapcsolo {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1200;
    min-height: 46px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: #064e20;
    color: white;
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
    font-size: 14px;
}
.tema-kapcsolo:hover { background: #08752e; transform: translateY(-2px); }

/* Utolsó frissítés */
.v2-utolso-frissites {
    margin: 0;
    padding: 12px 20px;
    background: #e7ece8;
    color: #536057;
    text-align: center;
    font-size: 13px;
}

/* Admin gyorsnavigáció */
.admin-gyorsnav {
    position: sticky;
    top: 10px;
    z-index: 80;
    margin: 0 auto 28px;
    padding: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    background: rgba(255,255,255,.96);
    border: 1px solid #dce5de;
    border-radius: 14px;
    box-shadow: 0 7px 20px rgba(0,0,0,.10);
    backdrop-filter: blur(8px);
}
.admin-gyorsnav a {
    padding: 9px 12px;
    border-radius: 9px;
    color: #08752e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}
.admin-gyorsnav a:hover { background: #edf8f0; transform: translateY(-1px); }
.admin-v2-beallitasok { scroll-margin-top: 90px; }
.admin-v2-fejlec {
    margin-bottom: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.admin-v2-fejlec small { color: #08752e; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.admin-v2-fejlec h2 { margin: 4px 0 0; color: #08752e; }
.admin-v2-frissites {
    padding: 8px 12px;
    background: #edf8f0;
    color: #385842;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}
.v2-kapcsolo-sor { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.v2-kapcsolo-sor input { width: 19px; height: 19px; accent-color: #08752e; }
.admin-cel-kiemeles { animation: adminCelVillanas 1s ease; }
@keyframes adminCelVillanas {
    0%,100% { box-shadow: inherit; }
    40% { box-shadow: 0 0 0 5px rgba(8,117,46,.18), 0 8px 24px rgba(0,0,0,.12); }
}

/* Sötét mód – a meglévő elrendezést nem módosítja */
body.sotet-mod { background-color: #111713; color: #edf3ef; }
body.sotet-mod .oldal-tartalom,
body.sotet-mod .premium-fooldal-tartalom { color: #edf3ef; }
body.sotet-mod .oldal-fejlec p,
body.sotet-mod .meccs-info,
body.sotet-mod .jelmagyarazat,
body.sotet-mod .uzenet-bevezeto p { color: #b8c4bc; }
body.sotet-mod .doboz,
body.sotet-mod .meccs-kartya,
body.sotet-mod .hir-kartya,
body.sotet-mod .jatekos-kartya,
body.sotet-mod .mez-kartya,
body.sotet-mod .kapcsolat-kartya,
body.sotet-mod .galeria-kartya,
body.sotet-mod .tabella-doboz,
body.sotet-mod .ranglista-doboz,
body.sotet-mod .admin-doboz,
body.sotet-mod .premium-meccs-kartya,
body.sotet-mod .premium-hir-kartya,
body.sotet-mod .premium-tabella-kartya,
body.sotet-mod .gyors-stat-kartya,
body.sotet-mod .uzenet-resz,
body.sotet-mod .kereso-doboz {
    background-color: #1b251e;
    color: #edf3ef;
    border-color: #33463a;
}
body.sotet-mod .mez-kartya h4,
body.sotet-mod .jatekos-adatok h3,
body.sotet-mod .admin-csapat-elem h3,
body.sotet-mod .admin-jatekos-elem h3,
body.sotet-mod .admin-hir-elem h3 { color: #f4f7f5; }
body.sotet-mod .tabella td { border-bottom-color: #33463a; }
body.sotet-mod .tabella tbody tr:hover { background-color: #24362a; }
body.sotet-mod .tabella tbody tr:first-child { background-color: #203b29; }
body.sotet-mod .sajat-csapat-sor { background-color: #203b29 !important; }
body.sotet-mod input,
body.sotet-mod textarea,
body.sotet-mod select {
    background: #111713;
    color: #edf3ef;
    border-color: #46584b;
}
body.sotet-mod input::placeholder,
body.sotet-mod textarea::placeholder { color: #8e9a92; }
body.sotet-mod .admin-gyorsnav { background: rgba(27,37,30,.96); border-color: #33463a; }
body.sotet-mod .admin-gyorsnav a { color: #7fd89a; }
body.sotet-mod .admin-gyorsnav a:hover { background: #24362a; }
body.sotet-mod .admin-v2-frissites { background: #24362a; color: #bde8c9; }
body.sotet-mod .v2-utolso-frissites { background: #0d120f; color: #aab7ae; }
body.sotet-mod .v2-kozlemeny-sav { background: #514415; color: #fff2b1; border-bottom-color: #756527; }
body.sotet-mod .kereso-input { background: #111713; color: #edf3ef; }
body.sotet-mod .kereso-ures { color: #c7d2cb; }

@media screen and (max-width: 700px) {
    .tema-kapcsolo {
        left: 12px;
        bottom: 12px;
        width: 46px;
        height: 46px;
        padding: 0;
        justify-content: center;
    }
    .tema-kapcsolo span:last-child { display: none; }
    .admin-gyorsnav {
        top: 6px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .admin-gyorsnav a { flex: 0 0 auto; }
    .admin-v2-fejlec { align-items: flex-start; }
    .v2-kozlemeny-sav { padding: 11px 14px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .admin-cel-kiemeles { animation: none; }
}


/* ===== v2.0.1 – SÖTÉT MÓD KIEGÉSZÍTÉS MINDEN NYILVÁNOS OLDALHOZ ===== */
body.sotet-mod .statisztika-doboz,
body.sotet-mod .ranglista-sor,
body.sotet-mod .tabella-osszefoglalo > div,
body.sotet-mod .adatlap-fejlec,
body.sotet-mod .adatlap-szekcio,
body.sotet-mod .nyilatkozat-kartya,
body.sotet-mod .reszletek-kartya {
    background-color: #1b251e;
    color: #edf3ef;
    border-color: #33463a;
}

body.sotet-mod .ranglista-sor {
    border-bottom-color: #33463a;
}

body.sotet-mod .statisztika-doboz h2,
body.sotet-mod .adatlap-szekcio h2,
body.sotet-mod .adatlap-fejlec h2,
body.sotet-mod .ranglista-nev {
    color: #f4f7f5;
}

body.sotet-mod .tabella-osszefoglalo span,
body.sotet-mod .adatlap-meta,
body.sotet-mod .adatlap-szekcio p {
    color: #b8c4bc;
}

/* A galéria képnézegetője eleve sötét, ezért ott nem változtatunk a háttéren. */


/* ===== v2.2 – FIREBASE GALÉRIA KEZELÉS ===== */
.admin-galeria-lista {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-galeria-elem {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.admin-galeria-elem > img {
    width: 110px;
    height: 82px;
    object-fit: cover;
    border-radius: 9px;
    background: #eef3ef;
}

.admin-galeria-adatok h3 {
    margin: 0 0 4px;
}

.admin-galeria-adatok p {
    margin: 0 0 5px;
    color: #08752e;
    font-weight: 700;
}

.admin-galeria-adatok small {
    color: #666;
}

.galeria-admin-elo {
    padding: 15px;
    border: 1px dashed #a9cbb2;
    border-radius: 10px;
    background: #f5faf6;
}

.galeria-admin-elo img {
    display: block;
    margin-top: 10px;
    width: min(360px, 100%);
    max-height: 230px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}

.galeria-elem figcaption {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.galeria-elem figcaption strong {
    display: block;
}

.galeria-elem figcaption small {
    color: #08752e;
    font-weight: 700;
}

.galeria-elem figcaption span {
    display: block;
}

.galeria-ures {
    grid-column: 1 / -1;
    text-align: center;
    padding: 55px 20px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
}

.galeria-ures > span {
    display: block;
    font-size: 44px;
    margin-bottom: 10px;
}

.galeria-ures h3 {
    color: #08752e;
    margin-bottom: 7px;
}

body.sotet-mod .admin-galeria-elem,
body.sotet-mod .galeria-ures {
    background: #172019;
}

body.sotet-mod .galeria-admin-elo {
    background: #172019;
    border-color: #456e50;
}

body.sotet-mod .admin-galeria-adatok small,
body.sotet-mod .galeria-ures p {
    color: #bbb;
}

@media (max-width: 700px) {
    .admin-galeria-elem {
        grid-template-columns: 85px 1fr;
    }

    .admin-galeria-elem > img {
        width: 85px;
        height: 70px;
    }

    .admin-galeria-elem .admin-hir-gombok {
        grid-column: 1 / -1;
    }
}
