/* Style szablonu: home. Jeden plik na trzy wersje jezykowe. */
:root{
    --navy-deep:#131a30;
    --navy:#1c2540;
    --navy-card:#242f52;
    --cream:#fdf6ea;
    --cream-dim:#c9c9d4;
    --momo:#ffc65c;
    --momo-dark:#8a5b16;
    --toby:#d99a6c;
    --toby-dark:#7a4d29;
    --nox:#f0763c;
    --nox-dark:#8a3413;
    --star:#fff3d6;
  }
body{
    background:var(--navy-deep);
    color:var(--cream);
    font-family:Nunito,system-ui,-apple-system,"Segoe UI",sans-serif;
    font-weight:400;
    overflow-x:hidden;
  }
/* ---------- NAV ---------- */
  .nav{
    position:sticky;
    top:0;
    z-index:100;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1.5rem;
    padding:1.2rem 2.5rem;
    background:var(--navy-deep);
  }
.nav-menu a:hover{color:var(--cream);}
@media (max-width:900px){
    .nav{padding:1rem 1.2rem; flex-wrap:wrap; gap:0.8rem;}
    .nav-menu{gap:1.1rem;}
    .nav-menu a{font-size:12px;}
    .lang-switch{font-size:11px; order:1;}
    .nav-cta{order:2; margin-left:auto;}
  }
/* ---------- HERO ---------- */
  .hero{
    position:relative;
    min-height:auto;
    padding-bottom:3.5rem;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    text-align:center;
    padding:2rem;
    padding-top:4.5rem;
    background:radial-gradient(ellipse at 50% 20%, #263155 0%, var(--navy-deep) 65%);
    overflow:hidden;
  }
.stars{position:absolute; inset:0; z-index:0;}
.star{
    position:absolute;
    width:2px; height:2px;
    background:var(--star);
    border-radius:50%;
    animation:twinkle 4s ease-in-out infinite;
    opacity:0.6;
  }
@keyframes twinkle{
    0%,100%{opacity:0.2; transform:scale(1);}
    50%{opacity:1; transform:scale(1.6);}
  }
.crescent-moon{
    position:absolute;
    top:6%; right:6%;
    width:190px;
    z-index:0;
    animation:float 8s ease-in-out infinite;
  }
.crescent-moon svg{
    width:100%; height:auto; display:block;
    filter:drop-shadow(0 0 34px rgba(243,217,138,0.45));
  }
.crescent-glow{
    position:absolute;
    inset:-50px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(243,217,138,0.25) 0%, rgba(243,217,138,0.1) 45%, transparent 72%);
    animation:glow-pulse 5s ease-in-out infinite;
    z-index:-1;
  }
@keyframes glow-pulse{
    0%,100%{opacity:0.7; transform:scale(1);}
    50%{opacity:1; transform:scale(1.12);}
  }
@keyframes float{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-14px);}
  }
.brand-mark{
    position:relative;
    z-index:1;
    text-align:center;
    margin-top:1rem;
  }
.brand-mark .title{
    font-family:Nunito,system-ui,-apple-system,"Segoe UI",sans-serif;
    font-weight:500;
    font-size:34px;
    letter-spacing:0.20em;
    text-transform:uppercase;
    color:var(--cream);
    line-height:1.05;
  }
.brand-mark .by{
    margin-top:6px;
    font-family:Nunito,system-ui,-apple-system,"Segoe UI",sans-serif;
    font-weight:400;
    font-size:14px;
    letter-spacing:0.05em;
    color:var(--cream-dim);
  }
@media (max-width:700px){
    .brand-mark .title{font-size:22px; letter-spacing:0.12em;}
    .brand-mark .by{font-size:12px;}
  }
.hero h1{
    margin-top:2.5rem;
    font-size:clamp(2rem, 5vw, 3.4rem);
    line-height:1.25;
    max-width:820px;
    z-index:1;
    text-wrap:balance;
  }
.hero h1 .accent{color:var(--momo);}
.hero p.sub{
    margin-top:1.2rem;
    font-size:1.05rem;
    color:var(--cream-dim);
    max-width:520px;
    z-index:1;
  }
.hero-trio{
    display:flex;
    gap:2.5rem;
    margin-top:3.5rem;
    z-index:1;
  }
.hero-trio img{width:177px; height:auto; object-fit:contain;}
.hero-trio-item{
    position:relative;
    display:flex; flex-direction:column; align-items:center; gap:0.5rem;
    background:none; border:none; color:inherit; font-family:inherit;
    cursor:pointer; padding:0.5rem;
  }
.hero-trio-item .name{
    font-family:Nunito,system-ui,-apple-system,"Segoe UI",sans-serif; font-weight:600; font-size:12px; letter-spacing:0.04em; text-transform:uppercase; color:var(--cream-dim);
  }
.hero-trio-item .role{
    font-family:Nunito,system-ui,-apple-system,"Segoe UI",sans-serif; font-weight:400; font-size:12px; color:var(--cream-dim); opacity:0.75;
  }
.hero-trio-item img{transition:filter 0.25s ease;}
.hero-trio-item:hover img, .hero-trio-item:focus-visible img{
    filter:brightness(1.12) drop-shadow(0 0 16px rgba(255,246,234,0.35));
  }
.hero-tip{
    position:absolute;
    bottom:calc(100% + 6px);
    left:50%;
    transform:translateX(-50%);
    width:180px;
    background:var(--navy-card);
    color:var(--cream);
    font-family:Nunito,system-ui,-apple-system,"Segoe UI",sans-serif; font-weight:400;
    font-size:12px;
    line-height:1.5;
    padding:0.6rem 0.8rem;
    border-radius:10px;
    opacity:0;
    pointer-events:none;
    transition:opacity 0.2s ease;
  }
.hero-trio-item:hover .hero-tip,
  .hero-trio-item:focus-visible .hero-tip,
  .hero-trio-item:active .hero-tip{
    opacity:1;
  }
@media (max-width:600px){
    .hero-trio{gap:1.2rem;}
    .hero-trio img{width:118px;}
  }
/* ---------- SECTION WRAPPER ---------- */
  section{padding:5rem 1.5rem;}
#opowiesci{background:linear-gradient(180deg, var(--navy-deep) 0%, #232c4d 100%); padding-top:1.5rem; padding-bottom:1.5rem;}
/* ---------- POMOC (help) SECTION ---------- */
  .pomoc{
    position:relative;
    padding-top:0;
    padding-bottom:5rem;
    background:linear-gradient(180deg, #232c4d 0%, #3c4770 16%, #cfe0ec 42%, var(--cream) 64%, var(--cream) 100%);
    overflow:hidden;
  }
.sky-fade{position:absolute; top:0; left:0; right:0; height:220px; pointer-events:none;}
.spark{position:absolute; color:var(--momo); font-size:13px; opacity:0.85;}
.pomoc .section-inner{position:relative; padding-top:1.5rem;}
.kicker.dark{color:#6b7290;}
.pomoc-title{
    text-align:center;
    color:var(--cream);
    font-size:clamp(1.8rem, 3.6vw, 2.6rem);
    margin-bottom:0.9rem;
  }
.pomoc-sub{
    text-align:center;
    color:var(--cream-dim);
    max-width:520px;
    margin:0 auto 3rem;
    font-size:1rem;
    line-height:1.6;
  }
.pomoc-cards{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:1.5rem;
    max-width:1000px;
    margin:0 auto;
  }
@media (max-width:800px){
    .pomoc-cards{grid-template-columns:1fr; max-width:420px;}
  }
.pomoc-card{
    border-radius:20px;
    padding:2.2rem 1.6rem;
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:1rem;
  }
.card-light{background:#fbf3e7;}
.card-blue{background:#bcd4e6;}
.card-peach{background:#fbf0e4;}
.pomoc-card h3{
    font-family:Nunito,system-ui,-apple-system,"Segoe UI",sans-serif; font-weight:600;
    font-size:1.25rem; color:#1c2540;
  }
.pomoc-card p{
    font-size:0.92rem; color:#4b5268; line-height:1.6;
  }
.dot-row{display:flex; gap:0.7rem;}
.dot{width:34px; height:34px; border-radius:50%;}
.dot-white{background:linear-gradient(135deg, #fffdf6, #ffe9a3); box-shadow:0 0 16px 3px rgba(255,240,180,0.6);}
.dot-amber{background:#e08a2e; box-shadow:0 0 16px 3px rgba(224,138,46,0.55);}
.dot-red{background:#e2483d; box-shadow:0 0 16px 3px rgba(226,72,61,0.5);}
.trio-mini{display:flex; gap:0.4rem;}
.trio-mini img{width:46px; height:auto; object-fit:contain;}
.star-fox{position:relative; display:flex; align-items:center; gap:0.4rem;}
.star-fox img{width:58px; height:auto; object-fit:contain;}
.mini-star{color:var(--momo); font-size:22px;}
.q{color:#1c2540; font-size:24px; font-weight:700;}
.pomoc-btn{
    margin-top:0.4rem;
    font-family:Nunito,system-ui,-apple-system,"Segoe UI",sans-serif; font-weight:600;
    font-size:12px; letter-spacing:0.05em; text-transform:uppercase;
    padding:0.7rem 1.4rem;
    border-radius:100px;
    text-decoration:none;
    border:1.5px solid;
    transition:background 0.2s ease, color 0.2s ease;
  }
.btn-amber{border-color:var(--momo); color:#8a5b16;}
.btn-amber:hover{background:var(--momo); color:#fff;}
.btn-navy{border-color:#1c2540; color:#1c2540;}
.btn-navy:hover{background:#1c2540; color:#fff;}
.btn-orange{border-color:var(--nox); color:var(--nox-dark);}
.btn-orange:hover{background:var(--nox); color:#fff;}
.section-inner{max-width:920px; margin:0 auto;}
.kicker{
    font-family:Nunito,system-ui,-apple-system,"Segoe UI",sans-serif; font-weight:600;
    font-size:12px; letter-spacing:0.14em; text-transform:uppercase;
    color:var(--cream-dim); text-align:center; margin-bottom:0.8rem;
  }
.section-title{
    text-align:center; font-size:clamp(1.5rem,3.4vw,2.1rem); margin-bottom:2.5rem;
  }
/* ---------- FILM ---------- */
  .film-wrap{
    background:var(--navy-card);
    border-radius:20px;
    padding:1rem;
    max-width:760px;
    margin:0 auto;
  }
.film-frame{
    position:relative;
    aspect-ratio:16/9;
    background:linear-gradient(135deg, #2c3866, #1a2140);
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
  }
.film-frame::before{
    content:"";
    position:absolute; inset:0;
    background:radial-gradient(circle at 30% 70%, rgba(255,198,92,0.18), transparent 55%);
  }
.play-btn{
    width:64px; height:64px;
    border-radius:50%;
    background:var(--cream);
    display:flex; align-items:center; justify-content:center;
    cursor:pointer;
    z-index:1;
    transition:transform 0.2s ease;
  }
.play-btn:hover{transform:scale(1.08);}
.play-btn::after{
    content:"";
    border-style:solid;
    border-width:11px 0 11px 18px;
    border-color:transparent transparent transparent var(--navy-deep);
    margin-left:4px;
  }
.film-caption{
    text-align:center; color:var(--cream-dim); font-size:14px; margin-top:1rem; padding:0 0.5rem 0.5rem;
  }
/* ---------- CHARACTER PICKER ---------- */
  .picker{
    display:flex; justify-content:center; gap:2.4rem; flex-wrap:wrap;
  }
.picker-item{
    display:flex; flex-direction:column; align-items:center; gap:0.8rem;
    cursor:pointer;
    border:none; background:none; color:inherit;
    font-family:inherit;
    padding:0.5rem;
  }
.picker-item img{width:96px; height:auto; object-fit:contain; transition:transform 0.25s ease, filter 0.25s ease;}
.picker-item:hover svg, .picker-item.active svg{transform:translateY(-6px);}
.picker-item span{font-family:Nunito,system-ui,-apple-system,"Segoe UI",sans-serif; font-weight:600; font-size:12px; letter-spacing:0.04em; text-transform:uppercase; color:var(--cream-dim); transition:color 0.2s ease;}
.picker-item.active span, .picker-item:hover span{color:var(--cream);}
.picker-item .ring{
    width:12px; height:12px; border-radius:50%;
    background:var(--cream-dim);
    opacity:0; transition:opacity 0.2s ease;
    margin-top:-4px;
  }
.picker-item.active .ring{opacity:1;}
.picker-item[data-char="momo"] .ring{background:var(--momo);}
.picker-item[data-char="toby"] .ring{background:var(--toby);}
.picker-item[data-char="nox"] .ring{background:var(--nox);}
/* ---------- CHARACTER DETAIL ---------- */
  .detail{
    display:none;
    background:var(--navy-card);
    border-radius:20px;
    margin-top:2.5rem;
    padding:2.5rem 2rem;
    animation:fadeIn 0.4s ease;
  }
.detail.active{display:block;}
@keyframes fadeIn{from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:translateY(0);}}
.detail-head{
    display:flex; align-items:center; gap:1.5rem; margin-bottom:1.8rem; flex-wrap:wrap;
  }
.detail-head img{width:110px; height:auto; object-fit:contain; flex-shrink:0;}
.detail-head h3{font-size:1.6rem;}
.detail-head .role{font-size:14px; color:var(--cream-dim); margin-top:4px;}
.detail-body{display:grid; gap:1.5rem; grid-template-columns:1fr 1fr;}
@media (max-width:640px){.detail-body{grid-template-columns:1fr;}}
.detail-block h4{
    font-family:Nunito,system-ui,-apple-system,"Segoe UI",sans-serif; font-weight:600; font-size:13px; letter-spacing:0.08em; text-transform:uppercase;
    margin-bottom:0.6rem;
  }
.detail-block.momo h4{color:var(--momo);}
.detail-block.toby h4{color:var(--toby);}
.detail-block.nox h4{color:var(--nox);}
.detail-block p{font-size:15px; line-height:1.7; color:var(--cream-dim);}
.motto{
    margin-top:1.8rem;
    padding:1.1rem 1.4rem;
    border-left:2px solid var(--cream-dim);
    font-family:Nunito,system-ui,-apple-system,"Segoe UI",sans-serif;
    font-weight:500;
    font-size:16px;
    color:var(--cream);
  }
/* ---------- CLOSING ---------- */
  .closing{
    background:radial-gradient(ellipse at 50% 60%, #263155 0%, var(--navy-deep) 70%);
    text-align:center;
  }
.closing-trio{display:flex; justify-content:center; gap:2rem; margin-bottom:2rem;}
.closing-trio img{width:70px; height:auto; object-fit:contain;}
.closing h2{font-size:clamp(1.4rem,3vw,2rem); max-width:560px; margin:0 auto 1.6rem;}
footer{
    text-align:center; padding:2rem 1rem 3rem; color:var(--cream-dim); font-size:12px;
  }