app/(front)/components/Modal/Modal.module.css
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 16px;
    box-sizing: border-box;
}

.modal {
    background: var(--background-secondary, #ffffff);
    color: var(--text-color, #000000);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 16px;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeIn 0.3s ease-out;
    box-shadow: 0 4px 15px var(--accent-color);
    overflow: visible;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--tg-theme-secondary-bg-color, #f0f0f0);
}

.title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.closeButton {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.closeButton:hover {
    opacity: 1;
}

.content {
    padding: 16px;
}

/* Конфетти стили */
.confettiContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.confetti {
    position: absolute;
    animation: confettiFall 10s ease-in forwards;
}

.confetti[data-shape='rect'] {
    border-radius: 2px;
}

.confetti[data-shape='circle'] {
    border-radius: 50%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(120px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes confettiFall {
    0% {
        transform: translateY(-30vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}
