/* Site do Animoras: mesma paleta e tipografia do jogo (madeira, papel creme, latão, verde-folha). */
@font-face { font-family: 'Baloo 2'; src: url('https://cdn.animoras.com/fonts/baloo2-extrabold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('https://cdn.animoras.com/fonts/nunito-bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('https://cdn.animoras.com/fonts/nunito-extrabold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --ink: #1b120a;
  --wood: #3a2414;
  --wood-2: #52321a;
  --paper: #f6ead2;
  --paper-2: #ead8b4;
  --brass: #d4a64e;
  --gold: #ffd27a;
  --cream: #f3e6c4;
  --leaf: #4cbf6b;
  --leaf-d: #2f8f4e;
  --text: #f1e6cf;
  --muted: #cdb98f;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); background: var(--ink);
  font: 700 17px/1.6 'Nunito', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  /* tábuas de madeira escura ao fundo, como a mesa do duelo */
  background-image:
    repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 2px, transparent 2px 180px),
    linear-gradient(180deg, #24170c, #1b120a 40%, #160e07);
}
img, video { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
h1, h2, h3 { font-family: 'Baloo 2', 'Nunito', sans-serif; font-weight: 800; line-height: 1.1; margin: 0 0 .4em; letter-spacing: .2px; }
h1 { font-size: clamp(34px, 5.2vw, 64px); color: var(--cream); text-shadow: 0 4px 0 rgba(0,0,0,.35), 0 10px 30px rgba(0,0,0,.6); }
h2 { font-size: clamp(30px, 4vw, 48px); color: var(--cream); }
h3 { font-size: clamp(26px, 2.6vw, 36px); color: var(--cream); }
p { margin: 0 0 1em; }
.center { text-align: center; }
.small { font-size: 14px; color: var(--muted); }

/* ---------- botões (os mesmos do jogo) ---------- */
.btn {
  --b: var(--leaf); --b2: var(--leaf-d);
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  font: 800 19px/1 'Baloo 2', 'Nunito', sans-serif; color: #fff; cursor: pointer;
  padding: 16px 30px 14px; border-radius: 16px; border: 3px solid rgba(0,0,0,.35);
  background: linear-gradient(180deg, color-mix(in srgb, var(--b) 85%, #fff) 0%, var(--b) 45%, var(--b2) 100%);
  box-shadow: 0 5px 0 rgba(0,0,0,.4), inset 0 2px 0 rgba(255,255,255,.35);
  text-shadow: 0 2px 0 rgba(0,0,0,.3);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0,0,0,.4), inset 0 2px 0 rgba(255,255,255,.3); }
.btn-play { --b: #ffc94a; --b2: #e2902a; color: #3a1e05; text-shadow: 0 1px 0 rgba(255,255,255,.4); }
.btn-wood { --b: #8a5a30; --b2: #5a3618; color: var(--cream); }
.btn-sm { padding: 10px 18px 9px; font-size: 16px; border-radius: 12px; }
.btn-lg { padding: 20px 44px 18px; font-size: 24px; }
.btn-ico { font-size: .9em; }

/* ---------- moldura de madeira com cantos de latão (painéis do jogo) ---------- */
.frame {
  position: relative; border-radius: var(--radius); padding: 10px;
  background: linear-gradient(180deg, #7a4b26, #4a2c15);
  border: 2px solid #2a170a; box-shadow: var(--shadow), inset 0 2px 0 rgba(255,255,255,.18);
}
.frame::before, .frame::after {
  content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe7a0, var(--brass) 55%, #7a5418);
  box-shadow: 0 1px 2px rgba(0,0,0,.6); top: 8px; left: 8px;
}
.frame::after { left: auto; right: 8px; }
.frame > video, .frame > img { border-radius: 10px; width: 100%; }

/* ---------- topo ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  padding: 10px clamp(14px, 3vw, 36px);
  background: linear-gradient(180deg, rgba(27,18,10,.92), rgba(27,18,10,.55) 70%, transparent);
  transition: background .25s;
}
.nav.solid { background: rgba(27,18,10,.96); box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { color: var(--cream); font-weight: 800; opacity: .9; }
.nav-links a:hover { color: var(--gold); opacity: 1; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { font: 800 14px 'Nunito'; color: var(--cream); background: rgba(0,0,0,.35); border: 2px solid rgba(212,166,78,.6); border-radius: 10px; padding: 7px 10px; cursor: pointer; }

/* ---------- abertura ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); filter: blur(3px) saturate(1.1) brightness(.78); }
.hero-shade { position: absolute; inset: 0; background:
  radial-gradient(ellipse at 50% 45%, rgba(27,18,10,.25), rgba(27,18,10,.78) 70%),
  linear-gradient(180deg, rgba(27,18,10,.6), transparent 30%, transparent 65%, var(--ink)); }
.hero-content { position: relative; z-index: 2; max-width: 880px; padding: 110px 20px 70px; }
.hero-logo { width: min(520px, 82vw); height: auto; margin: 0 auto 6px; filter: drop-shadow(0 12px 24px rgba(0,0,0,.6)); }
.hero-sub { font-size: clamp(17px, 1.6vw, 21px); color: var(--cream); max-width: 680px; margin: 0 auto 28px; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-down { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--gold); font-size: 36px; z-index: 2; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* lojas: selo grande (link configurado) ou "em breve" */
.stores { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 12px; background: #0d0905; border: 2px solid rgba(243,230,196,.35); color: #fff; min-width: 190px; }
.store svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.store small { display: block; font-size: 11px; opacity: .8; line-height: 1.1; }
.store b { display: block; font: 800 18px/1.1 'Baloo 2'; }
.store.soon { opacity: .62; cursor: default; }
.store:not(.soon):hover { border-color: var(--gold); }

/* ---------- números ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1100px; margin: -10px auto 0; padding: 0 20px; gap: 14px; position: relative; z-index: 3; }
.fact { background: linear-gradient(180deg, var(--paper), var(--paper-2)); color: #4a2c15; border-radius: 14px; padding: 16px 10px; text-align: center; border: 3px solid #6b4220; box-shadow: 0 6px 0 rgba(0,0,0,.35); }
.fact b { display: block; font: 800 34px/1 'Baloo 2'; color: #7a3f12; }
.fact span { font-size: 15px; }

/* ---------- seções ---------- */
section { padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 40px); }
.section-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--muted); }
.kicker { display: inline-block; font: 800 14px 'Nunito'; letter-spacing: 1.6px; text-transform: uppercase; color: var(--leaf); margin-bottom: 8px; }

.trailer .frame-video { max-width: 1100px; margin: 0 auto; }
.yt { position: relative; aspect-ratio: 16/9; background: #000; }
.yt img, .yt iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.modal-box .yt { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
[data-trailer-ui][hidden] { display: none !important; }
.play-big { position: absolute; inset: 10px; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; }
.play-big span { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; font-size: 40px; color: #3a1e05; padding-left: 8px;
  background: radial-gradient(circle at 40% 35%, #ffe08a, #f2a93b 70%); border: 5px solid #5a3618; box-shadow: 0 10px 30px rgba(0,0,0,.6); transition: transform .15s; }
.play-big:hover span { transform: scale(1.08); }
.frame-video.playing .play-big { display: none; }

.features { display: grid; gap: clamp(60px, 8vw, 110px); max-width: 1180px; margin: 0 auto; }
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.feature.flip .feature-media { order: 2; }
.feature-media img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; background: #120b05; }
.feature-media video { aspect-ratio: 16/9; object-fit: cover; background: #120b05; }
.feature-text p { color: var(--text); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 32px; position: relative; color: var(--cream); }
.ticks li::before { content: '🍃'; position: absolute; left: 0; top: 0; }

/* caderno de campo: fundo de papel com as cartas em leque */
.species { background:
  linear-gradient(180deg, var(--ink), transparent 12%, transparent 88%, var(--ink)),
  url('https://cdn.animoras.com/media/bg/room_collection.webp') center/cover; position: relative; }
.species::before { content: ''; position: absolute; inset: 0; background: rgba(20,12,6,.72); }
.species > * { position: relative; }
.card-fan { display: flex; justify-content: center; align-items: flex-end; padding: 30px 0 50px; overflow-x: auto; scrollbar-width: none; }
.card-fan::-webkit-scrollbar { display: none; }
.card-fan img { width: clamp(130px, 13vw, 200px); height: auto; margin: 0 -18px; flex: none; border-radius: 12px;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.55)); transition: transform .25s ease, margin .25s ease; cursor: pointer; }
.card-fan img:hover, .card-fan img.on { transform: translateY(-26px) scale(1.12) rotate(0deg) !important; z-index: 5; margin: 0 4px; }
.link-arrow { font-weight: 800; font-size: 18px; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1180px; margin: 0 auto; }
.shots button { padding: 6px; border: 2px solid #2a170a; border-radius: 14px; background: linear-gradient(180deg, #7a4b26, #4a2c15); cursor: zoom-in; box-shadow: 0 10px 22px rgba(0,0,0,.4); transition: transform .15s; }
.shots button:hover { transform: translateY(-3px) rotate(-.4deg); }
.shots img { border-radius: 9px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }

.cta { background: url('https://cdn.animoras.com/media/bg/room_home.webp') center/cover; position: relative; }
.cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink), rgba(27,18,10,.55) 30%, rgba(27,18,10,.55) 70%, var(--ink)); }
.cta-box { position: relative; max-width: 760px; margin: 0 auto; text-align: center; padding: 48px 28px 40px; background: linear-gradient(180deg, rgba(74,44,21,.92), rgba(42,23,10,.95)); }
.cta-box p { color: var(--cream); margin-bottom: 26px; }

.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: linear-gradient(180deg, var(--paper), var(--paper-2)); color: #3a2414; border-radius: 14px; border: 3px solid #6b4220; margin-bottom: 12px; padding: 4px 20px; box-shadow: 0 5px 0 rgba(0,0,0,.3); }
.faq summary { font: 800 20px 'Baloo 2'; cursor: pointer; padding: 12px 0; list-style: none; color: #5a2e0e; }
.faq summary::after { content: '+'; float: right; font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: #4a2c15; }

.footer { text-align: center; padding: 50px 20px 40px; border-top: 2px solid rgba(212,166,78,.25); background: #140d06; }
.footer img { margin: 0 auto 14px; height: auto; }
.footer nav { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.footer nav a { color: var(--cream); }

/* ---------- janelas ---------- */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(8,5,2,.88); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: min(1200px, 100%); }
.modal-box video, .modal-box img { width: 100%; border-radius: 12px; box-shadow: var(--shadow); max-height: 86vh; object-fit: contain; background: #000; }
.modal-close { position: absolute; top: -46px; right: 0; width: 38px; height: 38px; border-radius: 10px; border: 2px solid rgba(243,230,196,.5); background: rgba(0,0,0,.5); color: #fff; font-size: 18px; cursor: pointer; }

/* aparece ao rolar */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero-down { animation: none; } html { scroll-behavior: auto; } }

/* ---------- celular ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-logo img { height: 42px; }
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
  .shots { grid-template-columns: 1fr 1fr; }
  .card-fan { justify-content: flex-start; padding-left: 30px; padding-right: 30px; }
  .card-fan img { margin: 0 -10px; }
}
@media (max-width: 520px) {
  .shots { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-ctas { flex-direction: column; }
  .store { min-width: 0; flex: 1; }
}
