/* Nexus Química — integración V15. La aventura corre en un iframe para aislar su motor React/Tailwind. */
.nexus-section { background: linear-gradient(180deg, #f4f8f8 0%, #fbfcfc 100%); }
.nexus-section-heading { margin-bottom: 1.7rem; }
.nexus-portal-card { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); overflow: hidden; border: 1px solid #d8e4e6; border-radius: 1.5rem; background: #07111e; box-shadow: 0 22px 60px rgba(8, 30, 38, .16); }
.nexus-portal-visual { position: relative; min-height: 430px; overflow: hidden; isolation: isolate; background: #07111e; }
.nexus-portal-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 800ms cubic-bezier(.2,.7,.2,1); }
.nexus-portal-card:hover .nexus-portal-visual > img { transform: scale(1.045); }
.nexus-visual-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 12, 24, .88) 0%, rgba(3, 12, 24, .44) 64%, rgba(3, 12, 24, .12) 100%), linear-gradient(0deg, rgba(3, 12, 24, .55), transparent 55%); }
.nexus-visual-copy { position: absolute; inset: auto 2.5rem 2.35rem; color: #f8fafc; }
.nexus-brand-chip { display: inline-flex; align-items: center; gap: .6rem; padding: .42rem .7rem .42rem .42rem; border: 1px solid rgba(103,232,249,.42); border-radius: 999px; background: rgba(5, 20, 34, .72); color: #a5f3fc; font-size: .67rem; font-weight: 850; letter-spacing: .12em; }
.nexus-brand-chip img { display: block; object-fit: contain; border-radius: 50%; }
.nexus-visual-copy h3 { margin: 1.2rem 0 .45rem; color: #f8fafc; font-size: clamp(3rem, 6vw, 5.3rem); font-weight: 950; letter-spacing: -.055em; line-height: .88; text-shadow: 0 10px 32px #000a; }
.nexus-visual-copy h3 span { color: #67e8f9; }
.nexus-visual-copy p { margin: 1rem 0 1.2rem; color: #dbeafe; font-size: 1.04rem; }
.nexus-visual-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.nexus-visual-tags span { padding: .35rem .6rem; border: 1px solid rgba(148, 163, 184, .36); border-radius: 999px; background: rgba(15, 23, 42, .55); color: #e2e8f0; font-size: .68rem; font-weight: 750; }
.nexus-portal-info { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.6rem, 4vw, 3rem); color: #e2e8f0; }
.nexus-overline { color: #67e8f9; font-family: var(--font-mono); font-size: .67rem; font-weight: 800; letter-spacing: .13em; }
.nexus-portal-info h3 { max-width: 30rem; margin: .8rem 0 .9rem; color: #f8fafc; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.12; letter-spacing: -.035em; }
.nexus-portal-info > p { margin: 0; color: #b9c7d7; font-size: .92rem; line-height: 1.75; }
.nexus-world-list { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1rem; width: 100%; margin: 1.55rem 0 1.45rem; }
.nexus-world-list span { display: flex; gap: .55rem; align-items: baseline; color: #d4e1ed; font-size: .77rem; line-height: 1.4; }
.nexus-world-list span b { color: #67e8f9; font-family: var(--font-mono); font-size: .7rem; }
.nexus-card-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; width: 100%; padding-top: 1.2rem; border-top: 1px solid rgba(148, 163, 184, .2); }
.nexus-progress-summary { display: flex; flex: 1 1 180px; align-items: center; gap: .55rem; color: #a9bacb; font-size: .75rem; line-height: 1.5; }
.nexus-progress-indicator { flex: 0 0 .55rem; width: .55rem; height: .55rem; border-radius: 50%; background: #64748b; box-shadow: 0 0 0 4px rgba(100,116,139,.14); }
.nexus-progress-indicator.is-active { background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.14); }
.nexus-launch-button { flex: 0 0 auto; min-height: 3.15rem; border-color: #0891b2; background: linear-gradient(110deg, #0e9fb8, #0d8b83); box-shadow: 0 10px 26px rgba(6,182,212,.2); }
.nexus-launch-button:hover { background: linear-gradient(110deg, #06b6d4, #0f9f8d); }
.nexus-local-note { margin-top: 1.05rem !important; color: #8498ab !important; font-size: .68rem !important; }
.nexus-local-note span { color: #34d399; margin-right: .35rem; }
.nexus-game-shell { margin-top: 1.7rem; overflow: hidden; border: 1px solid #1e394a; border-radius: 1.3rem; background: #050b14; box-shadow: 0 24px 70px rgba(4, 17, 27, .22); }
.nexus-game-shell[hidden] { display: none; }
.nexus-game-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.2rem 1.4rem; border-bottom: 1px solid #193244; background: linear-gradient(110deg, #0c1b2c, #0b1421); }
.nexus-game-toolbar h3 { margin: .25rem 0 .15rem; color: #f1f5f9; font-size: 1rem; }
.nexus-game-toolbar p { margin: 0; color: #94a3b8; font-size: .75rem; }
.nexus-game-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.nexus-game-actions .button { min-height: 2.45rem; border-color: #294154; background: #132437; color: #dbeafe; font-size: .72rem; }
.nexus-game-actions .button:hover { border-color: #22d3ee; background: #1b344b; }
.nexus-iframe-wrap { position: relative; width: 100%; min-height: 620px; background: #07101d; }
.nexus-iframe-wrap iframe { display: block; width: 100%; height: min(82vh, 980px); min-height: 620px; border: 0; background: #07101d; }
.nexus-frame-caption { margin: 0; padding: .7rem 1.2rem; border-top: 1px solid #142b3b; background: #091523; color: #8798ab; font-size: .68rem; text-align: center; }
@media (max-width: 900px) { .nexus-portal-card { grid-template-columns: 1fr; } .nexus-portal-visual { min-height: 350px; } .nexus-portal-info { padding: 1.6rem; } }
@media (max-width: 620px) { .nexus-portal-visual { min-height: 310px; } .nexus-visual-copy { inset: auto 1.35rem 1.45rem; } .nexus-world-list { grid-template-columns: 1fr; gap: .52rem; } .nexus-card-footer { align-items: stretch; flex-direction: column; } .nexus-launch-button { width: 100%; } .nexus-game-toolbar { align-items: flex-start; flex-direction: column; } .nexus-iframe-wrap, .nexus-iframe-wrap iframe { min-height: 560px; } .nexus-iframe-wrap iframe { height: 78vh; } }
