/*
  RODRIGO ARKA RPG · Identidade editorial "Noite & Brasa"
  Noite grafite e vinho profundo = imaginação e contraste.
  Cobre e âmbar = energia criativa; papel = legibilidade dos livros.
  Verde fica reservado à informação funcional "GRÁTIS".
*/
:root {
  color-scheme: light;
  --night: #191b28;
  --wine: #903f4e;
  --copper: #b45c49;
  --ember: #ebbd77;
  --parchment: #faf7f1;
  --brand-950: #151822;
  --brand-900: #1d202e;
  --brand-850: #282634;
  --brand-800: #342a38;
  --brand-700: #903f4e;
  --brand-600: #a44753;
  --brand-400: #c99986;
  --brand-200: #e9dcd1;
  --brand-100: #f6ede6;
  --ink: #292630;
  --muted: #716973;
  --line: #e7ddd6;
  --surface: #fffdfb;
  --paper: #faf7f1;
  --free: #176743;
  --free-bg: #e3f5e8;
  --paid: #79522c;
  --paid-bg: #fff1df;
  --display: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container {
  width: min(1168px, calc(100% - 64px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -80px;
  z-index: 200;
  padding: 12px;
  background: #fff;
  color: #000;
}

.skip-link:focus {
  top: 14px;
}

.announcement {
  min-height: 30px;
  background: var(--brand-900);
  color: #f1e3ce;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.7px;
  text-align: center;
  padding: 6px 16px;
}

.announcement-icon {
  color: #edbe79;
}

.announcement-separator {
  color: #c0a68c;
}

.site-header {
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  position: sticky;
  z-index: 50;
  top: 0;
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 82px;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.brand-mark {
  width: 45px;
  height: 45px;
  border-radius: 14px;
  background: var(--brand-800);
  display: grid;
  place-items: center;
  box-shadow: 0 3px 9px #19162230;
}

.brand-mark svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: #f6e5d1;
  stroke-width: 1.5;
}

.brand-mark circle {
  fill: #e6b873;
  stroke: none;
}

.brand-name {
  display: flex;
  align-items: baseline;
  gap: 5px;
  letter-spacing: -.75px;
  color: #211e28;
  font-size: 19px;
  font-weight: 850;
}

.brand-name strong {
  font-weight: 900;
}

.brand-name strong span {
  color: var(--brand-600);
}

.brand-name small {
  font-size: 11px;
  color: var(--brand-700);
  font-weight: 850;
  letter-spacing: 1.2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-inline: auto;
}

.nav a {
  color: #67616d;
  font-size: 13px;
  font-weight: 650;
  transition: color .2s;
}

.nav a:hover {
  color: var(--brand-700);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: white;
  background: var(--brand-700);
  font-size: 12px;
  font-weight: 800;
  border-radius: 10px;
  padding: 13px 17px;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}

.header-cta:hover {
  background: #6f3040;
  transform: translateY(-1px);
}

.header-cta span {
  font-size: 17px;
  line-height: .5;
}

.hero-section {
  padding: 30px 0 0;
  background: #fff;
}

.hero-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 558px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: stretch;
  background: linear-gradient(116deg, #191b28 0%, #29283c 57%, #513340 100%);
  border-radius: 25px;
  box-shadow: 0 20px 45px #14172138;
}

.hero-shell::before {
  content: '';
  pointer-events: none;
  position: absolute;
  width: 650px;
  height: 650px;
  right: -270px;
  top: -350px;
  z-index: -1;
  border: 1px solid #f3d19e30;
  border-radius: 50%;
  box-shadow: 0 0 0 100px #e8af790a, 0 0 0 210px #e8af790a;
}

.hero-shell::after {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 82% 75%, #d17c6350, transparent 44%);
}

.hero-dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .25;
  background-image: radial-gradient(#e4c9aa .8px, transparent .8px);
  background-size: 19px 19px;
  mask-image: linear-gradient(to right, transparent, #000);
}

.hero-content {
  padding: clamp(45px, 5.5vw, 78px) 20px 58px 68px;
  align-self: center;
  position: relative;
  z-index: 5;
}

.hero-kicker {
  color: #efd1a2;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 2.1px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 23px;
}

.kicker-dot {
  background: #eabb76;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #e8b56a30;
}

.hero h1,
.hero-content h1 {
  font-size: clamp(48px, 5.1vw, 74px);
  line-height: 1.055;
  font-weight: 850;
  letter-spacing: -3.6px;
  color: #fff;
  margin: 0 0 23px;
}

.hero-content h1 span {
  color: #f1c784;
}

.hero-content>p {
  font-size: 15px;
  line-height: 1.78;
  color: #e1dbe0;
  max-width: 450px;
  margin-bottom: 29px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 23px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  padding: 15px 21px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 820;
  transition: transform .2s, background .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-hero {
  background: #ebbd77;
  color: var(--brand-950);
  box-shadow: 0 5px 10px #10121c55;
}

.button-hero:hover {
  background: #f9d79c;
}

.button-hero span {
  font-size: 18px;
}

.hero-secondary {
  color: #f4e5d0;
  font-size: 12px;
  font-weight: 800;
  border-bottom: 1px solid #e7c58f9c;
  padding: 9px 0;
  white-space: nowrap;
}

.hero-secondary:hover {
  border-color: #fff;
}

.hero-secondary span {
  margin-left: 5px;
}

.hero-caption {
  margin-top: 35px;
  color: #cbbac0;
  font-size: 11px;
  font-weight: 550;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-caption span {
  font-size: 17px;
}

.hero-visual {
  position: relative;
  min-height: 558px;
  overflow: visible;
}

.visual-ring {
  position: absolute;
  border: 1px solid #edc89770;
  border-radius: 50%;
  left: 16%;
  top: 14%;
  width: 420px;
  height: 420px;
}

.ring-two {
  left: 23%;
  top: 20%;
  width: 352px;
  height: 352px;
  border-style: dashed;
  opacity: .5;
}

.hero-book {
  position: absolute;
  width: clamp(185px, 18vw, 250px);
  height: auto;
  border: 7px solid #f7eadb;
  border-radius: 8px;
  background: #ece3db;
  box-shadow: 18px 28px 35px #11132188;
  transition: transform .3s;
}

.hero-book img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.hero-book-back {
  top: 88px;
  right: 58px;
  transform: rotate(11deg);
}

.hero-book-front {
  top: 75px;
  left: 34px;
  z-index: 2;
  transform: rotate(-10deg);
}

.hero-book-front:hover {
  transform: rotate(-6deg) translateY(-7px);
}

.hero-book-back:hover {
  transform: rotate(7deg) translateY(-7px);
}

.art-stars {
  color: #f3cc8b;
  position: absolute;
  z-index: 3;
}

.art-star-one {
  font-size: 48px;
  top: 33px;
  left: 38%;
}

.art-star-two {
  font-size: 35px;
  right: 14px;
  bottom: 80px;
}

.hero-book-note {
  position: absolute;
  bottom: 31px;
  left: 53px;
  background: #ebbd77;
  padding: 13px 17px;
  z-index: 4;
  transform: rotate(-5deg);
  border-radius: 7px;
  box-shadow: 7px 8px 0 #13182466;
  color: #28212a;
}

.hero-book-note span {
  display: block;
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight: 800;
}

.hero-book-note strong {
  display: block;
  font-size: 13px;
  margin-top: 4px;
}

.promise-strip {
  background: #fff;
  padding: 28px 0 31px;
  border-bottom: 1px solid var(--line);
}

.promise-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 22px;
  flex-wrap: wrap;
}

.promise-inner>span:not(.promise-separator) {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #625968;
  font-size: 12px;
  font-weight: 680;
  white-space: nowrap;
}

.promise-inner svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--brand-700);
  stroke-width: 1.6;
}

.promise-separator {
  width: 1px;
  height: 22px;
  background: var(--line);
}

.catalog-section {
  padding: 93px 0 98px;
}

.catalog-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 37px;
}

.eyebrow {
  font-size: 11px;
  color: var(--brand-700);
  font-weight: 850;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.eyebrow span {
  color: var(--brand-400);
  margin-right: 8px;
}

.catalog-top h2 {
  font-size: clamp(32px, 3.75vw, 50px);
  font-weight: 830;
  letter-spacing: -2px;
  line-height: 1.17;
  margin: 0;
}

.catalog-top h2 span {
  color: var(--brand-600);
}

.catalog-lead {
  font-size: 14px;
  line-height: 1.8;
  color: #77707a;
  max-width: 333px;
  margin: 0 0 4px;
}

.catalog-tools {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 22px #20192315;
  border-radius: 15px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.filters {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.filter {
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 720;
  padding: 12px 18px;
  color: #706775;
}

.filter:hover {
  background: var(--brand-100);
}

.filter.is-active {
  background: var(--brand-700);
  color: white;
  box-shadow: 0 3px 8px #4c293d2f;
}

.filter span {
  margin-left: 8px;
  background: #ffffff33;
  padding: 2px 7px;
  border-radius: 6px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(100%, 290px);
  border-radius: 10px;
  background: #faf6f1;
  border: 1px solid #e9ddd5;
  padding: 0 13px;
}

.search-box svg {
  width: 18px;
  height: 18px;
  stroke: #746875;
  stroke-width: 2;
  fill: none;
}

.search-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 12px 0;
  width: 100%;
  font-size: 13px;
}

.search-box input::placeholder {
  color: #8b828d;
}

.search-box:focus-within {
  outline: 2px solid #c08b82;
  outline-offset: 2px;
}

.catalog-status {
  margin: 20px 0 20px;
  color: #817683;
  font-size: 12px;
  font-weight: 550;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.game-card {
  background: var(--surface);
  overflow: hidden;
  border-radius: 17px;
  border: 1px solid #e8dcd4;
  box-shadow: 0 7px 20px #281d2917;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}

.game-card:hover {
  box-shadow: 0 18px 34px #281d2930;
  transform: translateY(-4px);
}

.game-visual {
  height: 288px;
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ead8cf, #d8c0be 70%, #f3e5dd);
  overflow: hidden;
}

.game-visual::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid #fff8;
  left: -65px;
  top: -155px;
  box-shadow: 0 0 0 70px #fff2, 0 0 0 150px #fff2;
}

.game-card:nth-child(even) .game-visual {
  background: linear-gradient(135deg, #e2d1d1, #e1c8be 70%, #efe0d6);
}

.game-cover {
  position: relative;
  z-index: 1;
  width: auto;
  height: 238px;
  max-width: 65%;
  object-fit: contain;
  box-shadow: 11px 12px 17px #1d17264a;
  border-radius: 3px;
}

.status-badge {
  position: absolute;
  z-index: 3;
  top: 17px;
  left: 18px;
  border-radius: 100px;
  padding: 9px 12px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 3px 10px #1f182419;
}

.status-free {
  background: var(--free-bg);
  color: var(--free);
}

.status-paid {
  background: var(--paid-bg);
  color: var(--paid);
}

.game-content {
  padding: 25px 28px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 9px;
  color: var(--brand-700);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.demo-label {
  background: #f4ebe4;
  color: #7c7074;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 9px;
  letter-spacing: .7px;
}

.game-title {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -.95px;
  font-weight: 850;
  margin: 0 0 12px;
}

.game-description {
  font-size: 13px;
  line-height: 1.78;
  color: #6e6570;
  margin-bottom: 20px;
  flex-grow: 1;
}

.game-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.game-price {
  color: #635b67;
  font-size: 12px;
  font-weight: 700;
}

.game-action {
  background: var(--brand-700);
  color: #fff;
  border-radius: 9px;
  padding: 13px 18px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  min-width: 162px;
  transition: background .2s;
}

.game-action:hover {
  background: #6f3040;
}

.game-action.is-disabled {
  background: #eee9e7;
  color: #8d838b;
  cursor: not-allowed;
}

.empty-state {
  text-align: center;
  padding: 70px 16px 100px;
}

.empty-state[hidden] {
  display: none;
}

.empty-icon {
  display: block;
  font-size: 50px;
  color: var(--brand-600);
}

.empty-state h3 {
  font-size: 24px;
  margin: 7px 0 8px;
}

.empty-state p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.button-outline {
  background: white;
  color: var(--brand-800);
  border: 1px solid var(--brand-600);
}

.button-outline:hover {
  background: var(--brand-100);
}

.about-section {
  padding: 0 0 95px;
}

.about-panel {
  background: linear-gradient(112deg, #eee0d9, #f8f2eb 64%, #f0e3dc);
  border: 1px solid #e7d9d2;
  border-radius: 22px;
  min-height: 348px;
  display: grid;
  grid-template-columns: .65fr 1fr;
  overflow: hidden;
  position: relative;
  align-items: center;
}

.about-sign {
  height: 100%;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}

.about-sign::before {
  content: '';
  z-index: -1;
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid #a7818977;
  box-shadow: 0 0 0 38px #d3b6a358, 0 0 0 80px #d3b6a333;
}

.about-sign svg {
  width: clamp(130px, 17vw, 210px);
  height: auto;
  stroke: var(--brand-700);
  stroke-width: 2;
  fill: none;
  opacity: .77;
}

.about-sign svg circle {
  fill: var(--brand-700);
}

.about-text {
  padding: 52px 70px 52px 14px;
}

.about-text h2 {
  font-size: clamp(34px, 3.7vw, 48px);
  font-weight: 850;
  letter-spacing: -1.8px;
  line-height: 1.18;
  margin-bottom: 16px;
}

.about-text h2 span {
  color: var(--brand-700);
}

.about-text>p:not(.eyebrow) {
  color: #685d67;
  font-size: 14px;
  line-height: 1.85;
  max-width: 515px;
}

.about-text strong {
  color: #392d38;
}

.about-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 850;
  border-bottom: 1px solid #b88b89;
  padding-bottom: 7px;
}

.about-link span {
  margin-left: 12px;
}

.about-link:hover {
  border-color: var(--brand-900);
}

.site-footer {
  background: #1a1c29;
  color: #f4e8dc;
  padding: 43px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-logo {
  font-size: 21px;
  letter-spacing: -.8px;
  font-weight: 900;
}

.footer-logo span {
  color: #f0bf7e;
}

.footer-logo strong {
  font-size: 11px;
  letter-spacing: 1.3px;
  margin-left: 5px;
  color: #edc28c;
}

.footer-inner p {
  margin: 9px 0 0;
  font-size: 12px;
  color: #bcb0ae;
}

.footer-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 12px;
}

.footer-right a {
  font-weight: 800;
}

.footer-right a:hover {
  color: #f1c68e;
}

.footer-right span {
  color: #bcb0ae;
}

:focus-visible {
  outline: 3px solid #d5a269;
  outline-offset: 3px;
}

@media(max-width:1070px) {
  .hero-content {
    padding-left: 45px;
  }

  .hero-book {
    width: 211px;
  }

  .hero-book-front {
    left: 7px;
    top: 112px;
  }

  .hero-book-back {
    right: 22px;
    top: 96px;
  }

  .hero-book-note {
    left: 22px;
  }

  .hero-content h1 {
    font-size: 57px;
  }
}

@media(max-width:790px) {
  .container {
    width: min(100% - 36px, 680px);
  }

  .announcement {
    font-size: 8px;
    letter-spacing: 1.1px;
  }

  .header-inner {
    min-height: 72px;
  }

  .nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero-section {
    padding-top: 18px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: 50px 38px 15px;
  }

  .hero-content h1 {
    font-size: clamp(47px, 7.8vw, 66px);
  }

  .hero-content>p {
    max-width: 560px;
  }

  .hero-visual {
    min-height: 380px;
    width: min(100%, 530px);
    margin: 0 auto;
  }

  .hero-book {
    width: 185px;
  }

  .hero-book-front {
    left: 15%;
    top: 24px;
  }

  .hero-book-back {
    right: 12%;
    top: 22px;
  }

  .visual-ring {
    left: 15%;
    top: 0;
    width: 340px;
    height: 340px;
  }

  .ring-two {
    left: 22%;
    top: 15%;
    width: 280px;
    height: 280px;
  }

  .hero-book-note {
    bottom: 12px;
    left: 18%;
  }

  .art-star-one {
    top: 8px;
  }

  .promise-strip {
    padding: 23px 0;
  }

  .promise-inner {
    gap: 12px;
  }

  .promise-separator {
    display: none;
  }

  .promise-inner>span:not(.promise-separator) {
    font-size: 10px;
  }

  .catalog-section {
    padding: 70px 0;
  }

  .catalog-top {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .catalog-lead {
    max-width: 530px;
  }

  .games-grid {
    gap: 18px;
  }

  .game-visual {
    height: 228px;
  }

  .game-cover {
    height: 192px;
  }

  .game-content {
    padding: 21px;
  }

  .game-title {
    font-size: 23px;
  }

  .game-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .game-action {
    width: 100%;
  }

  .about-panel {
    grid-template-columns: .45fr 1fr;
  }

  .about-text {
    padding: 45px 28px 45px 0;
  }
}

@media(max-width:560px) {
  .container {
    width: calc(100% - 30px);
  }

  .announcement {
    min-height: 27px;
    font-size: 8px;
    letter-spacing: .45px;
    gap: 7px;
  }

  .announcement-separator {
    display: none;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .brand-mark svg {
    width: 27px;
    height: 27px;
  }

  .header-inner {
    gap: 10px;
  }

  .header-cta {
    font-size: 11px;
    padding: 12px 10px;
    gap: 6px;
  }

  .header-cta span {
    display: none;
  }

  .hero-shell {
    border-radius: 16px;
  }

  .hero-content {
    padding: 40px 25px 16px;
  }

  .hero-content h1 {
    font-size: clamp(40px, 10vw, 55px);
    letter-spacing: -2.4px;
  }

  .hero-content>p {
    font-size: 13px;
    line-height: 1.8;
  }

  .hero-kicker {
    font-size: 9px;
    letter-spacing: 1.3px;
  }

  .hero-actions {
    gap: 15px;
  }

  .button-hero {
    padding: 15px 14px;
    font-size: 12px;
  }

  .hero-caption {
    margin-top: 25px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-book {
    width: clamp(127px, 39%, 174px);
    border-width: 5px;
  }

  .hero-book-front {
    top: 20px;
    left: 12%;
  }

  .hero-book-back {
    top: 22px;
    right: 9%;
  }

  .hero-book-note {
    left: 9%;
    bottom: 13px;
    padding: 10px 12px;
  }

  .hero-book-note strong {
    font-size: 10px;
  }

  .hero-book-note span {
    font-size: 8px;
  }

  .visual-ring {
    width: 280px;
    height: 280px;
    left: 8%;
  }

  .ring-two {
    width: 220px;
    height: 220px;
    left: 15%;
  }

  .promise-inner {
    justify-content: center;
  }

  .promise-inner>span:not(.promise-separator) {
    font-size: 10px;
  }

  .catalog-top h2 {
    font-size: 34px;
    letter-spacing: -1.3px;
  }

  .catalog-tools {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }

  .filters {
    justify-content: space-between;
  }

  .filter {
    padding: 10px 11px;
    font-size: 11px;
  }

  .search-box {
    width: 100%;
    max-width: none;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .game-visual {
    height: 265px;
  }

  .game-cover {
    height: 225px;
  }

  .game-content {
    padding: 24px;
  }

  .game-bottom {
    flex-direction: row;
    align-items: center;
  }

  .game-action {
    width: auto;
  }

  .about-panel {
    grid-template-columns: 1fr;
  }

  .about-sign {
    height: 130px;
    overflow: hidden;
  }

  .about-sign::before {
    width: 175px;
    height: 175px;
  }

  .about-sign svg {
    width: 115px;
  }

  .about-text {
    padding: 15px 25px 37px;
  }

  .about-text h2 {
    font-size: 34px;
  }

  .about-section {
    padding-bottom: 65px;
  }

  .footer-inner {
    display: block;
  }

  .footer-right {
    text-align: left;
    margin-top: 30px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}


/* EDITORIAIS E BIBLIOTECA — NOVAS SEÇÕES */
.nav {
  gap: clamp(13px, 1.85vw, 27px);
}

.nav a {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
}

.mobile-nav[hidden] {
  display: none;
}

.library-section {
  padding: 75px 0 96px;
  background: #f4ede6;
  border-top: 1px solid #e8dcd5;
}

.library-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 31px;
}

.library-intro h2 {
  font-size: clamp(34px, 3.9vw, 52px);
  line-height: 1.13;
  letter-spacing: -1.75px;
  max-width: 660px;
  margin: 0;
}

.library-intro h2 span,
.resource-heading h3 span {
  color: var(--brand-700);
}

.library-intro>p {
  width: 300px;
  max-width: 100%;
  color: #746a72;
  font-size: 13px;
  line-height: 1.86;
  margin: 0 0 3px;
}

.resource-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 67px;
}

.shortcut {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 23px 19px;
  border-radius: 16px;
  background: white;
  border: 1px solid #e5d9d4;
  box-shadow: 0 7px 24px #24172510;
  transition: transform .2s, box-shadow .2s;
}

.shortcut:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px #24172525;
}

.shortcut-icon {
  font-family: Georgia, serif;
  font-size: 29px;
  color: #f7eadb;
  background: var(--brand-800);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  flex: 0 0 auto;
}

.shortcut strong {
  font-size: 13px;
  display: block;
  line-height: 1.35;
}

.shortcut small {
  font-size: 11px;
  line-height: 1.55;
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.shortcut-arrow {
  margin-left: auto;
  color: var(--brand-700);
  font-size: 19px;
  align-self: flex-start;
}

.resource-block {
  padding: 45px 0 54px;
  border-top: 1px solid #ded0c9;
  scroll-margin-top: 100px;
}

.resource-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px;
}

.resource-heading h3 {
  font-size: clamp(28px, 3.3vw, 39px);
  letter-spacing: -1.45px;
  margin: 5px 0 12px;
  line-height: 1.2;
}

.resource-heading p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.75;
  color: #716772;
  max-width: 620px;
  margin: 0;
}

.resource-counter {
  font-size: 11px;
  background: #eee1d8;
  color: #6c4651;
  padding: 8px 12px;
  border-radius: 25px;
  font-weight: 800;
  white-space: nowrap;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.resource-card {
  padding: 24px 25px 21px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid #e9dfd8;
  border-radius: 17px;
  min-height: 246px;
  box-shadow: 0 4px 15px #23182213;
}

.resource-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.resource-pill {
  background: #f6ece4;
  border-radius: 20px;
  padding: 5px 9px;
  color: #80616b;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .7px;
}

.resource-name {
  font-size: 19px;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -.45px;
}

.resource-description {
  color: #746b75;
  font-size: 12px;
  line-height: 1.72;
  margin: 0;
  flex: 1;
}

.resource-bottom {
  padding-top: 14px;
  border-top: 1px solid #eee5de;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.resource-tag {
  color: #7f7376;
  font-size: 11px;
  font-weight: 650;
}

.resource-open {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-700);
  white-space: nowrap;
}

.resource-open:hover {
  color: var(--brand-900);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.resource-empty {
  border: 1px dashed #d5bfc0;
  border-radius: 15px;
  background: #fffcf8;
  padding: 31px;
  text-align: center;
  color: #776976;
  font-size: 13px;
}

.resource-empty[hidden] {
  display: none;
}

.about-section {
  padding-top: 74px;
  background: #fff;
}

.about-person {
  grid-template-columns: .68fr 1fr;
}

.person-symbol {
  background: linear-gradient(143deg, #e2cac1, #f2e4d9);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.person-monogram {
  position: relative;
  width: 188px;
  height: 188px;
  border: 2px solid #a86e6d;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brand-800);
  font-size: 69px;
  font-weight: 900;
  letter-spacing: -5px;
  background: #ffffff52;
}

.person-monogram span {
  position: absolute;
  right: 13px;
  top: 19px;
  font-size: 23px;
  letter-spacing: normal;
}

.person-caption {
  font-size: 9px;
  color: #925d65;
  font-weight: 850;
  letter-spacing: 2px;
}

.social-title {
  font-size: 10px !important;
  color: var(--brand-700) !important;
  font-weight: 800;
  letter-spacing: 1.6px;
  margin: 24px 0 10px !important;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-link {
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dac6c3;
  color: var(--brand-800);
  padding: 11px 13px;
  border-radius: 9px;
  background: #fffaf5;
}

.social-link:hover:not(.is-pending) {
  background: var(--brand-800);
  border-color: var(--brand-800);
  color: #fff;
}

.social-link.is-pending {
  border-style: dashed;
  background: #f2ece8;
  color: #8b7c83;
  cursor: not-allowed;
}

.social-link svg {
  width: 16px;
  height: 16px;
  display: block;
}

.footer-socials {
  display: flex;
  gap: 17px;
  margin-top: 20px;
  font-size: 12px;
}

.footer-socials a {
  color: #ecd9ce;
  font-weight: 700;
}

.footer-socials a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 18px;
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 12px;
  }

  .header-cta {
    font-size: 11px;
    padding-inline: 12px;
  }

  .shortcut {
    padding: 18px 14px;
    gap: 10px;
  }

  .shortcut-icon {
    width: 41px;
    height: 41px;
  }

  .shortcut strong {
    font-size: 12px;
  }

  .shortcut small {
    font-size: 10px;
  }
}

@media (max-width: 790px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    align-items: center;
    border: 1px solid #e1d3cc;
    border-radius: 11px;
    background: #f9f5f0;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--brand-800);
    border-radius: 2px;
  }

  .mobile-nav:not([hidden]) {
    display: grid;
    gap: 0;
    padding: 6px 22px 16px;
    border-top: 1px solid var(--line);
    background: white;
    box-shadow: 0 12px 20px #211b301b;
  }

  .mobile-nav a {
    padding: 13px 8px;
    font-size: 14px;
    font-weight: 750;
    color: var(--brand-800);
    border-bottom: 1px solid #e9ddd6;
  }

  .resource-shortcuts {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 42px;
  }

  .shortcut {
    padding: 16px;
  }

  .shortcut-icon {
    width: 45px;
    height: 45px;
  }

  .library-intro {
    display: block;
  }

  .library-intro>p {
    margin-top: 18px;
    width: auto;
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-card {
    min-height: 240px;
  }

  .about-person {
    grid-template-columns: .45fr 1fr;
  }

  .person-monogram {
    width: 130px;
    height: 130px;
    font-size: 48px;
  }

  .person-caption {
    font-size: 7px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .header-cta {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .library-section {
    padding: 55px 0 63px;
  }

  .library-intro h2 {
    font-size: 34px;
  }

  .resource-block {
    padding: 38px 0;
  }

  .resource-heading {
    align-items: start;
    gap: 8px;
  }

  .resource-heading h3 {
    font-size: 29px;
  }

  .resource-counter {
    font-size: 9px;
    padding: 6px 8px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    min-height: 217px;
  }

  .about-section {
    padding-top: 57px;
  }

  .about-person {
    grid-template-columns: 1fr;
  }

  .person-symbol {
    height: 170px;
  }

  .person-monogram {
    width: 110px;
    height: 110px;
    font-size: 38px;
  }

  .person-caption {
    font-size: 7px;
  }

  .social-links {
    gap: 6px;
  }

  .social-link {
    font-size: 11px;
    padding: 9px 11px;
  }
}


/* Retrato editorial na apresentação do autor. */
.about-person .person-symbol {
  position: relative;
  min-height: 395px;
  height: 100%;
  display: block;
  overflow: hidden;
  background: #1a1a22;
}

.about-person .person-symbol::before {
  display: none;
}

.person-photo {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
  object-position: center 34%;
  filter: grayscale(100%);
}

.about-person .person-symbol::after {
  content: '';
  position: absolute;
  inset: 48% 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .12) 36%, rgba(0, 0, 0, .77) 100%);
}

.person-photo-label {
  position: absolute;
  left: 30px;
  right: 24px;
  bottom: 27px;
  z-index: 1;
  display: grid;
  gap: 5px;
  color: #fff;
  text-shadow: 0 2px 7px #0007;
}

.person-photo-label .person-caption {
  color: #fff;
  font-size: 17px;
  letter-spacing: 2px;
  font-weight: 900;
}

.person-photo-role {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #f1d2b5;
  font-weight: 800;
}

@media(max-width:790px) {
  .about-person .person-symbol {
    min-height: 360px;
  }

  .person-photo-label {
    left: 20px;
    bottom: 19px;
  }

  .person-photo-label .person-caption {
    font-size: 14px;
  }
}

@media(max-width:560px) {
  .about-person .person-symbol {
    height: 340px;
    min-height: 340px;
  }

  .person-photo {
    object-position: center 26%;
  }

  .person-photo-label {
    left: 24px;
    bottom: 23px;
  }

  .person-photo-label .person-caption {
    font-size: 16px;
  }

  .person-photo-role {
    font-size: 9px;
  }
}

/* Elementos de marca: contraste tátil, sem competir com as capas dos RPGs. */
.hero-shell {
  background-image: radial-gradient(ellipse at 82% 28%, #b15d5359 0%, transparent 45%), linear-gradient(116deg, #191b28 0%, #29283c 57%, #513340 100%);
}

.hero-shell::after {
  background: radial-gradient(circle at 88% 72%, #e5a26b2c, transparent 52%);
}

.game-visual {
  background-image: radial-gradient(circle at 75% 32%, #ffffff8a 0%, transparent 37%), linear-gradient(130deg, #ead8cf, #d7bdbc 72%, #efe0d6);
}

.game-card:nth-child(even) .game-visual {
  background-image: radial-gradient(circle at 71% 24%, #ffffff85, transparent 40%), linear-gradient(130deg, #ded3d5, #e6d1c4 75%, #f1e6dc);
}

.hero-book-note {
  border: 1px solid #f8dbaa;
}

.catalog-top h2 span,
.library-intro h2 span,
.resource-heading h3 span,
.about-text h2 span {
  color: #913f4c;
}

.brand-name strong span {
  color: #913f4c;
}

.status-free {
  border: 1px solid #b6ddc3;
}

.status-paid {
  border: 1px solid #eacba9;
}

:focus-visible {
  outline-color: #b15d53;
}
/* === Temas editáveis v10 (os demais elementos seguem o front-end enviado) === */
:root {
  --theme-hero-start:#191b28;--theme-hero-mid:#29283c;--theme-hero-end:#513340;
  --theme-hero-glow:#b15d5359;--theme-art-start:#ead8cf;--theme-art-mid:#d7bdbc;--theme-art-end:#efe0d6;
  --theme-about-start:#eee0d9;--theme-about-mid:#f8f2eb;--theme-about-end:#f0e3dc;
  --theme-footer:#1a1c29;--theme-header:#fff;--theme-accent:#903f4e;
}
:root[data-theme="grimorio-arcano"] {
  --night:#17243b;--wine:#605286;--copper:#8270a2;--ember:#c4a46c;--parchment:#f5f3f9;
  --brand-950:#151d32;--brand-900:#1b2841;--brand-850:#293554;--brand-800:#3b4266;
  --brand-700:#605286;--brand-600:#706197;--brand-400:#b9b0d4;--brand-200:#e6e0ef;--brand-100:#f0ebf6;
  --ink:#2e2b3c;--muted:#686277;--line:#e4dfe9;--paper:#f5f3f9;--surface:#fffaff;
  --theme-hero-start:#141e37;--theme-hero-mid:#2c3156;--theme-hero-end:#59476f;
  --theme-hero-glow:#8263bd55;--theme-art-start:#dddaed;--theme-art-mid:#bab4d4;--theme-art-end:#eeeaf5;
  --theme-about-start:#e4deef;--theme-about-mid:#f6f2fa;--theme-about-end:#e9e4f4;
  --theme-footer:#172039;--theme-accent:#605286;
}
:root[data-theme="zine-rebelde"] {
  --night:#202020;--wine:#a83d2d;--copper:#cb543a;--ember:#f4b95f;--parchment:#fff5e3;
  --brand-950:#151515;--brand-900:#242424;--brand-850:#30302e;--brand-800:#3b332e;
  --brand-700:#a83d2d;--brand-600:#b8452f;--brand-400:#d7a385;--brand-200:#ead9c7;--brand-100:#f8eadd;
  --ink:#302a27;--muted:#6c5f55;--line:#e8d9c6;--paper:#fff5e3;--surface:#fffaf2;
  --theme-hero-start:#202020;--theme-hero-mid:#35302b;--theme-hero-end:#853e2e;
  --theme-hero-glow:#e67e4f66;--theme-art-start:#f2d8bb;--theme-art-mid:#dcb99c;--theme-art-end:#f8ebd7;
  --theme-about-start:#f3dbbb;--theme-about-mid:#fff2df;--theme-about-end:#f5dfc4;
  --theme-footer:#21201e;--theme-accent:#a83d2d;
}
:root[data-theme="grimorio-arcano"] body,
:root[data-theme="zine-rebelde"] body{background:var(--paper);color:var(--ink)}
:root[data-theme="grimorio-arcano"] .hero-shell,
:root[data-theme="zine-rebelde"] .hero-shell,
:root[data-theme="noite-brasa"] .hero-shell{
 background:radial-gradient(ellipse at 82% 28%,var(--theme-hero-glow) 0%,transparent 45%),linear-gradient(116deg,var(--theme-hero-start),var(--theme-hero-mid) 57%,var(--theme-hero-end))
}
:root[data-theme="grimorio-arcano"] .game-visual,
:root[data-theme="zine-rebelde"] .game-visual,
:root[data-theme="noite-brasa"] .game-visual{
 background:linear-gradient(130deg,var(--theme-art-start),var(--theme-art-mid) 72%,var(--theme-art-end))
}
:root[data-theme="grimorio-arcano"] .game-card:nth-child(even) .game-visual,
:root[data-theme="zine-rebelde"] .game-card:nth-child(even) .game-visual,
:root[data-theme="noite-brasa"] .game-card:nth-child(even) .game-visual{
 background:linear-gradient(140deg,var(--theme-art-end),var(--theme-art-mid) 70%,var(--theme-art-start))
}
:root[data-theme="grimorio-arcano"] .about-panel,
:root[data-theme="zine-rebelde"] .about-panel{
 background:linear-gradient(112deg,var(--theme-about-start),var(--theme-about-mid) 64%,var(--theme-about-end));border-color:var(--line)
}
:root[data-theme="grimorio-arcano"] .site-footer,
:root[data-theme="zine-rebelde"] .site-footer{background:var(--theme-footer)}
:root[data-theme="grimorio-arcano"] .catalog-top h2 span,
:root[data-theme="grimorio-arcano"] .library-intro h2 span,
:root[data-theme="grimorio-arcano"] .resource-heading h3 span,
:root[data-theme="grimorio-arcano"] .about-text h2 span,
:root[data-theme="grimorio-arcano"] .brand-name strong span,
:root[data-theme="zine-rebelde"] .catalog-top h2 span,
:root[data-theme="zine-rebelde"] .library-intro h2 span,
:root[data-theme="zine-rebelde"] .resource-heading h3 span,
:root[data-theme="zine-rebelde"] .about-text h2 span,
:root[data-theme="zine-rebelde"] .brand-name strong span{color:var(--brand-700)}
:root[data-theme="grimorio-arcano"] .hero-content h1 span{color:#e4c68e}
:root[data-theme="zine-rebelde"] .hero-content h1 span{color:#f4b95f}
:root[data-theme="grimorio-arcano"] .button-hero,
:root[data-theme="zine-rebelde"] .button-hero,
:root[data-theme="grimorio-arcano"] .hero-book-note,
:root[data-theme="zine-rebelde"] .hero-book-note{background:var(--ember)}
:root[data-theme="grimorio-arcano"] .hero-kicker,
:root[data-theme="zine-rebelde"] .hero-kicker{color:#f3dfb1}
:root[data-theme="grimorio-arcano"] .site-header,
:root[data-theme="zine-rebelde"] .site-header{background:rgba(255,255,255,.96);border-color:var(--line)}
:root[data-theme="grimorio-arcano"] .header-cta:hover,
:root[data-theme="grimorio-arcano"] .game-action:hover,
:root[data-theme="zine-rebelde"] .header-cta:hover,
:root[data-theme="zine-rebelde"] .game-action:hover{background:var(--brand-600)}
:root[data-theme="grimorio-arcano"] .resource-card,
:root[data-theme="zine-rebelde"] .resource-card,
:root[data-theme="grimorio-arcano"] .game-card,
:root[data-theme="zine-rebelde"] .game-card{background:var(--surface);border-color:var(--line)}
:root[data-theme="grimorio-arcano"] .search-box,
:root[data-theme="zine-rebelde"] .search-box{background:var(--brand-100);border-color:var(--line)}
:root[data-theme="grimorio-arcano"] .resource-pill,
:root[data-theme="zine-rebelde"] .resource-pill{background:var(--brand-100);color:var(--brand-700)}
:root[data-theme="grimorio-arcano"] .hero-section,
:root[data-theme="zine-rebelde"] .hero-section,
:root[data-theme="grimorio-arcano"] .promise-strip,
:root[data-theme="zine-rebelde"] .promise-strip,
:root[data-theme="grimorio-arcano"] .about-section,
:root[data-theme="zine-rebelde"] .about-section{background:var(--surface)}
/* Capas opcionais para fichas, aventuras e materiais, sem mudar cards antigos sem capa */
.resource-cover-frame{height:160px;background:var(--brand-100);border-radius:10px;overflow:hidden;display:grid;place-items:center;padding:10px}
.resource-cover-frame img{height:100%;max-width:100%;object-fit:contain;box-shadow:4px 6px 14px #17142030;border-radius:3px}

.resource-open.is-disabled{color:var(--muted);cursor:default;text-decoration:none}

/* v11: regras de composição para temas personalizados (valores são injetados por CSS variables) */
:root[data-theme="custom"] body{background:var(--paper);color:var(--ink)}
:root[data-theme="custom"] .hero-shell{background:radial-gradient(ellipse at 82% 28%,var(--theme-hero-glow) 0%,transparent 45%),linear-gradient(116deg,var(--theme-hero-start),var(--theme-hero-mid) 57%,var(--theme-hero-end))}
:root[data-theme="custom"] .game-visual{background:linear-gradient(130deg,var(--theme-art-start),var(--theme-art-mid) 72%,var(--theme-art-end))}
:root[data-theme="custom"] .game-card:nth-child(even) .game-visual{background:linear-gradient(140deg,var(--theme-art-end),var(--theme-art-mid) 70%,var(--theme-art-start))}
:root[data-theme="custom"] .about-panel{background:linear-gradient(112deg,var(--theme-about-start),var(--theme-about-mid) 64%,var(--theme-about-end));border-color:var(--line)}
:root[data-theme="custom"] .site-footer{background:var(--theme-footer)}
:root[data-theme="custom"] :is(.catalog-top h2 span,.library-intro h2 span,.resource-heading h3 span,.about-text h2 span,.brand-name strong span){color:var(--brand-700)}
:root[data-theme="custom"] .hero-content h1 span{color:var(--ember)}
:root[data-theme="custom"] :is(.button-hero,.hero-book-note){background:var(--ember)}
:root[data-theme="custom"] .hero-kicker{color:var(--brand-200)}
:root[data-theme="custom"] .site-header{background:var(--surface);border-color:var(--line)}
:root[data-theme="custom"] :is(.header-cta:hover,.game-action:hover){background:var(--brand-600)}
:root[data-theme="custom"] :is(.resource-card,.game-card){background:var(--surface);border-color:var(--line)}
:root[data-theme="custom"] .search-box{background:var(--brand-100);border-color:var(--line)}
:root[data-theme="custom"] .resource-pill{background:var(--brand-100);color:var(--brand-700)}
:root[data-theme="custom"] :is(.hero-section,.promise-strip,.about-section){background:var(--surface)}
