body {
     font-family:  'Montserrat', sans-serif;
    overflow-x: hidden;
    background: radial-gradient(circle at center, #1e293b 0%, #050b14 100%);
    color: white;
    min-height: 100vh;
        overflow-x: hidden;
    overflow-y: auto; 
}




@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee-slow {
    animation: marquee 60s linear infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.05); }
    28% { transform: scale(1); }
    42% { transform: scale(1.05); }
    70% { transform: scale(1); }
}

.animate-heartbeat {
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes ripple {
    0% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(250, 204, 21, 0); }
    100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

.animate-ripple {
    animation: ripple 2s linear infinite;
}

@keyframes sweep {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-sweep::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    animation: sweep 3s infinite;
}

@keyframes pulse-gold {
    0%, 100% { filter: drop-shadow(0 0 5px #facc15); }
    50% { filter: drop-shadow(0 0 20px #facc15); }
}

.gold-glow {
    animation: pulse-gold 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.text-shimmer {
    background: linear-gradient(90deg, #ec3494, #ff8dc7, #ec3494);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.wheel-transition {
    transition: transform 6s cubic-bezier(0.15, 0, 0.15, 1);
}

/* Idle "flick" nudge on the wheel's inner box — continuous, non-stop left/right
   rock. Uses linear timing with evenly-spaced keyframes so the rotation speed
   never slows or pauses at center (or anywhere else) — it just keeps sweeping
   left and right forever. Disabled by JS (inline animation:none) during an
   actual spin so it doesn't fight the real rotation, then re-enabled once
   the button resets. */
@keyframes wheelFlick {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(-7deg); }
    50%  { transform: rotate(0deg); }
    75%  { transform: rotate(7deg); }
    100% { transform: rotate(0deg); }
}

.wheel-inner-container {
    transform-origin: 50% 50%;
}

/* Rotation/sway animation (idle flick + the real spin driven by app.js) is
   applied only to the wedge disc itself, never to .wheel-inner-container as a
   whole — that way the center Spin button and outer gold ring, which also
   live inside this container, are never carried along with the wheel. */
#wheelSvg {
    transform-origin: 50% 50%;
    animation: wheelFlick 2.4s linear infinite;
}

/* Golden light bulbs ringing the wheel's outer gold band — created by JS
   (initWheelLights in app.js) as children of the outer-ring div, positioned
   with left/top percentages so they scale correctly at every breakpoint. */
.wheel-light {
    position: absolute;
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff9c4 0%, #facc15 55%, #b45309 100%);
    box-shadow: 0 0 4px 1px rgba(250,204,21,0.9), 0 0 8px 2px rgba(250,204,21,0.5);
    z-index: 25;
    pointer-events: none;
    animation: wheelLightTwinkle 1s ease-in-out infinite alternate;
}

@media (min-width: 640px) {
    .wheel-light {
        width: 10px;
        height: 10px;
        margin: -5px 0 0 -5px;
    }
}

@keyframes wheelLightTwinkle {
    0%   { opacity: 0.35; box-shadow: 0 0 3px 1px rgba(250,204,21,0.5);  transform: scale(0.85); }
    100% { opacity: 1;    box-shadow: 0 0 10px 3px rgba(250,204,21,1), 0 0 18px 6px rgba(250,204,21,0.6); transform: scale(1.15); }
}

.gold-gradient {
    background: linear-gradient(135deg, #facc15 0%, #a16207 100%);
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes rubber-band {
    0% { transform: scale(1); }
    30% { transform: scale(1.25, 0.75); }
    40% { transform: scale(0.75, 1.25); }
    50% { transform: scale(1.15, 0.85); }
    65% { transform: scale(0.95, 1.05); }
    75% { transform: scale(1.05, 0.95); }
    100% { transform: scale(1); }
}

.animate-rubber-band {
    animation: rubber-band 1s ease-out;
}

/* iOS Safari background fix */
html {
    background: radial-gradient(circle at center, #1e293b 0%, #050b14 100%);
    min-height: 100vh;
}
body {
    background: radial-gradient(circle at center, #1e293b 0%, #050b14 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}
#root {
    min-height: 100vh;
    background: radial-gradient(circle at center, #1e293b 0%, #050b14 100%);
}

.hidden {
    display: none !important;
}
.text-gray-400 {
	    color: #e7e7e7 !important; 
}
.bg-yellow-500\/50 {
    background-color: rgb(233 233 233 / 50%) !important;
}
.heading-title {
  margin: 0;
  padding-top: 35px;
  text-align: center;
  text-transform: uppercase;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif !important;
  /* Yellow-to-orange text gradient */
  background: linear-gradient(
    180deg,
    #efff45 0%,
    #ffe12d 42%,
    #f5a713 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(2px 2px 0 #632482)
    drop-shadow(3px 4px 0 #853500);
  padding-bottom: 15px;
}
.description-main {
    font-size: 20px !important;
    margin-bottom: 40px;
        text-align: center;
    }

    .app-modal-card h2 {
    font-size: 20px;
    }
 .app-modal-card h3, .free-bonus {
    margin: 0;
  text-align: center;
  text-transform: uppercase;
  font-size: 52px;
  font-weight: 900;
  line-height: 1em !important;
  letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif !important;
  /* Yellow-to-orange text gradient */
  background: linear-gradient(
    180deg,
    #efff45 0%,
    #ffe12d 42%,
    #f5a713 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(2px 2px 0 #632482)
    drop-shadow(3px 1px 0 #853500);
    margin-bottom: 15px;
    position: relative !important;
    z-index: 9 !important;
}
.highlight-gl {
    font-size: 21px !important;
        font-family: 'Montserrat', sans-serif !important;
  /* Yellow-to-orange text gradient */
  background: linear-gradient(
    180deg,
    #efff45 0%,
    #ffe12d 42%,
    #f5a713 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(2px 2px 0 #632482)
    drop-shadow(3px 1px 0 #853500);
}
.win-pop h3 {
    margin-bottom: 0px !important;
}
.win-pop h4 {
    font-size: 28PX !important;
    color: #fff !important;
    margin-bottom: 12px;
}

.winner-title .winner-reward-highlight {
display: none !important;
}
.winner-reward-pill {
    display: none !important;
}
button#spinBtn {
    /* background: linear-gradient(-120deg, #7000ff, #ff1fc8 50%, #ffa327) !important; */
    border: 4px solid transparent !important;
       position: absolute;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(-120deg, #7000ff, #ff1fc8 50%, #ffa327) padding-box,
        linear-gradient(
            135deg,
            #fff4a3,
            #ffd700,
            #b87300,
            #fff1a0,
            #ffb300
        ) border-box !important;
    border-radius: 50%;
}
.app-modal-card {
    max-width: 42rem !important;
        background: #000000d9 !important;
}

/* Animated inner background */
button#spinBtn::after {
    content: "";
    position: absolute;
    inset: 3px;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;

    background:
        linear-gradient(-120deg, #7000ff, #ff1fc8 50%, #ffa327) padding-box,
        linear-gradient(
            135deg,
            #fff4a3,
            #ffd700,
            #b87300,
            #fff1a0,
            #ffb300
        ) border-box !important;

    animation: spinButtonBackground 1.6s ease-in-out infinite;
}

/* Keep button text/icon above animated background */
button#spinBtn > * {
    position: relative;
    z-index: 2;
}

@keyframes spinButtonBackground {
    0%,
    100% {
        opacity: 0.75;
        filter: brightness(0.8) saturate(0.9);

        box-shadow:
            inset 0 0 10px rgba(80, 0, 70, 0.5),
            inset 0 0 18px rgba(255, 31, 200, 0.2);
    }

    50% {
        opacity: 1;
        filter: brightness(1.35) saturate(1.25);

        box-shadow:
            inset 0 0 8px rgba(255, 255, 255, 0.45),
            inset 0 0 22px rgba(255, 31, 200, 0.85),
            inset 0 0 35px rgba(255, 166, 0, 0.35);
    }
}



.text-\[8px\] {
    font-size: 9px !important;
    FONT-WEIGHT: 500 !important;
    letter-spacing: 1px !important;
    
}
span#spinBtnText {
    letter-spacing: 0.5px !important;
    font-size: 15px !important;
    font-family: 'Montserrat', sans-serif !important;
}
#root {
    background: linear-gradient(rgba(0, 0, 0, 0.363), rgba(0, 0, 0, 0.404)), url(../images/main-bg.webp) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
p.font-bold.opacity-60 {
    color: #fff !important;
    font-weight: 400 !important;
    font-family: 'Montserrat', sans-serif !important;
}
#modal1 h2, #modal2 h2, #modal3 h2 {
    font-size: 40px !important;
}
.short-text {
    font-size: 13px !important;
}
.claim-btn {
    font-size: 32px !important;
    letter-spacing: 0.6px !important;
    padding: 22px !important;
}
p.text-sm.instant {
    margin-bottom: 10px !important;
}
ul.lsiting li {
    margin-bottom: 10px !important;
}
.pt-12 {
    padding-top: 5rem !important;
}
.ml-1 {
    margin-left: 0px !important;
}
.stars-icon {
    margin-top: -1px !important;
    margin-right: 3px !important;
}

    .sm\:text-4xl {
        font-size: 24px !important;
    }
.max-w-lg {
    max-width: 40rem !important;
}
.filter {
    position: relative;
}
.origin-top {
    margin-bottom: 40px !important;
}
.crome {
    padding: 4px !important;
}
.app-modal-overlay {
    flex-direction: column !important;
    background: rgb(0 0 0 / 90%) !important;
    backdrop-filter: blur(5px) !important;
}
.popup-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

/* Main popup design */
.app-modal-card {
    position: relative;
    width: 100%;
    max-width: 54rem;
    padding: 3rem 3rem 2.5rem;
    margin: auto;
    text-align: center;
    border: 3px solid transparent;
    border-radius: 2rem;
    background:
        linear-gradient(180deg, #111329 0%, #070a1b 55%, #030611 100%)
            padding-box,
        linear-gradient(
            135deg,
            #fff2a6 0%,
            #ffc928 20%,
            #d77a00 45%,
            #fff0a0 70%,
            #ff9d00 100%
        )
            border-box;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.75),
        0 0 25px rgba(250, 204, 21, 0.45),
        inset 0 0 35px rgba(255, 193, 7, 0.06);
    overflow: hidden;
    z-index: 9 !important;
}

/* Inner decorative gold line */
.app-modal-card::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 215, 90, 0.45);
    border-radius: 1.5rem;
    pointer-events: none;
}

/* Subtitle */
.scratch-desc {
    color: #ebebeb !important;
    font-size: 15px !important;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif !important;
    padding: 0px 30px;
    position: relative !important;
    z-index: 9 !important;
}
/* Existing boxes container */
.scratch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    z-index: 999 !important;
    position: relative;
}
.collect-btn {
    width: 82% !important;
    padding: 20px;
    border-radius: 100px !important;
    background: linear-gradient(135deg, #facc15 0%, #9f6f2a 100%);
    box-shadow: 0 4px 0 #854d0e !important;
        letter-spacing: 2px !important;
        color: #000 !important;
        z-index: 9 !important;
}
.winner-desc {
    display: none !important;
}
/* Existing scratch boxes */
.scratch-card {
    position: relative;
    min-height: 15rem;
    padding: 1.8rem 1rem;
    border: 2px solid transparent;
    border-radius: 1.25rem;
    cursor: pointer;
    background-position: bottom !important;
    background: linear-gradient(rgba(0, 0, 0, 0.363), rgba(0, 0, 0, 0.404)), url(../images/popup-bg.webp) !important;
    background-size: cover !important;
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.45),
        0 0 12px rgba(255, 193, 7, 0.24),
        inset 0 0 20px rgba(255, 255, 255, 0.03);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.scratch-card .scratch-hint {
    font-size: 20px !important;
    line-height: 1.2em !important;
    letter-spacing: 1px !important;
    color: #fff !important;
    position: absolute;
    bottom: 95px !important;
}
.scratch-hint:after  {
    content: '';
    position: absolute;
    top: -69px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 60px;
    height: 60px;
    background: url(../images/Gift-box.webp);
    background-size: contain !important;
    background-repeat: no-repeat;
    transform-origin: bottom center;
    animation: giftBounce 2s ease-in-out infinite;
    will-change: transform;
background-position: bottom !important;
}

@keyframes giftBounce {
    /* Pause for a few seconds */
    0%,
    60%,
    100% {
        transform: translateY(0) scale(1);
    }

    /* Compress before jumping */
    65% {
        transform: translateY(0) scaleX(1.12) scaleY(0.88);
    }

    /* Jump upward */
    72% {
        transform: translateY(-15px) scaleX(0.92) scaleY(1.08);
    }

    /* Return down */
    80% {
        transform: translateY(0) scaleX(1.08) scaleY(0.92);
    }

    /* Small second bounce */
    86% {
        transform: translateY(-6px) scale(1);
    }

    92% {
        transform: translateY(0) scale(1);
    }
}
.scratch-card .scratch-hint {
    position: absolute;
    bottom: 20px;
}
.scratch-card-reward {
    background: #2b2b2b47 !important;
    display: none !important;
}
/* Box hover */
.scratch-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 34px rgba(0, 0, 0, 0.55),
        0 0 20px rgba(255, 193, 7, 0.6);
}
.scratch-card {
    width: 180px !important;
    height: 91px !important; 
}
.win-pop {
    min-height: 630px !important;
    width: 24% !important;
  background:
  linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(70, 0, 75, 0.30) 45%,
    rgba(0, 0, 0, 0.70) 100%
  ),
  url("../images/Pop-image.webp") center center / cover no-repeat !important;
    background-size: cover !important;
    background-position: bottom !important;
    background-repeat: no-repeat;
}
.button-box {
position: absolute !important;
    bottom: 40px !important;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 999;
}
p.terms {
    margin-top: 20px;
    text-decoration: underline;
}
.winner-reward-pill {
        color: #fff !important;

    }


/* Soft glossy highlight */
.twinqo-gold-button::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 7px;
    left: 26px;
    right: 26px;
    height: 34px;
    border-radius: 999px;

    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0.12) 55%,
        rgba(255, 255, 255, 0) 100%
    );

    pointer-events: none;
}

/* Fine inner golden border */
.twinqo-gold-button::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 4px;
    border: 2px solid rgba(255, 246, 113, 0.68);
    border-radius: inherit;
    pointer-events: none;
}

/* Button text */
.twinqo-gold-button span {
    position: relative;
    z-index: 2;

    color: #12170f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 23px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.8px;
    text-transform: uppercase;

    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Hover state */
.twinqo-gold-button:hover {
    filter: brightness(1.05) saturate(1.08);
    transform: translateY(-2px);

    box-shadow:
        0 6px 0 #f2c700,
        0 10px 0 #8e9900,
        0 14px 0 #102017,
        0 19px 12px rgba(0, 0, 0, 0.25),
        inset 0 3px 2px rgba(255, 255, 255, 0.78),
        inset 0 -5px 8px rgba(255, 177, 0, 0.25);
}

/* Pressed state */
.twinqo-gold-button:active {
    transform: translateY(8px);

    box-shadow:
        0 1px 0 #f2c700,
        0 3px 0 #8e9900,
        0 5px 0 #102017,
        0 7px 5px rgba(0, 0, 0, 0.2),
        inset 0 3px 2px rgba(255, 255, 255, 0.55),
        inset 0 -4px 7px rgba(255, 177, 0, 0.35);
}

/* Keyboard focus */
.twinqo-gold-button:focus-visible {
    outline: 3px solid rgba(255, 225, 35, 0.6);
    outline-offset: 7px;
}

/* Disabled state */
.twinqo-gold-button:disabled {
    cursor: not-allowed;
    filter: grayscale(0.4);
    opacity: 0.65;
    transform: none;
}


/* Superseded by the .popup-coin-layer swarm below (multiple gold coins +
   bills, injected by app.js on every popup open). Kept disabled here instead
   of deleted in case the single-coin look is ever wanted back. */
.coins::after {
    content: none;
}


.popup-logo-wrap {
    max-width: 14%;
    z-index: 9;
}
.trust-text p {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0px;
}
.trust-text p span {
    font-size: 22px;
    font-weight: 600;
        text-transform: uppercase;
    line-height: 20px;
}
.trust-br {
text-align: center;
    display: flex;
    justify-content: center;
    width: 100%;
}
.trust-img p {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0px;
}
.trust-img img {
    max-width: 27px;
}
.text-badge {
    display: flex;
    flex-direction: row;
    gap: 25px;
    align-items: center;
}
.trsut-box {
    text-align: center !important;
}

    .mobile-icons .icon-box {
        display: flex;
        align-items: stretch;
        width: 100%;
    }
.icon-box {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 45px;
        padding: 20px 20px 20px 20px;
        border-radius: 15px;
        margin-top: 32px;
    background:
        linear-gradient(#080000, #080000) padding-box,
        linear-gradient(
            110deg,
            #8a281d 0%,
            #4b100c 35%,
            #651710 65%,
            #8a281d 100%
        ) border-box;

    border: 1px solid transparent;
    border-radius: 8px;
    overflow: hidden;

    box-shadow:
        inset 0 0 8px rgba(255, 64, 25, 0.06),
        0 0 6px rgba(132, 31, 20, 0.12);
    }
.mobile-icons .trust-img p {
    gap: 9px;
    font-size: 12px;
    font-weight: 400 !important;
    line-height: 1.3em;
}

    .trust-img {
    display: flex;
    gap: 10px;
}
    .border-r {
        position: relative;
        border: 0px !important;
    }
    .border-r::before {
        content: "";
        position: absolute;
        top: 8%;
        right: -20px;
        width: 2px;
        height: 84%;
        border-radius: 10px;
    background: linear-gradient(to bottom, transparent 0%, #4f120c 12%, #4f120c 35%, #4f120c 50%, #4f120c 70%, transparent 100%);
}
.leading-relaxed {
    padding-bottom: 10px !important;
    margin-top: 32px !important;
}

.trsut-box {
    background: rgb(0 0 0 / 44%);
    border: 0px solid #ffd400;
    border-radius: 6px;
    padding: 10px 25px 15px 25px;
    box-shadow: 0 0 10px #ffd40033, 0 0 25px rgb(255 212 0 / 11%), 0 0 50px rgb(255 180 0 / 3%), inset 0 0 20px rgba(255, 212, 0, 0.25);
}

.hero-spacer {
    height: 115px;
}
p.pop-desc {
    font-size: 20px !important;
}


.popup-coin-layer {
    position: absolute;
    inset: 0;
    top: 15% !important;
    pointer-events: none;
    overflow: visible;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-coin {
    position: absolute;
    top: var(--y);
    width: var(--size);
    height: var(--size);
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
    animation: popupCoinFloat var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
    will-change: transform;
}

/* Sit just outside the card's left/right edge — tune the % to match your
   .app-modal-card's actual max-width if coins land too close/far */
.popup-coin.side-left  { right: calc(50% + 298px); }
.popup-coin.side-right { 
    left:  calc(50% + 298px);
    margin-top: -86px;
 }

.layer-2 .popup-coin.side-left  { right: calc(50% + 190px) !important; }

.layer-2 .popup-coin.side-right { 
    left:  calc(50% + 190px) !important; 
    margin-top: -86px;
}

@media screen and (min-width: 1288px) and (max-width: 1540px) {

.win-pop {
    min-height: 495px !important;
    width: 30% !important;
}

        .hero-spacer {
        height: 115px !important;
    }
    .scratch-card .scratch-hint {
    bottom: 73px !important;
}
.scratch-card .scratch-hint {
    font-size: 16px !important;
}
.scratch-card {
    min-height: 12rem;
}
.app-modal-card h3, .free-bonus {
    font-size: 42px;
}
}


@media screen and (min-width: 1289px) and (max-width: 1371px) {
    .win-pop {
        min-height: 458px !important;
        width: 30% !important;
    }
}

@media screen and (min-width: 1099px) and (max-width: 1281px) {

.app-modal-card h3, .free-bonus {
    font-size: 38px;
}
.win-pop {
        min-height: 475px !important;
        width: 30% !important;
    }
        .scratch-card {
    min-height: 12rem;
    width: 160px !important;
}
.scratch-card .scratch-hint {
    bottom: 75px !important;
}
    .layer-2 .popup-coin.side-left {
    right: calc(50% + 146px) !important;
}
.layer-2 .popup-coin.side-right {
    left: calc(50% + 148px) !important;
    margin-top: -14px;
}
.logo-pop {
     display: block !important;
}
.app-modal-card {
        margin-top: 22px !important;
    }
    .scratch-card .scratch-hint {
    font-size: 15px !important;
}
.collect-btn {
    font-size: 1rem !important;
}
.layer-2 .popup-coin.side-left {
    right: calc(50% + 150px) !important;
}
.layer-2 .popup-coin.side-right {
    left: calc(50% + 150px) !important;
    margin-top: -46px;
}
}

@media screen and (min-width: 1024px) and (max-width: 1164px) {

.collect-btn {
    font-size: 1rem !important;
}
    .scratch-card {
    min-height: 12rem;
    width: 160px !important;
}
.scratch-card .scratch-hint {
    bottom: 75px !important;
}
.layer-2 .popup-coin.side-right {
    left: calc(50% + 134px) !important;
    margin-top: -36px;
}
.layer-2 .popup-coin.side-left {
    right: calc(50% + 130px) !important;
}
}


@media screen and (min-width: 1024px) and (max-width: 1098px) {
    .app-modal-card {
    margin-top: 5px !important;
    }
.app-modal-card h3, .free-bonus {
    font-size: 32px;
}
.scratch-card .scratch-hint {
    font-size: 15px !important;
}
.collect-btn {
    font-size: 1rem !important;
    padding: 13px !important;
}
    .win-pop {
        min-height: 420px !important;
        width: 31% !important;
    }
    .scratch-card {
    min-height: 12rem;
    width: 160px !important;
}
.scratch-card .scratch-hint {
    bottom: 75px !important;
}
.layer-2 .popup-coin.side-left {
    right: calc(50% + 132px) !important;
}
.layer-2 .popup-coin.side-right {
    left: calc(50% + 132px) !important;
    margin-top: -46px;
}
.win-pop h4 {
    font-size: 23PX !important;
    margin-bottom: 6px;
    margin-top: 6px;
}
}
@media screen and (max-width: 1024px) {
 #modal1 h2, #modal2 h2, #modal3 h2 {
    font-size: 26px !important;
}
    .win-pop {
        width: 46% !important;
    }
.text-yellow-500 {
    font-size: 16px !important;
}
ul.lsiting li {
    font-size: 14px !important;
}
.claim-btn {
    font-size: 20px !important;
    letter-spacing: 0.6px !important;
    padding: 12px !important;
}
.italic {
    font-style: italic;
    font-weight: 500 !important;
    opacity: 1 !important;
}
.spin-modal {
    padding: 1rem !important;
}
.discription {
    margin-top: 0px !important;
}
.text-\[8px\] {
    font-size: 11px !important;
}
.px-6 {
    padding: 0px !important;
}
.stars-icon {
    margin-top: -3px !important;
    margin-left: 20px !important;
}
.py-2 {
    padding: 5px 15px !important;
}
.pink-box {
    padding: 6px 10px !important;
}
.reward {
    margin-top: 10px !important;
}
.close-btn {
    margin-top: -1px !important;
    margin-right: -6px !important;
    font-size: 16px !important;
}
.pt-12 {
    padding-top: 3.5rem !important;
}
.pt-8 {
    padding-top: 1rem !important;
}
.mb-2 {
    margin-bottom: 0px !important;
}
.mb-8 {
    margin-bottom: 15px !important;
}
.spin-btn{
    padding-top: 14px !important;
    padding-bottom: 10px !important;
        font-size: 20px !important;
        margin: 11px 0px !important;
    }

.mt-8 {
    margin-top: 23px !important;
}
.backdrop-blur-sm {
    --tw-backdrop-blur: blur(27px) !important;
}
.tracking-tight {
    color: #facc17 ! IMPORTANT;
    margin-top: 10px !important;
    font-size: 10px !important;
    letter-spacing: 0px !important;
    font-weight: 700 !important;
}
.works-box {
    padding: 15px 12px !important;
        margin-bottom: 10px !important;
    }
p#statusText {
    margin-top: 12px !important;

}
#redeemNowWrap {
    margin-bottom: 0px !important;
}
.spin-box {
    text-align: center;
}
span#spinBtnText {
    letter-spacing: 0.5px !important;
    font-size: 10px !important;
    font-family: 'Montserrat', sans-serif !important;
}
}




@media screen and (max-width: 767px) {
   .site-logo.active {
    top: 0;
    z-index: 999999;
    padding: 10px !important;
   }
   .app-modal-overlay {
    position: relative;
   }
    .app-modal-overlay::before {
        position: absolute;
        content: '';
        background: linear-gradient(180deg, #000000 75%, #00000000 100%);
        top: 0;
        left: 0;
        width: 100%;
        height: 123px;
        z-index: 9;
        opacity: 0.95;
    }
.heading-title {
  padding-top: 10px;
}
.wheel-inner-container {
    height: 320px !important;
    width: 320px !important;
    padding: 7px;
    }
    .description-main {
    font-size: 15px !important;
    margin-bottom: 30px;
}
h4.free-bonus {
    font-size: 28PX !important;
}
span#spinBtnText {
    letter-spacing: 0.5px !important;
    font-size: 10px !important;
    font-family: 'Montserrat', sans-serif !important;
}
p.font-bold.opacity-60 {
    margin-top: 110px !important;
    font-size: 12px !important;
}
.opacity-60 {
    opacity: 0.8 !important;
}
.app-modal-card h2 {
    margin-bottom: 0px;
}
#root {
    background: linear-gradient(rgb(0 0 0 / 26%), rgb(0 0 0 / 21%)), url(../images/main-bg-mobile.webp) !important;
    background-position: center !important;
background-size: 30rem !important; 
}
.leading-relaxed {
    position: absolute;
    bottom: 32px;
}
.heading-title {
  font-size: 28px;
}
.mobile-icons .trust-img p {
    font-size: 11px;
}
.icon-box {
    padding: 20px 10px !important;
}
.app-modal-card h3 {
    font-size: 42px !important;
    padding: 5px 0px;
}
.scratch-card .scratch-hint {
        font-size: 19px !important;
        bottom: 36px !important;
    }
.scratch-card {
    min-height: 10rem !important;
    width: 265px !important;
    background-position: bottom !important;
}

.app-modal-card p {
    font-size: 14PX !important;
    line-height: 1.1em !important;
    padding: 0px !important;
}
p.pop-desc {
    font-size: 19PX !important;
    line-height: 1.1em !important;
    padding: 0px !important;
}
    .popup-logo-wrap {
    max-width: 50%;
}
.scratch-desc {
    margin-bottom: 15px !important;
}
.app-modal-card {
    padding: 1.25rem 1.5rem 2rem;
}
.win-pop {
    min-height: 610px !important;
    width: 95% !important;
}
.winner-desc {
    font-size: 13px !important;
}
    .twinqo-gold-button {
        height: 58px;
    }

    .twinqo-gold-button span {
        font-size: 20px;
    }
.trsut-box {
    flex-direction: column !important;
    gap: 14px;
}
.pb-8 {
    padding-bottom: 0px !important;
}
.trust-line {
    display: flex;
    margin: 0 auto;
}
    .trust-text p span {
        font-size: 18px;
    }
    .trust-img p {
        gap: 8px;
        font-size: 16px;
    }
    .text-badge {
    justify-content: center !important;
}
.trust-text p {
    line-height: 1.2em !important;
}
.trsut-box {
    margin-top: 33px;
}
.icon-box {
    gap: 30px;

}



}


@media screen and (min-width: 350px) and (max-width: 416px) {
    .leading-relaxed {
        position: absolute;
        bottom: 10px;
    }
        .heading-title {
        font-size: 26px;
        padding-bottom: 8px;
    }
    .heading-title br {
        display: none !important;
    }
 .origin-top {
    margin-bottom: 20px !important;
}

}



@media screen and (min-width: 395px) and (max-width: 767px) {

.wheel-inner-container {
    height: 360px !important;
    width: 360px !important;
    padding: 7px;
    }
.trsut-box {
    margin-top: 33px;
}
}


@media screen and (min-width: 768px) and (max-width: 1100px) {
    .stars-icon {
        margin-top: -1px !important;
        margin-left: 13px !important;
    }
}

@media screen and (min-width: 200px) and (max-width: 376px) {

    .win-pop {
        min-height: 530px !important;
        width: 95% !important;
        margin-top: 20px !important;
    }
    #root {
        min-height: 120vh !important;
    }
.site-logo.active .site-logo-img {
    height: 42px !important;
}
.scrolled {
    padding: 19px 10px 0px 10px !important;
}
.scrolled::before {
    background: #000000cf !important;
    height: 80% !important;
}
    .first-pop {
        max-height: 90vh !important; /* Adjust as needed */
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important; /* Smooth scrolling on iOS */
    }
    .first-pop {
    margin-top: 20px !important;
    }
        .scratch-card {
        min-height: 8rem !important;
        }
        .scratch-card .scratch-hint {
        bottom: 18px !important;
    }
    .first-pop::before {
    height: 550px;
}
    .app-modal-card h3 {
        font-size: 40px !important;

    }
}
@media screen and (min-width: 376px) and (max-width: 391px) {
.app-modal-card {
    margin-top: 30px !important;
}
}
/* Heavy bubble background */
.gold-bubbles {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;

    /* Always behind logo and wheel */
    z-index: 0;

    contain: strict;
}

/* Keep all important content above bubbles */
.logo,
.site-logo,
.wheel-wrapper,
.spin-wheel,
#spinBtn,
.reward-text,
main,
header {
    position: relative;
    z-index: 5;
}

/* Optional dark layer behind content */
.page-background {
    position: fixed;
    inset: 0;
    z-index: -1;
}

.gold-bubble {
    position: absolute;
    bottom: -70px;
    left: var(--left);

    width: 5px;
    height: 5px;

    border-radius: 50%;
    pointer-events: none;

    background: radial-gradient(
        circle at 30% 25%,
        rgba(255, 255, 225, 1) 0%,
        rgba(255, 243, 130, 1) 9%,
        rgba(255, 213, 35, 1) 27%,
        rgba(255, 170, 0, 0.98) 50%,
        rgba(220, 118, 0, 0.95) 72%,
        rgba(125, 55, 0, 0.9) 90%,
        rgba(65, 25, 0, 0.8) 100%
    );

    border: 1px solid rgba(255, 220, 80, 1);

    box-shadow:
        inset -4px -5px 9px rgba(85, 35, 0, 0.6),
        inset 3px 3px 7px rgba(255, 255, 220, 0.9),
        0 0 8px rgba(255, 220, 50, 0.95),
        0 0 18px rgba(255, 170, 0, 0.75);

    opacity: 0;

    filter:
        blur(var(--blur, 0))
        brightness(1.2)
        saturate(1.4);

    animation: goldenBubbleRise var(--duration) linear infinite;
    animation-delay: var(--delay);

    will-change: transform, opacity;
}

@keyframes goldenBubbleRise {
    0% {
        transform: translate3d(0, 0, 0) scale(0.55);
        opacity: 0;
    }

    4% {
        opacity: 0.2;
    }

    25% {
        transform: translate3d(-12px, -30vh, 0) scale(0.75);
        opacity: 0.5;
    }

    50% {
        transform: translate3d(14px, -60vh, 0) scale(0.92);
       opacity: 0.9;
    }

    75% {
        transform: translate3d(-10px, -90vh, 0) scale(1.05);
        opacity: 0.7;
    }

    100% {
        transform: translate3d(var(--drift), -115vh, 0) scale(1.15);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gold-bubble {
        display: none;
    }
}





@keyframes popupCoinFloat {
    0%   { transform: translateY(0px) rotate(0deg); }
    50%  { transform: translateY(-12px) rotate(4deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@media (max-width: 640px) {
    /* Not enough room beside the card on small screens — hide rather than overlap content */
    .popup-coin.side-left {
    right: calc(50% + 145px) !important;
}
.popup-coin.side-right {
    left: calc(50% + 140px) !important;
}
.layer-2 .popup-coin.side-left  { right: calc(50% + 122px) !important; }

.layer-2 .popup-coin.side-right { left:  calc(50% + 122px) !important; }

.popup-coin { 
    width: 70px !important;
height: 70px !important;
}



}


.money-rain {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
}


.money-drop {
    position: absolute;
    top: -120px;

    width: 55px;
    height: 55px;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    opacity: 0.95;

    animation: moneyFall linear infinite;

    filter: drop-shadow(0 0 8px rgba(80,255,80,.5));
}


/* falling animation */

@keyframes moneyFall {

    0% {
        transform:
            translateY(-150px)
            rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }


    100% {
        transform:
            translateY(900px)
            rotate(360deg);
        opacity: 0;
    }

}

/* Smooth spring pop for the winner card — used instead of popup-pop-in */
@keyframes winnerPopIn {
    0%   { transform: scale(0.4) translateY(20px); opacity: 0; }
    55%  { transform: scale(1.08) translateY(-4px); opacity: 1; }
    75%  { transform: scale(0.96) translateY(0); }
    100% { transform: scale(1) translateY(0); }
}
.winner-pop-in {
    animation: winnerPopIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Radial glow burst behind the winner card */
@keyframes winnerGlowPulse {
    0%   { transform: scale(0.3); opacity: 0; }
    40%  { opacity: 0.55; }
    100% { transform: scale(1.6); opacity: 0; }
}






/* ============================================================================
   Language Switcher — fixed top-right, next to the logo, on every device
   ============================================================================ */
.lang-switcher {
    position: fixed !important;
    top: 10px;
    right: 10px;
    z-index: 2147483647 !important; /* guaranteed above everything else on the page */
    font-family: 'Montserrat', sans-serif;
    pointer-events: auto !important;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(250, 204, 21, 0.35);
    border-radius: 999px;
    padding: 6px 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: border-color 0.2s ease, background 0.2s ease;
    pointer-events: auto !important;
}

.lang-btn:hover,
.lang-btn:focus-visible {
    border-color: rgba(250, 204, 21, 0.8);
    background: rgba(15, 23, 42, 0.92);
    outline: none;
}

.lang-flag {
    display: block;
    width: 18px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

.lang-label {
    text-transform: uppercase;
}

.lang-arrow {
    color: #facc15;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.lang-btn[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    background: rgba(10, 16, 28, 0.97);
    border: 1px solid rgba(250, 204, 21, 0.25);
    border-radius: 12px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2147483647 !important;
    pointer-events: none;
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto !important;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #e5e7eb;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.lang-option img {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

.lang-option:hover,
.lang-option:focus-visible {
    background: rgba(250, 204, 21, 0.12);
    color: #facc15;
    outline: none;
}

.lang-option.active {
    background: rgba(250, 204, 21, 0.18);
    color: #facc15;
}

@media screen and (max-width: 640px) {
    .lang-switcher {
        top: 8px;
        right: 8px;
    }
    .lang-btn {
        padding: 5px 8px;
        font-size: 10px;
        gap: 4px;
    }
    .lang-flag { width: 16px; height: 11px; }
    .lang-dropdown { min-width: 130px; }
    .lang-option { font-size: 11px; padding: 7px 8px; }
}

@media screen and (min-width: 1025px) {
    .lang-switcher {
        top: 16px;
        right: 20px;
    }
}

/* ============================================================================
   Google Website Translator — hide its default UI so only our custom flag
   dropdown is visible; translation still runs underneath.
   ============================================================================ */
.goog-te-banner-frame.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight {
    display: none !important;
    background: none !important;
    box-shadow: none !important;
}

body {
    top: 0px !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

/* ============================================================================
   Site Logo + tagline — single shared instance, fixed to the viewport,

   ============================================================================ */

.site-logo {
    z-index: 99999;
        transition: .3s !important
}

   /* .site-logo.active {
    background: #000000de !important;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999999;
    padding: 20px;
    width: 100%;
} */
 .logo-pop {
    display: none !important;
}
.site-logo a {
    pointer-events: auto; /* ...but the logo link itself stays clickable */
}

.site-logo-img {
    height: 46px;
    width: auto;
    max-width: min(70vw, 320px);
    display: block;
    margin: 0 auto 4px;
    filter: drop-shadow(0 0 15px rgba(236, 52, 148, 0.3));

    }

.site-logo-tagline {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-weight: 700;
    font-size: 10px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    white-space: nowrap;
    margin-top: 15px !important;
}

/* Applied by JS once the page scrolls past ~10px, removed back at the top. */
.site-logo.scrolled {
    transition: transform 0.2s ease;
}

.site-logo.scrolled .site-logo-img {
    height: 34px;
    transition: height 0.2s ease;
}

.site-logo.scrolled .site-logo-tagline {
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    transition: opacity 0.15s ease;
}

.hero-spacer {
    /* height: 124px;  */

    display: none !important;
}
.lang-btn {
    top: 30px !important;
    right: 120px !important;
    position: fixed;
}
.scrolled {
    top: -6px !important;
}

@media screen and (max-width: 640px) {
    .site-logo { top: 16px; }
    .site-logo-img { height: 40px; }
    .site-logo-tagline { font-size: 9px; }
    .hero-spacer { height: 96px; }
    .lang-btn {
    top: 24px !important;
    right: 10px !important;
}
.popup-coin-layer {
    display: none !important;
}
.site-logo.active .site-logo-img {
    height: 42px;
}
.scrolled {
    padding: 19px 10px 0px 10px !important;
}
.scrolled::before {
    background: #000000cf;
}
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .site-logo { top: 16px; }
    .site-logo-img { height: 44px; }
    .site-logo-tagline { font-size: 11px; }
    .hero-spacer { height: 142px; }
}

@media screen and (min-width: 1025px) {
    .site-logo { top: 20px; }
    .site-logo-img { height: 58px; }
    .site-logo-tagline { font-size: 12px; }
    .hero-spacer { height: 166px; }
}


/* Shrinks/compacts the fixed logo once the page is scrolled. */
.site-logo.active .site-logo-img {
    height:46px;
}
.site-logo.active .site-logo-tagline {
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
}
.scrolled {
    width: 100% !important;
    transition: top 0.2s ease;
    padding: 20px !important;
}
.scrolled::before {
    position: absolute;
    content: '';
    top: -1px !important;

    background: #0000007a;
    filter: blur(2px);
    width: 100%;
    height: 100%;
    left: 0;
}
.site-logo {
    transition: top 0.2s ease;
}
.site-logo-img,
.site-logo-tagline {
    transition: height 0.2s ease, opacity 0.2s ease;
}