/* GreenPrint visual enhancement: scoped, no changes to five social cards */
@media (min-width: 901px) {
 #home.active-view{display:flex!important;flex-direction:column;justify-content:center;min-height:calc(100svh - 70px)!important;padding-block:30px 38px!important;box-sizing:border-box}
 #home .hero-inner{width:min(1240px,calc(100% - 56px))!important;max-width:1240px!important;display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr)!important;align-items:center!important;gap:clamp(35px,5vw,90px)!important;margin-inline:auto!important}
 #home .hero-copy{max-width:740px!important;width:100%!important}
 #home .hero-copy h1{font-size:clamp(64px,5.9vw,104px)!important;line-height:1.02!important;letter-spacing:-.055em!important}
 #home .hero-copy p{font-size:clamp(18px,1.45vw,23px)!important;line-height:1.55!important;max-width:650px!important}
 #home .hero-copy .kicker{font-size:clamp(11px,.85vw,14px)!important}
 #home .hero-buttons .btn{font-size:clamp(14px,1vw,17px)!important;min-height:54px!important}
 #home .hero-art{display:flex!important;justify-content:center!important;align-items:center!important;min-width:0!important}
 #home .hero-art img{width:min(100%,440px)!important;max-width:440px!important;height:auto!important;object-fit:contain!important}
 #home .feature-ribbon,#home .gp-world-shortcut{width:min(1180px,calc(100% - 56px))!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important}
 #community.active-view > .section-frame{padding-top:18px!important;margin-top:0!important}
 #community.active-view > .section-frame > .eyebrow{margin-top:0!important}
}
/* Consistent readable headings and text, excluding home and the five approved social cards. */
:root{--gp-premium-ease:cubic-bezier(.22,1,.36,1)}
#studio .studio-mast h2,#gpWorldImport #gpWorldTitle,#gpJavaPage .gp-java-hero h2,#guide .big-heading,#community .big-heading,#support .big-heading{font-family:Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.045em;line-height:1.1}
/* Enter animations are applied only when the destination view is active. */
@media (prefers-reduced-motion:no-preference){
 .gp-premium-enter{animation:gp-premium-rise .72s var(--gp-premium-ease) both}
 .gp-premium-enter.gp-premium-left{animation-name:gp-premium-left}
 .gp-premium-enter.gp-premium-right{animation-name:gp-premium-right}
 .gp-premium-enter.gp-premium-scale{animation-name:gp-premium-scale}
 .gp-premium-enter.gp-premium-soft{animation-name:gp-premium-soft}
 @keyframes gp-premium-rise{from{opacity:0;transform:translate3d(0,22px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
 @keyframes gp-premium-left{from{opacity:0;transform:translate3d(-28px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}
 @keyframes gp-premium-right{from{opacity:0;transform:translate3d(28px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}
 @keyframes gp-premium-scale{from{opacity:0;transform:scale(.965)}to{opacity:1;transform:scale(1)}}
 @keyframes gp-premium-soft{from{opacity:0;filter:blur(5px)}to{opacity:1;filter:blur(0)}}
 #studio .panel:hover,#gpWorldImport .gp-world-card:hover,#guide .guide-card:hover,#community .credit-card:hover{box-shadow:0 16px 38px rgba(0,0,0,.23);transition:box-shadow .3s ease}
}
@media (max-width:900px){#home .hero-inner,#home .hero-copy,#home .hero-art,#home .hero-copy h1{ /* original mobile layout intentionally untouched */ }}
/* Home desktop refinement: keep the original title grouping, larger primary shortcuts. */
@media (min-width:901px){
 #home .hero-inner{width:min(1390px,calc(100% - 64px))!important;max-width:1390px!important;grid-template-columns:minmax(0,1.65fr) minmax(240px,.8fr)!important;gap:clamp(22px,3vw,52px)!important}
 #home .hero-copy{max-width:none!important;min-width:0!important}
 #home .hero-copy h1{font-size:clamp(54px,5.2vw,82px)!important;line-height:1.08!important;letter-spacing:-.052em!important;max-width:none!important}
 #home .hero-copy h1 span{white-space:nowrap!important}
 #home .hero-art img{width:min(100%,390px)!important;max-width:390px!important}
 #home .feature-ribbon{margin-bottom:8px!important}
 #home .gp-world-shortcut{width:min(1250px,calc(100% - 64px))!important;max-width:1250px!important;margin-top:-5px!important;gap:16px!important}
 #home .gp-world-shortcut-link{min-height:66px!important;padding:17px 24px!important;font-size:clamp(15px,1.18vw,19px)!important;font-weight:800!important;border-radius:13px!important;box-shadow:0 12px 30px #06180d55!important}
 #home .gp-world-shortcut-detail{font-size:.8em!important}
}

/* ADI: ajuste fino exclusivo de portada en escritorio. */
@media (min-width:901px){
 #home .hero-copy h1{font-size:clamp(57px,5.45vw,86px)!important;line-height:1.055!important;}
 #home .hero-copy p{font-size:clamp(19px,1.55vw,24px)!important;line-height:1.46!important;max-width:760px!important;}
 #home .feature-ribbon{margin-top:-20px!important;margin-bottom:4px!important;}
 #home .gp-world-shortcut{margin-top:-12px!important;}
}
