:root{--blue:#0D5EAF;--deep:#003B73;--gold:#D4AF37;--text:#142033;--green:#19a35b;--red:#d43f3a;--shadow:0 18px 45px rgba(0,59,115,.16)}
*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:linear-gradient(rgba(255,255,255,.85),rgba(243,248,255,.95)),url("../img/greek-bg.svg");background-size:cover}.topbar{display:none}.app{display:flex;min-height:100vh}aside{width:282px;background:linear-gradient(180deg,var(--deep),var(--blue));color:white;padding:20px;position:sticky;top:0;height:100vh;transition:.25s;overflow:hidden}.brand{display:flex;align-items:center;gap:12px;margin-bottom:22px}.sigma{min-width:56px;width:56px;height:56px;border-radius:17px;background:white;color:var(--blue);display:grid;place-items:center;font-size:31px;font-weight:900;border:3px solid var(--gold)}.brand h1{margin:0;font-size:27px}.brand p{margin:0;opacity:.8}.smallbtn{margin-left:auto;width:42px;height:42px;border:0;border-radius:13px;background:var(--gold);font-size:19px;font-weight:900}nav{display:grid;gap:9px}nav button{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:white;padding:12px 14px;border-radius:15px;text-align:left;font-weight:800;cursor:pointer}nav button.active,nav button:hover{background:white;color:var(--blue)}.level{margin-top:22px;border-radius:20px;padding:18px;background:rgba(255,255,255,.14)}.level span,.level small{display:block;opacity:.8}.level b{display:block;color:var(--gold);font-size:42px}.menu-hidden aside{width:88px}.menu-hidden .brand div:not(.sigma),.menu-hidden nav button,.menu-hidden .level span,.menu-hidden .level small{font-size:0}.menu-hidden nav button::first-letter{font-size:18px}.menu-hidden .smallbtn{display:grid;margin:0}.menu-hidden .brand{flex-direction:column}.menu-hidden .level{padding:12px}.menu-hidden .level b{font-size:25px}
main{flex:1;padding:30px}.page{display:none}.page.active{display:block}button{cursor:pointer}.hero{position:relative;min-height:430px;border-radius:34px;padding:42px;display:flex;align-items:end;justify-content:space-between;gap:24px;color:white;background-image:linear-gradient(90deg,rgba(0,59,115,.95),rgba(13,94,175,.35),rgba(255,255,255,.03)),var(--img);background-size:cover;background-position:center;box-shadow:var(--shadow);overflow:hidden;animation:zoom 16s ease-in-out infinite alternate}.heroText,.love{position:relative}.label{display:inline-block;background:var(--gold);color:#2a2104;border-radius:999px;padding:8px 13px;font-weight:900}.hero h2{font-size:clamp(42px,6vw,76px);margin:18px 0 10px;line-height:1}.hero p{font-size:21px;text-shadow:0 3px 14px rgba(0,0,0,.45)}.hero button,.tools button,.caption button,.bubble button,.vocab button,.grammar button,.choice button,.game button,.quiz button{border:0;border-radius:14px;padding:13px 18px;background:var(--gold);color:#211800;font-weight:900;margin:5px}.ghost{background:rgba(255,255,255,.18)!important;color:white!important;border:1px solid rgba(255,255,255,.45)!important}.love{min-width:285px;padding:25px;border-radius:25px;background:rgba(255,255,255,.94);color:var(--deep);border:2px solid rgba(212,175,55,.55);box-shadow:0 15px 35px rgba(0,0,0,.12)}#hearts{font-size:34px;color:#c02b4b;margin:12px 0}@keyframes zoom{from{background-size:100%}to{background-size:106%}}
.steps{display:grid;grid-template-columns:repeat(7,1fr);gap:12px;margin:24px 0}.steps button,.card{border:0;border-radius:20px;background:white;padding:18px;box-shadow:var(--shadow);text-align:left;color:var(--deep);font-weight:900}.steps b{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--gold);margin-right:8px}.grid{display:grid;grid-template-columns:1fr 1.35fr 1fr 1.1fr;gap:20px}.card{font-weight:400}.card:hover,.vocab article:hover{transform:translateY(-3px);transition:.2s}.ring{width:118px;height:118px;border-radius:50%;display:grid;place-items:center;border:14px solid var(--blue);font-size:28px;font-weight:900}.imgcard{padding:0;overflow:hidden}.imgcard img{width:100%;height:170px;object-fit:cover;display:block}.imgcard h3,.imgcard p{padding:0 18px}.imgcard p{padding-bottom:18px}header{display:flex;justify-content:space-between;gap:20px;margin-bottom:20px}header h2{font-size:38px;margin:0}header p{color:#4b5d74}
.cinema{position:relative;min-height:calc(100vh - 70px);border-radius:36px;overflow:hidden;box-shadow:var(--shadow);display:grid;place-items:center;color:white;text-align:center;background:#003B73}.cinema:before{content:"";position:absolute;inset:0;background-image:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,35,73,.75)),var(--img);background-size:cover;background-position:center;animation:move 18s infinite alternate}.sun{position:absolute;left:8%;top:10%;width:150px;height:150px;border-radius:50%;background:radial-gradient(#fff9d6,#d4af37 55%,transparent 70%);animation:pulse 3s infinite}.bird{position:absolute;font-size:55px;animation:fly 8s infinite;color:white}.b1{top:18%;left:20%}.b2{top:26%;left:70%;animation-delay:2s}.cinemaText{position:relative;max-width:850px;padding:40px;text-shadow:0 8px 30px #000}.cinemaText h2{font-size:clamp(44px,7vw,82px)}@keyframes move{to{transform:scale(1.06) translateY(-10px)}}@keyframes pulse{50%{transform:scale(1.08)}}@keyframes fly{50%{transform:translateX(70px) translateY(-15px)}}
.scene{position:relative;min-height:560px;border-radius:32px;background-image:linear-gradient(90deg,rgba(0,35,73,.68),rgba(0,0,0,.1)),var(--img);background-size:cover;background-position:center;box-shadow:var(--shadow);overflow:hidden;animation:zoom 18s infinite alternate}.hot{position:absolute;border:0;border-radius:50%;width:64px;height:64px;background:rgba(255,255,255,.86);font-size:30px;box-shadow:0 12px 30px rgba(0,0,0,.25);animation:float 2.5s infinite}.cat{left:12%;bottom:12%}.flag{right:12%;top:14%}.caption{position:absolute;left:32px;bottom:32px;max-width:520px;background:rgba(255,255,255,.93);border-radius:26px;padding:26px;color:var(--deep)}.caption h3{font-size:34px;margin:0 0 10px}.badge{font-weight:900;color:var(--deep)}@keyframes float{50%{transform:translateY(-8px)}}
.tools{display:flex;gap:10px;flex-wrap:wrap}.tools button,.blue{background:var(--blue)!important;color:white!important}.dialogueLayout{display:grid;grid-template-columns:330px 1fr;gap:22px}.photo{background:white;border-radius:26px;overflow:hidden;box-shadow:var(--shadow)}.photo img{width:100%;height:430px;object-fit:cover}.photo p{padding:16px;margin:0}.chat{display:grid;gap:14px}.bubble{border-radius:22px;padding:20px;position:relative;box-shadow:var(--shadow)}.lou{background:#fff8e8}.sly{background:#eef6ff;margin-left:50px}.greek{font-size:28px;font-weight:900}.tr{color:#52677f}.hide .tr{display:none}.mastered{outline:3px solid var(--green)}.favorite{box-shadow:0 0 0 4px rgba(212,175,55,.35) inset}
.vocab{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}.vocab article{background:white;border-radius:22px;padding:20px;box-shadow:var(--shadow)}.emoji{font-size:52px}.vocab strong{display:block;font-size:30px;color:var(--deep);margin:10px 0}.grammar{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grammar article,.choice,.game,.quiz{background:white;border-radius:26px;padding:24px;box-shadow:var(--shadow)}.grammar img{width:100%;height:230px;object-fit:cover;border-radius:18px}.big{font-size:44px;color:var(--blue);font-weight:900}.choice .correct,.game .correct{background:var(--green)!important;color:white!important}.choice .wrong,.game .wrong{background:var(--red)!important;color:white!important}.game{max-width:760px;text-align:center}.game #npc{font-size:90px}
.quiz{max-width:900px}.score{display:flex;justify-content:space-between;align-items:center;background:#f3f8ff;border-radius:18px;padding:16px}.score b{font-size:34px;color:var(--blue)}.lock{margin:12px 0 20px;padding:14px;border-radius:16px;background:#fff7e2;border:1px solid rgba(212,175,55,.5);font-weight:900}.lock.ok{background:#eaf8ef;border-color:var(--green);color:#0e6938}.question{background:#f3f8ff;border-radius:18px;padding:16px;margin:18px 0}.opts button{display:flex;justify-content:space-between;width:100%;background:white!important;color:var(--deep)!important;border:2px solid rgba(13,94,175,.15)!important}.opts .correct{background:#eaf8ef!important;border-color:var(--green)!important;color:#0e6938!important}.opts .wrong{background:#ffecec!important;border-color:var(--red)!important;color:#8d1915!important}.fb.ok{color:var(--green);font-weight:900}.fb.no{color:var(--red);font-weight:900}.reward{display:grid;grid-template-columns:220px 1fr;gap:18px;margin-top:20px;background:linear-gradient(135deg,#fff8e8,#eaf7ff);padding:18px;border-radius:28px;box-shadow:var(--shadow)}.reward img{width:100%;height:170px;object-fit:cover;border-radius:20px}.hidden{display:none!important}
@media(max-width:1100px){.grid{grid-template-columns:1fr 1fr}.steps{grid-template-columns:repeat(3,1fr)}.dialogueLayout,.grammar{grid-template-columns:1fr}.photo img{height:310px}}
@media(max-width:760px){.topbar{display:flex;position:sticky;top:0;z-index:30;height:58px;background:var(--deep);color:white;align-items:center;gap:14px;padding:0 14px}.topbar button{width:40px;height:40px;border:0;border-radius:12px;background:var(--gold);font-size:20px;font-weight:900}.topbar span{margin-left:auto;background:var(--gold);color:#211800;padding:6px 10px;border-radius:999px;font-weight:900}.app{display:block}aside{position:fixed;top:58px;left:0;height:calc(100vh - 58px);transform:translateX(-105%);z-index:25}aside.open{transform:translateX(0)}main{padding:16px}.hero{display:block;min-height:520px;padding:25px;background-position:center}.hero h2{font-size:44px}.love{margin-top:18px;min-width:0}.grid,.steps,.reward{grid-template-columns:1fr}header{display:block}header h2{font-size:32px}.scene{min-height:620px}.caption{left:18px;right:18px;bottom:18px}.sly{margin-left:0}}
