/* A wider, art-led welcome. Existing routes, private profiles and glass stay intact. */
:root { --arrival-gold: #ffe17b; --arrival-mint: #8befce; }
.portal-layout:has(#inicio:not([hidden])) {
  grid-template-columns: 210px minmax(0, 1fr);
}
.portal-layout:has(#inicio:not([hidden])) > .portal-rail { display: none; }
.portal-main:has(#inicio:not([hidden])) .portal-pagebar { display: none; }
.portal-main .hero {
  height: auto;
  min-height: 640px;
  border-radius: 24px;
  border-color: rgba(222, 242, 214, .3);
  box-shadow: 0 28px 80px #0006, 0 0 60px #6cceb009;
}
.portal-main .hero-track { position: relative; display: grid; min-height: inherit; }
.portal-main .hero-slide { position: relative; grid-area: 1 / 1; min-width: 0; min-height: inherit; background-position: center; }
.portal-main .hero-shade, .portal-main .hero-slide--02 .hero-shade {
  background: linear-gradient(90deg, #041417eb 0%, #05181abf 27%, #06191a38 56%, transparent 76%),
    linear-gradient(0deg, #061111d9, transparent 25%);
}
.portal-main .hero-content { padding: 50px 48px 98px; width: 100%; min-width: 0; }
.portal-main .hero h1, .portal-main .hero h2 {
  font-family: var(--display);
  font-size: clamp(3rem, 4.2vw, 4.9rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.045em;
  text-transform: none;
  max-width: 660px;
  margin: 0 0 24px;
  color: #fffdf2;
  text-shadow: 0 3px 22px #00100e33;
}
.portal-main .hero h1 em, .portal-main .hero h2 em { color: var(--arrival-gold); }
.portal-main .eyebrow {
  width: fit-content;
  max-width: 100%;
  font-size: .875rem;
  letter-spacing: .13em;
  color: #d5ffe9;
  padding: 9px 13px;
  margin-bottom: 24px;
  border: 1px solid #c8ffe738;
  border-radius: 100px;
  background: #06282080;
}
.portal-main .hero-lead { max-width: 395px; font-size: 1rem; line-height: 1.75; color: #e3eee9; margin-bottom: 28px; }
.portal-main .hero-actions { gap: 20px; }
.portal-main .hero-actions .button { min-height: 54px; padding: 14px 24px; font-size: .9375rem; border-radius: 10px; }
.portal-main .hero-actions .text-link { font-size: .9375rem; color: #f2fff6; }
.portal-main .hero-bottom { left: 48px; right: 40px; bottom: 24px; }
.portal-main .hero-controls { background: #081916b3; border-color: #ffffff30; }
.portal-main .hero-controls button { min-height: 44px; }
.portal-main .hero-controls .hero-pause { font-size: .875rem; }
.portal-main .hero-dot { min-width: 44px; font-size: .875rem; }

/* Three existing destinations, with game portraits instead of another text strip. */
.portal-main .signal-bar {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  margin-top: 20px;
}
.arrival-paths { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.arrival-path {
  --path-accent: #8befce;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  min-height: 218px;
  padding: 24px;
  border: 1px solid #d5f2ee30;
  border-top-color: #e4fff34d;
  border-radius: 18px;
  background: linear-gradient(125deg,#d2fff014,transparent 52%),rgba(8,22,21,.54);
  box-shadow: inset 0 1px 0 #ffffff12,0 12px 34px #0003;
  color: #f3f9f1;
  transition: border-color .2s, transform .2s, background-color .2s;
}
.arrival-path--world { --path-accent: #9fdde9; background-color: rgba(11,23,29,.54); }
.arrival-path--play { --path-accent: #ffe17b; background-color: rgba(29,26,14,.54); }
.arrival-path:hover { transform: translateY(-4px); border-color: var(--path-accent); background-color: #142524; }
.arrival-path:focus-visible { outline: 2px solid var(--path-accent); outline-offset: 4px; }
.arrival-partners { display: flex; align-items: center; height: 54px; gap: 8px; }
.arrival-partners img { width: 48px; height: 48px; object-fit: contain; image-rendering: pixelated; }
.arrival-path-icon { display: grid; place-items: center; height: 54px; width: 54px; border: 1px solid #ffffff24; border-radius: 15px; background: #ffffff06; color: var(--path-accent); }
.arrival-path-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.arrival-path-kicker { margin-top: 5px; color: var(--path-accent); font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.arrival-path > strong { font-family: var(--display); font-size: 1.4rem; line-height: 1.25; letter-spacing: -.02em; }
.arrival-path-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; padding-top: 8px; font-size: .9375rem; color: #d3dfd9; }
.arrival-path-link > span { color: var(--path-accent); font-size: 1.25rem; }
.arrival-preferences { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 14px 4px 0; color: #b6c9c1; font-size: .875rem; }
.portal-main .arrival-preferences .effects-toggle { min-height: 44px; font-size: .875rem; color: #c6e4d8; }

/* Shared editorial polish carries the arrival's character onto inner pages. */
.portal-main .section, .portal-account, .dex-panel { border-radius: 20px; }
.portal-main .section--news { padding: 32px; }
.portal-main .section-heading h2 { font-size: clamp(1.8rem,2.4vw,2.6rem); line-height: 1.18; letter-spacing: -.035em; }
.portal-main .kicker { font-size: .8125rem; }
.portal-main .news-grid { gap: 22px; }
.portal-main .news-card { border: 1px solid #dcfff021; border-radius: 17px; overflow: hidden; background: linear-gradient(130deg,#caffea09,transparent),#03100f40; box-shadow: 0 12px 24px #0002; }
.portal-main .news-card .news-art { border-radius: 0; height: 200px; }
.portal-main .news-card .news-content { padding: 22px; }
.portal-main .news-card .news-content h3 { font-size: 1.4rem; line-height: 1.3; letter-spacing: -.025em; }
.portal-main .news-card .news-content > p:not(.news-meta) { font-size: 1rem; line-height: 1.7; color: #c3d5cc; }
.portal-main .news-card .news-meta { font-size: .8125rem; }
.portal-main .news-card .card-link { min-height: 44px; display: inline-flex; align-items: center; font-size: .9375rem; }
.portal-main .news-card--featured { gap: 0; }
.portal-main:has(#inicio:not([hidden])) .news-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.portal-main:has(#inicio:not([hidden])) .news-card--featured { display: block; grid-column: auto; }
.portal-main:has(#inicio:not([hidden])) .news-card--featured .news-art { height: 200px; min-height: 0; }
.portal-main .closing-cta {
  margin-top: 30px;
  padding: 48px 28px;
  border-radius: 24px;
  border-color: #e2eac144;
  background: linear-gradient(90deg,#051513e8,#08251ecc,#051713ef),url('/assets/journey-world-r1.webp') center 45%/cover;
}
.arrival-closing-logo { display: block; width: min(240px,70%); height: auto; margin: 0 auto 24px; }
.portal-main .closing-inner h2 { font-family: var(--display); font-size: clamp(1.8rem,2.9vw,2.9rem); font-weight: 750; line-height: 1.2; letter-spacing: -.035em; text-transform: none; }
.portal-main .closing-actions { margin-top: 28px; }
.portal-main .closing-actions .button { font-size: .9375rem; min-height: 48px; }
.portal-sidebar { border-radius: 18px; }
.portal-sidebar .nav-menu > a, .menu-group > a { border-radius: 9px; font-size: .9375rem; }
.site-header .site-nav { min-height: 104px; }
.portal-main .portal-pagebar { font-size: .875rem; }

@media (max-width: 1200px) and (min-width: 821px) {
  .portal-layout:has(#inicio:not([hidden])) { grid-template-columns: 190px minmax(0, 1fr); gap: 18px; }
  .portal-main .hero-content { padding-inline: 30px; }
  .portal-main .hero h1, .portal-main .hero h2 { font-size: 3.35rem; }
  .portal-main .hero-bottom { left: 30px; right: 30px; }
  .arrival-paths { gap: 12px; }
  .arrival-path { padding: 18px; }
  .arrival-path > strong { font-size: 1.2rem; }
  .arrival-partners { gap: 2px; }
  .portal-main:has(#inicio:not([hidden])) .news-grid { grid-template-columns: 1fr 1fr; }
  .portal-main:has(#inicio:not([hidden])) .news-card--featured { grid-column: 1 / -1; display: grid; }
  .portal-main:has(#inicio:not([hidden])) .news-card--featured .news-art { height: 100%; min-height: 200px; }
}
@media (max-width: 820px) {
  .portal-main .hero { height: auto; min-height: 600px; border-radius: 20px; }
  .portal-main .hero-content { padding: 38px 28px 100px; }
  .portal-main .hero h1, .portal-main .hero h2 { font-size: clamp(2.55rem, 7vw, 3.8rem); }
  .portal-main .hero-bottom { left: 24px; right: 24px; }
  .portal-main .section--news { padding: 24px; }
  .portal-main:has(#inicio:not([hidden])) .news-grid { grid-template-columns: 1fr 1fr; }
  .portal-main:has(#inicio:not([hidden])) .news-card--featured { grid-column: 1 / -1; display: grid; }
  .portal-main:has(#inicio:not([hidden])) .news-card--featured .news-art { height: 100%; }
  .arrival-path { padding: 18px; }
  .arrival-path > strong { font-size: 1.2rem; }
  .arrival-partners { gap: 0; }
  .arrival-partners img { width: 40px; height: 40px; }
  .site-header .site-nav { min-height: var(--header); }
}
@media (max-width: 540px) {
  .portal-main .hero { height: auto; min-height: 0; }
  .portal-main .hero-slide { align-items: flex-end; background-size: auto 275px; background-position: 76% top; background-repeat: no-repeat; background-color: #071817; }
  .portal-main .hero-shade, .portal-main .hero-slide--02 .hero-shade { background: linear-gradient(180deg, transparent 115px, #071817a6 190px, #071817 270px); }
  .portal-main .hero-content { padding: 205px 22px 92px; }
  .portal-main .eyebrow { padding: 7px 10px; letter-spacing: .07em; margin-bottom: 18px; font-size: .875rem; }
  .portal-main .hero h1, .portal-main .hero h2 { font-size: clamp(2rem,8.5vw,2.65rem); margin-bottom: 18px; }
  .portal-main .hero-lead { font-size: 1rem; margin-bottom: 22px; }
  .portal-main .hero-actions { gap: 18px; }
  .portal-main .hero-actions .text-link { display: inline-flex; min-height: 44px; align-items: center; }
  .portal-main .hero-actions .button { padding-inline: 17px; white-space: normal; text-align: left; }
  .portal-main .hero-bottom { left: 20px; right: 20px; bottom: 18px; gap: 8px; }
  .portal-main .hero-dot { gap: 6px; }
  .portal-main .hero-dot span { display: none; }
  .portal-main .hero-pagination { gap: 0; }
  .arrival-paths { grid-template-columns: 1fr; gap: 12px; }
  .arrival-path { min-height: 0; padding: 20px 22px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px 12px; }
  .arrival-path > strong { font-size: 1.35rem; grid-column: 1 / -1; }
  .arrival-partners, .arrival-path-icon { grid-column: 2; grid-row: 1 / 3; }
  .arrival-path-kicker { align-self: center; font-size: .75rem; max-width: 120px; }
  .arrival-path-link { grid-column: 1 / -1; }
  .arrival-preferences { justify-content: center; }
  .arrival-preferences > span { display: none; }
  .portal-main:has(#inicio:not([hidden])) .news-grid { grid-template-columns: 1fr; }
  .portal-main .news-card--featured, .portal-main:has(#inicio:not([hidden])) .news-card--featured { display: block; }
  .portal-main .news-card--featured .news-art, .portal-main:has(#inicio:not([hidden])) .news-card--featured .news-art { height: 190px; }
  .portal-main .section--news { padding: 22px 14px; }
  .portal-main .news-content, .portal-main .news-card .news-content { padding: 20px; }
  .portal-main .closing-cta { padding: 32px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .arrival-path { transition: none; }
  .arrival-path:hover { transform: none; }
}
.effects-off .arrival-path { transition: none; }
.effects-off .arrival-path:hover { transform: none; }
@media (prefers-reduced-transparency: reduce) {
  .arrival-path { background: #111f1c; }
}
@media (forced-colors: active) {
  .arrival-path, .portal-main .news-card, .portal-main .closing-cta { background: Canvas; border-color: CanvasText; box-shadow: none; }
  .arrival-path, .arrival-path-kicker, .arrival-path-link, .arrival-path-link > span { color: LinkText; }
}
