/* Enhanced congratulations badge styling */
.fitga-badge-container {
    display: none;
    margin: 40px auto;
    max-width: 500px;
}

.fitga-badge-container.show {
    display: block;
    animation: fadeInUp 0.8s ease;
    /* animation: fadeInUp 0.8s ease, pulse 2s infinite 1s; */
}

.fitga-badge {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* this should only be used for the displayed badge, not for the badge-image copied to the clipboard */
.fitga-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 2s infinite;
}


.fitga-badge h2 {
    margin: 0 0 20px 0;
    font-size: 28px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.fitga-badge p {
    font-size: 16px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.fitga-cheat-remark {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-style: italic;
    margin-bottom: 15px !important;
}

.fitga-copy-buttons {
    margin-top: 15px;
    text-align: right;
    position: relative;
    z-index: 1;
}

.fitga-copy-btn {
    margin: 0 0 0 8px;
    padding: 12px 24px;
    /* background: rgba(255, 255, 255, 0.2); */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fitga-copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.fitga-copy-btn:active {
    transform: translateY(0);
}

/* Enhanced animations for badge */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(102, 126, 234, 0.5);
    }
}
