/* Win Notifications Styles */

#win-notifications-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.win-notification {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.1);
    min-width: 280px;
    max-width: 350px;
    pointer-events: auto;
    opacity: 0;
    transform: translateX(100%);
    animation: slideIn 0.4s ease forwards;
}

.win-notification.hiding {
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

.win-link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    text-decoration: none;
    cursor: pointer;
}

.win-link:hover .win-text {
    color: #ffd700;
}

.win-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 215, 0, 0.5);
    flex-shrink: 0;
}

.win-content {
    flex: 1;
    min-width: 0;
}

.win-text {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 4px;
}

.win-name {
    color: #ffd700;
    font-weight: 600;
}

.win-amount {
    color: #00ff88;
    font-weight: 700;
}

.win-game {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.win-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.win-close:hover {
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #win-notifications-container {
        top: auto;
        bottom: 80px;
        right: 10px;
        left: 10px;
    }

    .win-notification {
        min-width: auto;
        max-width: none;
        width: 100%;
    }

    .win-avatar {
        width: 40px;
        height: 40px;
    }

    .win-text {
        font-size: 13px;
    }

    .win-game {
        font-size: 11px;
    }
}
