/* Nueve acabados Foil originales de Go Latin. Sin imágenes ni CSS de terceros. */
.gc-foil { --foil-light: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 35%), #fff9, transparent 32%); --foil-sheen: linear-gradient(125deg, transparent 22%, #fffc 49%, transparent 72%); --foil-pattern: linear-gradient(115deg, #6bdcff, #d86bff, #ffe16b); --foil-strength: .5; }
.gc-foil .fc-card__body::after, .gc-foil .fc-card__body::before { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; transition: opacity .2s ease; }
.gc-foil .fc-card__body::after { opacity: calc(var(--opacity, .35) * var(--foil-strength)); background-image: var(--foil-light), var(--foil-pattern); background-size: 100% 100%, 180% 180%; background-position: center, var(--pointer-x, 50%) var(--pointer-y, 35%); mix-blend-mode: screen; }
.gc-foil .fc-card__body::before { opacity: calc(var(--opacity, .35) * .42); background: var(--foil-sheen) var(--pointer-x, 50%) var(--pointer-y, 35%) / 180% 180%; mix-blend-mode: screen; }
.gc-foil .is-missing .fc-card__body::after, .gc-foil .is-missing .fc-card__body::before { display: none; }
.gc-foil--holo { --foil-pattern: repeating-linear-gradient(62deg, transparent 0 12px, #bcf0ff77 13px 15px, transparent 16px 31px), linear-gradient(122deg, #02c8ed88, #c35bff77 45%, #ffe58a77); }
.gc-foil--cosmos { --foil-pattern: radial-gradient(circle at 17% 23%, #fff9 0 1px, transparent 3px), radial-gradient(circle at 71% 68%, #caffffb0 0 2px, transparent 5px), radial-gradient(circle at 43% 81%, #ffe9fc99 0 1px, transparent 4px), linear-gradient(130deg, #4b75d788, #7c3cbe8a, #17398788); --foil-strength: .65; }
.gc-foil--v { --foil-pattern: repeating-linear-gradient(115deg, #4cefff66 0 8px, transparent 12px 23px, #e960e577 27px 34px, transparent 39px 48px), linear-gradient(95deg, #2bb6ff77, #ffdf8977); }
.gc-foil--fullart { --foil-pattern: conic-gradient(from 30deg at 45% 40%, #ffd0f377, #74f5fa88, #ffe6a588, #be9eff77, #ffd0f377); --foil-strength: .58; }
.gc-foil--vmax { --foil-pattern: repeating-conic-gradient(from 10deg at 50% 45%, #fb58e177 0deg 12deg, #45eaf077 14deg 26deg, #ffdf7777 28deg 40deg, #9b81fa77 42deg 54deg); --foil-strength: .55; }
.gc-foil--vstar { --foil-pattern: repeating-linear-gradient(30deg, transparent 0 15px, #e5f6ff77 16px 18px, transparent 19px 35px), repeating-linear-gradient(150deg, transparent 0 15px, #e1b7ff77 16px 18px, transparent 19px 35px), linear-gradient(110deg, #72beff66, #ffeaa477); }
.gc-foil--secreta { --foil-pattern: repeating-linear-gradient(45deg, #f7ce5977 0 5px, transparent 7px 17px), repeating-linear-gradient(-45deg, #fff1a166 0 3px, transparent 5px 17px), linear-gradient(120deg, #96601888, #ffeb9b88); --foil-strength: .6; }
.gc-foil--rainbow { --foil-pattern: repeating-linear-gradient(155deg, transparent 0 18px, #fff8 20px 21px, transparent 23px 39px), conic-gradient(from 220deg at 50% 50%, #ff607b99, #ffe77599, #4af2ae99, #68baff99, #cb76ef99, #ff607b99); --foil-strength: .6; }
.gc-foil--radiante { --foil-pattern: repeating-conic-gradient(from 0deg at 48% 43%, #fff9 0deg 3deg, transparent 5deg 22deg), radial-gradient(circle at 48% 43%, #fff1a8aa, #94f2ffaa 42%, #e99bff99 78%); --foil-strength: .62; }
/* Misma apariencia en las vistas previas, sin la hoja GPL del laboratorio. */
.ci-pkc.gc-foil { perspective: 850px; aspect-ratio: 2 / 3; border-radius: 15px; }
.ci-pkc.gc-foil .card__translater { width: 100%; height: 100%; }
.ci-pkc.gc-foil .card__rotator { width: 100%; height: 100%; border-radius: inherit; cursor: pointer; touch-action: none; transform: rotateX(var(--rotate-y, 0deg)) rotateY(var(--rotate-x, 0deg)); transform-style: preserve-3d; transition: transform .16s ease-out; outline-offset: 5px; }
.ci-pkc.gc-foil .card__rotator:focus-visible { outline: 3px solid #ffe27a; }
.ci-pkc.gc-foil .card__front { position: relative; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; background: #101228; box-shadow: 0 12px 30px #0008, 0 0 0 2px var(--c, #a9c7ff); isolation: isolate; }
.ci-pkc.gc-foil .card__shine, .ci-pkc.gc-foil .card__glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; }
.ci-pkc.gc-foil .card__shine { opacity: calc(var(--card-opacity, 0) * .68); background-image: var(--foil-light), var(--foil-pattern); background-size: 100% 100%, 180% 180%; background-position: center, var(--pointer-x, 50%) var(--pointer-y, 35%); mix-blend-mode: screen; }
.ci-pkc.gc-foil .card__glare { opacity: calc(var(--card-opacity, 0) * .4); background: var(--foil-sheen) var(--pointer-x, 50%) var(--pointer-y, 35%) / 180% 180%; mix-blend-mode: screen; }
.ci-pkc.gc-foil .ci-holo-edge { z-index: 5; }
.ci-pkc.gc-foil .ci-holo-edge .card__shine, .ci-pkc.gc-foil .ci-holo-edge .card__glare { display: none; }
@media (prefers-reduced-motion: reduce) { .gc-foil .fc-card__body::after, .gc-foil .fc-card__body::before { transition: none; } .ci-pkc.gc-foil .card__rotator { transform: none !important; transition: none; } }
