/* Página inicial: fantasia do RagnaFuture com leitura clara para os guias. */
.wiki-home {
    --home-ink: #202b46;
    --home-muted: #59657d;
    --home-line: #dfe4ef;
    --home-navy: #111a33;
    background: #f2f4f9;
    color: var(--home-ink);
}
.wiki-home a:focus-visible, .wiki-home button:focus-visible { outline: 3px solid #6579cb; outline-offset: 4px; }
.home-skip-link { position: fixed; top: -100px; left: 20px; z-index: 1100; padding: 12px 18px; color: #fff; background: var(--home-navy); }
.home-skip-link:focus { top: 12px; }
.wiki-home .home-sidebar { top: 0; width: 244px; height: 100vh; padding: 28px 22px; background: #fff; border-right: 1px solid var(--home-line); }
.wiki-home.wiki-notice-visible .home-sidebar { top: var(--wiki-notice-height, 54px); height: calc(100vh - var(--wiki-notice-height, 54px)); }
.home-brand { display: flex; align-items: center; flex-direction: column; gap: 8px; margin-bottom: 28px; color: var(--home-ink); text-decoration: none; font-size: 13px; font-weight: 650; }
.wiki-home .home-sidebar .logo-img { width: 140px !important; height: 140px !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; }
.wiki-home .home-sidebar h3 { margin: 22px 10px 8px; color: #64718a; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.wiki-home .home-sidebar ul { margin-bottom: 0; }
.wiki-home .home-sidebar li { margin: 2px 0; }
.wiki-home .home-sidebar li a { display: block; padding: 7px 10px; border-radius: 5px; color: #36435e; font-size: 13px; line-height: 1.45; text-decoration: none; }
.wiki-home .home-sidebar li a:hover { background: #f0f3fa; color: #2c3e86; }
.wiki-home .home-sidebar a[aria-current="page"] { background: #edf0fb; color: #30448c; font-weight: 700; }
.home-nav-soon { display: block; color: #6a7386; font-size: 10px; }
.home-menu-toggle { display: none; }
.wiki-home .home-main { margin-left: 244px; width: calc(100% - 244px); padding: 28px 36px 40px; }
.wiki-home.wiki-notice-visible .home-main { padding-top: calc(28px + var(--wiki-notice-height, 54px)); }
.home-container { max-width: 1510px; margin: 0 auto; }
.home-hero { background: #fff; border: 1px solid var(--home-line); border-radius: 10px; overflow: hidden; }
.home-banner { display: block; width: 100%; height: auto; }
.home-welcome { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 30px 24px; }
.home-eyebrow { color: #59679b; font-size: 10px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.home-welcome h1 { font-size: clamp(24px, 2.2vw, 34px); line-height: 1.2; letter-spacing: -.035em; margin-bottom: 12px; }
.home-welcome p:not(.home-eyebrow) { max-width: 620px; color: var(--home-muted); font-size: 14px; }
.home-community-link { flex-shrink: 0; color: #3d4d8d; text-underline-offset: 4px; font-size: 12px; font-weight: 650; }
.home-jump-links { display: flex; flex-wrap: wrap; gap: 24px; padding: 16px 30px; border-top: 1px solid #e9ecf4; }
.home-jump-links a { color: #485779; font-size: 12px; font-weight: 600; text-decoration: none; }
.home-jump-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-section { margin-top: 38px; scroll-margin-top: calc(28px + var(--wiki-notice-height, 0px)); }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.home-section-heading h2, .home-community h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.025em; }
.home-section-heading > p { max-width: 340px; text-align: right; color: var(--home-muted); font-size: 12px; }
.home-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-guide-card, .home-progress-card { color: inherit; background: #fff; border: 1px solid var(--home-line); border-radius: 8px; text-decoration: none; overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease; }
.home-guide-card { display: flex; flex-direction: column; align-items: flex-start; padding: 18px; gap: 15px; }
.home-guide-card img { width: 76px; height: 76px; border-radius: 7px; }
.home-guide-card h3, .home-progress-card h3 { font-size: 15px; line-height: 1.3; margin-bottom: 8px; }
.home-guide-card p, .home-progress-card p { color: var(--home-muted); font-size: 12px; line-height: 1.65; }
.home-guide-card:hover, .home-progress-card:hover { border-color: #8b9acb; box-shadow: 0 5px 16px #202b4609; }
.home-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.home-feature-card { display: flex; align-items: center; gap: 18px; padding: 24px; background: var(--home-navy); border: 1px solid #263557; border-radius: 9px; color: #f6f8ff; text-decoration: none; transition: border-color .18s ease; }
.home-feature-card img { width: 128px; height: 128px; flex-shrink: 0; border-radius: 6px; }
.home-card-kicker { color: #6376a3; font-size: 10px; font-weight: 650; letter-spacing: .07em; margin-bottom: 8px; }
.home-feature-card .home-card-kicker { color: #b6c5ed; }
.home-feature-card h3 { font-size: 23px; line-height: 1.25; margin-bottom: 8px; }
.home-feature-card div > p:not(.home-card-kicker) { color: #c2cbe1; font-size: 12px; }
.home-card-action { display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 700; color: #9cddff; text-underline-offset: 4px; }
.home-feature-card:hover { border-color: #8cb9ee; }
.home-feature-card:hover .home-card-action, .home-adventure-card:hover .home-card-action { text-decoration: underline; }
.home-progress-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-progress-card { display: flex; align-items: center; gap: 16px; padding: 18px; }
.home-progress-card img { width: 86px; height: 86px; object-fit: cover; flex-shrink: 0; border-radius: 6px; }
.home-battlepass-card img { object-position: 78% center; }
.home-adventure-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.home-adventure-card { display: block; background: #181b27; border: 1px solid #303342; border-radius: 9px; overflow: hidden; color: #fff; text-decoration: none; }
.home-adventure-card > img { display: block; width: 100%; height: 210px; object-fit: contain; background: #181b27; padding: 12px 20px; }
.home-adventure-card > div { padding: 22px 26px; border-top: 1px solid #353743; }
.home-adventure-card .home-card-kicker { color: #c5bdd4; }
.home-adventure-card h3 { font-size: 23px; line-height: 1.25; margin-bottom: 10px; }
.home-adventure-card div > p:not(.home-card-kicker) { max-width: 480px; color: #ccd0df; font-size: 13px; }
.home-adventure-card:hover { border-color: #9492b5; }
.home-upcoming { display: flex; flex-direction: column; justify-content: center; padding: 30px; border: 1px solid var(--home-line); border-radius: 9px; background: #f9faff; }
.home-upcoming h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.02em; max-width: 320px; margin-bottom: 12px; }
.home-upcoming > p:not(.home-eyebrow) { color: var(--home-muted); font-size: 13px; margin-bottom: 24px; }
.home-upcoming > a, .home-upcoming-events { display: flex; flex-direction: column; gap: 6px; padding: 15px 0; border-top: 1px solid var(--home-line); font-size: 13px; }
.home-upcoming > a { color: #3d4d8d; text-decoration: none; }
.home-upcoming > a:hover strong { text-decoration: underline; }
.home-upcoming span { color: var(--home-muted); font-size: 11px; }
.home-community { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 38px; padding: 30px; background: #fff; border: 1px solid var(--home-line); border-radius: 9px; }
.home-community h2 { margin-bottom: 12px; }
.home-community div > p:not(.home-eyebrow) { max-width: 680px; color: var(--home-muted); font-size: 13px; }
.home-community-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; flex-shrink: 0; }
.home-community-actions a { color: #485779; font-size: 11px; text-decoration: none; }
.home-community-actions a:hover { text-decoration: underline; }
.home-community-actions a.home-primary-link { padding: 12px 24px; background: #354785; color: #fff; border-radius: 5px; font-size: 12px; font-weight: 650; }
.wiki-home .footer { margin-left: 244px; background: #f2f4f9; border-top: 1px solid var(--home-line); color: var(--home-muted); }
@media (max-width: 1250px) {
    .wiki-home .home-main { padding-right: 24px; padding-left: 24px; }
    .home-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-guide-card { flex-direction: row; align-items: center; }
    .home-feature-card { padding: 20px; gap: 14px; }
    .home-feature-card img { width: 88px; height: 88px; }
    .home-feature-card h3 { font-size: 21px; }
    .home-progress-card { flex-direction: column; align-items: flex-start; }
    .home-welcome { align-items: flex-start; flex-direction: column; gap: 18px; }
    .home-section-heading { align-items: flex-start; }
    .home-section-heading > p { max-width: 220px; }
}
@media (max-width: 900px) {
    .home-feature-grid { grid-template-columns: 1fr; }
    .home-progress-card { padding: 15px; }
    .home-adventure-grid { grid-template-columns: 1fr; }
    .home-upcoming { padding: 24px; }
    .home-upcoming h3 { max-width: none; }
    .home-community { flex-direction: column; align-items: flex-start; gap: 24px; }
    .home-community-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
}
@media (max-width: 768px) {
    .wiki-home .home-sidebar, .wiki-home.wiki-notice-visible .home-sidebar { position: static; top: auto; width: 100%; height: auto; padding: 12px 18px; border-right: 0; border-bottom: 1px solid var(--home-line); }
    .home-brand { display: inline-flex; flex-direction: row; margin: 0; gap: 12px; font-size: 12px; }
    .wiki-home .home-sidebar .logo-img { width: 52px !important; height: 52px !important; }
    .home-menu-toggle { display: block; float: right; margin-top: 10px; padding: 9px 12px; color: #3b4b7c; font-size: 11px; font-weight: 650; font-family: inherit; line-height: 1.4; border: 1px solid #cad3e6; background: #f6f8fe; border-radius: 5px; cursor: pointer; }
    .home-sidebar nav { display: none; padding-top: 12px; clear: both; }
    .home-sidebar.home-menu-open nav { display: block; }
    .home-sidebar nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wiki-home .home-main, .wiki-home.wiki-notice-visible .home-main { margin-left: 0; width: 100%; padding: 18px 16px 28px; }
    .wiki-home .footer { margin-left: 0; }
    .home-welcome { padding: 22px; }
    .home-welcome h1 { font-size: 25px; }
    .home-welcome p:not(.home-eyebrow) { font-size: 13px; }
    .home-jump-links { gap: 12px 20px; padding: 14px 22px; }
    .home-jump-links a { font-size: 11px; }
    .home-section { margin-top: 30px; }
    .home-section-heading { flex-direction: column; gap: 10px; margin-bottom: 16px; }
    .home-section-heading > p { max-width: none; text-align: left; }
    .home-section-heading h2, .home-community h2 { font-size: 23px; }
    .home-guide-grid { gap: 12px; }
    .home-guide-card { flex-direction: column; align-items: flex-start; padding: 16px; gap: 12px; }
    .home-guide-card img { width: 68px; height: 68px; }
    .home-guide-card h3, .home-progress-card h3 { font-size: 14px; }
    .home-feature-card { padding: 18px; }
    .home-feature-card img { width: 104px; height: 104px; }
    .home-progress-grid { grid-template-columns: 1fr; gap: 12px; }
    .home-progress-card { flex-direction: row; align-items: center; padding: 16px; }
    .home-progress-card img { width: 76px; height: 76px; }
    .home-adventure-card > img { height: auto; max-height: 230px; }
    .home-adventure-card > div { padding: 22px; }
    .home-community { padding: 22px; }
}
@media (max-width: 380px) {
    .home-brand span { max-width: 85px; }
    .home-guide-grid { grid-template-columns: 1fr; }
    .home-guide-card { flex-direction: row; align-items: center; }
    .home-feature-card img { width: 82px; height: 82px; }
    .home-feature-card { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-guide-card, .home-feature-card, .home-progress-card { transition: none; }
}
