/* Sistemul de animăluțe */
.p-banner { background-image: linear-gradient(180deg, rgba(8,10,16,.4), rgba(11,13,20,.93)), url("img/banner.jpg"); background-size: cover; background-position: center 40%; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.fact { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 13px 15px; }
.fact small { display: block; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: #f5c542; font-weight: 700; }
.fact b { display: block; margin-top: 4px; font-size: 14.5px; color: #e8ecf6; font-weight: 600; line-height: 1.4; }

ul.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: st; }
ul.steps li { position: relative; padding: 13px 15px 13px 36px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; color: #c2c9d8; line-height: 1.62; font-size: 14.5px; }
ul.steps li::before { content: ""; position: absolute; left: 16px; top: 20px; width: 7px; height: 7px; border-radius: 50%; background: #5fdc8a; }
ul.steps.num li { padding-left: 46px; counter-increment: st; }
ul.steps.num li::before { content: counter(st); left: 14px; top: 12px; width: 22px; height: 22px; border-radius: 8px; background: rgba(95,220,138,.15); color: #5fdc8a; font: 800 12px/22px Inter, sans-serif; text-align: center; }
ul.steps li b { color: #e8ecf6; }
ul.steps li.warn { border-color: rgba(224,67,63,.42); background: rgba(224,67,63,.07); }
ul.steps li.warn::before { background: #e0433f; color: #ffdede; }
ul.steps.num li.warn::before { background: rgba(224,67,63,.2); }

.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 13px; }
.cd { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 15px 17px; }
.cd.warn { border-color: rgba(224,67,63,.35); background: rgba(224,67,63,.06); }
.cd h3 { margin: 0 0 8px; font-family: Cinzel, serif; font-size: 16px; color: #f2e6c9; }
.cd p { margin: 0; color: #c2c9d8; line-height: 1.6; font-size: 14px; }

/* evolutie */
.stages { display: grid; gap: 11px; }
.st { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 14px 16px; }
.st.key { border-color: rgba(245,197,66,.45); background: rgba(245,197,66,.06); }
.st-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.st-n { width: 24px; height: 24px; flex: none; border-radius: 8px; background: rgba(255,255,255,.08); color: #9aa3b8; font: 800 12px/24px Inter, sans-serif; text-align: center; }
.st.key .st-n { background: rgba(245,197,66,.2); color: #f5c542; }
.st-h b { font-family: Cinzel, serif; font-size: 17px; color: #f2e6c9; }
.st-h em { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.06); color: #9aa3b8; }
.st.key .st-h em { background: rgba(245,197,66,.14); color: #f5c542; }
.st-pre, .st-free { margin: 0 0 9px; color: #9aa3b8; font-size: 13.5px; line-height: 1.55; }
.st ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.st li { font-size: 12.5px; color: #c9d0de; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 8px; padding: 4px 9px; }

/* selector animal */
.pickwrap { position: relative; margin: 0 0 4px; }
.picker { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none; }
.picker::-webkit-scrollbar { display: none; }

.pkar { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 30px; height: 30px;
  display: grid; place-items: center; padding: 0; cursor: pointer; border-radius: 999px;
  background: rgba(14,17,26,.95); border: 1px solid rgba(245,197,66,.35); color: #f5c542;
  font: 700 19px/1 Inter, sans-serif; box-shadow: 0 3px 12px rgba(0,0,0,.55);
  transition: opacity .18s, background .18s, border-color .18s; }
.pkar.l { left: -6px; }
.pkar.r { right: -6px; }
.pkar:hover { background: rgba(245,197,66,.18); border-color: rgba(245,197,66,.7); }
.pkar[disabled], .pkar.gone { opacity: 0; pointer-events: none; }

.pickwrap::before, .pickwrap::after { content: ""; position: absolute; top: 0; bottom: 8px; width: 46px;
  pointer-events: none; z-index: 2; opacity: 0; transition: opacity .18s; }
.pickwrap::before { left: 0; background: linear-gradient(90deg, #141824 20%, rgba(20,24,36,0)); }
.pickwrap::after { right: 0; background: linear-gradient(270deg, #141824 20%, rgba(20,24,36,0)); }
.pickwrap.fl::before, .pickwrap.fr::after { opacity: .95; }

.pk { flex: none; width: 92px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px 5px;
  border-radius: 14px; cursor: pointer; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.pk:hover { background: rgba(255,255,255,.07); }
.pk img { height: 44px; width: auto; max-width: 74px; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0,0,0,.6)); }
.pk span { font: 600 10.5px/1.25 Inter, sans-serif; color: #9aa3b8; text-align: center; }
.pk.on { border-color: rgba(245,197,66,.6); background: rgba(245,197,66,.1); }
.pk.on span { color: #f5c542; }

.petbar { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 4px 0 14px; font-size: 13.5px; color: #8d95a8; }
.petbar b { font-family: Cinzel, serif; font-size: 18px; color: #f2e6c9; }
.petbar em { font-style: normal; flex-basis: 100%; font-size: 12.5px; color: #8d95a8; }
.petbar em b { font-family: Inter, sans-serif; font-size: 12.5px; color: #5fdc8a; }

.abils { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 9px; }
.ab { display: flex; align-items: center; gap: 11px; padding: 10px 13px; border-radius: 13px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.ab img { width: 36px; height: 36px; flex: none; image-rendering: pixelated; }
.ab-b { min-width: 0; flex: 1; }
.ab-b b { display: block; font-size: 13.5px; color: #e8ecf6; }
.ab-b small { display: block; font-size: 11.5px; color: #8d95a8; line-height: 1.4; }
.ab-b i { display: block; font-style: normal; font-size: 10.5px; color: #6f7789; margin-top: 2px; }
.ab-v { flex: none; font-family: Cinzel, serif; font-size: 15px; color: #c9d0de; text-align: right; }
.ab-v u { text-decoration: none; font-family: Inter, sans-serif; font-size: 10px; color: #6f7789; }
.ab.hi { border-color: rgba(95,220,138,.45); background: rgba(95,220,138,.07); }
.ab.hi .ab-v { color: #5fdc8a; }
.ab.act { border-left: 3px solid rgba(176,107,255,.55); }

/* tabel complet */
.fullwrap { margin-top: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 12px 16px; }
.fullh { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0; font-family: Cinzel, serif; font-size: 17px; color: #f2e6c9; font-weight: 600; }
.fullh small { font-family: Inter, sans-serif; font-size: 12px; font-weight: 500; color: #8d95a8; }
.fulltab { overflow-x: auto; margin-top: 12px; }
.fulltab table { border-collapse: collapse; font-size: 11.5px; min-width: 900px; }
.fulltab th, .fulltab td { border: 1px solid rgba(255,255,255,.07); padding: 5px 7px; text-align: center; white-space: nowrap; }
.fulltab thead th, .fulltab tr:first-child th { position: sticky; top: 0; }
.fulltab tr:first-child th { background: #12151f; color: #9aa3b8; font-size: 10px; }
.fulltab tr:first-child th img { display: block; margin: 0 auto 3px; height: 26px; width: auto; max-width: 46px; object-fit: contain; }
.fulltab .rh { text-align: left; background: #12151f; color: #e8ecf6; font-weight: 600; position: sticky; left: 0; z-index: 2; }
.fulltab .rh img { vertical-align: middle; margin-right: 6px; image-rendering: pixelated; }
.fulltab td { color: #a9b1c2; }
.fulltab td.hi { color: #5fdc8a; background: rgba(95,220,138,.08); font-weight: 600; }
.fulltab td.sel { box-shadow: inset 0 0 0 1px rgba(245,197,66,.5); }

/* tipuri */
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 11px; }
.ty { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 13px 15px; }
.ty.mg { border-color: rgba(176,107,255,.4); background: rgba(176,107,255,.06); }
.ty b { display: block; font-family: Cinzel, serif; font-size: 16px; color: #f2e6c9; }
.ty span { display: block; margin-top: 4px; font-size: 11.5px; color: #8d95a8; }
.ty em { display: block; margin-top: 7px; font-style: normal; font-family: Cinzel, serif; font-size: 17px; color: #5fdc8a; }
.ty.mg em { color: #b06bff; }
.ty i { display: block; margin-top: 5px; font-style: normal; font-size: 10.5px; color: #b06bff; }

/* lista animalelor */
.petlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.pc { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 14px; }
.pc-h { display: flex; align-items: flex-end; justify-content: center; gap: 12px; height: 92px; margin-bottom: 8px; }
.pc-egg { height: 40px; width: auto; image-rendering: pixelated; }
.pc-pet { max-height: 86px; max-width: 120px; width: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.6)); }
.pc > b { display: block; text-align: center; font-family: Cinzel, serif; font-size: 15px; color: #f2e6c9; margin-bottom: 9px; }
.pc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.pc li { font-size: 11px; color: #9aa3b8; background: rgba(255,255,255,.05); border-radius: 7px; padding: 3px 7px; }

.faq details { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 12px 16px; margin-bottom: 9px; }
.faq summary { cursor: pointer; font-weight: 600; color: #f2e6c9; font-size: 15px; list-style: none; position: relative; padding-right: 26px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; color: #5fdc8a; font-size: 20px; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 2px; color: #c2c9d8; line-height: 1.65; font-size: 14.5px; }

@media (max-width: 560px) {
  .pk { width: 78px; }
  .pk img { height: 38px; }
  .abils { grid-template-columns: 1fr; }
}
