
/* ---------- base: colores y tipografía iguales al juego de cajas ---------- */
html body .mcg-app,html body .mcg-modal,html body .mcg-bar,html body .mcg-fab,html body .mcg-toast{
	--g:#d9b871;--g-hi:#f6e6b4;--g-lo:#a47c3a;
	--mc-blue:#3d63ff;--mc-orange:#d9b871;--mc-green:#7fd6a8;
	--mc-ink:#fff;--mc-mute:rgba(232,236,255,.68);--mc-bg:#070b1f;--mc-card:rgba(255,255,255,.05);--mc-line:rgba(217,184,113,.3);
	font-family:inherit}

/* ---------- contenedor de la página /juegos/ ---------- */
html body .mcg-app{position:relative;isolation:isolate;overflow:hidden;max-width:760px;margin:16px auto 32px;padding:18px 16px 24px;border-radius:28px;color:#fff;
	background:radial-gradient(560px 280px at 90% -8%,rgba(76,104,255,.42),transparent 62%),
		radial-gradient(460px 280px at -5% 105%,rgba(217,184,113,.2),transparent 60%),
		linear-gradient(160deg,#0d1846 0%,#070b1f 55%,#0e1a4f 100%);
	border:1px solid rgba(217,184,113,.38);box-shadow:0 40px 100px -40px rgba(7,11,31,.85),inset 0 1px 0 rgba(255,255,255,.08);
	animation:mcl-in .6s cubic-bezier(.2,1,.3,1) both}
html body .mcg-app::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
	background-image:radial-gradient(rgba(246,230,180,.16) 1px,transparent 1.3px);background-size:18px 18px;
	-webkit-mask-image:linear-gradient(180deg,#000,transparent 70%);mask-image:linear-gradient(180deg,#000,transparent 70%)}
html body .mcg-app::after{content:"";position:absolute;left:10%;right:10%;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(246,230,180,.9),transparent)}

/* encabezado */
html body .mcg-hero{position:relative;overflow:hidden;margin:0 0 16px;padding:24px 18px 22px;border-radius:22px;color:#fff;
	background:linear-gradient(150deg,rgba(255,255,255,.08),rgba(255,255,255,.02));border:1px solid rgba(217,184,113,.35);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}
html body .mcg-hero::before{content:"";position:absolute;inset:-60%;z-index:-1;pointer-events:none;
	background:conic-gradient(from 0deg,transparent 0 20deg,rgba(246,230,180,.06) 20deg 30deg,transparent 30deg 90deg,rgba(246,230,180,.06) 90deg 100deg,transparent 100deg 180deg,rgba(246,230,180,.06) 180deg 190deg,transparent 190deg 270deg,rgba(246,230,180,.06) 270deg 280deg,transparent 280deg);
	animation:mcl-spin 30s linear infinite}
html body .mcg-hero__tag{display:inline-flex;align-items:center;gap:10px;padding:0;background:none;border-radius:0;color:var(--g);font-size:11px;font-weight:700;letter-spacing:.3em;text-transform:uppercase}
html body .mcg-hero__tag::before,html body .mcg-hero__tag::after{content:"";width:22px;height:1px;background:linear-gradient(90deg,transparent,var(--g))}
html body .mcg-hero__tag::after{transform:scaleX(-1)}
html body .mcg-hero h2{margin:10px 0 8px;font-size:clamp(23px,6vw,32px);line-height:1.08;font-weight:800;letter-spacing:-.02em;
	background:linear-gradient(100deg,#fff 0%,#fff 40%,var(--g-hi) 55%,var(--g) 72%,var(--g-lo) 100%);background-size:200% 100%;
	-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:mcl-text 6s ease-in-out infinite alternate}
html body .mcg-hero p{margin:0 auto;max-width:460px;font-size:14px;line-height:1.45;color:rgba(232,236,255,.76);opacity:1}

/* premios activos */
html body .mcg-active{background:rgba(217,184,113,.08);border:1px dashed rgba(246,230,180,.6);border-radius:18px;color:#fff}
html body .mcg-prizecard{background:rgba(7,11,31,.55);border:1px solid rgba(217,184,113,.25);color:#fff}
html body .mcg-prizecard em{color:var(--g-hi)}

/* pestañas tipo píldora de vidrio */
html body .mcg-tabs{gap:8px;padding:2px 2px 6px;margin-bottom:14px}
html body .mcg-tab{border:1px solid rgba(217,184,113,.38);background:rgba(255,255,255,.05);color:rgba(255,255,255,.88);
	-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:999px;padding:9px 14px;font-weight:700;font-size:13.5px;
	transition:transform .25s,background .25s,border-color .25s,box-shadow .25s}
html body .mcg-tab:hover{transform:translateY(-2px);border-color:rgba(246,230,180,.75);background:rgba(255,255,255,.09)}
html body .mcg-tab.is-on{background:linear-gradient(100deg,#f6e6b4,#d9b871 45%,#fff0c4 60%,#b98c41);background-size:200% 100%;border-color:transparent;color:#1a1204;
	box-shadow:0 10px 24px -12px rgba(217,184,113,.9);animation:mcl-shine 3s linear infinite}
html body .mcg-dot{background:linear-gradient(135deg,#f6e6b4,#c79a4c);color:#1a1204;font-weight:800}
html body .mcg-tab.is-on .mcg-dot{background:#0b1438;color:var(--g-hi)}

/* escenario del juego: vidrio oscuro */
html body .mcg-stage{background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.02));border:1px solid rgba(217,184,113,.3);border-radius:22px;
	-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 24px 50px -30px rgba(0,0,0,.7);
	transition:transform .35s,box-shadow .35s,border-color .35s}
html body .mcg-stage:hover{transform:translateY(-3px);border-color:rgba(246,230,180,.5);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 30px 60px -30px rgba(217,184,113,.35)}
html body .mcg-game{animation:mcl-in .45s ease-out both}
html body .mcg-attempts,html body .mcg-small,html body .mcg-loading{color:rgba(232,236,255,.66)}
html body .mcg-attempts b{color:var(--g-hi)}
html body .mcg-lead{color:#fff}

/* botones dorados con brillo */
html body .mcg-btn{font-family:inherit;border-radius:999px}
html body .mcg-btn--primary{background:linear-gradient(100deg,#f6e6b4,#d9b871 45%,#fff0c4 60%,#b98c41);background-size:200% 100%;color:#1a1204;
	box-shadow:0 14px 34px -12px rgba(217,184,113,.9);animation:mcl-shine 2.6s linear infinite}
html body .mcg-btn--primary:hover:not(:disabled){box-shadow:0 18px 40px -12px rgba(217,184,113,1);transform:translateY(-1px)}
html body .mcg-btn--ghost{background:transparent;color:var(--g-hi);border:1px solid rgba(246,230,180,.7)}
html body .mcg-btn:focus-visible,html body .mcg-tab:focus-visible,html body .mcg-box:focus-visible{outline:3px solid var(--g-hi)}

/* ruleta: borde, sombra y puntero dorados */
html body .mcg-wheel__svg{border:6px solid #d9b871;box-shadow:0 0 0 2px rgba(7,11,31,.9),0 0 0 5px rgba(246,230,180,.35),0 0 40px rgba(217,184,113,.35);
	filter:drop-shadow(0 16px 30px rgba(0,0,0,.45))}
html body .mcg-wheel__svg circle{fill:#0b1438;stroke:#d9b871;stroke-width:3}
/* segmentos de la ruleta en azul noche y dorado (es SVG: solo cambia el color, no el giro) */
html body .mcg-wheel__svg path:nth-of-type(1){fill:#2340d6}
html body .mcg-wheel__svg path:nth-of-type(2){fill:#a47c3a}
html body .mcg-wheel__svg path:nth-of-type(3){fill:#0d1846}
html body .mcg-wheel__svg path:nth-of-type(4){fill:#c79a4c}
html body .mcg-wheel__svg path:nth-of-type(5){fill:#1531b8}
html body .mcg-wheel__svg path:nth-of-type(6){fill:#8f6a2c}
html body .mcg-wheel__svg path{stroke:rgba(246,230,180,.55);stroke-width:1.5}
html body .mcg-wheel__svg text{paint-order:stroke;stroke:rgba(7,11,31,.45);stroke-width:3px}
html body .mcg-wheel__pin{border-top-color:#f6e6b4;filter:drop-shadow(0 3px 6px rgba(0,0,0,.5)) drop-shadow(0 0 8px rgba(217,184,113,.7))}

/* rasca y gana */
html body .mcg-scratch__card{border:1px solid rgba(217,184,113,.55);box-shadow:0 18px 40px -18px rgba(217,184,113,.55)}
html body .mcg-scratch__prize{background:linear-gradient(150deg,#13205a,#070b1f)}
html body .mcg-scratch__prize b{color:var(--g-hi)}

/* cajas sorpresa */
html body .mcg-box{transition:transform .3s}
html body .mcg-box:hover:not(:disabled){transform:translateY(-6px) scale(1.04)}
html body .mcg-box__body{background:linear-gradient(135deg,#2f55ff,#1531b8 60%,#0d1f7a);box-shadow:inset 0 -10px 18px rgba(0,0,0,.35),0 16px 28px -12px rgba(61,99,255,.8)}
html body .mcg-box__body::before,html body .mcg-box__lid::before{background:linear-gradient(90deg,#f6e6b4,#d9b871,#f6e6b4)}
html body .mcg-box__lid{background:linear-gradient(135deg,#4f70ff,#2340d6)}
html body .mcg-box[data-i="1"] .mcg-box__body{background:linear-gradient(135deg,#f0d38c,#c79a4c 55%,#8f6a2c);box-shadow:inset 0 -10px 18px rgba(0,0,0,.3),0 16px 28px -12px rgba(217,184,113,.8)}
html body .mcg-box[data-i="1"] .mcg-box__lid{background:linear-gradient(135deg,#fae3a6,#d4a95a)}
html body .mcg-box[data-i="1"] .mcg-box__body::before,html body .mcg-box[data-i="1"] .mcg-box__lid::before{background:#fff}
html body .mcg-box[data-i="2"] .mcg-box__body{background:linear-gradient(135deg,#ff5d8f,#d1205d 60%,#8f0f3c);box-shadow:inset 0 -10px 18px rgba(0,0,0,.35),0 16px 28px -12px rgba(255,93,143,.7)}
html body .mcg-box[data-i="2"] .mcg-box__lid{background:linear-gradient(135deg,#ff7aa5,#e33a72)}
html body .mcg-box.is-open .mcg-box__body{background:linear-gradient(135deg,#f6e6b4,#d9b871 50%,#a47c3a);color:#1a1204}

/* racha diaria */
html body .mcg-day{background:rgba(255,255,255,.05);border:1px solid rgba(217,184,113,.28);color:#fff;transition:transform .25s,border-color .25s}
html body .mcg-day:hover{transform:translateY(-3px);border-color:rgba(246,230,180,.6)}
html body .mcg-day small{color:rgba(232,236,255,.6)}
html body .mcg-day.is-done{background:rgba(127,214,168,.1);border-color:rgba(127,214,168,.6)}
html body .mcg-day.is-today{border-color:#f6e6b4;background:rgba(217,184,113,.12);box-shadow:0 0 0 3px rgba(217,184,113,.22),0 12px 26px -14px rgba(217,184,113,.8)}

/* aviso de registro y términos */
html body .mcg-login h3{color:#fff}
html body .mcg-login p{color:rgba(232,236,255,.72)}
html body .mcg-terms{color:rgba(232,236,255,.6)}
html body .mcg-terms summary{color:var(--g-hi)}
html body .mcg-odds b{color:#fff}

/* ventana de premio del plugin */
html body .mcg-modal{background:rgba(4,6,18,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html body .mcg-modal__card{color:#fff;border:1px solid rgba(217,184,113,.45);
	background:radial-gradient(420px 220px at 85% -10%,rgba(76,104,255,.45),transparent 62%),linear-gradient(160deg,#0d1846,#070b1f 60%,#0e1a4f);
	box-shadow:0 40px 100px -30px rgba(0,0,0,.85)}
html body .mcg-modal__card h3{color:#fff}
html body .mcg-modal__prize{color:var(--g-hi)}
html body .mcg-modal__timer{background:rgba(255,255,255,.07);border:1px solid rgba(217,184,113,.3);color:#fff}
html body .mcg-modal__timer b{color:var(--g-hi)}
html body .mcg-code{border:1px dashed rgba(246,230,180,.75);background:rgba(7,11,31,.5);color:var(--g-hi)}
html body .mcg-modal__x{color:rgba(255,255,255,.7)}

/* barra con cuenta regresiva */
html body .mcg-bar{background:linear-gradient(90deg,#0d1846,#070b1f 60%,#0e1a4f);border-top:1px solid rgba(217,184,113,.5);color:#fff}
html body .mcg-bar b[data-mcg-exp]{background:rgba(217,184,113,.18);color:var(--g-hi)}
html body .mcg-bar .mcg-btn{background:linear-gradient(100deg,#f6e6b4,#d9b871 45%,#b98c41);color:#1a1204}

/* toast */
html body .mcg-toast{background:#0b1438;border:1px solid rgba(217,184,113,.5)}

/* ---------- botón flotante de mc-games, igual a la burbuja del juego de cajas ---------- */
html body .mcg-fab{right:14px;bottom:76px;height:44px;gap:8px;padding:0 14px 0 5px;border-radius:999px;font-size:0;
	border:1px solid rgba(217,184,113,.6);background:linear-gradient(150deg,#0d1846,#070b1f);
	box-shadow:0 16px 40px -14px rgba(7,11,31,.9),0 0 0 0 rgba(217,184,113,.45);animation:mcl-float 2.4s ease-in-out infinite}
html body .mcg-fab::before{content:"🎁";flex:0 0 32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px;
	background:linear-gradient(135deg,#f6e6b4,#c79a4c)}
html body .mcg-fab__label{font-size:12.5px;font-weight:700;color:#fff}
html body .mcg-fab__badge{top:-5px;left:-5px;min-width:20px;height:20px;border-radius:10px;font-size:11px;
	background:linear-gradient(135deg,#f6e6b4,#c79a4c);color:#1a1204;border:2px solid #070b1f}
/* la burbuja del juego de cajas, del mismo tamaño en celular */
@media (max-width:991px){
	html body .mcj-fab{bottom:74px;padding:5px 12px 5px 5px;font-size:12.5px}
	html body .mcj-fab i{width:32px;height:32px;font-size:16px}
	html body .mcj-fab small{display:none}
}
/* otro fragmento ya achica el botón de mc-games en celular (scale .82): aquí se deja a 44 px, igual a la burbuja de cajas */
@media (max-width:600px){html body a.mcg-fab{transform:none}}
@media (min-width:768px) and (max-width:991px){html body.single-product .mcj-fab{bottom:132px}}
@media (min-width:992px){html body .mcg-fab,html body .mcj-fab{bottom:24px}}

@keyframes mcl-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes mcl-spin{to{transform:rotate(360deg)}}
@keyframes mcl-shine{to{background-position:-200% 0}}
@keyframes mcl-text{to{background-position:100% 0}}
@keyframes mcl-glow{0%,100%{box-shadow:0 16px 40px -14px rgba(7,11,31,.9),0 0 0 0 rgba(217,184,113,0)}50%{box-shadow:0 16px 40px -14px rgba(7,11,31,.9),0 0 0 5px rgba(217,184,113,.18)}}
/* flota igual que la burbuja del juego de cajas: sube y baja con brillo dorado */
@keyframes mcl-float{0%,100%{transform:translateY(0);box-shadow:0 16px 40px -14px rgba(7,11,31,.9),0 0 0 0 rgba(217,184,113,0)}50%{transform:translateY(-5px);box-shadow:0 20px 40px -14px rgba(7,11,31,.9),0 0 0 5px rgba(217,184,113,.18)}}
@media (min-width:640px){html body .mcg-app{padding:24px 24px 28px}html body .mcg-hero{padding:30px 28px}}
@media (prefers-reduced-motion:reduce){
	html body .mcg-app,html body .mcg-app *,html body .mcg-app::before,html body .mcg-hero::before,html body .mcg-fab{animation:none !important;transition:none !important}
}
