:root{--bg:#090d15;--gold:#d7b47b;--pale:#f8e3bc;--line:#c9a46c38;--muted:#b8b7bc;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:75px}body{margin:0;background:var(--bg);color:#f3eee6;font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #ffdb91;outline-offset:5px}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}h2{font:400 clamp(42px,5.5vw,82px)/1.06 var(--serif);letter-spacing:-.04em;color:#f4e8d5}h2 em{font-style:normal;color:var(--gold)}p{color:#c2c1c1;line-height:1.8}.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.topbar{position:fixed;inset:0 0 auto;z-index:20;height:76px;display:flex;justify-content:space-between;align-items:center;padding:0 5vw;gap:20px;background:linear-gradient(180deg,#080b13e8,#080b1380);border-bottom:1px solid var(--line);transition:background .3s}.topbar.scrolled{background:#090d15f5;backdrop-filter:blur(16px)}.brand{display:flex;align-items:center;gap:10px;font:600 17px var(--serif);letter-spacing:2px;color:#f3d39a;white-space:nowrap}.brand b{font-weight:400}.topbar nav{display:flex;align-items:center;gap:clamp(16px,3vw,44px)}.topbar nav a{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:#ded7c9;position:relative;padding:10px 0}.topbar nav a:after{content:'';height:1px;background:var(--gold);position:absolute;bottom:0;left:50%;right:50%;transition:.25s}.topbar nav a:hover:after,.topbar nav a.active:after{left:0;right:0}.server{font-size:9px;letter-spacing:1.6px;color:#e3c895;display:flex;align-items:center;gap:8px;white-space:nowrap}.server i{width:7px;height:7px;border-radius:50%;background:#e6ad5e;box-shadow:0 0 15px #f2a34f;animation:pulse 2s infinite}.menu{display:none}.hero{position:relative;min-height:0;aspect-ratio:1672/941;height:auto;max-height:none;isolation:isolate;overflow:hidden;background:#101822}.hero-picture,.hero-picture img,.hero-shade,.hero-light,#sparks{position:absolute;inset:0;width:100%;height:100%}.hero-picture img{object-fit:cover;object-position:50% 50%;animation:hero-breathe 22s ease-in-out infinite alternate;transform-origin:55% 50%}.hero-shade{background:linear-gradient(180deg,#05070d54,transparent 20%,transparent 59%,#090d1540 74%,#090d15 100%);pointer-events:none}.hero-light{background:radial-gradient(ellipse at 50% 20%,#75adff15,transparent 40%);mix-blend-mode:screen;animation:glow 7s ease-in-out infinite;pointer-events:none}#sparks{pointer-events:none}.hero-copy{position:absolute;left:51%;right:4%;top:65%;text-align:center;display:flex;align-items:center;flex-direction:column;gap:15px;animation:entry 1.5s ease both}.hero-copy p{font:clamp(15px,1.5vw,23px) var(--serif);text-shadow:0 2px 8px #000,0 0 15px #000;color:#fff1d6}.mobile-heading{display:none}.gold-button,.outline-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:17px 25px;min-height:50px;font-size:11px;font-weight:bold;letter-spacing:2px;border:1px solid #f3d6a0;position:relative;transition:transform .25s,box-shadow .25s,background .25s;background:linear-gradient(115deg,#9e6d38,#f4d9a5 50%,#c69b5c);color:#201409;box-shadow:0 4px 28px #0008}.gold-button:before{content:'';position:absolute;inset:3px;border:1px solid #6e4e3150;pointer-events:none}.gold-button:hover,.outline-button:hover{transform:translateY(-3px);box-shadow:0 0 30px #dbad6360}.outline-button{color:var(--pale);border-color:#d7b47b80;background:#0b101a85}.text-button{display:flex;align-items:center;gap:9px;background:none;border:0;color:#f5deb5;letter-spacing:2px;font-size:10px;text-shadow:0 2px 5px #000}.play-mini{display:grid;place-items:center;width:25px;height:25px;border:1px solid #e1bb80;border-radius:50%;font-size:9px}.hero-bottom{position:absolute;bottom:24px;left:5vw;right:5vw;display:flex;justify-content:space-between;align-items:flex-end;font-size:9px;letter-spacing:2px;color:#d2b98f}.hero-bottom a{display:flex;flex-direction:column;align-items:center;gap:8px}.scroll-line{height:30px;width:1px;background:linear-gradient(transparent,#e2c18c);animation:float 2s infinite}.section{position:relative;overflow:hidden}.world{min-height:640px;display:flex;align-items:center;justify-content:flex-end;padding:100px 8vw;isolation:isolate}.world-art{position:absolute;inset:0;z-index:-2;background:url('assets/realm.webp') 40% center/cover no-repeat;animation:hero-breathe 28s infinite alternate}.world:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#090d1500 25%,#090d15b0 65%,#090d15d9),linear-gradient(180deg,#090d15,transparent 20%,transparent 75%,#090d15)}.section-content{max-width:510px;position:relative}.kicker{display:flex;align-items:center;gap:11px;justify-content:center;color:var(--gold);font-size:10px;letter-spacing:3px;font-weight:600;line-height:1.5}.kicker i{width:30px;height:1px;background:linear-gradient(90deg,transparent,#d7b47b)}.kicker i:last-child{transform:rotate(180deg)}.section-content .kicker{justify-content:flex-start}.section-content h2{margin:20px 0}.section-content p{max-width:440px;margin:0 0 28px}.world-caption{position:absolute;left:6vw;bottom:40px;color:#e0c89f;font-size:10px;letter-spacing:2px;display:flex;align-items:center;gap:15px}.world-caption span{width:45px;height:1px;background:var(--gold)}.features{position:relative;display:grid;grid-template-columns:repeat(3,1fr);max-width:1320px;margin:auto;border-block:1px solid var(--line);padding:26px 0}.features article{display:flex;align-items:center;gap:20px;padding:20px 32px;border-right:1px solid var(--line)}.features article:last-child{border:0}.feature-icon{font:40px var(--serif);color:var(--gold)}.features h3{font:23px var(--serif);color:var(--pale);margin-bottom:5px}.features p{font-size:13px}.classes,.cinematic{max-width:1500px;margin:auto;padding:100px 5vw 40px}.section-heading{text-align:center;max-width:820px;margin:auto auto 40px}.section-heading h2{margin:16px 0 12px}.section-heading p{font-size:15px}.class-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.character{position:relative;min-width:0;aspect-ratio: .64;background:#121a25;overflow:hidden;border:1px solid var(--line);padding:0;text-align:left;isolation:isolate;transition:border-color .3s,transform .3s}.character img{width:100%;height:100%;object-fit:cover;transition:transform .7s,filter .5s;filter:saturate(.78) brightness(.88)}.character:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 42%,#070b13 100%);pointer-events:none}.character:hover,.character.selected{border-color:#e2bd80;transform:translateY(-6px)}.character:hover img,.character.selected img{transform:scale(1.06);filter:none}.class-index{position:absolute;top:15px;left:15px;font-size:11px;color:var(--pale);z-index:1;text-shadow:0 1px 5px #000}.card-name{position:absolute;bottom:20px;left:15px;right:10px;z-index:1;font:clamp(19px,2.3vw,33px) var(--serif);color:#f8e5bf}.card-name small{font:10px Arial,sans-serif;display:block;text-transform:uppercase;letter-spacing:2px;color:var(--gold);margin-top:8px}.class-detail{display:flex;align-items:center;justify-content:center;gap:24px;min-height:84px;padding:16px;border-bottom:1px solid var(--line);flex-wrap:wrap}.class-detail span{font-size:10px;color:var(--gold);letter-spacing:2px}.class-detail strong{font:26px var(--serif);color:var(--pale)}.class-detail p{font-size:14px}.art-note{font-size:11px;text-align:center;color:#989da5;margin-top:16px}.video-frame{position:relative;aspect-ratio:16/8.5;max-width:1100px;margin:auto;border:1px solid #b99760;background:#111a27;overflow:hidden;display:grid;place-items:center}.video-frame video,.video-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.video-shade{background:linear-gradient(180deg,#05080d33,transparent 30%,#05080da0)}.big-play{position:relative;z-index:1;display:grid;place-items:center;border-radius:50%;width:88px;height:88px;border:1px solid #f0d2a0;background:#0c1323a8;color:#f5dcae;box-shadow:0 0 0 10px #ecd3aa15,0 0 40px #0009;transition:transform .3s}.big-play:hover{transform:scale(1.12)}.video-meta{position:absolute;bottom:22px;left:24px;right:24px;display:flex;justify-content:space-between;align-items:end;letter-spacing:2px;color:#f5dfb4;font-size:12px}.video-meta small{display:block;font-size:9px;margin-top:6px}.original{max-width:1100px;margin:20px auto;color:#bfb6a6;font-size:13px}.original summary{cursor:pointer;padding:12px 0}.original p{margin:12px 0}.original a{text-decoration:underline}.original iframe{width:100%;aspect-ratio:16/9;border:0;display:block;margin-top:16px}.launch{text-align:center;padding:95px 20px 100px;background:radial-gradient(ellipse at center,#29304470,transparent 70%);border-top:1px solid var(--line);margin-top:40px}.launch img{margin:0 auto 22px;filter:drop-shadow(0 0 18px #c8945350);animation:float 5s infinite}.launch h2{margin:18px 0}.launch p{margin-bottom:25px}footer{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:28px 5vw;border-top:1px solid var(--line);font-size:11px}footer p{text-align:center;font-size:11px}footer>span{letter-spacing:3px;color:var(--gold);white-space:nowrap}dialog{width:min(1000px,94vw);padding:0;background:#0b111b;border:1px solid #b99760;color:#f4e0b9;max-height:92vh}dialog::backdrop{background:#03050bdc;backdrop-filter:blur(8px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;padding:13px 18px;letter-spacing:2px;font-size:11px}.dialog-top button{background:none;border:1px solid var(--line);width:34px;height:34px}dialog video{width:100%;display:block;max-height:72vh;background:#000}dialog p{padding:12px 18px;font-size:12px}.reveal{transition:opacity .8s,transform .8s}.js .reveal:not(.visible){opacity:0;transform:translateY(22px)}@keyframes hero-breathe{to{transform:scale(1.015)}}@keyframes pulse{50%{opacity:.5;box-shadow:0 0 3px #e6ad5e}}@keyframes glow{50%{opacity:.35}}@keyframes entry{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}@keyframes float{50%{transform:translateY(-6px)}}
@media(max-width:900px){.server{display:none}.topbar nav{gap:20px}.features article{padding:18px;gap:12px}.features h3{font-size:19px}.class-grid{gap:7px}.card-name{left:10px}.card-name small{letter-spacing:1px}.world{padding-right:5vw}.section-content{max-width:420px}}
@media(max-width:900px){html{scroll-padding-top:62px}.topbar{height:62px;padding:0 18px;background:#090d15e8}.brand{font-size:15px}.brand img{width:29px;height:35px}.menu{display:flex;flex-direction:column;gap:5px;justify-content:center;background:none;border:1px solid var(--line);width:40px;height:38px;padding:9px}.menu span{width:100%;height:1px;background:var(--gold)}.topbar nav{display:none;position:absolute;top:61px;left:0;right:0;background:#0b101bf8;padding:18px 25px;flex-direction:column;align-items:stretch;gap:10px;border-bottom:1px solid var(--line)}.topbar nav.open{display:flex}.hero{min-height:660px;height:100svh;max-height:950px}.hero-picture img{object-position:50% center}.hero-shade{background:linear-gradient(180deg,#090d1530,transparent 25%,#090d1530 45%,#090d15e8 73%,#090d15 100%)}.hero-copy{top:auto;bottom:85px;left:18px;right:18px;gap:12px}.hero-copy p{display:none}.mobile-heading{display:block}.mobile-heading .kicker{font-size:9px;letter-spacing:2px}.mobile-heading .mobile-logo{font:700 clamp(47px,12vw,82px)/1.08 var(--serif);letter-spacing:-.065em;text-transform:uppercase;margin:12px 0 7px;color:#f4d49b;text-shadow:0 3px 1px #4e3222,0 0 25px #000}.coming{display:block;letter-spacing:6px;color:#f5d7a5;font-size:12px}.hero-copy p{font-size:16px}.gold-button{padding:14px 20px;min-height:45px}.hero-bottom{justify-content:center;bottom:16px}.hero-bottom>span{display:none}.world{min-height:620px;align-items:flex-end;padding:75px 22px 80px}.world-art{background-position:40% center}.world:before{background:linear-gradient(180deg,#090d15,transparent 20%,#090d1544 35%,#090d15ee 78%,#090d15)}.section-content{max-width:100%}.section-content h2{font-size:49px}.world-caption{bottom:26px}.features{grid-template-columns:1fr;padding:0 20px}.features article{padding:20px 5px;border-right:0;border-bottom:1px solid var(--line)}.features article:last-child{border:0}.classes,.cinematic{padding:65px 18px 25px}.section-heading h2{font-size:42px}.section-heading .kicker{letter-spacing:2px}.class-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.character{grid-column:span 2;aspect-ratio:.67}.character:nth-child(4),.character:nth-child(5){grid-column:span 3;aspect-ratio:1}.card-name{font-size:21px;bottom:12px}.card-name small{font-size:8px}.class-detail{gap:8px 15px;text-align:center}.class-detail p{flex-basis:100%}.video-frame{aspect-ratio:16/10}.big-play{width:60px;height:60px}.big-play svg{width:23px}.video-meta{bottom:12px;left:12px;right:12px;font-size:9px;letter-spacing:1px}.video-meta small{font-size:8px}.launch{padding:70px 18px}.launch h2{font-size:44px}footer{flex-direction:column;text-align:center;gap:15px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.js .reveal:not(.visible){opacity:1;transform:none}}

@media(min-width:901px) and (max-width:1150px){.hero-copy{gap:8px}.hero-copy .gold-button{min-height:38px;padding:10px 15px}.hero-copy .play-mini{width:20px;height:20px}.hero-bottom{bottom:12px}}

/* Legacy Tale V3.2 — melhorias exclusivas para celular e tablet.
   As regras originais do desktop permanecem intactas. */
@media (max-width:900px){
  html{scroll-padding-top:calc(68px + env(safe-area-inset-top,0px));}
  body{overflow-x:hidden;}
  .topbar{height:calc(68px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) max(18px,env(safe-area-inset-right,0px)) 0 max(18px,env(safe-area-inset-left,0px));gap:12px;}
  .topbar .brand{letter-spacing:1.7px;font-size:16px;}
  .menu{width:46px;height:46px;align-items:center;gap:6px;padding:12px;flex-shrink:0;}
  .menu span{transition:transform .25s,opacity .25s;}
  .menu[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  .menu[aria-expanded="true"] span:nth-child(2){opacity:0;}
  .menu[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
  .topbar nav{top:100%;padding:12px 22px 20px;gap:0;max-height:calc(100vh - 68px);max-height:calc(100dvh - 68px - env(safe-area-inset-top,0px));overflow-y:auto;box-shadow:0 20px 35px #0008;}
  .topbar nav a{display:flex;align-items:center;min-height:49px;padding:12px 4px;border-bottom:1px solid var(--line);font-size:12px;}
  .topbar nav a:after{display:none;}
  .topbar nav a.active{color:var(--gold);}
  .hero{aspect-ratio:auto;height:auto;min-height:100vh;min-height:100svh;max-height:none;display:flex;flex-direction:column;justify-content:flex-end;padding:calc(68px + env(safe-area-inset-top,0px)) max(18px,env(safe-area-inset-right,0px)) calc(15px + env(safe-area-inset-bottom,0px)) max(18px,env(safe-area-inset-left,0px));background:#090d15;}
  .hero-picture{top:calc(68px + env(safe-area-inset-top,0px));bottom:auto;height:max(310px,65%);overflow:hidden;}
  .hero-picture img{object-position:50% 35%;}
  .hero-shade{background:linear-gradient(180deg,#090d1505 8%,transparent 28%,#090d1510 43%,#090d15a0 60%,#090d15 77%);}
  .hero-copy{position:relative;inset:auto;z-index:2;gap:13px;margin:clamp(235px,46vw,475px) auto 0;width:100%;max-width:430px;}
  .mobile-heading{width:100%;}
  .mobile-heading .kicker{font-size:10px;letter-spacing:2.3px;line-height:1.6;text-shadow:0 2px 8px #000;}
  .mobile-heading .mobile-logo{font-size:clamp(38px,11vw,78px);letter-spacing:-.06em;white-space:nowrap;margin:8px 0 10px;line-height:1.05;}
  .coming{display:flex;justify-content:center;align-items:center;gap:14px;font-size:11px;letter-spacing:5px;margin-bottom:6px;}
  .coming:before,.coming:after{content:'';height:1px;width:32px;background:linear-gradient(90deg,transparent,#d7b47b);}
  .coming:after{transform:rotate(180deg);}
  .hero-copy .gold-button{width:min(100%,330px);min-height:52px;}
  .hero-copy .text-button{min-height:46px;padding:8px 12px;}
  .hero-bottom{position:relative;inset:auto;z-index:2;justify-content:center;margin:12px 0 0;}
  .hero-bottom a{min-height:38px;gap:6px;}
  .scroll-line{height:18px;}
  .world{min-height:0;padding:0 22px 68px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;}
  .world-art{position:relative;inset:auto;margin:0 -22px;height:clamp(260px,63vw,520px);flex:none;background-position:50% 45%;z-index:-2;}
  .world:before{background:linear-gradient(180deg,#090d15 0,transparent 10%,transparent 28%,#090d15 68%);}
  .section-content{margin-top:-44px;z-index:1;max-width:520px;align-self:center;width:100%;}
  .section-content h2{font-size:clamp(40px,10vw,64px);margin:15px 0;}
  .section-content p{font-size:15px;line-height:1.7;margin-bottom:22px;}
  .world-caption{left:22px;bottom:24px;font-size:9px;}
  .features{padding:0 22px;}
  .features article{min-height:100px;}
  .classes,.cinematic{padding:58px 20px 24px;}
  .section-heading{margin-bottom:28px;}
  .section-heading h2{font-size:clamp(34px,9vw,56px);}
  .section-heading p{font-size:14px;line-height:1.6;}
  .class-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:650px;margin:0 auto;}
  .character,.character:nth-child(4),.character:nth-child(5){grid-column:auto;aspect-ratio: .74;}
  .character:last-child{grid-column:1/-1;width:calc((100% - 12px)/2);justify-self:center;}
  .character:hover,.character.selected{transform:none;}
  .character img{filter:none;}
  .character.selected{box-shadow:0 0 0 1px #d7b47b,0 0 20px #d7b47b22;}
  .card-name{font-size:clamp(19px,5vw,28px);left:12px;right:6px;bottom:13px;}
  .card-name small{font-size:9px;margin-top:5px;line-height:1.3;}
  .class-detail{padding:18px 8px;min-height:100px;}
  .video-frame{aspect-ratio:16/9;}
  .video-meta{bottom:10px;left:10px;right:10px;}
  .original summary{min-height:44px;line-height:1.5;}
  .original .outline-button{width:100%;font-size:10px;letter-spacing:1.1px;padding:13px 10px;}
  .launch{margin-top:26px;padding:58px 20px;}
  .launch h2{font-size:clamp(38px,10vw,55px);}
  .launch p{font-size:14px;}
  footer{padding:25px 20px calc(25px + env(safe-area-inset-bottom,0px));}
  dialog{width:calc(100% - 24px);max-width:760px;max-height:90vh;max-height:90dvh;margin:auto;overflow:auto;}
  .dialog-top{padding:8px 12px;gap:8px;font-size:10px;letter-spacing:1px;}
  .dialog-top button{min-width:44px;min-height:44px;flex-shrink:0;}
  dialog video{max-height:65vh;max-height:65dvh;}
  dialog p{padding:10px 12px;line-height:1.5;}
}
@media (min-width:600px) and (max-width:900px){
  .hero-picture{height:max(400px,65%);}
  .hero-copy{margin-top:clamp(310px,45vw,430px);max-width:600px;}
  .class-grid{grid-template-columns:repeat(6,minmax(0,1fr));}
  .character,.character:nth-child(4),.character:nth-child(5){grid-column:span 2;aspect-ratio:.72;}
  .character:nth-child(4){grid-column:2/span 2;}
  .character:last-child{grid-column:4/span 2;width:100%;}
}
@media (max-width:360px){
  .hero-copy{margin-top:215px;}
  .hero-picture{height:max(300px,65%);}
  .mobile-heading .mobile-logo{font-size:clamp(33px,11vw,40px);}
  .mobile-heading .kicker{font-size:9px;letter-spacing:1.6px;}
  .classes,.cinematic{padding-inline:15px;}
  .card-name{left:8px;font-size:19px;}
  .card-name small{letter-spacing:.7px;}
}
@media (max-width:900px) and (orientation:landscape) and (max-height:500px){
  .hero{min-height:calc(100svh + 150px);}
  .hero-picture{height:380px;}
  .hero-copy{margin-top:230px;}
  .topbar nav{max-height:calc(100dvh - 68px - env(safe-area-inset-top,0px));}
  dialog video{max-height:58dvh;}
}
