/* Reset & alap */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body {
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    letter-spacing: 0.05rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    background-color: #0e0e0e;
    position: relative;
}

/* VANTA háttér */
#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
}

.content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    text-align: center;
    padding: 4rem 1rem 1rem;
}
header h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.3rem, 6vw, 3.5rem);
    color: #d6cfa9;
    margin-bottom: 0rem;
    font-weight: 400;
}
header p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #aaa;
}

/* Nav */
nav {
    text-align: center;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 2rem;
}

nav a {
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    color: #777;
    text-decoration: none;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}
nav a:hover {
    border-bottom-color: #d6cfa9;
    color: #d6cfa9;
}

/* Main */
main {
    flex: 1;
    padding: 2.5rem 1rem;
    max-width: 850px;
    margin: auto;
    width: 100%;
}
main section {
    margin-bottom: 3rem;
}
main h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #c8bfa0;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

/* Mesélők grid */

.bio-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "name name"
        "img  desc";
    column-gap: 1.5rem;
    row-gap: 1rem;
    align-items: start;
}

/* Elhelyezés area alapján */
.bio-name {
    grid-area: name;
}

.bio-grid img {
    grid-area: img;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.bio-grid p {
    grid-area: desc;
    margin: 0;
}

/* Tabok (desktop nézet) */
.tabs {
    max-width: 650px;
    margin: 20px auto;
}
.tab-titles {
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    margin-bottom: 1rem;
}
.tab-title {
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    color: #777;
    font-size: 1.1rem;
    letter-spacing: 0.05rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}
.tab-title:hover {
    color: #d6cfa9;
    border-bottom-color: #d6cfa9;
}
.tab-title.active {
    color: #d6cfa9;
    border-bottom: 1px solid #d6cfa9;
} /* Vonal desktopon */
.tab-contents {
    padding: 1rem;
    color: #e0e0e0;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

.tab-content .game-info {
    margin-bottom: 1.5rem;
}
.tab-content .game-info dt {
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    color: #c8bfa0;
    float: left;
    clear: left;
    width: 160px;
    margin-bottom: 0.3rem;
    font-size: 200;
    letter-spacing: 0.05rem;
}
.tab-content .game-info dd {
    font-family: "Oswald", sans-serif;
    margin-left: 130px;
    margin-bottom: 0.3rem;
    color: #aaa;
    font-size: 1.1rem;
    letter-spacing: 0.05rem;
}
.tab-content img {
    display: block;
    max-width: 400px;
    height: auto;
    margin: 1rem auto;
    border: 1px solid #777;
    border-radius: 5px;
    filter: grayscale(90%) sepia(10%);
    transition: filter 0.3s ease;
}

/* Mobilnézet (max-width: 640px) */
@media (max-width: 640px) {
    .bio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "img"
            "name"
            "desc";
        text-align: center;
    }
    .bio-grid img {
        justify-self: center;
        margin: 3rem 0 -1.5rem 0;
    }
    .bio-name {
        margin-bottom: -0.5rem;
    }

    /* Tab címek egymás alá */
    .tab-titles {
        display: block;
    }

    .tab-title {
        display: block;
        width: 100%;
        text-align: center;
    }

    .tab-title.active {
        color: #d6cfa9;
        border-bottom-color: transparent;
    }
    .tab-title:hover {
        border-bottom-color: transparent;
    }

    /* A tab tartalma egymás alá */
    .tab-content .game-info dt {
        display: block;
        width: 100%;
        text-align: left;
        margin-bottom: 0.3rem;
    }

    .tab-content .game-info dd {
        display: block;
        width: 100%;
        margin-left: 0;
        text-align: left;
        margin-bottom: 1rem;
    }

    .tab-content p {
        text-align: left;
    }

    .tab-content img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 0.5rem auto;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 1rem;
    color: #777;
}


#nevek-container label {
    display: block;
    margin-top: 10px;
}
fieldset {
    border: none; 
    padding: 0;    
    margin-bottom: 20px; 
}
legend {
    padding: 0; 
    font-size: 1.1rem; 
    font-weight: 300; 
    color: #c8bfa0; 
}
#tajekoztato {
    width: 100%;
    padding: 0; 
    margin-bottom: 15px; 
    box-sizing: border-box;
    border: none; 
    background-color: transparent; 
    color: inherit; 
    font-family: inherit; 
    font-size: inherit; 
    line-height: inherit; 
}
#megjegyzesek {
    width: 100%;
    height: 100px;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #aaa; 
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: "Oswald", sans-serif;
    color: #e0e0e0;
    background-color: #1e1e1e; 
    transition: border-color 0.3s ease, background-color 0.3s ease; 
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
#eredmenyek {
    margin-top: 20px;
    padding: 15px;
}

#eredmenyek h2 {
    margin-top: 0;
}

/* Jelentkezés gomb */
#jelentkezes-gomb {
    background-color: #d6cfa9; 
    color: #0e0e0e; 
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
}

#jelentkezes-gomb:hover {
    background-color: #9e9471; 
}

/* Input mezők és textarea */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
    padding: 8px;
    margin-bottom: 20px;
    border: 1px solid #aaa; 
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: "Oswald", sans-serif;
    color: #e0e0e0; 
    background-color: #1e1e1e; 
    width: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease; 
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.5); 
}

/* Placeholder */
input::placeholder,
textarea::placeholder { 
    color: rgba(170, 170, 170, 0.2); 
}



/* Fókusz állapot */
input:focus,
textarea:focus {
    border-color: #c8bfa0;
    outline: none;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.7);
}

/* Rádiógombok */
input[type="radio"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #aaa;
    border-radius: 50%;
    background-color: #1e1e1e;
    margin-right: 5px;
    vertical-align: middle;
    cursor: pointer;
    display: inline-block;
}

input[type="radio"]:checked {
    background-color: #1e1e1e;
    border: 4px solid #d6cfa9;
}

/* A rádiógombot tartalmazó div */
fieldset > div {
    display: block;
    margin-bottom: 5px;
}

fieldset > div > label {
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
}

/* Sikeres elküldés üzenet */
#kuldes-uzenet {
    font-family: "Oswald", sans-serif; 
    font-weight: 400;
    color: #d6cfa9; 
    text-align: center; 
    margin-top: 20px; 
}