/* ============================================
   EGYEBEK – KÁRTYÁK
   ============================================ */
.egyeb-kartya {
    width: 185px;
    padding: 8px;
    background: rgba(0, 60, 120, 0.25);
    border-radius: 12px;
    text-align: center;
    box-shadow:
        0 0 12px rgba(0,120,255,0.25),
        inset 0 0 12px rgba(0,120,255,0.25);
    cursor: pointer;
    transition: 0.25s ease;
}

.egyeb-kartya:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 0 18px rgba(0,150,255,0.45),
        inset 0 0 18px rgba(0,150,255,0.35);
}

/* Képek */
.egyeb-kartya img {
    width: 185px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto 10px auto;
}

/* Projektnevek (Hangya, Rajzgép, stb.) */
.egyeb-kartya div {
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin: 8px 0;
}

/* Linkek */
.egyeb-kartya a {
    color: #00E5FF;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-bottom: 2px;
    cursor: pointer !important;
}

/* Hover kurzor egységesítés */
.egyeb-kartya a:hover,
.egyeb-kartya button:hover {
    cursor: pointer !important;
}

/* Index sor */
.egyeb-index-sor {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* ============================================
   EGYEBEK PANEL – VÉGLEGES
   ============================================ */
#egyeb-panel {
    position: relative;
    width: 600px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 12px;
    background: #001A33;
    text-align: center;
    z-index: 1;

    box-shadow:
        0 0 20px rgba(0, 80, 160, 0.25),
        inset 0 0 25px rgba(0, 80, 160, 0.35);

    /* Felcsúszó animáció */
    transform: translateY(200px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

#egyeb-panel.aktiv {
    transform: translateY(0);
    opacity: 1;
}

/* Fénycsíkok */
#egyeb-panel::before,
#egyeb-panel::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(120,180,255,0.9),
        rgba(180,220,255,1),
        rgba(120,180,255,0.9),
        transparent
    );
    box-shadow:
        0 0 6px rgba(150,200,255,0.6),
        0 0 12px rgba(150,200,255,0.4);
}

#egyeb-panel::before { top: 0; }
#egyeb-panel::after { bottom: 0; }

/* Panel cím */
#egyeb-panel h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 20px;
    margin-top: 0;
    text-shadow: 0 0 8px rgba(255,255,255,0.4);
}

/* Galéria kép */
#egyeb-panel .galeria-kep {
    width: 85%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Nyilak */
#egyeb-panel .nyilak span {
    padding: 4px 8px;
    font-size: 18px;
    cursor: pointer;
    color: white;
}

/* Videók */
#egyeb-panel video {
    width: 85%;
    max-height: 420px;
    border-radius: 8px;
    display: block;
    margin: 0 auto 20px auto;
    background: #000;
}

/* Vissza gomb */
.vissza-gomb {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 8px;
    background: #004080;
    color: white;
    border: 1px solid #66aaff;
    cursor: pointer;
    transition: 0.25s;
}

.vissza-gomb:hover {
    background: #0055aa;
}

/* ============================================
   SCROLL KOMPATIBILITÁS
   ============================================ */
html {
    overflow-y: auto;
    overflow-x: hidden;
}

body {
    overflow: visible;
}
#panel-video-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

#panel-video {
    width: 66%;
    max-height: 420px;      /* nagyobb hely, mint a képeknek */
    object-fit: contain;    /* NEM vágja le a videót */
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    box-shadow:
        0 0 20px rgba(0, 80, 160, 0.25),
        inset 0 0 25px rgba(0, 80, 160, 0.35);
}
