/* ===============================
   FŐOLDALI TÉRKÉP — landingMap.css
   =============================== */

.landing-map-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(201, 164, 86, 0.1), transparent 40%),
        linear-gradient(180deg, #03070d, #050c13 50%, #03070d);
}

.landing-map-frame {
    position: relative;
    border: 1px solid var(--tk-line);
    background: #04101a;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.6) inset;
}

.landing-map-frame::before {
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(232, 195, 106, 0.6), transparent 30%, transparent 70%, rgba(232, 195, 106, 0.6)) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.landing-map {
    display: block;
    aspect-ratio: 2296 / 1440;
    overflow: hidden;
    cursor: pointer;
}

.landing-map-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.landing-map:focus-visible {
    outline: 3px solid var(--tk-gold);
    outline-offset: 3px;
}

.landing-map-open {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    font-family: "AOW", serif;
    font-size: 15px;
    letter-spacing: 0.06em;
    color: #1a1204;
    text-decoration: none;
    background: linear-gradient(180deg, #ffe7a0, #d9a940);
    border: 1px solid #ffe39a;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
    transition: transform 0.18s, filter 0.18s;
}

.landing-map-open:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

@media (max-width: 700px) {
    .landing-map-open {
        position: static;
        display: flex;
        justify-content: center;
    }
}

/* Teljes képernyő */

.landing-map-fs {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    width: 40px;
    height: 40px;
    color: var(--tk-gold);
    background: rgba(5, 14, 22, 0.85);
    border: 1px solid var(--tk-line);
    cursor: pointer;
    transition: background 0.18s, transform 0.18s;
}

.landing-map-fs:hover { background: rgba(201, 164, 86, 0.18); transform: translateY(-1px); }

.landing-map-frame:fullscreen,
.landing-map-frame.is-pseudo-fullscreen {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    border: 0;
    background: #03070d;
}

.landing-map-frame.is-pseudo-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
}

.landing-map-frame:fullscreen::before,
.landing-map-frame.is-pseudo-fullscreen::before { display: none; }

.landing-map-frame:fullscreen .landing-map,
.landing-map-frame.is-pseudo-fullscreen .landing-map {
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
}

.landing-map-frame:fullscreen .landing-map-open,
.landing-map-frame.is-pseudo-fullscreen .landing-map-open {
    position: absolute;
    right: 24px;
    bottom: 24px;
}

/* A szülő z-indexe saját rétegrendet nyit — ál-teljes képernyőn azt is felemeljük. */
html.map-fs-lock .landing-map-section .landing-world-gateway-inner {
    z-index: 2147483000;
}
