/* ============================================================
   DEEP SHINE UNIVERSE — style.css
   Rendezett, tisztított verzió — duplikációk eltávolítva,
   media query-k konszolidálva, logikus sorrend
   ============================================================ */


/* ============================================================
   1. ALAP / RESET
   ============================================================ */

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: #0d0d0d;
    color: white;
    overflow: hidden;
}

img,
video {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    pointer-events: none;
}


/* ============================================================
   2. FEJLÉC
   ============================================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #0d0d0d;
    pointer-events: none;
}

.header b,
.header .main-title {
    font-weight: 50;
    font-size: 18px;
    letter-spacing: 3px;
    margin: 0;
    padding: 0;
}

.header .gradient-text {
    letter-spacing: 3px;
    font-size: 18px;
}


/* ============================================================
   3. VISSZA GOMB
   ============================================================ */

.back-link {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3498db;
    text-decoration: none;
    pointer-events: auto;
    z-index: 1100;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateY(-50%) translateX(-3px);
    filter: brightness(1.3);
}

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

.back-arrow {
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.8);
}

.back-text {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 700;
    color: white;
    opacity: 0.9;
}


/* ============================================================
   4. NYELVVÁLASZTÓ
   ============================================================ */

.header-lang {
    position: absolute;
    left: 55px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    pointer-events: auto;
    z-index: 1100;
}

.lang-dropdown {
    background: transparent;
    border: 1px solid rgba(241, 196, 15, 0.5);
    color: rgba(255, 255, 255, 0.8);
    padding: 4px 8px;
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.lang-dropdown:hover {
    border-color: #f1c40f;
    color: #f1c40f;
    text-shadow: 0 0 8px rgba(241, 196, 15, 0.6);
}

.lang-dropdown:focus {
    border-color: #f1c40f;
    color: #f1c40f;
}

.lang-dropdown option {
    background: #0d0d0d;
    color: rgba(255, 255, 255, 0.8);
}


/* ============================================================
   5. STORY / JELENET
   ============================================================ */

#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;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(5vh);
    transition: left 0.5s ease, opacity 0.4s ease;
}

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

.scene p {
    font-family: 'Lora', serif;
    /* Lebegő szövegméretező: alap + delta (0 / -2px / -4px) */
    font-size: calc(25px + var(--scene-fz-delta, 0px));
    line-height: 1.4;
    margin-top: 25px;
    max-width: 750px;
    text-align: center;
}

.scene img,
.scene video {
    max-width: 93.5%;   /* +10% (volt 85%) */
    max-height: 71.5vh; /* +10% (volt 65vh) */
    border-radius: 14px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
	
	
	pointer-events: auto !important; /* Engedélyezi a kattintást */
    -webkit-user-select: auto;
    user-select: auto;
    cursor: pointer;
	
}

.scene img {
    width: auto;
    max-width: 100%;
    height: 1195px; /* natív 1200px alatt, hogy éles maradjon (volt 1115px) */
    display: block;
    margin: 0 auto;
    object-fit: contain;
    background-color: #000;
}

/* Multi-kép stack */
.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;
}

/* Szöveg-stack lapozáshoz */
.text-stack p {
    display: none;
    animation: fadeInText 0.5s ease-in-out;
}

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

/* Bezárás gomb */
.closebtn {
    margin-top: 30px;
    padding: 14px 26px;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.063);
    color: white;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: 0.3s;
}

.closebtn:hover {
    background: rgba(255, 255, 255, 0.145);
}


/* ============================================================
   6. NAVIGÁCIÓ (NYILAK)
   ============================================================ */

.nav-zone {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    height: 42%;
    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.7;
    pointer-events: none;
    transition: 0.3s;
    animation: arrowPulse 2.5s infinite;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
}

.nav-zone:hover .arrow {
    opacity: 1;
}


/* ============================================================
   7. LEZÁRÁS / BLUR
   ============================================================ */

.locked {
    filter: blur(10px) brightness(0.6);
}

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

.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;
}


/* ============================================================
   8. PIN / LOGIN 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);
    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);
    box-shadow: 0 0 50px rgba(0, 0, 0, 1);
    width: 100%;
    max-width: 400px;
}

.loginbox h2 {
    margin-top: 5px;
    margin-bottom: 5px;
}

/* PIN fejléc (kijelző + backspace sor) */
.pin-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 0;
    margin-bottom: 5px;
    height: 30px;
}

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

.pindisplay {
    margin: 0;
    font-size: 26px;
    letter-spacing: 12px;
    line-height: 30px;
    padding-left: 12px;
    color: white;
}

.backspace-btn {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #ff4d4d;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
    transition: transform 0.2s;
}

.backspace-btn:hover:not(:disabled) {
    transform: scale(1.2);
    color: #ff0000;
}

.backspace-btn:disabled {
    color: #444;
    cursor: default;
    opacity: 0.3;
}

/* PIN billentyűzet */
.pinpad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 260px;
    margin: 20px auto 0;
    justify-items: center;
}

.pinpad button {
    width: 100%;
    height: 60px;
    font-size: 22px;
    border: none;
    border-radius: 12px;
    background: #1c1c1c;
    color: white;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pinpad button:active:not(:disabled) {
    transform: scale(0.95);
    background: #333;
}

.pinpad button:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    filter: grayscale(1);
    pointer-events: none;
}

/* CLEAR gomb */
.pinpad .clear-btn {
    grid-column: span 3;
    width: 100%;
    height: 35px;
    font-size: 12px;
    letter-spacing: 4px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    font-weight: bold;
}

.pinpad .clear-btn:hover:not(:disabled) {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.4);
}

/* Ingyenes mód */
.is-free-mode .pinpad,
.is-free-mode .pin-header {
    display: none;
}

.is-free-mode .loginbox {
    border: 1px solid rgba(241, 196, 15, 0.4);   /* arany, az oldal saját kiemelő színe */
}


.is-free-mode .faq-promo {
    display: none;
}

.free-open-btn {
    width: 100%;
    padding: 22px;
    font-size: 18px;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    letter-spacing: 2px;
    color: #2b1d00;                              /* sötét felirat az aranyon: olvasható kontraszt */
    background: linear-gradient(to right, #b8860b, #f1c40f);
    border: 1px solid rgba(255, 235, 160, 0.35);
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin: 10px 0;
}

.free-open-btn:hover:not(:disabled) {
    transform: scale(1.02);
    background: linear-gradient(to right, #f1c40f, #b8860b);
    box-shadow: 0 0 22px rgba(241, 196, 15, 0.45);
}

.free-open-btn:disabled {
    opacity: 0.2;
    filter: grayscale(1);
    cursor: not-allowed;
}

/* Shake animáció helytelen PIN-re */
.shake {
    animation: shake 0.3s;
}

/* Életkor ellenőrzés */
.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;
}

.age-gate a {
    color: #3498db;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.age-gate a:hover {
    color: #f1c40f;
}


/* ============================================================
   9. LANDING OLDAL / EPIZÓD RÁCS
   ============================================================ */

.landing-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
    overflow-y: auto;
    height: calc(100vh - 120px);
}

.landing-container::-webkit-scrollbar { width: 6px; }
.landing-container::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }

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

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

.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: 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);
}

.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;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cover-overlay p {
    margin: 8px 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;
}

/* Epizód infó (alternatív lista stílus) */
.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;
    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);
}

/* Anthology alcím */
.anthology-style {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;                    /* enyhén vastagabb az exklúzívabb érzéshez */
    letter-spacing: 12px;
    text-transform: uppercase;
    color: #f1c40f;                      /* brand gold — ugyanaz mint a többi kiemelt elem */
    font-size: 11px;
    text-align: center;
    margin-bottom: 60px;
    margin-top: 20px;
    display: block;
    position: relative;
    text-shadow: 0 0 0.5px currentColor; /* finom thickness boost ha a 500-as font még nem töltött be */
}

.anthology-style::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: #f1c40f;                 /* arany vonal a kék helyett — passzol a szöveghez */
    opacity: 0.6;
}

/* Oldal-választó */
.page-selector-container {
    position: fixed;
    top: 60px;
    right: 20px;
    z-index: 10002;
}

.page-bubble-select {
    background: rgba(52, 152, 219, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: bold;
    border: 1px solid rgba(52, 152, 219, 0.5);
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    text-align: center;
    transition: all 0.3s ease;
}

.page-bubble-select:hover {
    background: rgba(52, 152, 219, 0.6);
}

.page-bubble-select option {
    background: #1a1a1a;
    color: white;
}


/* ============================================================
   10. ERŐSSÉGMÉRŐ ÉS FIZETÉSI JELÖLŐ
   ============================================================ */

.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);
    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;
}

.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);
    border-radius: 1px;
    transition: background-color 0.3s ease;
}

/* Magasságok elosztása 4 vonalra */
.intensity-meter .bar:nth-child(1) { height: 35%; }
.intensity-meter .bar:nth-child(2) { height: 60%; }
.intensity-meter .bar:nth-child(3) { height: 80%; }
.intensity-meter .bar:nth-child(4) { height: 100%; }

/* Színkódok az új 4-es skálához */
[data-level="1"] .bar:nth-child(-n+1) { background-color: #2ecc71; } /* Zöld */
[data-level="2"] .bar:nth-child(-n+2) { background-color: #f1c40f; } /* Sárga */
[data-level="3"] .bar:nth-child(-n+3) { background-color: #e67e22; } /* Narancs */
[data-level="4"] .bar:nth-child(-n+4) { background-color: #e74c3c; } /* Piros */

/* Fizetési jelölő */
.payment-tag {
    position: absolute;
    top: 62px;
    right: 15px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 82px;
    padding: 6px 10px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.6);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    text-align: center;
}

.payment-tag.paid {
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.payment-tag.free {
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}


/* ============================================================
   11. FIGYELMEZTETÉSEK (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.7);
    padding: 10px 14px;
    border-radius: 10px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.warn-block img {
    width: 38px;
}

.warn-block strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #ffffff;
}

.warn-block div,
.warn-block b {
    font-size: 12px;
    line-height: 1.4;
    color: #ffffff;
    font-weight: 300;
    opacity: 1;
}


/* ============================================================
   12. INFO GOMB ÉS BUBORÉK
   ============================================================ */

.info-bubble-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    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;
}

/* FAQ gomb */
.faq-button {
    width: 34px;
    height: 34px;
    background-color: rgba(52, 152, 219, 0.7);
    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;
    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);
}

.faq-promo {
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    border: 1px solid rgba(241, 196, 15, 0.55);
    background: rgba(241, 196, 15, 0.06);
    animation: faqPromoGlow 1.2s ease-in-out infinite;
}

.faq-promo:hover {
    background: rgba(241, 196, 15, 0.14);
    transform: translateX(5px);
    border-color: rgba(241, 196, 15, 0.85);
}

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

.arrow-indicator {
    margin-left: auto;
    font-size: 18px;
    opacity: 0.9;
    color: #f1c40f;
    animation: faqArrowNudge 1.4s ease-in-out infinite;
}


/* ============================================================
   13. ALSÓ MENÜ
   ============================================================ */

.menu-items {
    display: flex;
    gap: 10px;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.menu-items.open {
    max-width: 400px;
    opacity: 1;
    pointer-events: auto;
}

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

.menu-toggle.open {
    transform: rotate(90deg);
    background-color: #3498db;
    color: white;
}


/* ============================================================
   14. SZAVAZÁS
   ============================================================ */

.votebtn {
    margin: 6px 8px;
    padding: 11px 24px;
    font-size: 18px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.082);
    color: white;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: 0.3s;
}

.votebtn:hover {
    background: rgba(255, 255, 255, 0.208);
}

/* --- Anonim vélemény mező (rating és gombok között) --- */
/* FONTOS: a globális ".scene p" szelektor specifikussága (0,1,1) erősebb,
   mint egy egyszerű ".feedback-hint" osztály (0,1,0). Ezért ".scene"-be
   skatulyázzuk, hogy a kicsi font és a kis margó tényleg érvényesüljön. */
.scene .feedback-hint {
    font-size: 13px;
    opacity: 0.72;
    margin: 0 auto 7px;
    max-width: 420px;
    line-height: 1.45;
    padding: 0 10px;
}

.feedback-input {
    display: block;
    width: 90%;
    max-width: 420px;
    margin: 0 auto;
    padding: 9px 13px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.35;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(241, 196, 15, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.3s, background 0.3s;
}

.feedback-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.feedback-input:focus {
    outline: none;
    border-color: #f1c40f;
    background: rgba(255, 255, 255, 0.10);
}

.feedback-counter {
    width: 90%;
    max-width: 420px;
    margin: 3px auto 0;
    text-align: right;
    font-size: 11px;
    opacity: 0.5;
}

.vote-buttons {
    margin-top: 8px;
}

/* --- Az utolsó (feedback) jelenet tömörítése --- */
/* A globális ".scene p { margin-top:25px; font-size: calc(25px...) }" felülírása
   a záró szívecskés sorra, hogy ne nyomja le a képernyő aljáról. */
.scene p.final-thx {
    font-size: 16px;
    margin: 8px 0 0;
}

/* Telefonon szűkebb a függőleges hely, ezért még jobban összehúzzuk
   az utolsó jelenetet, hogy görgetés nélkül is látszódjon a záró sor. */
@media (max-width: 768px) {
    .scene.final-scene {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .final-scene .feedback-input {
        padding: 8px 12px;
        font-size: 14px;
    }
    .scene p.final-thx {
        font-size: 15px;
        margin-top: 6px;
    }
    .final-scene .votebtn {
        padding: 9px 20px;
        font-size: 17px;
        margin: 5px 6px;
    }
}

/* ============================================================
   14/B. ZÁRÓ (FEEDBACK) JELENET — NAGYOBB KIJELZŐ / ASZTALI
   ------------------------------------------------------------
   PROBLÉMA: nagyobb kijelzőn a ".scene" flex-direction:row-ra vált
   (kép + szöveg egymás mellett), de a záró jelenetnek 3 blokk-gyereke
   van (promo, értékelés, köszönő sor), így azok szétszóródnak egymás
   mellé és összefüggéstelennek tűnnek.
   MEGOLDÁS: a záró jelenetet itt VISSZAÁLLÍTJUK függőlegesre, a promo-
   és értékelés-blokkot pedig két egyforma magas, elegáns kártyaként
   tesszük egymás mellé, alattuk középre zárt köszönő sorral.
   ============================================================ */
@media (min-width: 769px) {

    /* Felül a kártya-rács, alatta a köszönő sor — NE legyen 'row'. */
    .scene.final-scene {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 22px;
        /* Bőséges oldalsó hely, hogy a tartalom ne csússzon a nav-nyilak alá. */
        padding: 20px 12%;
    }

    /* Kétoszlopos kártya-rács. Szűk helyen automatikusan egymás alá tördel. */
    .final-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;      /* egyforma magas kártyák */
        gap: 26px;
        width: 100%;
        max-width: 920px;
        margin: 0 auto;
    }

    /* Egy-egy kártya */
    .final-col {
        flex: 1 1 0;
        min-width: 300px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 28px 26px;
        border-radius: 18px;
        background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.015) 100%);
        border: 1px solid rgba(255,255,255,0.07);
        box-shadow: 0 18px 50px rgba(0,0,0,0.45);
        box-sizing: border-box;
    }

    /* A promo-kártya enyhe arany hangsúlyt kap, hogy a CTA kiemelkedjen. */
    .final-col--promo {
        border-color: rgba(241,196,15,0.20);
        background: linear-gradient(180deg, rgba(241,196,15,0.07) 0%, rgba(241,196,15,0.015) 100%);
    }

    /* A promo belső doboza töltse ki a kártyát, fölös oldalpadding nélkül. */
    .final-col--promo > div {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Az értékelés belső doboz felső margója a kártyán belül felesleges. */
    .final-col--rating > div {
        margin-top: 0 !important;
    }

    /* A mező és a hozzá tartozó feliratok töltsék ki a kártya szélességét. */
    .final-col .feedback-hint,
    .final-col .feedback-input,
    .final-col .feedback-counter {
        max-width: 100%;
        width: 100%;
    }

    /* A kártyán belüli bekezdések középre, és NE nyúljanak meg (flex:1 kerülése).
       A ".scene .final-col p" (0,2,1) erősebb, mint az asztali ".scene p" (0,1,1),
       így tényleg középre zár. */
    .scene .final-col p {
        text-align: center;
        max-width: 100%;
        flex: 0 0 auto;
    }

    /* Köszönő sor: a két kártya alatt, teljes szélességben, középre zárva. */
    .scene.final-scene p.final-thx {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        text-align: center;
        margin: 4px 0 0;
        opacity: 0.85;
    }
}


/* ============================================================
   15. UTILITY OSZTÁLYOK
   ============================================================ */

/* Animált gradiens szöveg */
.gradient-text,
.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;
    font-weight: 800;
    animation: shine-animation 4s linear infinite;
}

.animated-title {
    font-family: 'Cinzel', serif;
    letter-spacing: 5px;
    font-size: 18px;
}


/* ============================================================
   16. ANIMÁCIÓK (@keyframes)
   ============================================================ */

@keyframes shine-animation {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

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

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

@keyframes shake {
    0%   { transform: translateX(0); }
    25%  { transform: translateX(-6px); }
    50%  { transform: translateX(6px); }
    75%  { transform: translateX(-6px); }
    100% { transform: translateX(0); }
}

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

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


/* ============================================================
   17. RESZPONZÍV — @media (max-width: 768px)
   ============================================================ */

@media (max-width: 768px) {

    /* Fejléc */
    .header {
        align-items: flex-end;
        padding-right: 15px;
        box-sizing: border-box;
    }

    /* Animált cím */
    .animated-title {
        font-size: 16px;
        letter-spacing: 3px;
        margin-left: 10px;
    }

    /* Vissza gomb */
    .back-link { left: 10px; }
    .back-arrow { font-size: 24px; }
    .back-text  { font-size: 12px; letter-spacing: 1px; }

    /* Story szöveg és média */
    .scene p {
        font-size: calc(18px + var(--scene-fz-delta, 0px));
        margin-top: 15px;
        padding: 0 10px;
    }

    .scene img,
    .scene video {
        max-height: calc(55vh * var(--scene-img-scale, 1)); /* +10% (volt 50vh) — zsugorítható */
    }

    .scene img {
        height: auto;
        min-height: calc(440px * var(--scene-img-scale, 1)); /* +10% (volt 400px) — zsugorítható */
    }

    /* VIDEÓ — telefon portré: kb. +20%, arányosan, nem lóg ki sem oldalt, sem fent */
    .scene video {
        width: 100%;        /* a .scene 20px paddingja miatt nem ér a képernyő széléig */
        max-width: 100%;    /* nem lóg ki oldalt */
        height: auto;       /* arányos (a videó képaránya megmarad) */
        max-height: calc(66vh * var(--scene-img-scale, 1));   /* +20% (volt 55vh) — zsugorítható */
        object-fit: contain;
        min-height: 0;      /* nehogy a kép min-height-ja ide is hasson */
    }

    /* Nyilak */
    .nav-zone { width: 13%; }
    .arrow { opacity: 0.7; }

    /* Lezárt nyíl */
    .locked .arrow {
        font-size: 85px;
        opacity: 1;
        text-shadow: 0 0 40px rgba(255, 255, 255, 1);
    }

    /* PIN / Loginbox */
    .loginbox {
        padding: 10px 20px 25px;
        width: 78%;
        max-width: 320px;
        transform: translateY(15vh);
        height: auto;
        margin: 0 auto;
    }

    .pin-header {
        height: 25px;
        margin-bottom: 8px;
    }

    .pindisplay {
        font-size: 24px;
        line-height: 25px;
        letter-spacing: 6px;
    }

    #pinDisplay {
        margin: 5px auto 10px;
        letter-spacing: 6px;
        width: 240px;
        font-size: 24px;
        height: auto;
        line-height: 32px;
    }

    .pinpad {
        gap: 8px;
        max-width: 240px;
        margin-top: 5px;
    }

    .pinpad button {
        height: 55px;
        font-size: 20px;
    }

    .pinpad .clear-btn {
        height: 30px;
        line-height: 30px;
        font-size: 11px;
        margin-top: 5px;
        padding: 0;
        letter-spacing: 3px;
    }

    /* Epizód rács */
    .episode-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .cover-overlay { padding: 10px; }
    .cover-overlay h3 { font-size: 1.1rem; }
    .cover-overlay p  { font-size: 0.7rem; }

    .lock-icon { font-size: 28px; }

    .intensity-tag {
        transform: scale(0.8);
        transform-origin: top right;
        top: 8px;
        right: 8px;
    }

    .payment-tag {
        transform: scale(0.8);
        transform-origin: top right;
        top: 48px;
        right: 8px;
    }

    /* Figyelmeztetések */
    .top-warning {
        top: 45px;
        left: 10px;
        transform: scale(0.85);
    }

    /* Info buborék */
    .info-bubble-container {
        bottom: 8px;
        left: 10px;
    }

    /* PIN fejléc mobil */
    .pin-header {
        height: 25px;
        margin-bottom: 8px;
    }
}


/* ============================================================
   18. RESZPONZÍV — @media (max-width: 380px)  (kis telefonok)
   ============================================================ */

@media (max-width: 380px) {

    .animated-title {
        font-size: 12px;
        letter-spacing: 1px;
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .header-lang {
        left: auto;
        right: 10px;
    }
    
    .lang-dropdown {
        font-size: 10px;
    }

    /* PIN display nagyon kis telefonokon — még szorosabb betűköz */
    .pindisplay,
    #pinDisplay {
        letter-spacing: 4px;
        width: 200px;
        font-size: 22px;
    }
}


/* ============================================================
   19. RESZPONZÍV — TABLET PORTRAIT (768px - 1024px)
   ============================================================ */

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {

    .animated-title {
        font-size: 16px;
        letter-spacing: 4px;
    }

    .header {
        height: 50px;
    }

    .header b,
    .header .main-title,
    .header .gradient-text {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .back-arrow {
        font-size: 24px;
    }

    .back-text {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .header-lang {
        left: 50px;
    }
    
    .lang-dropdown {
        font-size: 11px;
    }

    .pinpad {
        max-width: 280px;
    }

    /* Story: függőleges elrendezés, nagyobb képek */
    .scene {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 60px 30px 30px 30px;
        gap: 30px;
    }

    .scene img,
    .scene video {
        width: auto;
        max-width: 99%;   /* +10% (volt 90%) */
        max-height: 55vh; /* +10% (volt 50vh) */
        object-fit: contain;
        border-radius: 16px;
        background-color: transparent;
    }

    .scene img {
        height: auto;
    }

    /* Multi-kép stack tablet-hez */
    .image-stack {
        width: 100%;
        max-width: 99%; /* +10% (volt 90%) */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .image-stack img {
        width: auto;
        max-width: 100%;
        max-height: 55vh; /* +10% (volt 50vh) */
        object-fit: contain;
        background-color: transparent;
    }

    .scene p {
        font-size: calc(22px + var(--scene-fz-delta, 0px));
        line-height: 1.6;
        max-width: 800px;
        text-align: center;
        margin-top: 10px;
    }

    /* Nyilak: nagyobb tablethez */
    .nav-zone {
        width: 15%;
        height: 50%;
    }

    .arrow {
        font-size: 48px;
    }

    /* PIN overlay tablet-hez */
    .loginbox {
        max-width: 450px;
        padding: 50px;
        width: 85%;
    }

    .loginbox h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    #pinDisplay {
        font-size: 32px;
        letter-spacing: 14px;
        margin: 20px auto 35px;
        height: 45px;
        line-height: 45px;
    }

    .pin-header {
        height: 35px;
        margin-bottom: 12px;
    }

    .pinpad {
        gap: 10px;
        max-width: 300px;
        margin-top: 15px;
    }

    .pinpad button {
        height: 52px;
        font-size: 22px;
        border-radius: 12px;
    }

    .pinpad .clear-btn {
        height: 30px;
        font-size: 12px;
    }

    .free-open-btn {
        padding: 16px 32px;
        font-size: 18px;
        margin-top: 20px;
    }

    .age-gate {
        font-size: 13px;
        padding: 10px;
        margin-bottom: 15px;
    }

    /* Buborék link tablet portrait-hez */
    .bubble-link {
        position: fixed;
        top: 30px;
        left: 30px;
        margin: 0;
        padding: 12px 28px;
        font-size: 12px;
        display: block;
        max-width: 160px;
    }

    /* Info buborék */
    .info-bubble-container {
        bottom: 20px;
        left: 20px;
    }

    /* Top warning */
    .top-warning {
        top: 55px;
        left: 20px;
        transform: scale(0.95);
    }

    /* Bezárás gomb */
    .closebtn {
        padding: 16px 32px;
        font-size: 16px;
        margin-top: 40px;
    }
}


/* ============================================================
   19b. RESZPONZÍV — TABLET LANDSCAPE (768px - 1024px)
   ============================================================ */

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

    .animated-title {
        font-size: 15px;
        letter-spacing: 3px;
    }

    .header {
        height: 48px;
    }

    .header b,
    .header .main-title,
    .header .gradient-text {
        font-size: 15px;
        letter-spacing: 2px;
    }

    .back-arrow {
        font-size: 22px;
    }

    .back-text {
        font-size: 11px;
    }

    .header-lang {
        left: 48px;
    }
    
    .lang-dropdown {
        font-size: 10px;
    }

    /* Story: kép és szöveg egymás mellett - tablet landscape */
    .scene {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 35px;
        padding: 15px 16% 15px 16%;
        box-sizing: border-box;
    }

    .scene img,
    .scene video {
        width: 44%; /* +10% (volt 40%) */
        height: auto;
        max-height: 93.5vh; /* +10% (volt 85vh) */
        object-fit: contain;
        flex-shrink: 0;
        background-color: transparent;
        border-radius: 14px;
    }

    .scene img {
        min-height: unset;
    }

    /* Multi-kép stack */
    .image-stack {
        width: 44%; /* +10% (volt 40%) */
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .image-stack img {
        width: 100%;
        height: auto;
        max-height: 93.5vh; /* +10% (volt 85vh) */
        object-fit: contain;
        background-color: transparent;
    }

    .scene p {
        font-size: calc(18px + var(--scene-fz-delta, 0px));
        line-height: 1.5;
        margin-top: 0;
        text-align: left;
        flex: 1;
        max-width: 100%;
    }

    /* FIX: text-stack is töltse ki a maradék helyet (kép-ugrálás ellen) */
    .scene .text-stack {
        flex: 1;
        min-width: 0;
    }

    /* Nyilak landscape */
    .nav-zone {
        width: 12%;
        height: 60%;
    }

    .arrow {
        font-size: 50px;
    }

    /* PIN overlay landscape tablet */
    .overlay {
        justify-content: flex-end;
        align-items: center;
        padding-right: 50%;
    }

    .loginbox {
        max-width: 380px;
        width: 50vw;
        padding: 28px 32px;
        transform: none !important;
        margin-right: 80px;
    }

    .loginbox h2 {
        font-size: 16px;
        margin: 5px 0 10px 0;
    }

    #pinDisplay {
        font-size: 24px;
        letter-spacing: 12px;
        margin: 12px auto 20px;
        height: 38px;
        line-height: 38px;
    }

    .pin-header {
        height: 28px;
        margin-bottom: 8px;
    }

    .pinpad {
        gap: 8px;
        max-width: 280px;
        margin-top: 10px;
    }

    .pinpad button {
        height: 48px;
        font-size: 20px;
        border-radius: 10px;
    }

    .pinpad .clear-btn {
        height: 28px;
        font-size: 11px;
    }

    .free-open-btn {
        padding: 14px 28px;
        font-size: 16px;
        margin-top: 15px;
    }

    .age-gate {
        font-size: 12px;
        padding: 9px;
        margin-bottom: 10px;
    }

    /* Figyelmeztetések landscape */
    .top-warning {
        top: 50%;
        left: 15px;
        transform: translateY(-50%) scale(0.85);
        max-width: 35vw;
        gap: 8px;
    }

    /* Buborék link landscape */
    .bubble-link {
        position: fixed;
        top: 48px;
        left: 60%;
        transform: translateX(-50%);
        margin: 0;
        padding: 10px 24px;
        font-size: 11px;
        max-width: 200px;
    }

    /* Info buborék */
    .info-bubble-container {
        bottom: 12px;
        left: 15px;
    }

    /* Bezárás gomb */
    .closebtn {
        padding: 14px 26px;
        font-size: 15px;
        margin-top: 20px;
    }

    .scene-prog {
        width: auto;
        margin: 0 0 0 20px;
    }
}


/* ============================================================
   20. RESZPONZÍV — @media (min-width: 1025px)  (asztali / nagy tablet)
   ============================================================ */

@media (min-width: 1025px) {

    .animated-title {
        font-size: 18px;
        letter-spacing: 5px;
    }

    .pinpad {
        max-width: 260px;
    }

    /* PIN overlay landscape tablet-en és asztalon */
    .overlay {
        justify-content: center !important;
        padding-right: 0 !important;
    }

    .loginbox {
        margin-left: 190px !important;
        margin-top: 70px !important;
    }

    /* Asztali: kép és szöveg egymás mellett */
    .scene {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 40px;
        /* Bal és jobb oldalt helyet hagyunk a nav nyilaknak (nav-zone = 20%) */
        padding: 10px 22% 20px 22%;
        box-sizing: border-box;
    }

    .scene img,
    .scene video {
        /* Szélesség fix, magasság automatikus -> nincs fekete sáv */
        width: 42%;
        height: auto;
        max-height: 80vh;
        object-fit: contain;
        flex-shrink: 0;
        background-color: transparent;
    }

    .scene img {
        min-height: unset;
    }

    /* Multi-kép stack: ugyanolyan méret mint az egyedi képek */
    .image-stack {
        width: 42%;
        flex-shrink: 0;
    }

    .image-stack img {
        width: 100%;
        height: auto;
        max-height: 80vh;
        object-fit: contain;
        background-color: transparent;
    }

    .scene p {
        font-size: calc(26px + var(--scene-fz-delta, 0px));
        margin-top: 0;
        text-align: left;
        max-width: none;
        flex: 1;
    }

    /* FIX: a text-stack is töltse ki a maradék helyet,
       különben rövid szövegnél a kép pozíciót vált (ugrál). */
    .scene .text-stack {
        flex: 1;
        min-width: 0;
    }
}


/* ============================================================
   20. FEKVŐ TELEFON (LANDSCAPE MOBILE)
       Xiaomi 14T Pro és hasonló eszközök elforgatva
       Feltétel: landscape + max-height 600px (asztali gép nem teljesíti)
   ============================================================ */

@media (orientation: landscape) and (max-height: 600px) {

    /* --- STORY: kép és szöveg egymás mellett --- */
    .scene {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 25px;
        padding: 15px 14% 8px 14%;
        box-sizing: border-box;
    }

    .scene img,
    .scene video {
        width: 38%;
        height: auto;
        max-height: 82vh;
        object-fit: contain;
        flex-shrink: 0;
        background-color: transparent;
    }

    .scene img {
        min-height: unset;
    }

    /* VIDEÓ — fekvő telefon: kb. +16%, arányosan, nem lóg ki */
    .scene video {
        width: 44%;        /* +~16% (volt 38%) */
        max-width: 46%;    /* biztonsági korlát, ne lógjon ki oldalt */
        height: auto;      /* arányos */
        max-height: 82vh;  /* marad — ne lógjon ki fent */
        object-fit: contain;
    }

    .scene p {
        font-size: calc(17px + var(--scene-fz-delta, 0px));
        line-height: 1.5;
        margin-top: 0;
        text-align: left;
        flex: 1;
    }

    /* FIX: text-stack is töltse ki a maradék helyet (kép-ugrálás ellen) */
    .scene .text-stack {
        flex: 1;
        min-width: 0;
    }

    .image-stack {
        width: 38%;
        flex-shrink: 0;
    }

    .image-stack img {
        width: 100%;
        height: auto;
        max-height: 82vh;
        object-fit: contain;
        background-color: transparent;
    }

    /* Nyilak keskenyek legyenek */
    .nav-zone { width: 10%; }

    /* --- PIN + FIGYELMEZTETÉSEK egymás mellett --- */

    /* Figyelmeztetések: bal oldal, függőlegesen középre */
    .top-warning {
        top: 50%;
        left: 12px;
        transform: translateY(-50%) scale(0.82);
        transform-origin: left center;
        max-width: 42vw;
        gap: 8px;
    }

    /* Loginbox: jobb oldal, kompakt */
    .overlay {
        justify-content: flex-end;
        align-items: center;
        padding-right: 4%;
    }

    .loginbox {
        transform: none !important;
        max-width: 280px;
        width: 42vw;
        padding: 12px 18px 16px !important;
    }

    .loginbox h2 {
        font-size: 14px;
        margin: 4px 0 !important;
    }

    .pin-header {
        height: 22px !important;
        margin-bottom: 5px !important;
    }

    .pindisplay {
        font-size: 20px;
        line-height: 22px;
    }

    #pinDisplay {
        font-size: 20px;
        height: 30px;
        line-height: 30px;
        margin: 5px auto 8px !important;
    }

    .pinpad {
        gap: 6px !important;
        max-width: 220px !important;
        margin-top: 6px !important;
    }

    .pinpad button {
        height: 44px !important;
        font-size: 18px !important;
    }

    .pinpad .clear-btn {
        height: 26px !important;
        font-size: 10px !important;
    }

    .free-open-btn {
        padding: 14px;
        font-size: 15px;
    }

    .age-gate {
        font-size: 11px;
        padding: 8px;
        margin-bottom: 8px;
    }

    /* BUBORÉK LANDSCAPE-BEN: fent középen */
    .bubble-link {
        position: fixed !important;
        top: 47px !important;
        left: 65% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
        margin: 0 !important;
        padding: 8px 16px !important;
        font-size: 11px !important;
        max-width: 220px !important;
    }
}



/* KÉK BUBORÉK LINK */
.blue-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    margin-top: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

.blue-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.6);
    background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
}

.blue-bubble:active {
    transform: scale(0.98);
}

/* Animáció a buborékra (opcionális) */
@keyframes bubblePulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(52, 152, 219, 0.8);
    }
}

.blue-bubble {
    animation: bubblePulse 2s infinite;
}



.scene-prog { width:100%; display:flex; flex-direction:column; align-items:center; gap:4px; margin:10px 0 0 0; pointer-events:none; }
.scene-prog .pt { width:90%; max-width:280px; height:5px; background:rgba(255,255,255,0.13); border-radius:3px; overflow:hidden; }
.scene-prog .pf { height:100%; background:#1E90FF; border-radius:3px; transition:width 0.35s ease; box-shadow:0 0 8px rgba(30,144,255,0.85); }
.scene-prog .pl { font-family:'Montserrat',sans-serif; font-size:10px; font-weight:800; letter-spacing:2px; color:rgba(255,255,255,0.82); text-transform:uppercase; text-align:center; }
@media(min-width:769px) { .scene-prog { align-self:flex-end; width:auto; min-width:220px; margin:0; } }

/* KÉK BUBORÉK LINK - PONTOSAN UGYANOLYAN MINT A LAPSZÁMOZÁS */
.bubble-link {
    display: inline-block;
    padding: 8px 30px;
    background: rgba(231, 76, 60, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(231, 76, 60, 0.5);
    border-radius: 20px;
    color: white;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 100;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
	max-width: 140px;
}

.bubble-link:hover {
    background: rgba(231, 76, 60, 0.4);
}

.bubble-link:active {
    transform: scale(0.98);
}

/* Telefonon: BAL felső sarkon */
@media (max-width: 768px) and (orientation: portrait) {
    .bubble-link {
        position: fixed;
        top: 25px;
        left: 22px;
        margin: 0;
        padding: 10px 25px;
        font-size: 8px;
        display: block;
    }
}

/* PC-N: jobb felső sarkon, mint a lapszámozás - BADGE FORMA */
@media (min-width: 769px) {
    .bubble-link {
        position: fixed;
        top: 25px;
        left: 60%;
        transform: translateX(-50%);
        margin: 0;
        padding: 12px 35px;
        font-size: 15px;
		max-width: 260px;
    }
}

/* ============================================================
   SOCIAL LINKS
   Desktop: vízszintes sor a "DIGITAL ANTHOLOGY" vonal alatt,
            CSAK az ikonok (háttér nélkül), hover effekttel.
   Mobile : toggle gombbal nyitható függőleges menü,
            jobbról csúszik be ARANY paletta panellel.
            Mobilon a panelen csak a PNG ikonok lebegnek
            (nincs körüli buborék).
   ============================================================ */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1px;
    /* Desktop: fixen az ablak aljához ragasztva, középen vízszintesen.
       Görgetésnél is ott marad. */
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 100;
}

/* Desktop: tiszta ikonok, háttér NÉLKÜL */
.social-link {
    width: 92px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
    opacity: 0.85;
}
.social-link:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.06);
    filter: drop-shadow(0 0 18px rgba(241, 196, 15, 0.55));
}
.social-link:active {
    transform: scale(0.94);
}
.social-link img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    pointer-events: none;
}

/* Toggle gomb (alapból elrejtve, csak mobilon látszik) — ARANY tónus */
.social-toggle {
    display: none;
    position: fixed;
    top: 65%;                         /* visszahozva középre, hogy a 6+ ikonos panel kiférjen */
    right: 0;
    transform: translateY(-50%);
    width: 32px;
    height: 70px;                     /* nagyobb / nyúlósabb a jobb láthatóságért */
    background: linear-gradient(135deg,
        rgba(241, 196, 15, 0.30) 0%,
        rgba(255, 215, 90, 0.40) 50%,
        rgba(241, 196, 15, 0.30) 100%);
    border: 1px solid rgba(241, 196, 15, 0.65);
    border-right: none;
    border-radius: 18px 0 0 18px;
    align-items: center;
    justify-content: center;
    color: #f1c40f;                   /* a chevron arany */
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    box-shadow: -4px 4px 14px rgba(0, 0, 0, 0.5),
                inset 0 0 8px rgba(241, 196, 15, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease,
                box-shadow 0.3s ease;
    padding: 0;
}
.social-toggle:hover {
    background: linear-gradient(135deg,
        rgba(241, 196, 15, 0.45) 0%,
        rgba(255, 215, 90, 0.55) 50%,
        rgba(241, 196, 15, 0.45) 100%);
    box-shadow: -4px 4px 18px rgba(0, 0, 0, 0.55),
                inset 0 0 12px rgba(241, 196, 15, 0.25);
}
.social-toggle-arrow {
    display: inline-block;
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-shadow: 0 0 8px rgba(241, 196, 15, 0.6);
}
.social-toggle.open .social-toggle-arrow {
    transform: rotate(180deg);
}

/* Mobile: <=768px — toggle gomb látszik, menü csak nyitásra csúszik be */
@media (max-width: 768px) {
    .social-toggle {
        display: flex;
    }
    .social-links {
        position: fixed;
        top: 65%;                         /* ugyanott középvonalra a togglel */
        right: 0;
        bottom: auto;                     /* desktop bottom override leszedése */
        left: auto;                       /* desktop left override leszedése  */
        transform: translate(100%, -50%);
        flex-direction: column;
        gap: 12px;
        margin: 0;
        z-index: 1000;
        padding: 14px 10px;
        background: linear-gradient(135deg,
            rgba(241, 196, 15, 0.18) 0%,
            rgba(255, 215, 90, 0.24) 50%,
            rgba(241, 196, 15, 0.18) 100%);
        border: 1px solid rgba(241, 196, 15, 0.50);
        border-right: none;
        border-radius: 22px 0 0 22px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: -4px 4px 18px rgba(0, 0, 0, 0.5),
                    inset 0 0 16px rgba(241, 196, 15, 0.10);
        transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .social-links.open {
        transform: translate(0, -50%);
    }
    .social-toggle.open {
        right: 80px;                     /* nagyobb térköz, hogy a szélesebb panel ne érjen össze a nyíllal */
    }
    /* Mobil ikonok: NEM kell buborék, csak a tiszta PNG-k a panelen */
    .social-link {
        width: 56px;
        height: 56px;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-radius: 0;
        opacity: 0.95;
    }
    .social-link:hover {
        background: transparent;
        opacity: 1;
        transform: scale(1.08);
        filter: drop-shadow(0 0 8px rgba(241, 196, 15, 0.55));
    }
    .social-link img {
        width: 48px;
        height: 48px;
    }
}

/* Reduced motion: ne csúszkáljanak, csak megjelenjenek */
@media (prefers-reduced-motion: reduce) {
    .social-links,
    .social-toggle,
    .social-toggle-arrow {
        transition: none !important;
    }
}

/* ============================================================
   KÉP-NAGYÍTÓ (LIGHTBOX) — gomb + teljes képernyős előnézet
   ============================================================ */
/* Halvány nagyító-gomb bal fent, kicsit lejjebb (a felső sáv alatt) */
#img-zoom-btn {
    position: fixed;
    top: 110px;
    left: 16px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9px;
    color: #f1c40f;
    cursor: pointer;
    z-index: 1001;                 /* a nav-zone (999) FÖLÖTT */
    pointer-events: auto;
    backdrop-filter: blur(4px);
    opacity: 0.9;                  /* jobban látszik (volt 0.45) */
    transition: opacity 0.3s ease, color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}
#img-zoom-btn:hover {
    opacity: 1;
    color: #f1c40f;                /* arany hoveren */
    background: rgba(0, 0, 0, 0.72);
    transform: scale(1.08);
}

/* Teljes képernyős lightbox overlay */
#img-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;               /* minden fölött */
    cursor: zoom-out;
    backdrop-filter: blur(8px);
    padding: 20px;
    box-sizing: border-box;
}
#img-lightbox.open {
    display: flex;
    animation: lbFade 0.25s ease;
}
#img-lightbox img {
    max-width: 96%;
    max-height: 96%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.7);
    animation: lbZoom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lbFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes lbZoom {
    from { transform: scale(0.88); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* Akadálymentesség: csökkentett mozgásnál nincs zoom-animáció */
@media (prefers-reduced-motion: reduce) {
    #img-lightbox.open { animation: none; }
    #img-lightbox img { animation: none; }
    #img-zoom-btn { transition: none; }
}

/* ============================================================
   PATREON WARNING (faq-promo) — arany pulzáló kiemelés
   ============================================================ */
@keyframes faqPromoGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(241, 196, 15, 0); }
    50%      { box-shadow: 0 0 18px rgba(241, 196, 15, 0.45); }
}
@keyframes faqArrowNudge {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
    .faq-promo { animation: none; }
    .arrow-indicator { animation: none; }
}

/* ============================================================
   DS-SOCIAL — utolsó oldal social ikonsora
   Saját, egyedi névtér (ds-social*), kizárólag ide.
   A .scene img globális szabályait (1195px magasság, fekete háttér,
   árnyék) szándékosan felülírja, hogy az ikonok ne nyúljanak szét.
   Sehol máshol nem hat — más elemeket békén hagy.
   ============================================================ */

/* Wrapper: középre igazítja a sort, ad fölötte némi levegőt. */
.ds-social-wrap {
    text-align: center;
    margin: 18px auto 4px;
}

/* Az ikonsor: flexbox, egy sorba rendez, középre, egyenlő közökkel.
   Keskeny telefonon automatikusan tördel. */
.ds-social-wrap .ds-social-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 22px;
    line-height: 1;
}

/* Egy-egy link: kör alakú, finom arany kerettel, a könyv témájához illően. */
.ds-social-wrap .ds-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(241, 196, 15, 0.35);
    box-shadow: none;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

/* Az ikon kép: felülírja a .scene img öröklött szabályait. */
.ds-social-wrap .ds-social-link img {
    width: 28px;
    height: 28px;
    max-width: 28px;
    object-fit: contain;
    display: block;
    margin: 0;
    border: none;
    outline: none;
    border-radius: 0;
    background: transparent;
    background-color: transparent;
    box-shadow: none;
    cursor: pointer;
}

/* Hover / érintés: finom arany kiemelés. */
.ds-social-wrap .ds-social-link:hover {
    transform: translateY(-3px);
    background: rgba(241, 196, 15, 0.15);
    border-color: rgba(241, 196, 15, 0.7);
}

/* --- TELEFON (alapértelmezett, ~480px-ig): kompakt méret. --- */
@media (max-width: 480px) {
    .ds-social-wrap .ds-social-row { gap: 16px; }
    .ds-social-wrap .ds-social-link { width: 48px; height: 48px; }
    .ds-social-wrap .ds-social-link img { width: 25px; height: 25px; max-width: 25px; }
}

/* --- PC / nagyobb kijelző (481px felett): kb. +40%-kal nagyobb ikonok. --- */
@media (min-width: 481px) {
    .ds-social-wrap .ds-social-row { gap: 30px; }
    .ds-social-wrap .ds-social-link { width: 76px; height: 76px; }
    .ds-social-wrap .ds-social-link img { width: 40px; height: 40px; max-width: 40px; }
}/* ============================================================
   EZ A BLOKK A style.css VÉGÉRE KERÜL
   ------------------------------------------------------------
   Vélemény-fül (jobb szél) + ráúszó panel + elsötétítő háttér.
   A kék/arany a meglévő .info-button / .menu-items világából jön.
   ============================================================ */

/* ----- Belépés előtt (lockedmode) a lapozó-zónák ne fogjanak érintést,
   így nem ütköznek a vélemény-füllel. Lapozni úgyis csak belépés után lehet. ----- */
body.lockedmode .nav-zone {
    pointer-events: none;
}

/* ============================================================
   A FÜL — az oldal saját formanyelvén
   Üveg (backdrop-filter, mint a .frost / .review-backdrop),
   Montserrat verzál felirat (mint a .scene-prog .pl),
   arany szám és arany hajszálvonal (#f1c40f).
   position:fixed -> a loginbox / pinpad layoutjára NULLA hatással van.
   ============================================================ */
.review-tab {
    position: fixed;
    top: 30%;                     /* a képernyő tetejétől lefelé 30% */
    bottom: auto;
    right: 0;
    width: 44px;
    min-height: 64px;
    max-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 0;
    background-color: rgba(52, 152, 219, 0.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-right: none;
    border-radius: 14px 0 0 14px;
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.14),
                -6px 6px 22px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    overflow: hidden;
    z-index: 1000;                /* a nav-zone(999)/frost(10)/overlay(20) FÖLÖTT */
    pointer-events: auto;         /* KELL: az overlay szülő pointer-events:none-ját különben örökli */
    transition: background-color 0.35s ease,
                border-color 0.35s ease,
                right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.review-tab:hover {
    background-color: rgba(52, 152, 219, 0.34);
    border-color: rgba(241, 196, 15, 0.45);
}

.review-tab:active {
    background-color: rgba(52, 152, 219, 0.42);
}

/* Kifelé mutató nyíl — SVG, nem szöveges glyph (rendszerfüggetlen) */
.review-tab-arrow {
    display: block;
    width: 13px;
    height: 13px;
    color: rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
}
.review-tab-arrow svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Darabszám: arany, Cinzel, VÍZSZINTES marad minden nyelven */
.review-tab-count {
    writing-mode: horizontal-tb;
    font-family: 'Cinzel', serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    color: #f1c40f;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    flex-shrink: 0;
}

/* Arany hajszálvonal a szám és a felirat között */
.review-tab-rule {
    width: 16px;
    height: 1px;
    flex-shrink: 0;
    background: linear-gradient(to right,
        rgba(241, 196, 15, 0), rgba(241, 196, 15, 0.75), rgba(241, 196, 15, 0));
}

/* Nulla vélemény esetén se szám, se vonal */
.review-tab.is-empty .review-tab-count,
.review-tab.is-empty .review-tab-rule {
    display: none;
}

/* A felirat: Montserrat verzál, ritkított */
.review-tab-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    /* FONTOS: vertical-rl modban a line-height a szoveg VIZSZINTES
       kiterjedese. line-height:1 eseten a glifdoboz pont akkora, mint a
       betumeret, ezert az ekezetek (É, Ó, Ű) kilognak es a ful
       overflow:hidden szabalya levagja oket. 1.6 -> minden ekezet befer. */
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    max-height: 34vh;
    overflow: hidden;
    white-space: nowrap;
}

/* Amikor a panel nyitva van, a fül "berántódik" a panel mögé */
body.reviews-open .review-tab {
    right: -130px;
}

/* Ha a böngésző nem tud backdrop-filter-t, tömörebb háttér kell */
@supports not ((backdrop-filter: blur(6px)) or (-webkit-backdrop-filter: blur(6px))) {
    .review-tab {
        background-color: rgba(22, 60, 92, 0.72);
    }
}

/* ----- A BEÚSZÁS -----
   Betöltéskor a fül a képernyőn KÍVÜL vár: a "both" fill-mode a 2 mp-es
   késleltetés alatt már a 0% keyframe-et alkalmazza, ezért nem látszik.
   Utána óvatosan kibújik oldalról, eltávolodik a szélétől, fél másodpercig
   ott áll, majd hirtelen visszacsapódik és odaragad.
   A JS a végén leveszi az osztályt -> a nyugalmi right:0 ugyanaz, nincs ugrás. */
.review-tab.rt-peek {
    animation: reviewTabPeek 1.45s linear 2s 1 both;
}

@keyframes reviewTabPeek {
    0%     { right: -70px; animation-timing-function: cubic-bezier(0.22, 0.9, 0.3, 1); }
    48%    { right: 24px;  animation-timing-function: linear; }
    82.8%  { right: 24px;  animation-timing-function: cubic-bezier(0.85, 0, 0.9, 0.4); }
    100%   { right: 0; }
}

/* ============================================================
   ALACSONY KÉPERNYŐ (fekvő telefon).
   Itt a loginbox jobbra tolva ül (lásd .overlay padding-right:50%),
   ezért a fülnek KESKENYNEK kell maradnia, hogy beférjen a loginbox
   melletti sávba és ne érjen bele a pinpadba.
   A feltétel szándékosan max-height: 599px, hogy soha ne fedje át a
   fenti (min-height: 600px) asztali blokkot. */
@media (max-height: 599px) {
    .review-tab {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        width: 38px;
        min-height: 0;
        max-height: 88vh;
        padding: 10px 0;
        gap: 7px;
        border-radius: 11px 0 0 11px;
    }
    .review-tab-arrow {
        width: 11px;
        height: 11px;
    }
    .review-tab-count {
        font-size: 14px;
    }
    .review-tab-rule {
        width: 13px;
    }
    .review-tab-label {
        font-size: 9px;
        letter-spacing: 1.4px;
        max-height: 62vh;
    }
    /* a keskeny fül kis lépést tesz, hogy ne takarja a loginboxot */
    .review-tab.rt-peek {
        animation-name: reviewTabPeek;
    }
}

/* ----- A PANEL: jobbról beúszik ----- */
.review-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 300px;
    max-width: 82vw;
    background: #10131d;
    border-left: 1px solid rgba(52, 152, 219, 0.4);
    box-shadow: -8px 0 28px rgba(0, 0, 0, 0.6);
    z-index: 1002;                /* a fül(1000) és a nav-zone(999) fölött */
    transform: translateX(100%);  /* alapból kicsúszva (rejtve) */
    transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

body.reviews-open .review-panel {
    transform: translateX(0);
    pointer-events: auto;
}

/* ----- Fejléc ----- */
.review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.review-stats {
    display: inline-flex;
    gap: 12px;
    align-items: center;
}

.review-stat {
    font-size: 14px;
    font-weight: 600;
    color: #cfd8e3;
}

.review-stat.like {
    color: #2ecc71;
}

.review-stat.dislike {
    color: #e74c3c;
}

.review-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.review-close:hover {
    color: #fff;
    transform: scale(1.15);
}

/* ----- Lista (görgethető) ----- */
.review-list {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Vékony, diszkrét görgetősáv */
.review-list::-webkit-scrollbar {
    width: 6px;
}
.review-list::-webkit-scrollbar-thumb {
    background: rgba(52, 152, 219, 0.4);
    border-radius: 3px;
}

/* ----- Egy vélemény kártya ----- */
.review-item {
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 8px 8px 0;
    padding: 9px 12px;
}

.review-item.is-like {
    border-left-color: #2ecc71;
}

.review-item.is-dislike {
    border-left-color: #e74c3c;
}

.review-meta {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

/* "egy olvasó" -> könyv ikon (emoji) */
.review-reader {
    font-size: 13px;
    opacity: 0.55;
}

.review-vote {
    margin-left: auto;
    font-size: 14px;
    line-height: 1;
}

.review-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
}

/* Üres állapot (még nincs vélemény) */
.review-empty {
    text-align: center;
    font-size: 34px;
    opacity: 0.25;
    padding: 40px 0;
}

/* ----- Elsötétítő háttér ----- */
.review-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1001;                /* a panel(1002) ALATT, a nav-zone(999) FÖLÖTT */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

body.reviews-open .review-backdrop {
    opacity: 1;
    pointer-events: auto;
}

/* ============================================================
   PC / SZÉLES KÉPERNYŐ
   A loginbox landscape-en jobbra tolva ül (lásd a meglévő
   .overlay padding-right:50% szabályt ~1830 sornál), ezért a
   fület és panelt a jobb szélen hagyjuk — ott is jól mutat.
   Nagyobb képernyőn a panel lehet kicsit szélesebb.
   ============================================================ */
@media (min-width: 768px) {
    .review-panel {
        width: 340px;
    }
    .review-text {
        font-size: 13.5px;
    }
}

/* ============================================================
   NAGY FÜL — CSAK valódi asztali képernyőn.
   A min-height: 600px feltétel a lényeg: e nélkül a fekvő telefon
   (kb. 900x400) is "asztalinak" számítana, és a dupla méretű fül
   belelógna a loginboxba / pinpadba.
   ============================================================ */
@media (min-width: 768px) and (min-height: 600px) {
    .review-tab {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        width: 88px;
        min-height: 240px;
        max-height: 76vh;
        gap: 20px;
        padding: 28px 0;
        border-radius: 22px 0 0 22px;
        backdrop-filter: blur(9px);
        -webkit-backdrop-filter: blur(9px);
    }
    .review-tab-arrow {
        width: 22px;
        height: 22px;
    }
    .review-tab-count {
        font-size: 32px;
    }
    .review-tab-rule {
        width: 32px;
    }
    .review-tab-label {
        font-size: 17px;
        letter-spacing: 5px;
        max-height: 48vh;
    }

    /* Szélesebb fül: messzebbről jön és nagyobbat is lép */
    .review-tab.rt-peek {
        animation-name: reviewTabPeekWide;
    }
    @keyframes reviewTabPeekWide {
        0%     { right: -130px; animation-timing-function: cubic-bezier(0.22, 0.9, 0.3, 1); }
        48%    { right: 44px;   animation-timing-function: linear; }
        82.8%  { right: 44px;   animation-timing-function: cubic-bezier(0.85, 0, 0.9, 0.4); }
        100%   { right: 0; }
    }
}

@media (prefers-reduced-motion: reduce) {
    .review-tab.rt-peek { animation: none; }
}

/* ============================================================
   MANUÁLIS KÉP-BLUR (spoiler / teaser takarás)
   Használat: lásd az engine.js initSceneBlur() függvény elején
   lévő kommentet — csak data-blur / data-blur-mode / data-blur-msg
   attribútumokat kell írni az adott scene <img> tagjére.
   ============================================================ */

.blur-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
    line-height: 0; /* ne hagyjon extra rést a kép alatt */
}

.blur-wrap img {
    transition: filter 0.5s ease;
}

.blur-hint {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    background: rgba(10, 10, 20, 0.28);
    border-radius: 14px;
    z-index: 5;
    -webkit-user-select: none;
    user-select: none;
}

.blur-hint-icon {
    font-size: 34px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.7));
}

.blur-hint-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.blur-hint--tap {
    animation: blurHintPulse 2.4s ease-in-out infinite;
}
.blur-hint--tap .blur-hint-icon {
    animation: blurHintTap 1.6s ease-in-out infinite;
}

@keyframes blurHintPulse {
    0%, 100% { background: rgba(10, 10, 20, 0.28); }
    50%      { background: rgba(10, 10, 20, 0.42); }
}

@keyframes blurHintTap {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

.blur-hint--locked {
    cursor: default;
}
.blur-hint--locked .blur-hint-text {
    color: #f1c40f;
    border-color: rgba(241, 196, 15, 0.4);
}
.blur-hint--locked .blur-hint-icon {
    filter: drop-shadow(0 0 10px rgba(241, 196, 15, 0.5));
}

.blur-wrap img.blur-revealed {
    animation: blurRevealFade 0.5s ease;
}
@keyframes blurRevealFade {
    from { filter: brightness(1.3); }
    to   { filter: brightness(1); }
}

/* --- Blur hint az .image-stack-es (multi-képes) jeleneteknél ---
   A stack szélesebb lehet a képnél, ezért itt NEM sötétítjük a teljes
   területet — csak a középre igazított ikon + felirat jelenik meg. */
.blur-hint--stack {
    background: transparent;
    animation: none;
    z-index: 6; /* az aktív (position:relative) kép fölé */
    pointer-events: none; /* csak a pill legyen kattintható */
}
.blur-hint--stack .blur-hint-icon,
.blur-hint--stack .blur-hint-text {
    pointer-events: auto;
    cursor: pointer;
}
.blur-hint--stack.blur-hint--locked .blur-hint-icon,
.blur-hint--stack.blur-hint--locked .blur-hint-text {
    cursor: default;
}
