
* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #f4f2ff;
    background:
        radial-gradient(circle at 20% 18%, rgba(62, 52, 160, 0.22), transparent 34%),
        radial-gradient(circle at 82% 28%, rgba(0, 180, 200, 0.10), transparent 32%),
        radial-gradient(circle at 50% 92%, rgba(200, 30, 140, 0.10), transparent 36%),
        #070810 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    padding: 30px;
}

.site-shell {
    width: min(1120px, calc(100% - 56px));
    margin: 0 auto;
    padding-bottom: 56px;
}

.topbar {
    height: 78px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 28px;
    border-bottom: 1px solid rgba(255,255,255,.075);
    position: relative;
    z-index: 20;
}

.brand {
    font-weight: 400 !important;
    color: rgba(244, 242, 248, 0.52) !important;
    letter-spacing: 0.24em !important;
    text-decoration: none;
    font-size: 14px;
}

.nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.nav button {
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    font-weight: 400 !important;
    color: rgba(244, 242, 248, 0.40) !important;
    letter-spacing: 0.18em !important;
    font-size: 11px !important;
    cursor: pointer;
    box-shadow: none !important;
}

.nav button:hover {
    color: rgba(244, 242, 248, 0.78) !important;
    transform: none !important;
}

.lang-switch {
    display: flex;
    gap: 6px;
}

.lang-btn {
    padding: 7px 12px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.2);
    color: #f4f2ff;
    cursor: pointer;
}

.lang-btn.active {
    background: rgba(200,255,0,.16) !important;
    border-color: rgba(200,255,0,.65) !important;
    color: #dfff72 !important;
}

/* HERO SECTION */
.hero-modern {
    min-height: 570px;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.075);
}

.hero-copy {
    padding: 76px 0;
}

.eyebrow {
    font-size: 10px !important;
    letter-spacing: 0.22em !important;
    color: rgba(244, 242, 248, 0.46) !important;
    font-weight: 400 !important;
    margin-bottom: 12px;
}

.hero-modern h1 {
    font-size: clamp(68px, 8.4vw, 118px) !important;
    line-height: .82 !important;
    font-weight: 350 !important;
    color: rgba(244, 242, 248, 0.74) !important;
    letter-spacing: -0.04em !important;
    margin: 24px 0 30px !important;
}

.hero-line {
    font-size: clamp(17px, 1.6vw, 21px);
    max-width: 540px;
    color: rgba(244, 242, 248, 0.66);
    font-weight: 350 !important;
}

.hero-art {
    height: 520px;
    display: grid;
    place-items: center;
    position: relative;
}

.octopus-logo {
    width: min(94%, 500px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 22px 54px rgba(111,57,255,.18));
    animation: octopusSwim 17s ease-in-out infinite;
}

@keyframes octopusSwim {
    0% {transform:translate(-15px,15px) rotate(-3deg) scale(.98)}
    50% {transform:translate(15px,-15px) rotate(3deg) scale(1.02)}
    100% {transform:translate(-15px,15px) rotate(-3deg) scale(.98)}
}

/* FEATURE & HOMEPAGE BLOCKS */
.feature {
    min-height: 560px;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 88px;
    align-items: center;
    padding: 84px 0;
    border-bottom: 1px solid rgba(255,255,255,.075);
}

.feature-media {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.feature-media img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0,0,0,.34);
    display: block;
}

.section-kicker {
    font-size: 10px !important;
    letter-spacing: 0.22em !important;
    color: rgba(244, 242, 248, 0.46) !important;
}

.feature-copy h2 {
    font-size: clamp(42px, 5.2vw, 70px) !important;
    font-weight: 350 !important;
    color: rgba(244, 242, 248, 0.68) !important;
    margin: 18px 0 24px !important;
    line-height: 1.05;
}

.text-link {
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(244, 242, 248, .3);
    color: #f4f2f8;
    font-size: 11px !important;
    letter-spacing: .16em !important;
    padding: 0 0 4px !important;
    cursor: pointer;
}

.writing-home {
    padding: 84px 0;
    border-bottom: 1px solid rgba(255,255,255,.075);
}

.writing-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.story-card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.095);
    background: linear-gradient(145deg, rgba(255,255,255,.022), rgba(255,255,255,.006));
    padding: 36px;
    display: flex;
    align-items: flex-end;
    border-radius: 20px;
}

.story-ghost {
    position: absolute;
    top: 24px;
    left: 30px;
    right: 28px;
    font-family: Georgia, serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(244, 242, 248, 0.15);
    pointer-events: none;
}

.story-content {
    position: relative;
    z-index: 3;
}

.story-label {
    font-size: 11px;
    letter-spacing: .18em;
    color: rgba(244, 242, 248, 0.34);
    margin-bottom: 14px;
}

.story-content h3 {
    font-size: clamp(32px, 3.4vw, 40px);
    font-weight: 350;
    color: rgba(244, 242, 248, 0.72);
    margin: 0 0 16px;
}

.story-content p {
    font-size: 16px;
    line-height: 1.68;
    color: rgba(244, 242, 248, 0.5);
    margin: 0 0 24px;
}

.story-button {
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(244,242,248,.2);
    color: rgba(244,242,248,.62);
    font-size: 11px;
    letter-spacing: .13em;
    cursor: pointer;
    padding: 0 0 4px;
}

.go-home {
    min-height: 330px;
    padding: 76px 0;
    border-bottom: 1px solid rgba(255,255,255,.075);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.go-home h2 {
    font-size: clamp(46px, 6.6vw, 82px);
    font-weight: 350;
    color: rgba(244,242,248,.68);
    margin: 0;
}

.go-cta {
    background: transparent;
    border: 1px solid rgba(244,242,248,.24);
    color: #f4f2f8;
    padding: 15px 19px;
    font-size: 11px;
    letter-spacing: .14em;
    cursor: pointer;
    border-radius: 4px;
}

.support-modern {
    padding: 50px 0 0;
    display: flex;
    justify-content: flex-end;
}

.coffee-button {
    background: #ffdd00;
    color: #111;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    box-shadow: 0 5px 0 rgba(0,0,0,.24);
}

/* --- AZ EGYSÉGESÍTETT DIGITÁLIS MŰTEREM (STUDIO PANEL) --- */
.state-panel {
    display: none;
    position: fixed;
    inset: 5vh 5vw;
    z-index: 1000;
    background: #0d1020 !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0,0,0,.7) !important;
    padding: 40px;
    overflow-y: auto;
}

.state-panel.show {
    display: block;
}

.panel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(8,10,20,.82);
    border: 1px solid rgba(159,245,232,.28);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 30;
}

.studio-head {
    margin-bottom: 24px;
}

.studio-sub {
    opacity: .62;
    font-size: 14px;
    margin-top: 6px;
}

/* Kiállítótér / Galéria fal */
.studio-room {
    position: relative;
    min-height: 550px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, #201c26 0 75%, #121016 75%);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 0 80px rgba(0,0,0,.4);
}

.studio-wall {
    padding: 40px 30px 100px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 20px 24px;
    position: relative;
    z-index: 2;
}

.studio-floor {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 25%;
    background: repeating-linear-gradient(98deg, rgba(255,255,255,.02) 0 2px, transparent 2px 80px), linear-gradient(#151218, #0a090c);
    border-top: 1px solid rgba(255,255,255,.07);
}

/* Kiállított képek keretei és dőlései */
.art {
    all: unset;
    cursor: pointer;
    display: block;
    position: relative;
    transform: rotate(var(--r, 0deg));
    transition: transform .25s ease, filter .25s ease;
    filter: drop-shadow(0 12px 14px rgba(0,0,0,.4));
    background: #1b1b1b;
    padding: 6px;
    border-radius: 3px;
}

.art:hover {
    transform: rotate(0deg) scale(1.06);
    z-index: 20;
    filter: drop-shadow(0 18px 24px rgba(0,0,0,.6));
}

.art img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Különböző kiállítási elhelyezési formák a falon */
.art-wall { width: 100px; }
.art-board { width: 120px; border: 6px solid #141414; padding: 2px; }
.art-lean { width: 110px; margin-top: 30px; }
.art-table { width: 95px; margin-top: 50px; }

/* Képnagyító Modal */
.art-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(4,4,8,.94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    backdrop-filter: blur(8px);
}

.art-modal.open {
    display: flex;
}

.art-modal img {
    max-width: min(92vw, 1100px);
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 30px 90px rgba(0,0,0,.8);
    border-radius: 4px;
}

.art-close {
    position: fixed;
    right: 28px;
    top: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 30px;
    background: rgba(8,10,20,.8);
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    cursor: pointer;
    z-index: 10000;
}

.art-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    width: 54px;
    height: 64px;
    background: rgba(8,10,20,.72);
    color: #fff;
    border: 1px solid rgba(255,255,255,.15);
    font-size: 36px;
    cursor: pointer;
    border-radius: 12px;
}

.art-prev { left: 24px; }
.art-next { right: 24px; }

/* LECSUPASZÍTOTT GO SOMEWHERE STÍLUS */
.go-panel .go-kicker {
    font-size: 11px;
    letter-spacing: .18em;
    color: #c8ff00;
    margin-bottom: 12px;
}
.go-panel .ltx-manifesto {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 350;
    color: rgba(244,242,248,.85);
    margin: 0 0 24px;
}
.go-panel label {
    display: block;
    font-size: 10px;
    letter-spacing: .2em;
    color: rgba(244,242,248,.4);
    margin-bottom: 10px;
}
.go-panel .ltx-input-row {
    display: flex;
    gap: 10px;
}
.go-panel input {
    flex: 1;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.03);
    color: #fff;
    font-size: 15px;
    outline: none;
}
.go-panel input:focus {
    border-color: rgba(255,255,255,.35);
}
.go-panel button[type="button"] {
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid rgba(200,255,0,.5);
    background: transparent;
    color: #e9ff8a;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .12em;
    cursor: pointer;
}
.go-panel .ltx-result {
    margin-top: 20px;
    color: rgba(244,242,248,.7);
}

/* OLVASÓ PANELEK (Írások) */
.writing-panel {
    max-width: 900px !important;
}

.reader {
    display: none;
    line-height: 1.7;
    color: rgba(244,242,248,.8);
    white-space: pre-wrap;
}

.reader.show {
    display: block;
}

.reader-title {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #fff;
}

.genesis-p {
    margin: 1em 0;
}

.genesis-heading {
    font-weight: bold;
    color: #c8ff00;
    margin-top: 1.5em;
}

.hidden-controls, .response { display: none !important; }

@media(max-width: 800px) {
    .site-shell { width: min(100% - 24px, 1120px); }
    .hero-modern { grid-template-columns: 1fr; min-height: auto; }
    .feature { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
    .writing-home-grid { grid-template-columns: 1fr; }
    .go-home { flex-direction: column; align-items: flex-start; gap: 24px; }
    .go-panel .ltx-input-row { flex-direction: column; }
}

/* Responsive and interaction details for the complete site. */
body{display:block;padding:0}
button,input{font:inherit}
button{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid #c8ff00;outline-offset:5px}
.nav{row-gap:14px}
.hero-line{line-height:1.45}
.hero-art{overflow:hidden}
.feature-media{min-width:0;width:100%;border-radius:16px;overflow:hidden}
.story-card{isolation:isolate}
.story-card:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(7,8,16,.94) 66%);pointer-events:none;z-index:1}
.story-content{padding-top:100px;min-width:0}
.story-content h3{line-height:1.05}
.go-home{gap:32px}
.go-cta{flex-shrink:0}
.state-panel{margin:0 auto;width:auto;max-width:1120px;overscroll-behavior:contain;scrollbar-gutter:stable;padding-top:64px}
.state-panel .panel-close{top:16px;right:16px}
.state-panel .reader{max-width:72ch;margin:0 auto}
.reader{white-space:normal}
.genesis-p{overflow-wrap:break-word}
.studio-head .reader-title{padding-right:30px}
.art{box-sizing:border-box;flex-shrink:0}
.art-video:after{content:'▶';position:absolute;right:8px;bottom:8px;padding:4px 7px;border-radius:6px;background:rgba(0,0,0,.72);color:white;font-size:12px;pointer-events:none}
.art-modal video{max-width:min(92vw,1100px);max-height:86vh;object-fit:contain}
.art-modal img[hidden],.art-modal video[hidden]{display:none!important}
.art-modal img{max-width:calc(100vw - 144px)}
.go-kicker{font-size:1.4rem;font-weight:400;margin:0 50px 24px 0}
#ltxGoExplorer button{cursor:pointer;background:rgba(255,255,255,.035);border:1px solid rgba(244,242,248,.2);color:#f4f2f8}
.coffee-button:active{transform:translateY(2px)}
@media(max-width:800px){
 .topbar{height:auto;min-height:78px;padding:22px 0;grid-template-columns:1fr auto;gap:20px}
 .nav{grid-column:1/-1;grid-row:2;gap:16px 22px}
 .nav button{font-size:10px!important}
 .lang-switch{grid-column:2;grid-row:1}
 .hero-copy{padding:64px 0 20px}
 .hero-art{height:360px}
 .octopus-logo{max-height:340px;width:min(94%,400px)}
 .feature-media img{height:440px}
 .story-card{padding:28px;min-height:400px}
 .state-panel{inset:12px;border-radius:18px;padding:64px 18px 24px}
 .studio-wall{padding:28px 14px 90px;gap:22px 16px}
 .art-modal{padding:14px}
 .art-modal img,.art-modal video{max-width:calc(100vw - 28px);max-height:calc(100dvh - 160px)}
 .art-nav{top:auto;bottom:22px;transform:none;width:48px;height:48px;font-size:30px}
 .art-prev{left:22px}.art-next{right:22px}
 .art-close{right:16px;top:16px}
 .support-modern{padding-bottom:12px}
}
@media(max-width:420px){
 .hero-modern h1{font-size:68px!important}
 .feature-media img{height:380px}
 .feature-copy h2{font-size:42px!important}
 .go-home h2{font-size:46px}
 .story-card{padding:24px}
 .story-content p{font-size:15px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Simplified destination form from the supplied revision. */
#goPanel .go-kicker{font-size:11px;font-weight:400;letter-spacing:.18em;color:#c8ff00;margin-bottom:12px}
#goPanel #ltxGoExplorer{padding:0;border:0;background:none;border-radius:0;margin:0}
#goPanel #ltxGoExplorer .ltx-manifesto{font-size:clamp(24px,3.5vw,36px);font-weight:350;color:rgba(244,242,248,.85);margin:0 0 24px}
#goPanel #ltxGoExplorer .ltx-form label{font-size:10px;letter-spacing:.2em;color:rgba(244,242,248,.4);margin-bottom:10px}
#goPanel #ltxGoExplorer .ltx-input-row{display:flex;gap:10px}
#goPanel #ltxGoExplorer #ltxGoInput{padding:14px 18px;border:1px solid rgba(255,255,255,.15);border-radius:999px;background:rgba(255,255,255,.03);color:#fff;font-size:15px;outline:none}
#goPanel #ltxGoExplorer #ltxGoInput:focus{border-color:rgba(255,255,255,.35)}
#goPanel #ltxGoExplorer #ltxGoSubmit{padding:14px 22px!important;border:1px solid rgba(200,255,0,.5)!important;background:transparent!important;color:#e9ff8a!important;font-weight:700;font-size:11px!important;letter-spacing:.12em!important}
#goPanel #ltxGoExplorer .ltx-result{margin-top:20px;color:rgba(244,242,248,.7)}
/* Keep dialog controls independent of form-button styling. */
#goPanel .panel-close{width:42px;height:42px;padding:0;border-radius:50%;font-weight:400;font-size:24px;letter-spacing:0;color:#fff;background:rgba(8,10,20,.82);border:1px solid rgba(159,245,232,.28)}
@media(max-width:800px){#goPanel #ltxGoExplorer .ltx-input-row{flex-direction:column}}

/* v0.79: clearer homepage labels and a more comfortable reading measure. */
.topbar .brand{color:#c8c5d4!important}
.topbar .nav button{color:#c8c5d4!important;font-size:12px!important}
.topbar .nav button:hover{color:#f4f2ff!important}
.hero-copy .eyebrow{color:#aaa6ba!important}
.hero-copy .hero-line{color:#d0cdda}
.feature-copy .text-link{color:#eeeaf6;border-bottom-color:#9c96b1}
.writing-home .story-label{color:#aaa6ba}
.writing-home .story-content p{color:#cbc7d6}
.writing-home .story-button{color:#eeeaf6;border-bottom-color:#9c96b1}
#writingPanel .reader{max-width:66ch;font-size:18px;line-height:1.85;color:#e4e0ea;text-align:left}
#writingPanel .genesis-p{margin:0 0 1.25em}
#writingPanel .genesis-heading{margin-top:2em;margin-bottom:1em;line-height:1.5;color:inherit}
#writingPanel .reader-title{line-height:1.3;margin-bottom:1.25em}
@media(max-width:800px){
 .topbar .nav button{font-size:11px!important}
 #writingPanel .reader{font-size:17px;line-height:1.8}
}

#writingPanel .reader-title{color:inherit}
