/* Celebration Popup Styles */
.celebration-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.celebration-overlay.active {
    opacity: 1;
    visibility: visible;
}

.celebration-modal {
    background: linear-gradient(135deg, #120c24 0%, #000000 100%);
    border: 1px solid rgba(248, 217, 98, 0.3);
    border-radius: 2rem;
    width: 100%;
    max-width: 480px;
    position: relative;
    overflow: hidden;
    transform: scale(0.9) translateY(30px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8), 0 0 50px rgba(74, 44, 143, 0.2);
}

.celebration-overlay.active .celebration-modal {
    transform: scale(1) translateY(0);
}

.celebration-card {
    padding: 2.5rem 2rem;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(248, 217, 98, 0.1), transparent 60%);
}

.celeb-header {
    margin-bottom: 2rem;
}

.celeb-badge {
    display: inline-block;
    background: rgba(248, 217, 98, 0.1);
    color: #f8d962;
    padding: 8px 20px;
    border-radius: 99px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    border: 1px solid rgba(248, 217, 98, 0.2);
}

.celeb-title {
    color: #fff;
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 5px;
}

.celeb-subtitle {
    color: #f8d962;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.stat-item {
    background: rgba(255, 255, 255, 0.04);
    padding: 1.25rem 0.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(248, 217, 98, 0.4);
    transform: translateY(-3px);
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: #f8d962;
    margin-bottom: 2px;
}

.stat-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.celeb-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-share {
    cursor: pointer;
    border: none;
    background: #25d366;
    color: white;
    padding: 1rem;
    border-radius: 1rem;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.btn-share:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    padding: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close:hover {
    color: #fff;
    opacity: 0.8;
}

.confetti-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .celebration-modal {
        max-width: 100%;
        border-radius: 1.5rem;
    }

    .celebration-card {
        padding: 2rem 1.25rem;
    }

    .celeb-title {
        font-size: 2.25rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}

@media (max-height: 700px) {
    .celebration-modal {
        max-height: 95vh;
        overflow-y: auto;
    }

    .celebration-card {
        padding: 1.5rem 1rem;
    }
}