
/* =========================================================
   Gift Present Trigger (bottom-left floating icon)
   ========================================================= */
.gift-present-container {
    position: fixed;
    bottom: 10px;
    left: 20px;
    z-index: 1000;
}

.gift-present-icon {
    position: relative;
    cursor: pointer;
    animation: gift-bounce 2s infinite;
    transition: transform 0.3s ease;
}

.gift-present-icon:hover {
    transform: scale(1.1);
}

.gift-box-img {
    width: 64px;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.gift-pulse-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #C32E32;
    border-radius: 50%;
    opacity: 0;
    animation: gift-pulse 2s infinite;
}

@keyframes gift-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes gift-pulse {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.3);
    }

    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

/* =========================================================
   Overlay (dims + blurs whatever page sits behind it)
   ========================================================= */
.gift-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 20, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
}

/* =========================================================
   Popup Card
   ========================================================= */
.gift-popup-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: linear-gradient(180deg, #101d42 0%, #060c22 100%);
    border: 1px solid rgba(255, 217, 61, 0.45);
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    padding: 74px 32px 32px;
    text-align: center;
}

.gift-popup-icon-wrap {
    position: absolute;
    top: -84px;
    left: 50%;
    transform: translateX(-50%);
    width: 156px;
    height: 156px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.gift-popup-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.4));
}

.gift-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.14);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 1;
}

.gift-popup-close:hover {
    background: rgba(255, 255, 255, 0.26);
}

/* =========================================================
   Body content
   ========================================================= */
.gift-popup-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gift-title {
    margin: 0;
    font-family: "Paytone One", Helvetica, sans-serif;
    font-weight: 400;
    color: #FFD93D;
    font-size: 1.65rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    line-height: 1.15;
}

.gift-subtitle {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-family: "Outfit", Helvetica, sans-serif;
    font-weight: 400;
    font-size: 1rem;
}

.gift-percent {
    margin-top: 15px;
    font-family: "Paytone One", Helvetica, sans-serif;
    font-weight: 400;
    color: #FFD93D;
    font-size: 5.8rem;
    line-height: 0.85;
    letter-spacing: -1px;
    /* Subtle 3D effect instead of deep shadow */
    text-shadow:
        1px 2px 0 #DCA22B,
        2px 4px 0 #DCA22B,
        3px 6px 0 #DCA22B,
        2px 8px 12px rgba(0, 0, 0, 0.45);
}

.gift-percent-sign {
    font-size: 0.55em;
    display: inline-block;
    transform: translateY(0.08em);
    margin-left: 2px;
}

.gift-max-amount {
    margin-top: 2px;
    font-family: "Paytone One", Helvetica, sans-serif;
    font-weight: 400;
    color: #fff;
    font-size: 1.85rem;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
}

.gift-value-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.gift-spins-pill {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    border: 1.5px solid #3E93D6;
    border-radius: 999px;
    color: #8FCFFF;
    font-family: "Outfit", Helvetica, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.gift-bonus-code {
    margin-top: 16px;
    background: rgba(255, 217, 61, 0.12);
    border: 1px solid rgba(255, 217, 61, 0.5);
    border-radius: 10px;
    padding: 8px 14px;
    color: #fff;
    font-family: "Outfit", Helvetica, sans-serif;
    font-size: 0.85rem;
}

/* Casino row */
.gift-casino-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
}

.gift-casino-logo {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFD93D;
    overflow: hidden;
    flex-shrink: 0;
}

.gift-casino-logo img {
    max-width: 46px;
    max-height: 46px;
    object-fit: contain;
}

.gift-casino-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.gift-casino-name {
    color: #fff;
    font-family: "Outfit", Helvetica, sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
}

.gift-casino-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-family: "Outfit", Helvetica, sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
}

.gift-casino-rating img {
    width: 15px;
    height: 15px;
}

/* Claim button */
.gift-claim-button {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 18px 20px;
    background: linear-gradient(180deg, #FFE477 0%, #FFC93D 100%);
    color: #0d1730;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    font-family: "Paytone One", Helvetica, sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: 0.3px;
    border-radius: 999px;
    box-shadow: 0 0 34px rgba(255, 217, 61, 0.55), 0 12px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gift-claim-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(255, 217, 61, 0.7), 0 14px 26px rgba(0, 0, 0, 0.4);
}

/* Don't show again */
.gift-dont-show-again {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    font-family: "Outfit", Helvetica, sans-serif;
    font-size: 0.88rem;
    cursor: pointer;
    margin-top: 16px;
}

.gift-dont-show-again input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #FFD93D;
    margin: 0;
    border-radius: 4px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 480px) {
    .gift-popup-card {
        max-width: 340px;
        padding: 62px 24px 26px;
        border-radius: 24px;
    }

    .gift-popup-icon-wrap {
        width: 118px;
        height: 118px;
        top: -62px;
    }

    .gift-title {
        font-size: 1.3rem;
    }

    .gift-subtitle {
        font-size: 0.88rem;
        margin-top: 8px;
    }

    .gift-percent {
        font-size: 4.2rem;
        margin-top: 16px;
    }

    .gift-max-amount {
        font-size: 1.3rem;
    }

    .gift-spins-pill {
        font-size: 0.85rem;
        padding: 8px 20px;
        margin-top: 14px;
    }

    .gift-casino-row {
        margin-top: 20px;
    }

    .gift-casino-logo {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }

    .gift-casino-name {
        font-size: 0.95rem;
    }

    .gift-casino-rating {
        font-size: 0.85rem;
    }

    .gift-claim-button {
        font-size: 1.05rem;
        padding: 15px 18px;
        margin-top: 18px;
    }

    .gift-dont-show-again {
        font-size: 0.8rem;
        margin-top: 12px;
    }
}

@media (max-width: 320px) {
    .gift-popup-card {
        max-width: 300px;
        padding: 54px 18px 22px;
    }

    .gift-popup-icon-wrap {
        width: 100px;
        height: 100px;
        top: -52px;
    }

    .gift-percent {
        font-size: 3.4rem;
    }

    .gift-max-amount {
        font-size: 1.1rem;
    }
}

/* =========================================================
   Floating Background Shapes
   ========================================================= */
.floating-shape {
    position: absolute;
    border-radius: 4px;
    pointer-events: none;
    z-index: 10;
    opacity: 0.9;
    /* Soft floating animation */
    animation: floatShape 6s ease-in-out infinite alternate;
}

@keyframes floatShape {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-15px) rotate(10deg);
    }
}

.shape-yellow-rect {
    top: -15px;
    left: -20px;
    width: 24px;
    height: 18px;
    background-color: #FFD93D;
    transform: rotate(-15deg);
    border-radius: 3px;
    animation-delay: 0s;
}

.shape-blue-square {
    top: 50px;
    right: -25px;
    width: 18px;
    height: 18px;
    background-color: #2CB3E8;
    transform: rotate(25deg);
    border-radius: 3px;
    animation-delay: 1s;
}

.shape-red-square {
    bottom: -15px;
    right: -15px;
    width: 14px;
    height: 14px;
    background-color: #E73554;
    transform: rotate(-20deg);
    border-radius: 3px;
    animation-delay: 2s;
}

.shape-yellow-square {
    bottom: -10px;
    left: -20px;
    width: 20px;
    height: 14px;
    background-color: #FFD93D;
    transform: rotate(35deg);
    border-radius: 3px;
    animation-delay: 0.5s;
}

.shape-dot-1 {
    top: -20px;
    right: 25px;
    width: 10px;
    height: 10px;
    background-color: #FFD93D;
    border-radius: 50%;
    animation-delay: 1.5s;
}