/* Az egész oldal kap egy modernebb betűtípust az Arial helyett */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif; /* Ez sokkal igényesebb */
    background: #0d0d0d;
    color: white;
    overflow: hidden;
}

/* A Deep Shine Universe felirat stílusa */
.animated-title {
    font-family: 'Cinzel', serif; /* Ez adja meg az epikus hatást */
    letter-spacing: 5px;         /* A betűk közötti távolság növelése prémium érzetet kelt */
    
    /* A korábbi animációs kódod marad: */
    background: linear-gradient(to right, #3498db 0%, #ffffff 50%, #3498db 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 800;
    animation: shine-animation 4s linear infinite;
}

.header {
    position: fixed;
    top: 0;           /* A képernyő legtetejére tesszük */
    left: 0;
    width: 100%;
    height: 45px;     /* Fix magasságot adunk neki */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Függőlegesen középre rakja a szöveget */
    align-items: center;
    background: #0d0d0d;   /* Kap egy fix hátteret, hogy ne látsszanak alatta a kártyák */
    pointer-events: none;
}

/* Ez a rész teszi vékonnyá a felső sort */
.header b, .header .main-title {
    font-weight: 50 !important; 
    font-size: 18px;            /* Mobilon ez az ideális méret */
    letter-spacing: 3px;
    margin: 0;
    padding: 0;
}

/* ===== STORY ===== */
#story{
position:relative;
width:100%;
height:100vh;
overflow:hidden;
}

.scene{
position:absolute;
width:100%;
height:100%;
top:0;
left:100%;
display:flex;
flex-direction:column;
justify-content:flex-start;
padding-top: 1vh;
align-items:center;
transition:0.5s ease, opacity 0.4s ease;
padding:20px;
box-sizing:border-box;
opacity:0;
transform: translateY(5vh); /* <-- EZT AZ ÚJ SORT TEDD BELE */
}

.scene.active{
left:0;
opacity:1;
}

.scene p {
    font-family: 'Lora', serif; /* <--- Ez adja a könyves stílust KIZÁRÓLAG a történetnek */
    font-size: 25px;            /* A Lora kicsit kisebb betű, így 19px az ideális olvasáshoz */
    line-height: 1.4;           /* Kényelmes sorköz a hosszú szövegekhez */
    margin-top: 25px;
    max-width: 750px;
    text-align: center;
}

.scene img,
.scene video{
max-width:85%;
max-height:65vh;
border-radius:14px;
box-shadow:0 0 40px rgba(0,0,0,0.8);
}

.closebtn{
margin-top:30px;
padding:14px 26px;
font-size:18px;
border:none;
border-radius:10px;
background:#ffffff10;
color:white;
cursor:pointer;
backdrop-filter:blur(6px);
transition:0.3s;
}

.closebtn:hover{
background:#ffffff25;
}

/* ===== MULTI IMAGE ===== */
.image-stack{
position:relative;
width:100%;
display:flex;
justify-content:center;
align-items:center;
}
.image-stack img{
position:absolute;
opacity:0;
transition:0.5s;
}
.image-stack img.active{
opacity:1;
position:relative;
}

/* ===== NAV NYILAK ===== */
.nav-zone {
    position: fixed; /* Fixed pozíció, hogy mindig a helyén maradjon */
    top: 50%;        /* A képernyő közepére tesszük a sáv tetejét */
    transform: translateY(-50%); /* Visszahúzzuk a saját magassága felével, így lesz mértani közép */
    height: 60%;     /* Így bőven marad hely fent a gombnak és lent a navigációnak */
    width: 20%;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.left-zone{left:0;}
.right-zone{right:0;}

.arrow{
font-size:60px;
opacity:0.25;
transition:0.3s;
pointer-events:none;
}
.nav-zone:hover .arrow{opacity:0.7;}

@media(max-width:768px){

@media(max-width:768px){
    .header {
        font-weight: 10 !important; 
        letter-spacing: 3px;
        
        /* ÚJ SOROK A JOBBRA IGAZÍTÁSHOZ: */
        align-items: flex-end !important; /* A tartalom jobbra igazítása */
        padding-right: 15px;             /* Hogy ne érjen teljesen a széléhez */
        box-sizing: border-box;          /* Biztosítja, hogy a padding ne tolja ki a szélességet */
    }

    /* Opcionális: A vissza gomb szövegét kicsit kisebbre vehetjük, 
       hogy még több hely maradjon középen */
    .back-text {
        font-size: 10px;
    }
}
.arrow{
opacity:0.7;
animation:arrowPulse 2.5s infinite;
text-shadow:0 0 12px rgba(255,255,255,0.7);
}
.scene p{font-size:20px; line-height: 1.4;}
.nav-zone{width:13%;}
}

@keyframes arrowPulse{
0%{opacity:0.3;}
50%{opacity:1;}
100%{opacity:0.3;}
}

/* ===== LOCK BLUR ===== */
.locked{
filter:blur(10px) brightness(0.6);
}

.frost{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
backdrop-filter:blur(6px);
background:rgba(255,255,255,0.05);
z-index:10;
pointer-events:none;
}

/* ===== PIN OVERLAY ===== */
.overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
display:flex;
justify-content:center;
align-items:center;
z-index:20;
pointer-events:none;
}

.loginbox {
    background: rgba(0, 0, 0, 0.9); /* Sötétebb háttér a jobb olvashatóságért */
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    pointer-events: auto;
    z-index: 200;
    position: relative;
    border: 1px solid rgba(52, 152, 219, 0.3); /* Finom kék keret PC-n is */
    box-shadow: 0 0 50px rgba(0,0,0,1);
    width: 100%;
    max-width: 400px; /* Ez megvédi PC-n a szétnyúlástól */
}

#pinDisplay{
font-size:28px;
letter-spacing:12px;
margin:15px auto 30px auto;
width:220px;
height:40px;
line-height:40px;
white-space:nowrap;
overflow:hidden;
text-align:center;
}

.pinpad{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:12px;
max-width:260px;
margin:auto;
}

.pinpad button{
flex:0 0 calc(33.333% - 12px);
height:60px;
font-size:22px;
border:none;
border-radius:12px;
background:#1c1c1c;
color:white;
cursor:pointer;
}





@media(max-width:768px){
    .loginbox {
        padding: 10px 20px 25px 20px !important; 
        width: 78%;
        max-width: 320px;
        
        /* FIX PIXEL HELYETT SZÁZALÉKOS ELTOLÁS */
        /* Ez a képernyő magasságának 15%-ával tolja lejjebb */
        transform: translateY(15vh) !important; 
        
        height: auto !important; 
        margin: 0 auto; /* Középre igazítás biztosítása */
    }
}

    /* A többi marad a szűkített verzión: */
    .loginbox h2 {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }

    #pinDisplay {
        margin: 5px auto 10px auto !important; 
    }

    .pinpad {
        margin-top: 5px !important; 
    }
}

/* ===== SHAKE ===== */
.shake{animation:shake .3s;}
@keyframes shake{
0%{transform:translateX(0);}
25%{transform:translateX(-6px);}
50%{transform:translateX(6px);}
75%{transform:translateX(-6px);}
100%{transform:translateX(0);}
}

/* ===== LOCKED NYIL BOOST ===== */
.locked .arrow{
opacity:1;
font-size:72px;
text-shadow:0 0 25px rgba(255,255,255,0.95);
animation:lockedPulse 1.8s infinite;
}

@keyframes lockedPulse{
0%{transform:scale(1); opacity:0.7;}
50%{transform:scale(1.15); opacity:1;}
100%{transform:scale(1); opacity:0.7;}
}

@media(max-width:768px){
.locked .arrow{
font-size:85px;
opacity:1;
text-shadow:0 0 40px rgba(255,255,255,1);
}
}

/* ===== TOP WARNINGS ===== */
.top-warning{
position:fixed;
top:70px;
left:20px;
display:flex;
flex-direction:column;
gap:14px;
z-index:400;
pointer-events:auto;
max-width: 500px;
}

.warn-block{
display:flex;
align-items:center;
gap:12px;
background:rgba(0,0,0,0.55);
padding:10px 14px;
border-radius:10px;
backdrop-filter:blur(6px);
}

.warn-block img{ width:42px; }
.warn-block strong{ display:block; font-size:15px; margin-bottom:2px; }
.warn-block div{ font-size:13px; line-height:1.3; color:white; }

@media(max-width:768px){
.top-warning{ top:45px; left:10px; transform:scale(0.85); }
}

.votebtn{
margin:10px;
padding:14px 26px;
font-size:18px;
border:none;
border-radius:12px;
background:#ffffff15;
color:white;
cursor:pointer;
backdrop-filter:blur(6px);
transition:0.3s;
}

.votebtn:hover{ background:#ffffff35; }

/* --- Floating Info Button & Bubble (DSAU Style) --- */
.info-bubble-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10001; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    pointer-events: auto;
}

.info-button {
    width: 34px;
    height: 34px;
    background-color: rgba(52, 152, 219, 0.25);
    border: 1px solid rgba(52, 152, 219, 0.5);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    user-select: none;
}

.info-button:active {
    transform: scale(0.9);
    background-color: rgba(52, 152, 219, 0.5);
}

.info-content {
    display: none;
    background-color: #1a1a1a;
    color: #ccc;
    text-align: left;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #333;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.8);
    min-width: 160px;
    pointer-events: none;
}

.info-content.active {
    display: block;
    animation: fadeInSimple 0.2s ease;
}

.info-content strong {
    color: #3498db;
    display: block;
}

@keyframes fadeInSimple {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}





/* ===== LANDING PAGE (EPISODE GRID) ===== */
.landing-container {
    max-width: 1000px;
    margin: 100px auto 50px auto;
    padding: 0 20px;
    overflow-y: auto;
    height: calc(100vh - 150px);
}

.episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding-bottom: 50px;
}

.episode-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);

}

.episode-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}


.episode-card:hover {
    transform: translateY(-10px);
    border-color: #3498db;
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2);
}

.episode-thumb {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #333;
}

.episode-info {
    padding: 20px;
}

.episode-info h3 {
    margin: 0 0 10px 0;
    color: #3498db;
    font-size: 20px;
}

.episode-info p {
    margin: 0;
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.4;
}

.status-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 15px;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

/* Scrollbar dizájn a landing oldalhoz */
.landing-container::-webkit-scrollbar { width: 6px; }
.landing-container::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }




/* ===== BOOK COVER LANDING STYLE ===== */
.landing-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
    overflow-y: auto;
    height: calc(100vh - 120px);
}

.episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* Keskenyebb, álló kártyák */
    gap: 30px;
}

.episode-card {
    position: relative;
    aspect-ratio: 2 / 3; /* Klasszikus könyvborító arány */
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
}

.episode-card:hover {
    transform: scale(1.03) translateY(-5px);
    border-color: #3498db;
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.3);
}

.cover-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.episode-card:hover .cover-img {
    transform: scale(1.1);
}

/* Átmenet a kép alján a szövegnek */
.cover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 20%, rgba(0,0,0,0.4) 60%, transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    box-sizing: border-box;
}

.cover-overlay h3 {
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
    font-family: 'Georgia', serif; /* Könyvszerűbb betűtípus */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.cover-overlay p {
    margin: 8px 0 0 0;
    font-size: 0.85rem;
    color: #3498db;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

.locked-cover {
    filter: grayscale(1) brightness(0.4);
}

.lock-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    opacity: 0.5;
}


.faq-button {
    width: 34px;
    height: 34px;
    background-color: rgba(52, 152, 219, 0.7); /* Erősebb kék */
    border: 1px solid #3498db;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-decoration: none; /* Ne legyen aláhúzva */
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
    font-family: Arial, sans-serif;
}

.faq-button:hover {
    background-color: #3498db;
    transform: scale(1.1);
}

/* Biztosítjuk, hogy mobilon is jól mutassanak egymás mellett */
.info-bubble-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}


/* Vissza gomb a fejlécben */
/* A teljes visszalépés blokk */
.back-link {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3498db; /* A főcím kékje */
    text-decoration: none;
    pointer-events: auto;
    z-index: 1100;
    transition: all 0.3s ease;
}

/* Maga a nyíl ikon */
.back-arrow {
    font-size: 28px; /* Nagyobb méret */
    font-weight: bold;
    /* Adunk neki egy neonos ragyogást */
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.8); 
}

/* A BACK felirat */
.back-text {
    font-family: 'Cinzel', serif; /* Ugyanaz a stílus, mint a főcímé */
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 700;
    color: white;
    opacity: 0.9;
}

/* Hover effekt: ha rátartod az egeret, világítson jobban és mozduljon el */
.back-link:hover {
    transform: translateY(-50%) translateX(-3px); /* Kicsit balra mozdul */
    filter: brightness(1.3);
}

.back-link:hover .back-arrow {
    text-shadow: 0 0 15px rgba(52, 152, 219, 1);
}

/* Mobilos finomhangolás */
@media(max-width:768px) {
    .back-link {
        left: 10px;
    }
    .back-arrow {
        font-size: 24px;
    }
    .back-text {
        font-size: 12px;
        letter-spacing: 1px;
    }
}

.faq-promo {
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    position: relative;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.faq-promo:hover {
    background: rgba(52, 152, 219, 0.15);
    transform: translateX(5px);
    border-color: rgba(52, 152, 219, 0.5);
}

.faq-link-style {
    color: #3498db;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: bold;
}

.arrow-indicator {
    margin-left: auto;
    font-size: 18px;
    opacity: 0.5;
    color: #3498db;
}


/* Erősségmérő konténer a kártya sarkában */
.intensity-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    background: rgba(0, 0, 0, 0.6); /* Enyhe háttér, hogy olvasható legyen a kép felett */
    padding: 6px 10px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.intensity-tag span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
}

/* A mérő vonalai */
.intensity-meter {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 14px;
}

.intensity-meter .bar {
    width: 4px;
    background-color: rgba(255, 255, 255, 0.2); /* Alap üres szín */
    border-radius: 1px;
    transition: background-color 0.3s ease;
}

/* Magasságok */
.intensity-meter .bar:nth-child(1) { height: 20%; }
.intensity-meter .bar:nth-child(2) { height: 40%; }
.intensity-meter .bar:nth-child(3) { height: 60%; }
.intensity-meter .bar:nth-child(4) { height: 80%; }
.intensity-meter .bar:nth-child(5) { height: 100%; }

/* Színkódok a szintek alapján */
[data-level="1"] .bar:nth-child(1) { background-color: #ffffff; }

[data-level="2"] .bar:nth-child(-n+2) { background-color: #2ecc71; }

[data-level="3"] .bar:nth-child(-n+3) { background-color: #f1c40f; }

[data-level="4"] .bar:nth-child(-n+4) { background-color: #e67e22; }

[data-level="5"] .bar:nth-child(-n+5) { background-color: #e74c3c; }



/* Age gate konténer a loginboxon belül */
.age-gate {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: left;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.age-gate label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    line-height: 1.3;
    color: #fff;
}

.age-gate input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* A pinpad gombjai, ha le vannak tiltva */
.pinpad button:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    filter: grayscale(1);
    pointer-events: none; /* Biztosra megyünk, hogy ne lehessen kattintani */
}



/* Gradiens stílus a kiemelt feliratoknak */
.gradient-text {
    /* Háromszínű átmenet: Kék -> Fehér -> Kék (így lesz folyamatos a csillogás) */
    background: linear-gradient(to right, #3498db 0%, #ffffff 50%, #3498db 100%);
    
    /* A hátteret 200%-ra vesszük, hogy legyen mit mozgatni */
    background-size: 200% auto;
    
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 800;
    
    /* Az animáció: 3 másodperces, egyenletes és sosem áll le */
    animation: shine-animation 4s linear infinite;
}

/* Az animáció definíciója */
@keyframes shine-animation {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}


/* A fejléc speciális igazítása, hogy ne csússzon el a gradiens miatt */
.header .gradient-text {
    letter-spacing: 3px;
    font-size: 18px;
}



/* Animált gradiens stílus */
.animated-title {
    background: linear-gradient(to right, #3498db 0%, #ffffff 50%, #3498db 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block; /* Fontos az animációhoz */
    font-weight: 800;
    animation: shine-animation 4s linear infinite;
}

/* Az animáció sebessége és mozgása */
@keyframes shine-animation {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Igazítás a fejlécben */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
}



.anthology-style {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;           /* Nagyon vékony betűk */
    letter-spacing: 12px;       /* Extra nagy hely a betűk között - ez adja meg a luxus érzetet */
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4); /* Finom, áttetsző fehér */
    font-size: 11px;
    text-align: center;
    margin-bottom: 60px;
    margin-top: 20px;
    display: block;
    position: relative;
}

/* Egy apró kék vonal a felirat alatt, hogy passzoljon a főcímhez */
.anthology-style::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: #3498db; /* A főcím kékje */
    opacity: 0.5;
}



/* ===== SZÖVEG STACK LAPOZÁSHOZ ===== */
.text-stack p {
    display: none;
    animation: fadeInText 0.5s ease-in-out;
}

.text-stack p.active {
    display: block;
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media(max-width:768px){
    .info-bubble-container {
        bottom: 8px; /* Mobilon szinte teljesen rátapad a képernyő aljára */
        left: 10px;  /* Kicsit közelebb húzhatod a bal szélhez is, ha akarod */
    }
}


/* ===== ÖSSZECSUKHATÓ ALSÓ MENÜ ===== */
.menu-items {
    display: flex;
    gap: 10px;
    max-width: 0;           /* Alapból nulla a szélessége */
    overflow: hidden;       /* Elrejti, ami kilóg */
    opacity: 0;             /* Alapból láthatatlan */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;   /* Ne lehessen véletlenül a semmire kattintani */
}

.menu-items.open {
    max-width: 300px;       /* Nyitva elég széles, hogy kiférjenek a gombok */
    opacity: 1;             /* Látható lesz */
    pointer-events: auto;
}

.menu-toggle {
    transition: transform 0.4s ease, background-color 0.3s ease;
}

.menu-toggle.open {
    transform: rotate(90deg);  /* Látványosan elfordul 90 fokot */
    background-color: #3498db; /* Bekapcsolt állapotban élénk kék lesz */
    color: white;
}




/* === ELEGÁNS NYELVVÁLASZTÓ A FEJLÉCBEN === */
.header-lang {
    position: absolute;
    /* JOBB helyett BALRA igazítjuk, 55px távolságra, hogy elférjen a Vissza nyíl! */
    left: 55px; 
    top: 50%;
    transform: translateY(-50%); 
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; 
    font-weight: 800;
    pointer-events: auto; 
    z-index: 1100;
}

.header-lang a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.4); 
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.header-lang a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Az aktív nyelv kiemelése (Sárga) */
.header-lang a.active-lang {
    color: #f1c40f;
    text-shadow: 0 0 8px rgba(241, 196, 15, 0.6); 
}

/* Az elválasztó vonal (|) stílusa */
.header-lang .divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 11px;
    user-select: none; 
}

/* Kisebb telefonokon (pl. iPhone SE) picit közelebb húzzuk a nyílhoz, hogy elférjen a címmel */
@media(max-width:380px) {
    .header-lang { left: 45px; font-size: 11px; }
}



/* === KÁRTYÁK (KÖNYVBORÍTÓK) MÉRETE MOBILON === */
@media (max-width: 768px) {
    .episode-grid {
        /* A 220px helyett 140px lesz a minimum, így két kártya is kifér egymás mellé! */
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px; /* Kisebb hézag a kártyák között */
    }

    .cover-overlay {
        padding: 10px; /* Kisebb belső margó, hogy a szöveg ne lógjon le */
    }

    .cover-overlay h3 {
        font-size: 1.1rem; /* Kisebb betűméret a címnek */
    }

    .cover-overlay p {
        font-size: 0.7rem; /* Kisebb betűméret az alcímnek */
    }
    
    .lock-icon {
        font-size: 28px; /* A lakat ikon is legyen kisebb */
    }

    .intensity-tag {
        /* A sarokban lévő erősségmérőt is arányosan lekicsinyítjük 80%-ra */
        transform: scale(0.8); 
        transform-origin: top right;
        top: 8px;
        right: 8px;
    }
}


/* === FŐCÍM KICSNYÍTÉSE MOBILON (MÉG NAGYOBB VERZIÓ) === */
@media (max-width: 768px) {
    .animated-title {
        font-size: 16px;         /* 14px-ről 16px-re növelve! */
        letter-spacing: 3px;     /* A prémium távolság megmarad */
        margin-left: 10px;       /* Kicsit engedtünk rajta balra, hogy elférjen ez a méret */
    }
}

/* Nagyon apró telefonokra (pl. régebbi iPhone-ok) */
@media (max-width: 380px) {
    .animated-title {
        font-size: 13px;         /* Itt is emeltünk egy picit */
        letter-spacing: 2px;
        margin-left: 15px; 
    }
}

/* PC-n továbbra is marad a szép nagy, tekintélyes méret */
@media (min-width: 769px) {
    .animated-title {
        font-size: 18px;
        letter-spacing: 5px;
    }
}




/* === AGE GATE (18+) LINK SZÍNE === */
.age-gate a {
    color: #3498db; /* A főcím szép világoskékje */
    text-decoration: underline; /* Aláhúzás, hogy egyértelmű legyen, hogy kattintható */
    text-underline-offset: 3px; /* Picit lejjebb toljuk az aláhúzást, így sokkal profibb */
    font-weight: bold;
    transition: color 0.3s ease;
}

.age-gate a:hover {
    color: #f1c40f; /* PC-n, ha rátolod az egeret, sárgán fog világítani */
}



/* Megakadályozza a kijelölést és a képek elhúzását */
img, video {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    
    /* Megakadályozza, hogy "megfogva" elhúzzák a képet */
    pointer-events: none; 
}