/* 123 Rummy LaunchPopup — standalone countdown modal. Prefix: lpk- */

.lpk-root {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.lpk-root.lpk-open {
    display: flex;
}

.lpk-root.lpk-enter {
    animation: lpk-fade-in 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lpk-fade-in {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lpk-mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(2px);
}

.lpk-stack {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.lpk-fit {
    position: relative;
    flex-shrink: 0;
}

.lpk-dialog {
    position: absolute;
    top: 0;
    left: 0;
    width: 792px;
    height: 1258px;
    transform-origin: top left;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.lpk-card {
    position: relative;
    width: 792px;
    height: 1258px;
    flex-shrink: 0;
}

.lpk-bg,
.lpk-logo,
.lpk-wz {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.lpk-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 792px;
    height: 1258px;
    display: block;
}

.lpk-logo {
    position: absolute;
    left: 50%;
    top: 220px;
    width: 260px;
    transform: translateX(-50%);
    display: block;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6));
}

.lpk-copy {
    position: absolute;
    left: 0;
    top: 380px;
    width: 792px;
    height: 626px;
}

.lpk-wz {
    width: 100%;
    height: 100%;
    display: block;
}

.lpk-timer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.lpk-num {
    position: absolute;
    top: 226px;
    width: 101px;
    height: 101px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: 54px;
    line-height: 1;
    color: #fff;
    letter-spacing: -1px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
    font-variant-numeric: tabular-nums;
    box-sizing: border-box;
}

.lpk-num--days {
    left: 115px;
}

.lpk-num--hours {
    left: 271px;
}

.lpk-num--minutes {
    left: 424px;
}

.lpk-num--seconds {
    left: 577px;
}

.lpk-num.is-wide {
    font-size: 42px;
}

.lpk-cta {
    position: absolute;
    left: 50%;
    top: 1038px;
    width: 588px;
    transform: translateX(-50%);
    display: block;
    line-height: 0;
    cursor: pointer;
    touch-action: manipulation;
}

.lpk-cta img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.lpk-cta:hover img {
    transform: scale(1.03);
    filter: brightness(1.06);
}

.lpk-cta:active img {
    transform: scale(0.97);
}

.lpk-close {
    width: 48px;
    height: 48px;
    margin-top: 14px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(18, 18, 18, 0.92);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.16), 0 4px 14px rgba(0,0,0,0.5);
    cursor: pointer;
    line-height: 0;
    flex-shrink: 0;
    touch-action: manipulation;
    transition: transform 0.15s ease;
}

.lpk-close:hover {
    transform: scale(1.1);
}

.lpk-close img {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

.lpk-root.lpk-hidden-close .lpk-close {
    display: none;
}
