* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* height: 100vh; */
    display: grid;
    place-items: center;
    margin: 0;
    /* height: 100vh; */
    /* background: #01003B; */
}

#spin_the_wheel {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

#wheel {
    display: block;
}

#spin {
    font:
        2.3em/0 "Times New Roman", "Lato", sans-serif;
    user-select: none;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30%;
    height: 30%;
    margin: -15%;
    background: #fff;
    color: #fff;
    box-shadow:
        0 0 0 8px currentColor,
        0 0px 15px 5px rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    transition: 0.8s;
}

#spin::after {
    content: "";
    position: absolute;
    top: -17px;
    border: 10px solid transparent;
    border-bottom-color: currentColor;
    border-top: none;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.column {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
}

.jackpot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.jackpot-container {
    background: linear-gradient(to bottom, #fff4e6, #0f55a7ba);
    border: 4px solid #ffcc66;
    border-radius: 20px;
    padding: 30px 25px;
    width: 550px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    animation: popIn 0.35s ease;
}

.jackpot-heading {
    font-size: 22px;
    font-weight: bold;
    color: #ffff;
    margin-bottom: 10px;
}

.jackpot-sub {
    font-size: 14px;
    color: #444;
    margin-bottom: 20px;
}

.jackpot-offer-box {
    background: #4db84885;
    border-radius: 14px;
    padding: 20px;
    margin: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.jackpot-plan {
    font-size: 16px;
    color: #333;
}

.jackpot-price {
    font-size: 32px;
    font-weight: bold;
    color: #ff5e00;
}

.original-price {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

.grab-btn {
    background: #4DB848;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.grab-btn:hover {
    background: #e84100;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.tryagain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.tryagain-container {
    background: linear-gradient(135deg, #090C58, #85C6F7);
    padding: 30px 35px;
    border-radius: 18px;
    width: 550px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    text-align: center;
    animation: slideDown 0.4s ease;
}

.tryagain-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.tryagain-icon {
    font-size: 48px;
    margin-bottom: 10px;
    color: #fff;
}

.tryagain-title {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.tryagain-message {
    font-size: 16px;
    color: #f9f9f9;
    margin-bottom: 20px;
}

.tryagain-btn {
    background: #FAFAFA;
    color: #0F55A7;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.tryagain-btn:hover {
    background: #e84100;
    color: #fff;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}