html, body.millions-bg { background: #f5f7fb !important; }
.main-content { background: #f5f7fb !important; }
/* Mega Jackpot amount — spiral grow & shrink */
.mega-jackpot-spiral {
display: inline-block;
transform-origin: center center;
animation: megaJackpotSpiral 1.8s ease-in-out infinite;
will-change: transform;
}
/* Redeem Rewards button — gentle pulse + golden glow */
.redeem-pulse {
animation: redeemPulse 1.6s ease-in-out infinite;
will-change: transform, box-shadow;
}
@keyframes redeemPulse {
0%, 100% {
transform: scale(1);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12), 0 0 0 0 rgba(255, 207, 15, 0.6);
}
50% {
transform: scale(1.06);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18), 0 0 0 6px rgba(255, 207, 15, 0);
}
}
.lang-flag-icon {
width: 16px;
height: 12px;
object-fit: cover;
border-radius: 2px;
flex-shrink: 0;
box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
@keyframes megaJackpotSpiral {
0% {
transform: scale(0.25) rotate(0deg);
}
30% {
transform: scale(1.15) rotate(360deg);
}
65% {
transform: scale(1.15) rotate(360deg);
}
100% {
transform: scale(0.25) rotate(720deg);
}
}
/* ===== Sub MILLION popup ===== */
.sub-modal {
background: rgba(5, 0, 60, 0.72);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
}
.sub-modal__panel {
box-shadow: 0 24px 60px rgba(0, 20, 120, 0.45);
}
.sub-modal__close {
position: absolute;
top: 12px;
right: 12px;
z-index: 3;
width: 32px;
height: 32px;
border-radius: 9999px;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
color: #fff;
background: rgba(255, 255, 255, 0.18);
transition: background 0.2s;
}
.sub-modal__close:hover { background: rgba(255, 255, 255, 0.3); }
.sub-modal__panel:has(#subResultView.flex) .sub-modal__close {
color: #797979;
background: #f1f3f8;
}
.sub-modal__hero {
background: linear-gradient(-1.8deg, #050068 3.87%, #0062ff 96.13%);
}
.sub-modal__hero::before,
.sub-modal__hero::after {
content: "";
position: absolute;
border-radius: 9999px;
pointer-events: none;
}
.sub-modal__hero::before {
width: 180px;
height: 180px;
top: -70px;
left: -60px;
background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
}
.sub-modal__hero::after {
width: 220px;
height: 220px;
bottom: -120px;
right: -80px;
background: radial-gradient(circle, rgba(255, 187, 50, 0.28) 0%, rgba(255, 187, 50, 0) 70%);
}
.sub-modal__badge {
position: relative;
z-index: 1;
display: inline-block;
padding: 3px 12px;
border-radius: 9999px;
font-size: 11px;
font-weight: 800;
letter-spacing: 2px;
color: #3a2400;
background: linear-gradient(180deg, #fff1c9 0%, #ffbb32 100%);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.sub-modal__crown {
display: block;
width: 150px;
height: auto;
margin: -52px auto 0;
position: relative;
z-index: 2;
filter: drop-shadow(0 6px 10px rgba(0, 20, 120, 0.3));
animation: subCrownFloat 2.4s ease-in-out infinite;
}
@keyframes subCrownFloat {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-5px); }
}
.sub-modal__benefits {
display: flex;
flex-direction: column;
gap: 10px;
padding: 14px;
border-radius: 16px;
background: #f3f6ff;
}
.sub-modal__benefits li {
display: flex;
align-items: center;
gap: 10px;
font-size: 14px;
font-weight: 600;
color: #1a1a2e;
line-height: 1.3;
}
.sub-modal__check {
flex-shrink: 0;
width: 28px;
height: 28px;
border-radius: 9999px;
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
color: #fff;
background: linear-gradient(180deg, #0400ff 0%, #0062ff 100%);
}
.sub-modal__primary {
position: relative;
width: 100%;
padding: 13px 16px;
border-radius: 14px;
font-size: 18px;
font-weight: 800;
color: #fff;
background: linear-gradient(180deg, #0062ff 0%, #001ec7 100%);
box-shadow: 0 6px 16px rgba(0, 62, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
transition: transform 0.15s, opacity 0.2s;
}
.sub-modal__primary:active { transform: scale(0.97); }
.sub-modal__primary:disabled { opacity: 0.75; }
.sub-modal__secondary {
width: 100%;
padding: 11px 16px;
border-radius: 14px;
font-size: 16px;
font-weight: 700;
color: #0062ff;
background: #fff;
border: 2px solid #cfdcff;
transition: transform 0.15s, border-color 0.2s;
}
.sub-modal__secondary:hover { border-color: #0062ff; }
.sub-modal__secondary:active { transform: scale(0.97); }
.sub-modal__spinner {
display: none;
width: 20px;
height: 20px;
border-radius: 9999px;
border: 3px solid rgba(255, 255, 255, 0.35);
border-top-color: #fff;
animation: subSpin 0.8s linear infinite;
}
.sub-modal__primary.is-loading .sub-modal__btn-label { visibility: hidden; }
.sub-modal__primary.is-loading .sub-modal__spinner {
display: block;
position: absolute;
top: 50%;
left: 50%;
margin: -10px 0 0 -10px;
}
@keyframes subSpin { to { transform: rotate(360deg); } }
.sub-modal__result-icon {
width: 84px;
height: 84px;
border-radius: 9999px;
display: flex;
align-items: center;
justify-content: center;
font-size: 38px;
color: #fff;
}
.sub-modal__result-icon--success {
background: linear-gradient(180deg, #2ee59d 0%, #0fb36b 100%);
box-shadow: 0 0 0 10px rgba(15, 179, 107, 0.12);
}
.sub-modal__result-icon--fail {
background: linear-gradient(180deg, #ff7a7a 0%, #e53935 100%);
box-shadow: 0 0 0 10px rgba(229, 57, 53, 0.12);
}
.sub-modal__btn-close {
width: 100%;
padding: 12px 16px;
border-radius: 14px;
font-size: 16px;
font-weight: 700;
color: #4b5563;
background: #f3f4f6;
border: 1px solid #e5e7eb;
transition: transform 0.15s, background-color 0.2s, color 0.2s;
cursor: pointer;
}
.sub-modal__btn-close:hover {
background: #e5e7eb;
color: #1f2937;
}
.sub-modal__btn-close:active {
transform: scale(0.97);
}