/* Riddersoft Games portal (/) */
.portal-intro { padding-block: clamp(40px, 7vw, 84px) clamp(28px, 4vw, 44px); }
.portal-intro h1 { font-size: clamp(34px, 5.4vw, 60px); max-width: 16ch; margin-bottom: 16px; }
.portal-intro p { font-size: clamp(17px, 1.6vw, 19px); color: var(--rf-text-muted); max-width: 52ch; margin: 0; }
.games-h { font-size: 15px !important; font-weight: 600 !important; letter-spacing: 0 !important; color: var(--rf-text-muted); margin: 0 0 14px; }
.games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-bottom: clamp(48px, 7vw, 88px); }
.tile { position: relative; background: #fff; border: 1px solid var(--rf-border); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.tile-art { aspect-ratio: 5 / 3; overflow: hidden; background: var(--rf-iron); }
.tile-art img { width: 100%; height: 100%; object-fit: cover; }
.tile-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tile-name { font: 700 22px/1.2 var(--rf-font-ui); letter-spacing: -0.01em; margin: 0; }
.tile-name a { color: inherit; text-decoration: none; }
.tile-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 22px; }
.tile-name a:focus-visible { outline: none; }
.tile-name a:focus-visible::after { outline: 3px solid var(--rf-iron); outline-offset: -3px; }
.tile-tagline { margin: 0; color: var(--rf-text-muted); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #F1EEE7; color: var(--rf-text); }
.badge-age { background: var(--rf-iron); color: #fff; }
.badge-live { background: #E3F2DF; color: #1F5A23; }
.badge-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rf-success); }
.badge-soon { background: #F1EEE7; color: var(--rf-text-muted); }
.tile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: auto; padding-top: 6px; position: relative; z-index: 2; }
.tile-soon .tile-name { color: var(--rf-text-muted); }

/* featured tile spans the row: big art beside the copy */
.tile-featured { grid-column: 1 / -1; flex-direction: row; background: var(--rf-sky); border-color: #A9D8CD; }
.tile-featured .tile-art { flex: 1.35; aspect-ratio: auto; min-height: 380px; background: var(--rf-sky); }
.tile-featured .tile-body { flex: 1; padding: clamp(24px, 3.4vw, 44px); justify-content: center; gap: 16px; }
.tile-featured .tile-logo { width: min(300px, 100%); height: auto; margin-left: -3%; }
.tile-featured .tile-tagline { color: var(--rf-text); font-size: 18px; max-width: 30ch; }
.tile-featured .badge { background: rgba(255,255,255,.7); }
.tile-featured .badge-age { background: var(--rf-iron); }
.tile-featured .badge-live { background: #fff; }
.tile-endorse { font-size: 14px; font-weight: 500; color: #3F5752; margin: -10px 0 0; }

@media (max-width: 860px) {
  .tile-featured { flex-direction: column; }
  .tile-featured .tile-art { min-height: 0; aspect-ratio: 5 / 3; flex: none; }
}
@media (max-width: 640px) { .games { grid-template-columns: 1fr; } }

.portal-more { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; padding-bottom: clamp(56px, 8vw, 96px); }
.portal-more > div { border-top: 3px solid var(--rf-iron); padding-top: 22px; }
.portal-more h2 { font-size: 24px; margin-bottom: 10px; }
.portal-more p { color: var(--rf-text-muted); max-width: 46ch; }
@media (max-width: 760px) { .portal-more { grid-template-columns: 1fr; gap: 36px; } }
