@import "../styles/tokens.css";
:root { color-scheme: light; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; color: var(--foreground); background: #f5f7fa; font: 16px/1.5 Inter, ui-sans-serif, system-ui, sans-serif; } a:focus-visible { outline: 3px solid #ffbf36; outline-offset: 4px; }
.site-header { background: var(--primary); color: white; } .home-header { position: relative; z-index: 2; } .home-header__inner { width: min(1200px, calc(100% - 64px)); height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; } .brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; font-size: 20px; font-weight: 750; letter-spacing: -.02em; text-decoration: none; } .brand__mark { display: grid; width: 38px; height: 38px; padding: 5px; place-items: center; border-radius: 8px; background: #0874af; } .brand__mark img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); } .main-nav { display: flex; gap: 4px; align-items: center; } .main-nav a { padding: 9px 12px; color: #fff; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s ease, transform .2s ease; } .main-nav a:first-child { color: #ccecff; } .main-nav a:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }
.welcome { position: relative; isolation: isolate; min-height: 524px; overflow: hidden; background: linear-gradient(118deg, #005b92 0%, #0879ba 57%, #13a7ca 100%); } .welcome::after { position: absolute; z-index: -1; right: -140px; bottom: -230px; width: 680px; height: 680px; border: 96px solid rgba(255,190,43,.94); border-radius: 50%; content: ""; } .welcome__pattern { position: absolute; z-index: -1; inset: 0; opacity: .52; background-image: radial-gradient(rgba(255,255,255,.28) 1.2px, transparent 1.6px); background-size: 24px 24px; mask-image: linear-gradient(90deg,#000 0%,rgba(0,0,0,.5) 55%,transparent 84%); } .welcome__content { width: min(1200px, calc(100% - 64px)); margin: auto; padding: 81px 0 77px; color: white; } .welcome__content > * { max-width: 555px; } .welcome__eyebrow,.section-heading p { margin: 0 0 9px; color: #ffcb54; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; } h1 { margin: 0; font-size: clamp(48px,5.1vw,70px); line-height: .98; letter-spacing: -.055em; } h1 em { color: #ffcb54; font-style: normal; } .welcome__lead { margin: 25px 0 0; color: #f2fbff; font-size: 18px; line-height: 1.62; } .welcome__closing { margin: 11px 0 0; color: #d5f4ff; font-weight: 600; } .welcome__cta { display: inline-flex; gap: 12px; align-items: center; margin-top: 29px; padding: 12px 17px; border-radius: 6px; background: #ffae19; color: #173f5a; font-size: 15px; font-weight: 750; text-decoration: none; box-shadow: 0 9px 20px rgba(0,43,69,.2); transition: transform .2s ease,box-shadow .2s ease,background .2s ease; } .welcome__cta:hover { background: #ffd064; box-shadow: 0 13px 26px rgba(0,43,69,.28); transform: translateY(-3px); } .welcome__image-wrap { position: absolute; right: max(24px,calc((100vw - 1200px)/2 - 4px)); bottom: 0; display: flex; width: min(46vw,570px); height: 100%; align-items: end; justify-content: end; } .welcome__image { display: block; width: 100%; max-height: 477px; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 24px 26px rgba(0,48,76,.2)); }
.levels { width: min(1200px,calc(100% - 64px)); margin: 0 auto; padding: 72px 0 84px; } .section-heading { margin-bottom: 29px; } .section-heading h2 { margin: 0; color: #173f5a; font-size: 36px; letter-spacing: -.035em; } .section-heading span { display: block; margin-top: 4px; color: var(--muted-foreground); } .level-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; } .level-card,.games-card { position: relative; display: block; overflow: hidden; border-radius: 10px; background: #005b92; color: white; text-decoration: none; box-shadow: 0 10px 20px rgba(21,63,90,.12); transition: transform .25s ease,box-shadow .25s ease; } .level-card { min-height: 282px; } .level-card>img,.games-card>img { position: absolute; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.8,.2,1); } .level-card__wash { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,36,61,.05) 20%,rgba(0,40,68,.94) 100%); transition: background .25s ease; } .level-card__content,.games-card__content { position: absolute; right: 26px; bottom: 23px; left: 26px; display: flex; flex-direction: column; align-items: start; } .level-card small,.games-card__eyebrow { margin-bottom: 4px; color: #d9f4ff; font-size: 13px; font-weight: 700; } .level-card strong,.games-card strong { font-size: 29px; letter-spacing: -.035em; } .level-card__content>span,.games-card__content>span:last-child { margin-top: 15px; color: #ffcc55; font-size: 14px; font-weight: 750; opacity: 0; transform: translateY(9px); transition: opacity .22s ease,transform .22s ease; } .level-card:hover,.level-card:focus-visible,.games-card:hover,.games-card:focus-visible { box-shadow: 0 18px 34px rgba(13,55,82,.24); transform: translateY(-6px); } .level-card:hover>img,.level-card:focus-visible>img,.games-card:hover>img,.games-card:focus-visible>img { transform: scale(1.07); } .level-card:hover .level-card__wash,.level-card:focus-visible .level-card__wash { background: linear-gradient(180deg,rgba(0,69,105,.05) 10%,rgba(0,34,59,.96) 100%); } .level-card:hover .level-card__content>span,.level-card:focus-visible .level-card__content>span,.games-card:hover .games-card__content>span:last-child,.games-card:focus-visible .games-card__content>span:last-child { opacity: 1; transform: translateY(0); } .games-card { min-height: 226px; margin-top: 20px; background: #203c8a; } .games-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg,rgba(25,44,100,.94),rgba(25,44,100,.44) 60%,rgba(25,44,100,.1)); } .games-card>img { object-position: center; } .games-card__content { z-index: 1; justify-content: center; height: 100%; bottom: 0; } .games-card strong { font-size: 35px; } .games-card__content>span:last-child { color: #ffdc73; } .site-footer { display: flex; justify-content: space-between; width: min(1200px,calc(100% - 64px)); margin: auto; padding: 26px 0; border-top: 1px solid #dce5ea; color: #607787; font-size: 13px; } .site-footer p { margin: 0; } .site-footer__brand { margin-right: 10px; color: #005b92; font-weight: 800; }
@media (max-width: 900px) { .welcome__image-wrap { right: -25px; width: 52vw; opacity: .75; } .welcome__content { position: relative; z-index: 1; } .level-grid { gap: 14px; } .level-card__content { right: 18px; left: 18px; } .level-card strong { font-size: 25px; } }

/* Activos colombianos de inicio: sin recorte didáctico y con zona segura de copy. */
.welcome__content { position: relative; z-index: 1; }
.welcome__image-wrap { right: max(8px, calc((100vw - 1200px) / 2 - 40px)); width: min(60vw, 800px); }
.welcome__image { max-height: 100%; mask-image: linear-gradient(90deg, transparent 0%, #000 43%, #000 100%); }
.level-card { aspect-ratio: 1 / 1; min-height: 0; }
